Hello,
Edit:
[Solution]
This was a self introduced problem. I once installed asus rog center and asusctl. I set those to “balanced” or “performance”, do not remember it exactly. However, this software seems to be reset or modified be an update, this leaded to power setting “low”. That was the reason for the bad performance.
[/Solution]
On friday I did some updates (pacman -Syu, yay -Sau) since this my GPU is not activated or not correctly used.
Got a Asus notebook with AMD Radeon RX 7600S and AMD Radeon 780M.
I use DRI_PRIME=1 command to select my GPU, this was now working for 1.5 years.
I already installed different versions of amdgpu-pro (24.10 / 6.2.3.) and amdvlk 2024Q3.3… (each driver installed seperatly, not together with the others).
Checking GPU performance with export vblank_mode=0 && glxgears / vkgears -present-mailbox / vkmark -present-mode mailbox
selecting GPU by DRI_PRIME=0 or 1 command.
*In vkmark selecting GPU by device UUID (-D option)
I also tried if sth changes by modifying DRI_PRIME= coammand by
→ vendorID: 1002:7480
→ setting PCI device no: pci-0000:03:00.0
→ use different numeric numbers and number with exclamation mark. 0 / 0! / 1 / 1!
→ flagging device detection by name (Steam Proton) → DRI_PRIME=1 DXVK_FILTER_DEVICE_NAME=“AMD Radeon RX 7600S”
→ flagging device detection by D3DVKDevice=CardNo (Steam Proton)
in all tests my APU was slightly faster then my GPU.
Using Steam with following start command config:
strangle --vulkan-only 60 MANGOHUD_CONFIG=“position=top-right,frame_timing=0,cpu_temp,gpu_temp,time,time_no_label,font_size=16” DRI_PRIME=1 mangohud gamemoderun ENABLE_VKBASALT=1 RADV_PERFTEST=gpl YMMV_VULKAN_ICD=RADV DXVK_ASYNC=1 WINE_CPU_TOPOLOGY=8:0,1,2,3,4,5,6,7 %command% -high
*the strangle command part is removed for troubleshooting.
In Steam my fps dropped for ~165 to ~10-20.
I did a Unigine Superposition benchmark in Windows & in Arch. Result:
Arch 2460 pts
Windows 14600 pts
My hardware seems to be ok.
*xf86-video-amdgpu is the only installed xf86-video driver lib.
Thanks in advance for any tips or suggestions.
/etc/X11/xorg.conf.d/20-amdgpu.conf:
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "VariableRefresh" "true"
EndSection
/etc/modprobe.d/radeon.conf
blacklist radeon
/etc/profile.d/amdgpu.sh:
#!/usr/bin/bash
ICD_DIR="/usr/share/vulkan/icd.d"
AMDGPUPROGL64_DIR="/usr/lib/amdgpu-pro"
AMDGPUPROGL32_DIR="/usr/lib32/amdgpu-pro"
# RADV
#export VK_ICD_FILENAMES="${ICD_DIR}/radeon_icd.i686.json:${ICD_DIR}/radeon_icd.x86_64.json"
# AMDVLK
#export VK_ICD_FILENAMES="${ICD_DIR}/amd_icd32.json:${ICD_DIR}/amd_icd64.json"
# AMDGPU-PRO
#export VK_ICD_FILENAMES="${ICD_DIR}/amd_pro_icd32.json:${ICD_DIR}/amd_pro_icd64.json"
# Use AMDGPU-PRO OpenGL
#export LD_LIBRARY_PATH="${AMDGPUPROGL64_DIR}/:${LD_LIBRARY_PATH}:${AMDGPUPROGL32_DIR}/:${LD_LIBRARY_PATH}"
# Use Mesa OpenGL
#export LD_LIBRARY_PATH="/usr/lib/:${LD_LIBRARY_PATH}:/usr/lib32/:${LD_LIBRARY_PATH}"
vulkan-info --summary (device oart):
Devices:
========
GPU0:
apiVersion = 1.3.292
driverVersion = 2.0.317
vendorID = 0x1002
deviceID = 0x7480
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX 7600S
driverID = DRIVER_ID_AMD_PROPRIETARY
driverName = AMD proprietary driver
driverInfo = (LLPC)
conformanceVersion = 1.3.5.2
deviceUUID = 00000000-0300-0000-0000-000000000000
driverUUID = 414d442d-4c49-4e55-582d-445256000000
GPU1:
apiVersion = 1.3.292
driverVersion = 2.0.317
vendorID = 0x1002
deviceID = 0x15bf
deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
deviceName = AMD Radeon 780M
driverID = DRIVER_ID_AMD_PROPRIETARY
driverName = AMD proprietary driver
driverInfo = (LLPC)
conformanceVersion = 1.3.5.2
deviceUUID = 00000000-6700-0000-0000-000000000000
driverUUID = 414d442d-4c49-4e55-582d-445256000000
inxi -G output:
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 33 [Radeon RX 7600/7600
XT/7600M XT/7600S/7700S / PRO W7600] driver: amdgpu v: kernel
Device-2: Advanced Micro Devices [AMD/ATI] Phoenix1 driver: amdgpu
v: kernel
Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB
Display: x11 server: X.org v: 1.21.1.14 driver: X: loaded: amdgpu
dri: radeonsi gpu: amdgpu resolution: 1920x1200~165Hz
API: EGL v: 1.5 drivers: radeonsi,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.4-arch1.0.1
renderer: AMD Radeon 780M (radeonsi gfx1103_r1 LLVM 18.1.8 DRM 3.57
6.10.13-3-MANJARO)
API: Vulkan v: 1.3.295 drivers: amd surfaces: xcb,xlib
uname -a:
Linux ASUSFA627XS 6.10.13-3-MANJARO #1 SMP PREEMPT_DYNAMIC Tue Oct 8 03:24:49 UTC 2024 x86_64 GNU/Linux
pacman -Ss xorg |grep installed:
extra/xorg-server 21.1.14-0 (xorg) [installed]
yay -Ss amdgpu |grep installed:
aur/amdgpu-opengl-switcher-git 1.0.r9.g7fcbd69-2 (+0 0.00) (Installed)
aur/lib32-vulkan-amdgpu-pro 24.10_1787253-1 (+125 1.33) (Out-of-date: 2024-11-11) (Installed: 6.2.3-1)
aur/mhwd-amdgpu 19.1.0-1 (+4 0.00) (Installed)
aur/vulkan-amdgpu-pro 24.10_1787253-1 (+125 1.33) (Out-of-date: 2024-11-11) (Installed: 6.2.3-1)
aur/amf-amdgpu-pro 24.10_1787253-1 (+125 1.33) (Out-of-date: 2024-11-11) (Installed: 6.2.3-1)
amdgpu-pro/lib32-vulkan-amdgpu-pro 6.2.3-1 (35.5 MiB 110.7 MiB) (Installed)
amdgpu-pro/lib32-opengl-amdgpu-pro 6.2.3-1 (17.3 MiB 61.1 MiB) (Installed)
amdgpu-pro/vulkan-amdgpu-pro 6.2.3-1 (33.5 MiB 109.5 MiB) (Installed)
amdgpu-pro/amf-amdgpu-pro 6.2.3-1 (5.3 MiB 20.1 MiB) (Installed)
amdgpu-pro/opengl-amdgpu-pro 6.2.3-1 (17.8 MiB 69.0 MiB) (Installed)
extra/mhwd-amdgpu 19.1.0-1 (19.7 KiB 1.0 KiB) (Installed)
extra/xf86-video-amdgpu 23.0.0-2 (69.3 KiB 166.2 KiB) [xorg-drivers] (Installed)
journalctl -k and journalctl -b are not dispalying errors about graphic card initialization. Everything looks normal.