You are not logged in.
Hello!
I have laptop with [Reverse] Prime graphics (AMD igpu + Nvidia dgpu).
Setup:
Xfce4
SDDM
AMD Ryzen 5 4600H with Radeon RX Vega 6
GeForce GTX 1650 Ti Mobile
The problem: in Hybrid mode (X on igpu + offloading to dgpu, eDP-display connected to igpu and HDMI-display to dgpu), then I launch vulkan app (for example, vkcube or vulkan/dxvk game) with second monitor connected, I experience graphical stutters (sound continues to play). Screens (whole graphical system with mouse cursor) can be frozen from 1 to 10 seconds.
This situation can be easily triggered by dragging figures in LibreOffice Draw.
The stutters does not occur then running Xorg on Nvidia gpu, but in this mode are some other problems - with gamescope, for example.
At first I think that it is another Nvidia Prime problem, but in KDE Plasma there are no stutters!
So the answer might be to switch to KDE, but it annoys me with all those “animations”, “effects” and so on, Xfce is better, in my opinion.
This problem has been around for over a year, probably. I've just been using Nvidia mode in optimus-manager all this time, I don't remember why.
Some tests with other DEs:
KDE + KWin = no stutters
KDE + openbox = no stutters
KDE + XFWM = no stutters
Xfce4 + XFWM = stutters (for mine profile)
Xfce4 + XFWM = stutters (for new user with default config)
Xfce4 + XFWM = stutters (in liveCD archiso)
Xfce4 + openbox = stutters
Xfce4 + Kwin = stutters
Openbox = stutters
LXQt + openbox = stutters
LXQt + i3 = stutters
LXQt + KWin = stutters
awesome = stutters
Also tried using picom for composing - no changes.
Seems like, there is some workaround done in KDE session, so there are no stutters.
What I tried to do:
Launched Xfce without display manager (via startx)
Disabled various parts of Xfce (panel, themes and etc)
Tried this, like in some Xfce forum threads suggested
Prime sync on/off
Hybrid mode with[out] optimus manager
Have read most of the threads on the forum that were found using the words “vulkan stutters”, “vulkan freezes”, “vulkan hangs”
In Xorg logs after/while stutters only lines like this:
client bug: timer event8 debounce: scheduled expiry is in the past (-1507ms), your system is too slow
or this:
event8 - UGREEN Mouse: SYN_DROPPED event - some input events have been lost.
That is about Xorg looses mouse input because of stutters.
journalctl output has nothing about stutters.
There is topic on Nvidia forum with similar problem, but they have problems with KDE session, that I does not have.
Seems like this is the problem of wrong working reverse PRIME (this thing), but again - I have no stutters in KDE.
I also posted on the xfce forum, but didn't get a response.
Any help for further investigating?
Logs
KDE logs from one boot, Xfce logs from another boot.
Offline
Please post the outputs of
$ pacman -Qs vulkan
$ vulkaninfo --summary #comes_with_vulkan-tools
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
pacman -Qs vulkan
local/dxvk-mingw 2.3-1
Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine, MingW version
local/goverlay-git 1.1.1.r10.g4cd2c3f-1
A GUI to help manage Vulkan/OpenGL overlays
local/lib32-nvidia-dev-utils-tkg 550.40.65-257
NVIDIA driver utilities and libraries for 'nvidia-tkg' (32-bit)
local/lib32-vkbasalt 0.3.2.10-1
A Vulkan post-processing layer. Some of the effects are CAS, FXAA, SMAA, deband.
local/lib32-vkd3d 1.11-1
Direct3D 12 to Vulkan translation library By WineHQ
local/lib32-vulkan-icd-loader 1.3.279-1
Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-mesa-layers 1:24.1.4-2
Mesa's Vulkan layers - 32-bit
local/lib32-vulkan-radeon 1:24.1.4-2
Open-source Vulkan driver for AMD GPUs - 32-bit
local/lib32-vulkan-validation-layers 1.3.275.0-1
Vulkan Validation Layers (32-bit)
local/mangohud 0.7.2-1.1
A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/nvidia-dev-utils-tkg 550.40.65-257
NVIDIA driver utilities and libraries for 'nvidia-tkg'
local/qt6-shadertools 6.7.2-1.1 (qt6)
Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to
OpenGL
local/spirv-tools-git 3:2024.2.3961.148c97f68-1 (vulkan-devel)
API and commands for processing SPIR-V modules
local/vkbasalt-git 0.3.2.10.r0.g4f97f09-1
A Vulkan post-processing layer. Some of the effects are CAS, FXAA, SMAA, deband.
local/vkd3d 1.11-1.1
Direct3D 12 to Vulkan translation library By WineHQ
local/vkmark-git r139.ab6e6f3-1
Vulkan benchmark
local/vulkan-extra-layers 1.3.250.0-1.1 (vulkan-devel)
Extra layers for Vulkan development
local/vulkan-extra-tools 1.3.250.0-1.1 (vulkan-devel)
Vulkan lunarg tools
local/vulkan-headers 1:1.3.285-1 (vulkan-devel)
Vulkan header files
local/vulkan-icd-loader 1.3.285-1.1
Vulkan Installable Client Driver (ICD) Loader
local/vulkan-mesa-layers 1:24.1.4-2.1
Mesa's Vulkan layers
local/vulkan-radeon 1:24.1.4-2.1
Open-source Vulkan driver for AMD GPUs
local/vulkan-tools 1.3.269-1.1 (vulkan-devel)
Vulkan Utilities and Tools
local/vulkan-validation-layers 1.3.275-1.1 (vulkan-devel)
Vulkan Validation Layers
local/waifu2x-ncnn-vulkan 20220728-3.1
ncnn implementation of waifu2x converter
vulkaninfo --summary
==========
VULKANINFO
==========
Vulkan Instance Version: 1.3.285
Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_EXT_headless_surface : extension revision 1
VK_EXT_surface_maintenance1 : extension revision 1
VK_EXT_swapchain_colorspace : extension revision 4
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_wayland_surface : extension revision 6
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1
Instance Layers: count = 20
---------------------------
VK_LAYER_FROG_gamescope_wsi_x86_64 Gamescope WSI (XWayland Bypass) Layer (x86_64) 1.3.221 version 1
VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1
VK_LAYER_KHRONOS_validation Khronos Validation Layer 1.3.275 version 1
VK_LAYER_LUNARG_api_dump LunarG API dump layer 1.3.250 version 2
VK_LAYER_LUNARG_monitor Execution Monitoring Layer 1.3.250 version 1
VK_LAYER_LUNARG_screenshot LunarG image capture layer 1.3.250 version 1
VK_LAYER_MANGOAPP_overlay Mangoapp Layer 1.3.0 version 1
VK_LAYER_MANGOAPP_overlay Mangoapp Layer 1.3.0 version 1
VK_LAYER_MANGOHUD_overlay_x86 Vulkan Hud Overlay 1.3.0 version 1
VK_LAYER_MANGOHUD_overlay_x86_64 Vulkan Hud Overlay 1.3.0 version 1
VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1
VK_LAYER_MESA_overlay Mesa Overlay layer 1.3.211 version 1
VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.289 version 1
VK_LAYER_TORKEL104_libstrangle Libstrangle framerate limiter 1.3.125 version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VKBASALT_post_processing a post processing layer 1.3.223 version 1
VK_LAYER_VKBASALT_post_processing a post processing layer 1.3.223 version 1
Devices:
========
GPU0:
apiVersion = 1.3.278
driverVersion = 24.1.4
vendorID = 0x1002
deviceID = 0x1636
deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
deviceName = AMD Radeon Graphics (RADV RENOIR)
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 24.1.4-arch1.2.1
conformanceVersion = 1.2.7.1
deviceUUID = 00000000-0600-0000-0000-000000000000
driverUUID = 414d442d-4d45-5341-2d44-525600000000
GPU1:
apiVersion = 1.3.289
driverVersion = 550.40.65.0
vendorID = 0x10de
deviceID = 0x1f95
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = NVIDIA GeForce GTX 1650 Ti
driverID = DRIVER_ID_NVIDIA_PROPRIETARY
driverName = NVIDIA
driverInfo = 550.40.65
conformanceVersion = 1.3.8.2
deviceUUID = b7563884-539f-f593-3a07-76d137c44f52
driverUUID = a11d0b23-2afa-5005-87ff-23c666a06456
Offline
local/spirv-tools-git 3:2024.2.3961.148c97f68-1 (vulkan-devel)
local/lib32-nvidia-dev-utils-tkg 550.40.65-257
local/nvidia-dev-utils-tkg 550.40.65-257
Those look out of place and definitely don't come from archlinux repos .
Also spirv-tools-git should always be accompanied by a glslang VCS build (if they are out-of-sync all kinds of weird things can happen)
please post the outputs of
$ uname -a
$ pacman -Qm
$ pacman -Sl chaotic-aur
$ pacman -Qi spirv-tools-git
$ pacman -Qs glslang
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
local/spirv-tools-git 3:2024.2.3961.148c97f68-1 (vulkan-devel)
I tried to compile either mesa-git or mesa-minimal-git and stopped at some stage because of a compilation error, and I forgot to roll this package back to the official ones. I don't think they make a difference (because the statters were there before installing them), but I think it's better to replace them with versions from the official repository, since I still don't have mesa-git compiled. (I read the pinned comments you wrote, even wrote a script to automate subsequent updates to all those packages, but still messed up.)
local/lib32-nvidia-dev-utils-tkg 550.40.65-257
local/nvidia-dev-utils-tkg 550.40.65-257
These are installed via nvidia-all to make it convenient to rollback/change package versions to test different versions. Right now I have the version from the vulkan-dev release with open kernel modules installed.
Outputs of commands:
uname -a
Linux QTlap 6.10.2-arch1-1.1 #1 SMP PREEMPT_DYNAMIC Mon, 29 Jul 2024 02:23:11 +0000 x86_64 GNU/Linux
pacman -Qm
1c_enterprise_meta 8.3-4
4kvideodownloader 4.29.0.5640-1
7-zip-full 23.01-4
actiona 3.10.2-1
adbfs-rootless-git r112.fd56381-1
adebar 2.4.1-0
afdko 4.0.1-1
agenda-git r501.cecd2bc-1
agg-2.6-git r153.c4f36b4-1
alhp-keyring 20240426-2
alhp-mirrorlist 20240208-1
amdctl-git 0.11.r0.ga10ccd0-1
an-anime-game-launcher-bin 3.9.4-1
ananicy-cpp 1.1.1-1
anbox-git 1:r1364.7a0bee7-1
anbox-image-gapps-magisk-xposed 2018.07.19-1
animdustry 1.1-1
ann 1.1.2-3
archlinux-appstream-data-pamac 1:20221014-1
archlinux-java-run 10-1
archtorify-git v1.30.1.r1.gb08791c-1
arronax 0.8.1-3
asp 8-1
aurutils 19.5-1
autokey-git 0.96.0.r81.9445809-1
blender-4.0-bin 4.0.230709.b183e3ae89a6-1
blugon 1.12.1-1
boxtron 0.5.4-1
brightness-controller-git 2.4.r12.gdab46e3-1
ca-certificates-vsign-universal-root 114514-1
cachyos-ananicy-rules-git 20240229.r305.gead94ba-1
celt 0.11.3-6
ceph-libs 15.2.14-6
checkupdates-with-aur 1.0-1
chromaprint-fftw 1.5.1-2
clang15 15.0.7-2.1
click4ever 1.3.0-2
cloudflare-warp-bin 2023.9.301-1
colorpicker 1.0.f5d441a-2
compiler-rt15 15.0.7-1.1
cpp-mini 0.9.15-1
cppreference-qt 20230810-1
cproto 4.7v-1
curseforge 0.244.4.r16117-1
cvt12-git 1:r17.6f66135-1
cython2 0.29.37-1
davfs2 1.7.0-1
davs2 1.7-1
ddcui 0.5.4-1
decklink-sdk 1:12.8-1
dhcpcd-dbus 0.6.1-1
dhcpcd-ui 0.7.9-1
discord-screenaudio 1.9.2-1
dotnet-runtime-5.0-bin 5.0.17.sdk408-1
dotnet-sdk-5.0-bin 5.0.17.sdk408-1
dotnet-targeting-pack-5.0-bin 5.0.17.sdk408-1
downgrade 11.3.0-1
dupeguru 4.3.1-1
dwarfs-git 0.9.9.r30.g2cb5542a-1
dxvk-mingw 2.3-1
easyeffects-presets 0.3.0-1
edid-decode-git r675.7a27b33-1
electron11-bin 11.5.0-1
electron13-bin 13.6.9-1
electron14-bin 14.2.9-1
electron16-bin 16.2.8-1
electron19-bin 19.1.9-1
electron21-bin 21.4.4-1
electron24-bin 24.8.8-2
evrouter 0.4-4
extra-cmake-modules-git 6.0.0.r3675.b4d3206e-1
extraf 14.2-1
fakepkg 1.42.2-1
fancontrol-gui 0.8-2
fanctl 0.6.4-1
faudio 24.02-1.1
ffdec 19.1.2-1
ffnvcodec-headers-git 12.1.14.0.r1.g75f032b-1
flashbrowser-git 0.81.r27.g0d97b17-4
flashplayer-standalone 32.0.0.465-1
flite1 1.4-6
foo2zjs-nightly 20201127-1
fop-hyph 2.2-1
freedownloadmanager 6.20.0.5510-1
fslint 2.46-2
fslint-gui 2.46-2
gamemode-git 1.8.1.4.g8e0a71a-1
gamemode-git-debug 1.8.1.4.g8e0a71a-1
gcc12-libs 12.3.0-6
gconf 3.2.6+11+g07808097-10
geany-clang-complete-git 20150309-1
geany-highlightselectedword 20160801-1
geany-jedi-complete 3541deb-1
geany-plugin-jsonprettifier 1.6.0-2
genymotion 3.6.0-2
gimp-dds 3.0.1-6
gklib 5.1.1-4
gmonitor-git v1.3.r4.gb52cfbb-1
gmp4 4.3.2-1
gmsh 4.13.1-1
goverlay-git 1.1.1.r10.g4cd2c3f-1
grabc 2:1.0.2-1
gtk-theme-glossyblack 0.2.0-2
gtkglext 1.2.0-15.1
gwe 0.15.6-1
haguichi 1.4.6-1
hardinfo-git 0.6.alpha.1419.g0f5dea0-1
heroic-games-launcher-bin 2.13.0-1
hexeditor 1.17.0-1
httpfs2-2gbplus 0.1.5-1
icu67-bin 67.1-1
intellij-idea-ultimate-edition 2023.2.2-1
intellij-idea-ultimate-edition-jre 2023.2.2-1
jade-application-kit 3.5.7-2
java-resolver 1.2-4
java11-openjfx 11.0.18.u1-1
javahelp2 2.0.05.r90-7
jdk7-openjdk 7.u261_2.6.22-1
jeuclid-core 3.1.9-1
jexiftoolgui 2.0.2-1
jgoodies-looks 2.8.0-4
jlatexmath-fop 1.0.7-1
jogl 2.3.2-2
jre7-openjdk 7.u261_2.6.22-1
jre7-openjdk-headless 7.u261_2.6.22-1
js78 78.15.0-4
kddockwidgets 1.7.0-3
kdewebkit-debug 5.101.0-2
khotkeys 5.27.10-1.1
kipi-plugins-debug 22.04.0-1
klogg-bin 22.06-2
kpeoplevcard 0.1-2.1
kquickcharts5 5.115.0-1.1
krunner5 5.115.0-1.1
lact 0.4.5-1
lensfun-git 0.3.2.r2709.g0c6e403c-1
lib32-celt 0.11.3-4
lib32-faudio 23.12-1
lib32-gmp4 4.3.2-2
lib32-gsm 1.0.22-1
lib32-libwrap 7.6.31-4
lib32-llvm-libs-minimal-git 19.0.0_r500507.763b96c86d81-1
lib32-lzo 2.10-2
lib32-ncurses5-compat-libs 6.4-1
lib32-nvidia-dev-utils-tkg 550.40.65-257
lib32-opencl-nvidia-dev-tkg 550.40.65-257
lib32-openssl-1.0 1.0.2.u-2
lib32-vkbasalt 0.3.2.10-1
lib3ds 1.3.0-1
libaribcaption 1.1.1-1
libbacktrace-git r75.cdb64b6-1
libcgroup-git 2.0.r958.g1505777-1
libclc-minimal-git 19.0.0_r500473.8917afaf0ec2-1
libcpufeatures-git 0.8.0+.r331.d20230427.936b9ab-1
libcroco 0.6.13-2.1
libdbusmenu-qt6 0.9.3+16.04.20160218-6.1
libglade 2.6.4-8
libkipi-debug 22.04.0-1
libklvanc-git r559.3365db3-1
libopenaptx 0.2.0-1
libpamac-aur 11.6.4-1
libreoffice-impress-templates 2.2-4
libselinux 3.5-2
libsepol 3.5-1
libsidplay 1.36.59-10.1
libspeedhack-git r16.e9f22ac-1
libstrangle-git 0.1.1.r139.038b434-2
libtg_owt-git 0.git.r217.6708e0d3-2
libwrap 7.6.31-5
linux-cachyos 6.5.7-2
linux-cachyos-headers 6.5.7-2
linux-cachyos-lto 6.5.5-2
linux-cachyos-lto-headers 6.5.5-2
linux-wifi-hotspot 4.5.0-1
llvm-libs-minimal-git 19.0.0_r500537.27fe52622618-1
llvm15-libs 15.0.7-1.1
logmein-hamachi 2.1.0.203-1
lutris-git 0.5.17.r216.gfc87c6872-1
lxc-git 4.0.0.r2187.gcc07e2d6c-1
makepkg-cg 0.2.1.pre-1
matplotplusplus 1.2.0-2
megabasterd-bin 8.0-1
meshlab 2023.12-4
metis 5.1.0.p11-1
mimalloc-git r2493.4e50d671-1
min 1.28.1-1
mindustry-bin 1:7.0_146-1
minecraft-launcher 1:1.0.1221-1
mingw-w64-tools 9.0.0-1
minigalaxy 1.2.5-1
modprobed-db 2.46-1
monodevelop-bin 7.8.4.1_0xamarin6_ubuntu1804b1-4
moonlight-qt 4.3.1-1
mozilla-common 1.4-6
mpc-qt-bin 23.12-1
ms-sys 1:2.8.0-1
multiload-ng-common 1.5.2-4
nbfc-linux-git 0.1.7.r70.g168a89b-1
ncurses5-compat-libs 6.4-2
netstandard-targeting-pack-bin 7.0.11.sdk401-1
nohang-git 0.2.0.r9.ge8f5d21-1
noisetorch-git 0.12.2.r45.ge5c4d36-1
nvidia-dev-egl-wayland-tkg 550.40.65-257
nvidia-dev-open-dkms-tkg 550.40.65-257
nvidia-dev-settings-tkg 550.40.65-257
nvidia-dev-utils-tkg 550.40.65-257
nvidia-prime-rtd3pm 1.0-2
nvidia-tweaks 545-2
nvm 0.39.7-1
nyrna 2.16.1-1
openbox-menu 0.8.0-1
opencl-nvidia-dev-tkg 550.40.65-257
openctm-tools 2:1.0.3-1
opencv2 2.4.13.7-5
openoffice-uglyfix-freetype2 2.10.2-1
openssl-1.0 1.0.2.u-6
opentabletdriver-git v0.7.0.0pre.r630.g43c350ef-1
openvino-git 2023.2.0.r895.gf7849319d6a-1
opera 106.0.4998.28-1.1
opera-ffmpeg-codecs 120.0.6099.109-1.1
package-query 1.12-1
pamac-aur 11.7.1-4
perf-tools 1.0-1
pev 0.82-1
pgpool-ii 4.4.0-1
phoronix-test-suite 10.8.4-1
phpstorm 2023.2.3-1
phpstorm-jre 2023.2.3-1
pidgin-sipe-git 1.25.0.r11.gcb7e7be2-1
pilorama-git v3.0.3.r7.g1df10c6-1
pince-git r1360.161758a-1
pipewire-media-session-docs 1:0.4.2-1.1
polymc 5.1-1
portproton 1.0-16
postman-bin 10.18.10-1
pppconfig 2.3.27-1
prboom 2.5.0-8
properties-cpp 0.0.3-1
protontricks 1.11.1-1
protonup-qt 2.9.2-1
psautohint 3:2.4.0-2
ptxconf-git r35.70d2e20-3
pygtk 2.24.0-12
pyside2 5.15.13-1.1
pyside2-tools 5.15.13-1.1
python-backcall 0.2.0-8
python-conda 23.1.0-1
python-conda-package-handling 1.8.1-1
python-contextlib2 21.6.0-2
python-exceptiongroup 1.2.1-1
python-hsaudiotag3k 1.1.3.post1-4
python-hwdata 2.4.1-1
python-injector 0.21.0-1
python-inputs 0.5-4
python-jsonrpc-server 0.4.0-5
python-keyboard 0.13.5-1
python-language-server 0.36.2-5
python-mock 3.0.5-11
python-nose-cover3 0.1.0-10
python-pep517 0.13.0-4
python-polib 1.2.0-1
python-progress 1.6-8
python-py3nvml 0.2.7-1
python-setuptools-scm-git-archive 1.4-2
python-shiboken2 5.15.13-1.1
python-steam 1.4.4-2
python-ufonormalizer 0.6.1-3
python-vdf 3.4-3
python2 2.7.18-8
python2-cairo 1.19.1-2
python2-gobject2 2.28.7-7
python2-libappindicator 12.10.0-14
python2-numpy 1.16.6-3
python2-setuptools 2:44.1.1-2
python310 3.10.13-1
python36 3.6.15-6
qdirstat 1.9-2
qemu-block-rbd 7.0.0-10
qomui 0.8.2-2
qt-gstreamer 1.2.0-4
qwt5-qt5 5.2.3.4-3
replay-sorcery 0.6.0-1
rider 1:2023.3.3-1
rockchip-mpp 20171218-4
rustc-demangle 0.1.21-1
ryzen-controller-bin 2.6.0-2
ryzen-stabilizator-git r19.90a2f7a-2
ryzenadj-git 0.14.0.r10.ga46bf6d-1
samrewritten-git r258.39d524a-1
shc 4.0.3-1
shine 3.1.1-2
smath 1_1_8763-1
spirv-headers-git 1:1.3.283.0.r5.gff2afc3-1
spirv-llvm-translator-minimal-git 1:r2066.d4098cd-1
spirv-tools-git 3:2024.2.3961.148c97f68-1
stacer-bin 1.1.0-5
steamtinkerlaunch 12.12-1
tdlib-tg-git v1.8.0.r4972.gfe6201556-1
telegram-desktop-bin 5.1.0-1
telegram-qt-git r2660.cd033446-1
telegram-qt5-git r2660.cd033446-1
telegram-qt6-git r2660.cd033446-1
telepathy-farstream 0.6.2-8
telepathy-haze 0.8.1-1
telepathy-morse-git r290.a59a608-1
telepathy-qt 0.9.8-3
terminus-cyrillic 4.49.1-1
thorium-browser-bin 121.0.6167.204-1
ttf-ms-win10-auto 10.0.19042.789-5
tuxclocker 1.5.1-1
uavs3d-git 1.1.r47.g1fd0491-1
uksmd 6.5.1-2
unarc-git r1.adc333d-1
unityhub 3.7.0-1
vdhcoapp-bin 2.0.19-1
ventoy-bin 1.0.97-1
visual-studio-code-bin 1.87.0-1
vivaldi-update-ffmpeg-hook 1.0-1
vkbasalt-git 0.3.2.10.r0.g4f97f09-1
vkd3d-proton-mingw-git 2.10.r58.g582226f0-1
vkmark-git r139.ab6e6f3-1
vlc-git-debug 4.0.0.r19766.g0e448365f6-1
vmware-keymaps 1.0-3
vmware-workstation 17.5.2-1
vo-amrwbenc 0.1.3-2
voro++ 0.4.6-2
vr-video-player-git r104.90e22e4-1
waifu2x-converter-cpp-cuda-git-debug 5.3.4.2.g57520b2-2
waifu2x-converter-qt-git-debug 1.1.0.9.g1e203ad-1
whatsapp-for-linux 1.6.4-1
windows2usb 0.2.4-3
wine-tkg-staging-fsync-git 9.7.r19.g2f18b0cd-327
xavs 0.1.55-1
xavs2 1.4-1
xerces2-java 2.12.2-1
xevd 0.4.1-2
xeve 0.4.3-2
xfce4-multiload-ng-plugin 1.5.2-2
xfce4-panel-profiles 1.0.14-2
xinput-gui 0.3.1-1
xlayoutdisplay 1.5.0-1
xnviewmp 1.6.5-1
xorgxrdp 0.10.0-5
xrdp 0.10.0-1
xsp 4.7.1-3
xwinwrap-git r20.539fc47-1
yandex-browser 24.1.5.794-1
yandex-disk 0.1.6.1080-2
yaourt 1.9-1
yay 12.3.5-1
ydcmd 2.12-1
youtube-dl 2021.12.17-2
zerotier-gui-git 1.4.0.r91.fec2c39-1
zoom 5.17.10-1
zramd 0.9.2-1
pacman -Sl chaotic-aur
error: repository "chaotic-aur" was not found.
I don't use chaotic-aur, so pacman complains about the lack of a repository.
pacman -Qi spirv-tools-git
Name : spirv-tools-git
Version : 3:2024.2.3961.148c97f68-1
Description : API and commands for processing SPIR-V modules
Architecture : x86_64
URL : https://github.com/KhronosGroup/SPIRV-Tools
Licenses : custom
Groups : vulkan-devel
Provides : spirv-tools
Depends On : glibc gcc-libs sh
Optional Deps : None
Required By : glslang shaderc spirv-llvm-translator-minimal-git vkd3d
Optional For : None
Conflicts With : spirv-tools
Replaces : None
Installed Size : 8.89 MiB
Packager : Unknown Packager
Build Date : Sun Jun 2 18:16:25 2024
Install Date : Sun Jun 2 18:24:54 2024
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None
pacman -Qs glslang
local/glslang 14.2.0-1.1
OpenGL and OpenGL ES shader front end and validator
Offline
but I think it's better to replace them with versions from the official repository,
For now that's best option, yes.
Nvidia-all is not very popular here, and the version number looks rather old as 550 is at 107 now, way ahead of 40 .
When did you build/update it ?
Openbox = stutters
LXQt + openbox = stutters
LXQt + i3 = stutters
awesome = stutters
was a compositor used in those environments ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Nvidia-all is not very popular here, and the version number looks rather old as 550 is at 107 now, way ahead of 40 .
As I wrote, I had Vulkan Beta Driver installed at the time, and it's a bit behind on versions. Tried 550.107.02 - still the same.
was a compositor used in those environments ?
No, tried using picom only in xfce4 session, as far as I remember.
New tests:
KDE + picom = no stutters
LXQt + openbox + picom = stutters
LXQt + i3 + picom = stutters
LXQt + awesome + picom = stutters
awesome + picom = stutters
openbox + picom = stutters
Offline
edit: removed offtopic comment about nvidia-all
KDE + openbox = no stutters
KDE + XFWM = no stutters
for clarity: How did you ensure kde used those other window managers ?
Let's do simple tests focusing on vulkan.
Ensure this is what is used :
X on igpu + offloading to dgpu, eDP-display connected to igpu and HDMI-display to dgpu
remove/disable compositors and display managers, just use startx .
copy the last 5 lines of /etc/X11/xinit/xinitrc to the bottom of your ~/.xinitrc .
(uncomment them if they're alreadfy there)
This will give you an X session with twm , 3 xterms and a onscreen clock .
Startx
Use VK_MESA_DEVICE_SELECT or VK_DRIVER_FILES to force one of the apps that stutter to use one of the vulkan devices, then repeat with the other vulkan device .
Do both stutter or just one of them ?
Last edited by Lone_Wolf (2024-08-02 10:02:56)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
for clarity: How did you ensure kde used those other window managers ?
The decoration of windows changes: frame, buttons. Also changes mouse behavior - removes smoothing of cursor movement.
Test results:
vkcube on igpu - no stutters
vkcube on dgpu - less frequent than usual, but there are
Offline
Lone_Wolf wrote:for clarity: How did you ensure kde used those other window managers ?
The decoration of windows changes: frame, buttons. Also changes mouse behavior - removes smoothing of cursor movement.
Not what I meant as those are cosmetic chances that don't prove which WM was in use .
KDE plasma always runs kwin unless specifically told to run another wm .
Did you use one of the methods shown at https://wiki.archlinux.org/title/KDE#Us … ow_manager ?
If not, those tests were with kwin .
The twm results point to 2 possible causes : hdmi on dgpu with igpu active or nvidia driver.
Please re-test the same 2 commands with other nvidia driver versions.
Do you have a DP monitor availalble ?
If yes, run the test with that attached instead of the hdmi one.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Not what I meant as those are cosmetic chances that don't prove which WM was in use .
KDE plasma always runs kwin unless specifically told to run another wm .
Did you use one of the methods shown at https://wiki.archlinux.org/title/KDE#Us … ow_manager ?If not, those tests were with kwin .
I used the classic method via running WM with -r/--replace. It's sad that it doesn't work in KDE.
Replaced kwin with xfwm4 via systemd module replacement - the result is the same, no hangs.
Maybe "making" Xfce4 based on KDE is not such a bad idea...
Please re-test the same 2 commands with other nvidia driver versions.
I've changed driver versions many times. Now I additionally tested current versions: 550.40.65 (vulkan dev), 550.107.02, 555.58.02, 560.28.03 - none of them solves the problem. It might be worth trying older versions, but for those I will probably have to roll back the kernel as well.
Do you have a DP monitor availalble ?
If yes, run the test with that attached instead of the hdmi one.
I don't have a DP connector in my laptop, only HDMI. Perhaps I should have mentioned this earlier, but the laptop model is Acer Nitro 5 AN515-44.
Right now I'm using an HDMI->VGA converter since the monitor is old and only has one analog port (SyncMaster 710M 5:4 1280:1024). Elsewhere I have a TV (or monitor?) with HDMI (16:9 1980:1024), and there are stutters with that too.
Offline
Hmm, maybe the hdmi output is connected to the to the integrated gpu ?
Please post lspci -k and xorg log .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Hmm, maybe the hdmi output is connected to the to the integrated gpu ?
I don't think so. When I don't have nvidia modules loaded for one reason or another, I don't have the external screen detected.
You can find the Xorg log in the first post. I put them on git gist. Penultimate line, link disguised as "Logs". They are named in the format: [kde/xfce4]_[where the log is from].
lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
Subsystem: Acer Incorporated [ALI] Device 1455
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
Subsystem: Acer Incorporated [ALI] Device 1455
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
Kernel driver in use: pcieport
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
Subsystem: Acer Incorporated [ALI] Device 1447
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less) (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less)
Kernel driver in use: nvme
Kernel modules: nvme
03:00.0 Non-Volatile memory controller: Silicon Motion, Inc. SM2262/SM2262EN SSD Controller (rev 03)
Subsystem: Silicon Motion, Inc. SM2262/SM2262EN SSD Controller
Kernel driver in use: nvme
Kernel modules: nvme
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Killer E2600 GbE Controller (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] (rev c7)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: amdgpu
Kernel modules: amdgpu
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: ccp
Kernel modules: ccp
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: ahci
07:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
Subsystem: Acer Incorporated [ALI] Device 1455
Kernel driver in use: ahci
I plan to test other DEs as well: Gnome, Enlightment, etc.
I'm mainly interested in those that support both Xorg and wayland, since so far that's the only difference between KDE and the other DEs I've tested.
You wrote that I need to use this method to change WM. There's a link to a commit in the article that says they dropped the "window manager component chooser" because it's not needed due to the switch to wayland.
So I decided to test other such DEs: what if when moving to wayland they removed something from the implementation that is causing these stutters for me?
For this purpose, I made archiso LiveCD with them, so that I wouldn't have to touch the working machine's config.
Offline
The component chooser settings in Plasma no longer allows changing the window manager, but you are still able to swap KWin via other methods.
Those other methods are what's described in 5.1.1 , 5.1.2 and 5.1.3 .
Combined this means that KDE pkama X11 uses kwin unless you use one of the 3 methods to replace it with something else.
The lscpi output confirms both cards are fully functional and have their own connections .
[ 10.135] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): connected
[ 10.135] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): Internal TMDS
[ 10.135] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): 600.0 MHz maximum pixel clock
Is this your hdmi monitor ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Yes, this is my hdmi monitor.
Offline
Well, I ran the tests in the LiveCD I wrote about. The results were disappointing: all DEs on Xorg, except KDE, had stutters. All DEs on Wayland had no stutters.
Therefore, the conclusion is that the stuttering is happening somewhere inside the DE on Xorg. Apparently, the source of the stutters is either something cut out of KDE or something fixed only in KDE.
Is there any way to get an extended Xorg/DE log? Maybe compile with some --debug flag?
Tested:
Plasma X11/Wayland
Gnome (and classic) X11/Wayland
Enlightment X11/Wayland
Xfce4 X11
In general - all the launch options offered to me by SDDM, because I'm too lazy to launch myself, and, judging by the tests, SDDM does not affect the result.
Also tried running sway, hyprland and weston, but I couldn't do anything with them. I don't know how to use Wayland environments properly yet.
Offline
Another interesting observation: using the second monitor as a mirror monitor (outputting the same image as the main monitor) does not cause stuttering.
Offline
* KDE + KWin = no stutters
* KDE + openbox = no stutters
* KDE + XFWM = no stutters
* Xfce4 + XFWM = stutters (for mine profile)
* Xfce4 + XFWM = stutters (for new user with default config)
* Xfce4 + XFWM = stutters (in liveCD archiso)
* Xfce4 + openbox = stutters
* Xfce4 + Kwin = stutters
* Openbox = stutters
* LXQt + openbox = stutters
* LXQt + i3 = stutters
* LXQt + KWin = stutters
* awesome = stutters
From that list and
all DEs on Xorg, except KDE, had stutters. All DEs on Wayland had no stutters.
I'd say the f… truckload of GL contexts in plasma-desktop as well as wayland™ keep the GPU(s) in higher performance modes, in the other contexts it steps down and not sufficiently up to drive the rendering.
See the wiki at https://wiki.archlinux.org/title/AMDGPU#Overclocking and onwards on how to check the performance levels, power profiles, clock rates etc. and compare a good and a bad context.
Offline
Checked the states for the cases I use for the stutter test - all settings are the same, including performance level, power profile.
All that differs is igpu utilization and memory used, in xfce4 both are much less loaded (igpu utilization down to 0), which is logical for comparing xfce4 with all niceties turned off and kde overloaded with effects.
Stuttering in xfce4 happens both during peak load and during drop down to 0.
Also tried putting igpu in performance mode with maximum clock speed - stutters are still there.
Output of amdgpu_top -d, amdgpu_top -gm, amdgpu_top --pp-table, amdgpu_top --drm-info
For xfce4:
amdgpu_top v0.9.0
ROCm Version: 6.0.2
--------
#0 DevicePath { render: "/dev/dri/renderD128", card: "/dev/dri/card0", pci: "0000:06:00.0" }
drm version: 3.57.0
Device Name : [AMD Radeon Graphics]
PCI (domain:bus:dev.func): 0000:06:00.0
DeviceID.RevID : 0x1636.0xC7
gfx_target_version : gfx90c
GPU Type : APU
Family : Raven (RV)
ASIC Name : Renoir
Chip Class: GFX9
Shader Engine (SE) : 1
Shader Array (SA/SH) per SE: 1
CU per SA : 6
Total Compute Unit : 6
RenderBackendPlus (RB+) : 2 (16 ROPs)
Peak Pixel Fill-Rate : 24 GP/s
GPU Clock: 200-1500 MHz
Peak FP32: 1152 GFLOPS
VRAM Type : DDR4
VRAM Bit Width: 128-bit
Memory Clock : 400-1600 MHz
Peak Memory BW: 51 GB/s
ResizableBAR : Enabled
VRAM : usage 167 MiB, total 512 MiB (usable 473 MiB)
CPU-Visible VRAM : usage 167 MiB, total 512 MiB (usable 473 MiB)
GTT : usage 40 MiB, total 8192 MiB (usable 8169 MiB)
Edge Temp. : 38 C (Current)
Power (Input ) : 4 W
Supported Power Profiles: ["3D_FULL_SCREEN", "VIDEO", "VR", "COMPUTE", "CUSTOM"]
L1 Cache (per CU) : 16 KiB
L2 Cache : 1024 KiB (4 Banks)
Hardware IP info:
GFX count: 1, ver: 9.0, queues: 1
COMPUTE count: 1, ver: 9.0, queues: 4
DMA count: 1, ver: 4.0, queues: 1
VCN_DEC count: 1, ver: 2.0, queues: 1
VCN_ENC count: 1, ver: 2.0, queues: 1
VCN_JPEG count: 1, ver: 2.0, queues: 1
IP Discovery table:
die_id: 0
MP1 num: 1, ver: 12.0.0
MP2 num: 1, ver: 11.0.0
THM num: 1, ver: 10.1.1
SMUIO num: 1, ver: 10.0.2
FUSE num: 1, ver: 10.1.1
CLKA num: 3, ver: 10.0.2
GC num: 1, ver: 9.3.0
UVD num: 1, ver: 2.2.0
ACP num: 1, ver: 3.1.0
IOHC num: 1, ver: 6.0.0
MMHUB num: 1, ver: 1.5.0
ATHUB num: 1, ver: 1.5.0
DBGU_NBIO num: 1, ver: 3.0.0
OSSSYS num: 1, ver: 4.3.0
HDP num: 1, ver: 4.1.2
SDMA0 num: 1, ver: 4.1.2
ISP num: 1, ver: 2.1.0
DBGU_IO num: 1, ver: 3.0.0
DF num: 1, ver: 3.5.1
CLKB num: 1, ver: 10.0.2
FCH num: 1, ver: 7.0.0
PCIE num: 1, ver: 5.1.0
PCS num: 4, ver: 5.1.0
SST num: 2, ver: 1.1.0
IOAGR num: 1, ver: 6.0.0
NBIF num: 1, ver: 2.5.0
IOAPIC num: 1, ver: 6.0.0
SYSTEMHUB num: 1, ver: 2.5.0
UMC num: 2, ver: 7.6.0
USB num: 1, ver: 4.6.0
MP0 num: 1, ver: 11.0.3
DMU num: 1, ver: 2.1.0
DIO num: 1, ver: 127.127.63
DAZ num: 1, ver: 127.127.63
Firmware info:
GFX_ME feature: 54, ver: 0xA7
GFX_PFP feature: 54, ver: 0xC3
GFX_CE feature: 54, ver: 0x50
GFX_RLC feature: 1, ver: 0x3C
GFX_MEC feature: 54, ver: 0x1D8
SMC feature: 0, ver: 0x373700
SDMA feature: 41, ver: 0x28
ASD feature: 0, ver: 0x210000D9
VCN feature: 0, ver: 0x7116001
GFX_RLC_RESTORE_LIST_CNTL feature: 1, ver: 0x1
GFX_RLC_RESTORE_LIST_GPM_MEM feature: 1, ver: 0x1
GFX_RLC_RESTORE_LIST_SRM_MEM feature: 1, ver: 0x1
DMCUB feature: 0, ver: 0x1010028
GFX_MEC2 feature: 54, ver: 0x1D8
Video caps (WIDTHxHEIGHT):
MPEG2 : 4096x4096 (Decode), N/A (Encode)
MPEG4 : 4096x4096 (Decode), N/A (Encode)
VC1 : 4096x4096 (Decode), N/A (Encode)
MPEG4_AVC : 4096x4096 (Decode), 4096x2304 (Encode)
HEVC : 8192x4352 (Decode), 4096x2304 (Encode)
JPEG : 16384x16384 (Decode), N/A (Encode)
VP9 : 8192x4352 (Decode), N/A (Encode)
AV1 : N/A (Decode), N/A (Encode)
VBIOS info:
name : [Renoir Generic VBIOS]
pn : [113-RENOIR-025]
ver_str: [017.010.000.014.000000]
date : [2020/01/21 19:02]
pp_feature_mask: [
PP_SCLK_DPM_MASK,
PP_MCLK_DPM_MASK,
PP_PCIE_DPM_MASK,
PP_SCLK_DEEP_SLEEP_MASK,
PP_POWER_CONTAINMENT_MASK,
PP_UVD_HANDSHAKE_MASK,
PP_SMC_VOLTAGE_CONTROL_MASK,
PP_VBI_TIME_SUPPORT_MASK,
PP_ULV_MASK,
PP_ENABLE_GFX_CG_THRU_SMU,
PP_CLOCK_STRETCH_MASK,
PP_OD_FUZZY_FAN_CONTROL_MASK,
PP_SOCCLK_DPM_MASK,
PP_DCEFCLK_DPM_MASK,
PP_OVERDRIVE_MASK,
PP_GFXOFF_MASK,
PP_ACG_MASK,
PP_STUTTER_MODE,
PP_AVFS_MASK,
PP_GFX_DCS_MASK,
]
GPU Metrics Version: v2.2
amdgpu_top v0.9.0
--------
#0
AMD Radeon Graphics (0000:06:00.0, 0x1636:0xC7)
GPU Metrics: V2_2(
gpu_metrics_v2_2 {
common_header: metrics_table_header {
structure_size: 128,
format_revision: 2,
content_revision: 2,
},
temperature_gfx: 3850,
temperature_soc: 3825,
temperature_core: [
3850,
3900,
3800,
3825,
3800,
3750,
3875,
3825,
],
temperature_l3: [
3825,
3725,
],
average_gfx_activity: 0,
average_mm_activity: 0,
system_clock_counter: 142434395337,
average_socket_power: 6,
average_cpu_power: 2962,
average_soc_power: 642,
average_gfx_power: 65535,
average_core_power: [
0,
96,
102,
97,
1002,
175,
0,
74,
],
average_gfxclk_frequency: 400,
average_socclk_frequency: 400,
average_uclk_frequency: 65535,
average_fclk_frequency: 1600,
average_vclk_frequency: 400,
average_dclk_frequency: 65535,
current_gfxclk: 400,
current_socclk: 975,
current_uclk: 6,
current_fclk: 1600,
current_vclk: 400,
current_dclk: 400,
current_coreclk: [
0,
1400,
1400,
1400,
1700,
1214,
0,
1214,
],
current_l3clk: [
1400,
1700,
],
throttle_status: 0,
fan_pwm: 0,
padding: [
65535,
65535,
65535,
],
indep_throttle_status: 0,
},
)
amdgpu_top v0.9.0
--------
#0
AMD Radeon Graphics (0000:06:00.0, 0x1636:0xC7)
SMU (MP1) version: 12.0.0
from sysfs: N/A
from VBIOS: Unknown(
atom_common_table_header {
structuresize: 1024,
format_revision: 9,
content_revision: 1,
},
)
Node: "/dev/dri/card0"
└───Connector 87 (eDP-1), connected
├───CRTC: 1920x1080@60.00785
├───Modes
│ ├───1920x1080@60.01 preferred driver
│ ├───1680x1050@60.01 driver
│ ├───1280x1024@60.01 driver
│ ├───1440x900@60.01 driver
│ ├───1280x800@60.01 driver
│ ├───1280x720@60.01 driver
│ ├───1024x768@60.01 driver
│ ├───800x600@60.01 driver
│ └───640x480@60.01 driver
├───"EDID", id = 1, value: 94, blob
├───"DPMS", id = 2, value: 0, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
├───"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
├───"non-desktop", id = 6, value: 0, values: [0, 1]
├───"TILE", id = 4, value: 0, blob
├───"CRTC_ID", id = 20, value: 73
├───"scaling mode", id = 34, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
├───"underscan", id = 35, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
├───"underscan hborder", id = 36, value: 0, values: [0, 128]
├───"underscan vborder", id = 37, value: 0, values: [0, 128]
├───"max bpc", id = 88, value: 16, values: [8, 16]
├───"Colorspace", id = 89, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
├───"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
├───"vrr_capable", id = 90, value: 0, values: [0, 1]
├───"Content Protection", id = 91, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
└───"HDCP Content Type", id = 92, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
For KDE Plasma (on X11)
amdgpu_top v0.9.0
ROCm Version: 6.0.2
--------
#0 DevicePath { render: "/dev/dri/renderD128", card: "/dev/dri/card0", pci: "0000:06:00.0" }
drm version: 3.57.0
Device Name : [AMD Radeon Graphics]
PCI (domain:bus:dev.func): 0000:06:00.0
DeviceID.RevID : 0x1636.0xC7
gfx_target_version : gfx90c
GPU Type : APU
Family : Raven (RV)
ASIC Name : Renoir
Chip Class: GFX9
Shader Engine (SE) : 1
Shader Array (SA/SH) per SE: 1
CU per SA : 6
Total Compute Unit : 6
RenderBackendPlus (RB+) : 2 (16 ROPs)
Peak Pixel Fill-Rate : 24 GP/s
GPU Clock: 200-1500 MHz
Peak FP32: 1152 GFLOPS
VRAM Type : DDR4
VRAM Bit Width: 128-bit
Memory Clock : 400-1600 MHz
Peak Memory BW: 51 GB/s
ResizableBAR : Enabled
VRAM : usage 440 MiB, total 512 MiB (usable 473 MiB)
CPU-Visible VRAM : usage 440 MiB, total 512 MiB (usable 473 MiB)
GTT : usage 181 MiB, total 8192 MiB (usable 8169 MiB)
Edge Temp. : 38 C (Current)
Power (Input ) : 4 W
Supported Power Profiles: ["3D_FULL_SCREEN", "VIDEO", "VR", "COMPUTE", "CUSTOM"]
L1 Cache (per CU) : 16 KiB
L2 Cache : 1024 KiB (4 Banks)
Hardware IP info:
GFX count: 1, ver: 9.0, queues: 1
COMPUTE count: 1, ver: 9.0, queues: 4
DMA count: 1, ver: 4.0, queues: 1
VCN_DEC count: 1, ver: 2.0, queues: 1
VCN_ENC count: 1, ver: 2.0, queues: 1
VCN_JPEG count: 1, ver: 2.0, queues: 1
IP Discovery table:
die_id: 0
MP1 num: 1, ver: 12.0.0
MP2 num: 1, ver: 11.0.0
THM num: 1, ver: 10.1.1
SMUIO num: 1, ver: 10.0.2
FUSE num: 1, ver: 10.1.1
CLKA num: 3, ver: 10.0.2
GC num: 1, ver: 9.3.0
UVD num: 1, ver: 2.2.0
ACP num: 1, ver: 3.1.0
IOHC num: 1, ver: 6.0.0
MMHUB num: 1, ver: 1.5.0
ATHUB num: 1, ver: 1.5.0
DBGU_NBIO num: 1, ver: 3.0.0
OSSSYS num: 1, ver: 4.3.0
HDP num: 1, ver: 4.1.2
SDMA0 num: 1, ver: 4.1.2
ISP num: 1, ver: 2.1.0
DBGU_IO num: 1, ver: 3.0.0
DF num: 1, ver: 3.5.1
CLKB num: 1, ver: 10.0.2
FCH num: 1, ver: 7.0.0
PCIE num: 1, ver: 5.1.0
PCS num: 4, ver: 5.1.0
SST num: 2, ver: 1.1.0
IOAGR num: 1, ver: 6.0.0
NBIF num: 1, ver: 2.5.0
IOAPIC num: 1, ver: 6.0.0
SYSTEMHUB num: 1, ver: 2.5.0
UMC num: 2, ver: 7.6.0
USB num: 1, ver: 4.6.0
MP0 num: 1, ver: 11.0.3
DMU num: 1, ver: 2.1.0
DIO num: 1, ver: 127.127.63
DAZ num: 1, ver: 127.127.63
Firmware info:
GFX_ME feature: 54, ver: 0xA7
GFX_PFP feature: 54, ver: 0xC3
GFX_CE feature: 54, ver: 0x50
GFX_RLC feature: 1, ver: 0x3C
GFX_MEC feature: 54, ver: 0x1D8
SMC feature: 0, ver: 0x373700
SDMA feature: 41, ver: 0x28
ASD feature: 0, ver: 0x210000D9
VCN feature: 0, ver: 0x7116001
GFX_RLC_RESTORE_LIST_CNTL feature: 1, ver: 0x1
GFX_RLC_RESTORE_LIST_GPM_MEM feature: 1, ver: 0x1
GFX_RLC_RESTORE_LIST_SRM_MEM feature: 1, ver: 0x1
DMCUB feature: 0, ver: 0x1010028
GFX_MEC2 feature: 54, ver: 0x1D8
Video caps (WIDTHxHEIGHT):
MPEG2 : 4096x4096 (Decode), N/A (Encode)
MPEG4 : 4096x4096 (Decode), N/A (Encode)
VC1 : 4096x4096 (Decode), N/A (Encode)
MPEG4_AVC : 4096x4096 (Decode), 4096x2304 (Encode)
HEVC : 8192x4352 (Decode), 4096x2304 (Encode)
JPEG : 16384x16384 (Decode), N/A (Encode)
VP9 : 8192x4352 (Decode), N/A (Encode)
AV1 : N/A (Decode), N/A (Encode)
VBIOS info:
name : [Renoir Generic VBIOS]
pn : [113-RENOIR-025]
ver_str: [017.010.000.014.000000]
date : [2020/01/21 19:02]
pp_feature_mask: [
PP_SCLK_DPM_MASK,
PP_MCLK_DPM_MASK,
PP_PCIE_DPM_MASK,
PP_SCLK_DEEP_SLEEP_MASK,
PP_POWER_CONTAINMENT_MASK,
PP_UVD_HANDSHAKE_MASK,
PP_SMC_VOLTAGE_CONTROL_MASK,
PP_VBI_TIME_SUPPORT_MASK,
PP_ULV_MASK,
PP_ENABLE_GFX_CG_THRU_SMU,
PP_CLOCK_STRETCH_MASK,
PP_OD_FUZZY_FAN_CONTROL_MASK,
PP_SOCCLK_DPM_MASK,
PP_DCEFCLK_DPM_MASK,
PP_OVERDRIVE_MASK,
PP_GFXOFF_MASK,
PP_ACG_MASK,
PP_STUTTER_MODE,
PP_AVFS_MASK,
PP_GFX_DCS_MASK,
]
GPU Metrics Version: v2.2
amdgpu_top v0.9.0
--------
#0
AMD Radeon Graphics (0000:06:00.0, 0x1636:0xC7)
GPU Metrics: V2_2(
gpu_metrics_v2_2 {
common_header: metrics_table_header {
structure_size: 128,
format_revision: 2,
content_revision: 2,
},
temperature_gfx: 3750,
temperature_soc: 3775,
temperature_core: [
3675,
3900,
3650,
3875,
3625,
3650,
3625,
3750,
],
temperature_l3: [
3750,
3700,
],
average_gfx_activity: 0,
average_mm_activity: 0,
system_clock_counter: 64109179324,
average_socket_power: 5,
average_cpu_power: 2299,
average_soc_power: 1032,
average_gfx_power: 65535,
average_core_power: [
0,
72,
637,
67,
62,
112,
0,
64,
],
average_gfxclk_frequency: 400,
average_socclk_frequency: 687,
average_uclk_frequency: 65535,
average_fclk_frequency: 1600,
average_vclk_frequency: 400,
average_dclk_frequency: 65535,
current_gfxclk: 400,
current_socclk: 400,
current_uclk: 6,
current_fclk: 1600,
current_vclk: 400,
current_dclk: 400,
current_coreclk: [
0,
3000,
1333,
1333,
1214,
1700,
0,
1214,
],
current_l3clk: [
3000,
1700,
],
throttle_status: 0,
fan_pwm: 0,
padding: [
65535,
65535,
65535,
],
indep_throttle_status: 0,
},
)
amdgpu_top v0.9.0
--------
#0
AMD Radeon Graphics (0000:06:00.0, 0x1636:0xC7)
SMU (MP1) version: 12.0.0
from sysfs: N/A
from VBIOS: Unknown(
atom_common_table_header {
structuresize: 1024,
format_revision: 9,
content_revision: 1,
},
)
Node: "/dev/dri/card0"
└───Connector 87 (eDP-1), connected
├───CRTC: 1920x1080@60.00785
├───Modes
│ ├───1920x1080@60.01 preferred driver
│ ├───1680x1050@60.01 driver
│ ├───1280x1024@60.01 driver
│ ├───1440x900@60.01 driver
│ ├───1280x800@60.01 driver
│ ├───1280x720@60.01 driver
│ ├───1024x768@60.01 driver
│ ├───800x600@60.01 driver
│ └───640x480@60.01 driver
├───"EDID", id = 1, value: 94, blob
├───"DPMS", id = 2, value: 0, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
├───"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
├───"non-desktop", id = 6, value: 0, values: [0, 1]
├───"TILE", id = 4, value: 0, blob
├───"CRTC_ID", id = 20, value: 73
├───"scaling mode", id = 34, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
├───"underscan", id = 35, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
├───"underscan hborder", id = 36, value: 0, values: [0, 128]
├───"underscan vborder", id = 37, value: 0, values: [0, 128]
├───"max bpc", id = 88, value: 16, values: [8, 16]
├───"Colorspace", id = 89, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
├───"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
├───"vrr_capable", id = 90, value: 0, values: [0, 1]
├───"Content Protection", id = 91, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
└───"HDCP Content Type", id = 92, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
Offline
What happens if you run openbox + plasmashell (only the KDE desktop process)?
The problem: in Hybrid mode (X on igpu + offloading to dgpu, eDP-display connected to igpu and HDMI-display to dgpu), then I launch vulkan app (for example, vkcube or vulkan/dxvk game) with second monitor connected, I experience graphical stutters (sound continues to play). Screens (whole graphical system with mouse cursor) can be frozen from 1 to 10 seconds.
Does https://wiki.archlinux.org/title/PRIME# … ronization differ between the sessions? The answer might be kscreen…
Offline
openbox + plasmashell (plasmashell &) = stutters
The parameter "PRIME Synchronization", according to the output of xrandr --prop is the same.
Offline
Are there *any* xrandr differences between the sessions (since it's not the plasmashell desktop window, so probably no active GUI client)
Offline
There's a distinction:
KDE Session has parameters
_KDE_SCREEN_INDEX: 1 for eDP monitor and
_KDE_SCREEN_INDEX: 2 for HDMI monitor
In xfce4 they are not present.
Offline
That's juts a KDE internel marker - are they otherwise equal? Did you diff them or compare them manually?
Offline
Compared using meld
Offline