You are not logged in.
Did you compare "glxinfo -B" between the environments and maybe "printenv" to see whether KDE sets some environment that results in defaulting to the other GPU or might otherwise have a performance impact?
Offline
diff kde-glxinfo.txt xfce4-glxinfo.txt
1c1
< name of display: :0
---
> name of display: :0.0
17,22c17,22
< VBO free memory - total: 121 MB, largest block: 121 MB
< VBO free aux. memory - total: 8081 MB, largest block: 8081 MB
< Texture free memory - total: 121 MB, largest block: 121 MB
< Texture free aux. memory - total: 8081 MB, largest block: 8081 MB
< Renderbuffer free memory - total: 121 MB, largest block: 121 MB
< Renderbuffer free aux. memory - total: 8081 MB, largest block: 8081 MB
---
> VBO free memory - total: 45 MB, largest block: 45 MB
> VBO free aux. memory - total: 7656 MB, largest block: 7656 MB
> Texture free memory - total: 45 MB, largest block: 45 MB
> Texture free aux. memory - total: 7656 MB, largest block: 7656 MB
> Renderbuffer free memory - total: 45 MB, largest block: 45 MB
> Renderbuffer free aux. memory - total: 7656 MB, largest block: 7656 MB
26c26
< Currently available dedicated video memory: 121 MB
---
> Currently available dedicated video memory: 45 MB
diff kde-vulkaninfo.txt xfce4-vulkaninfo.txt
1409c1409
< budget = 2872700928 (0xab39f000) (2.68 GiB)
---
> budget = 2693632000 (0xa08d9000) (2.51 GiB)
1415c1415
< budget = 5745397760 (0x15673d000) (5.35 GiB)
---
> budget = 5387259904 (0x1411b1000) (5.02 GiB)
3351c3351
< budget = 3854434304 (0xe5be0000) (3.59 GiB)
---
> budget = 3851550720 (0xe5920000) (3.59 GiB)
3363,3364c3363,3364
< budget = 247988224 (0x0ec80000) (236.50 MiB)
< usage = 9961472 (0x00980000) (9.50 MiB)
---
> budget = 247201792 (0x0ebc0000) (235.75 MiB)
> usage = 10747904 (0x00a40000) (10.25 MiB)
Difference in memory usage, also the display names are different: in KDE it's just 0, in xfce4 it's 0.0
Provided a link to git gist with logs and env output for xfce4 and KDE in the first post.
The files with env output have the “_enviroment” postfix.
Here it is:
https://gist.github.com/QTaKs/f57dd2a9c … 54de354b54
Seems to me the only difference is the internal DE variables
Offline
Remove all the __GL* variables and vblank_mode and mesa_glthreaded and MESA_WHICH_LLVM - the "KDE" environment is likely some konsole output and you're probably setting at least some of that w/ your shell RC, but KDE starts as systemd user services.
This screams double-syncing.
Offline
MESA_WHICH_LLVM is only used when building aur mesa-git and in #5 OP stated they had tried to build that but didn't succeed ..
Removing it should not matter, but also bring no harm.
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
Remove all the __GL* variables and vblank_mode and mesa_glthreaded and MESA_WHICH_LLVM - the "KDE" environment is likely some konsole output and you're probably setting at least some of that w/ your shell RC, but KDE starts as systemd user services.
This screams double-syncing.
In order to see if my settings are affecting the stuttering, I did some tests on a “clean system” - a LiveCD created with archiso.
The last tests with Gnome, Xfce4, Enlightment and KDE I ran in it.
All these variables in the LiveCD are supposed to be in default positions, so I don't think my settings specifically affect stuttering.
But I'll remove the variables just to be sure.
Offline
I removed it and tested it, as the results of testing in LiveCD showed - nothing changed, stutters are still there, the variables didn't affect them.
Offline
So it's not the Display server, not the compositor, not the environment, not the power profiles/performance mode… and still.
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 ?
vkcube on igpu - no stutters
vkcube on dgpu - less frequent than usual, but there are
We didn't pick up on thise, did we?
If you force VK_DRIVER_FILES to run on the nvidia GPU in the KDE context, do you get stutter?
If you force VK_DRIVER_FILES to run on the amdgpu GPU in the XFCE context, do you get stutter?
When the system "stutters", is there abnormal CPU load?
If you run "sudo journalctl -f", does the stutter come along journal error spam?
Offline
We didn't pick up on thise, did we?
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 ?
No, why? I checked.
For this test, as Lone_Wolf advised, I started everything in twm via startx (using default xinitrc).
Vkcube runs on nvidia dgpu by default, so I used a variable to run on igpu.
You saw the results of the test.
If you force VK_DRIVER_FILES to run on the nvidia GPU in the KDE context, do you get stutter?
If you force VK_DRIVER_FILES to run on the amdgpu GPU in the XFCE context, do you get stutter?
Strange, I remember that I wrote conditions of stuttering, but I can't find them in the topic, so I'll duplicate:
one monitor to igpu, another to dgpu (that is Reverse PRIME setup), Xorg on igpu, vulkan-application runs (offload) on dgpu.
For tests, I use vkcube (by default runs on nvidia dgpu) as vulkan application and LibreOffice Draw (igpu) to provoke stuttering.
Accordingly, if you run everything on igpu or dgpu - no stutters.
Exactly in the situation I described above (Reverse PRIME) there are no stutters only in KDE and wayland compositors.
When the system "stutters", is there abnormal CPU load?
Yes, there is. One or two cores are loaded at 100% exactly for the duration of the stutter.
If you run "sudo journalctl -f", does the stutter come along journal error spam?
No, journalctl -f doesn't show anything.
Again, you can look in git gist for files with the postfix “_journalctl_b”, my attempts to cause stuttering at the very end of those files - no trace of errors.
The stutters only show up in the Xorg logs, as I wrote in the first post. (Xorg logs have the postfix “_Xorg_log ”).
Perhaps I should have uploaded the logs to another resource, as it turns out git gist is not the most convenient service for this.
Offline
Yes, there is. One or two cores are loaded at 100% exactly for the duration of the stutter.
Also on KDE when there's no stutter but you'd expect it?
(Ie. is that context simply better at handling the CPU overload or does it avoid it)
Also: what process hogs the CPU?
Offline
Yes, there is. One or two cores are loaded at 100% exactly for the duration of the stutter.
Also on KDE when there's no stutter but you'd expect it?
(Ie. is that context simply better at handling the CPU overload or does it avoid it)
No, in KDE the load graph is “flat” with no spikes.
Also: what process hogs the CPU?
Judging by the info from top - Xorg, it raises usage to 100% for the duration of the stutter, then goes down.
The output of
LINES=20 top -b -d 0.5 -w
while several stutters occured.
top - 12:44:13 up 1:29, 2 users, load average: 0,80, 0,66, 0,84
Tasks: 478 total, 1 running, 477 sleeping, 0 stopped, 0 zombie
%Cpu(s): 8,2 us, 3,0 sy, 0,0 ni, 88,1 id, 0,0 wa, 0,7 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14650,4 free, 9179,8 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22280,0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6645 qtaks 16 -4 12,0g 939020 280292 S 45,5 2,9 6:47.20 firefox
7065 qtaks 16 -4 19,0g 328860 114800 S 36,4 1,0 1:10.28 WebExtensions
4680 qtaks 36 16 6347708 385152 304084 S 9,1 1,2 0:23.91 steamwebhelper
12945 qtaks 11 -9 11220 5128 3080 R 9,1 0,0 0:00.02 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-sync_wq
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-slub_flushwq
7 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-netns
10 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-events_highpri
13 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-mm_percpu_wq
top - 12:44:14 up 1:29, 2 users, load average: 0,80, 0,66, 0,84
Tasks: 478 total, 1 running, 477 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2,2 us, 0,9 sy, 0,9 ni, 95,3 id, 0,0 wa, 0,5 hi, 0,1 si, 0,0 st
MiB Mem : 31459,8 total, 14650,4 free, 9179,8 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22280,0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 S 7,7 0,8 4:55.47 Xorg
7282 qtaks 25 5 1131,4g 233696 116488 S 5,8 0,7 0:24.04 opera
7288 qtaks 25 5 1131,4g 197564 112944 S 5,8 0,6 0:20.11 opera
7335 qtaks 25 5 1133,4g 235344 115216 S 5,8 0,7 0:24.00 opera
11735 qtaks 16 -4 7291892 525812 125824 S 3,8 1,6 0:44.44 Isolated Web Co
2314 qtaks 11 -9 466924 42940 36028 S 1,9 0,1 0:03.87 panel-32-wavela
2330 qtaks 11 -9 460452 37008 30660 S 1,9 0,1 0:05.29 panel-34-diskpe
2851 root 20 0 0 0 0 I 1,9 0,0 0:01.34 kworker/0:0-events
6645 qtaks 16 -4 12,0g 939020 280292 S 1,9 2,9 6:47.21 firefox
7456 qtaks 16 -4 2506496 125780 100264 S 1,9 0,4 0:02.08 Isolated Web Co
11540 qtaks 16 -4 1275188 291164 138168 S 1,9 0,9 0:04.30 soffice.bin
12873 qtaks 11 -9 774832 115148 85932 S 1,9 0,4 0:02.01 vkcube
12945 qtaks 11 -9 11220 5384 3336 R 1,9 0,0 0:00.03 top
top - 12:44:15 up 1:29, 2 users, load average: 0,80, 0,66, 0,84
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 8,3 us, 2,5 sy, 0,0 ni, 88,4 id, 0,0 wa, 0,8 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14650,4 free, 9179,8 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22280,0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6645 qtaks 16 -4 12,0g 946072 280208 R 78,4 2,9 6:47.61 firefox
7065 qtaks 16 -4 19,0g 330692 114800 S 19,6 1,0 1:10.38 WebExtensions
978 root 8 -12 25,8g 257164 161964 S 13,7 0,8 4:55.54 Xorg
11540 qtaks 16 -4 1275188 291164 138168 R 5,9 0,9 0:04.33 soffice.bin
11735 qtaks 16 -4 7291892 528244 125824 S 3,9 1,6 0:44.46 Isolated Web Co
12873 qtaks 11 -9 774832 115148 85932 S 3,9 0,4 0:02.03 vkcube
1811 qtaks -2 -11 784300 37704 27456 S 2,0 0,1 0:12.08 wireplumber
1812 qtaks -2 -11 112160 22968 7948 S 2,0 0,1 0:11.57 pipewire-pulse
2138 qtaks 11 -9 548604 51724 38956 S 2,0 0,2 0:01.77 panel-8-pulseau
4173 qtaks 25 5 1140,7g 395400 159140 S 2,0 1,2 3:52.70 Discord
4459 qtaks 20 0 876016 234076 142888 S 2,0 0,7 0:46.19 steam
11603 qtaks 11 -9 624176 49332 39220 S 2,0 0,2 0:02.24 xfce4-terminal
12945 qtaks 11 -9 11220 5384 3336 R 2,0 0,0 0:00.04 top
top - 12:44:15 up 1:29, 2 users, load average: 0,80, 0,66, 0,84
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5,1 us, 1,1 sy, 0,2 ni, 92,8 id, 0,0 wa, 0,7 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14650,4 free, 9179,8 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22280,0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6645 qtaks 16 -4 12,0g 818964 280208 S 29,4 2,5 6:47.76 firefox
978 root 8 -12 25,8g 257164 161964 S 17,6 0,8 4:55.63 Xorg
11540 qtaks 16 -4 1275188 291164 138168 S 15,7 0,9 0:04.41 soffice.bin
6742 qtaks 16 -4 2562784 167056 106640 S 5,9 0,5 0:09.07 Privileged Cont
12945 qtaks 11 -9 11220 5384 3336 R 3,9 0,0 0:00.06 top
122 root -51 0 0 0 0 S 2,0 0,0 0:02.58 irq/9-acpi
2316 qtaks 11 -9 382212 29564 23932 S 2,0 0,1 0:13.34 panel-24-netloa
2317 qtaks 11 -9 382212 29504 24012 S 2,0 0,1 0:14.04 panel-28-netloa
2330 qtaks 11 -9 460452 37008 30660 S 2,0 0,1 0:05.30 panel-34-diskpe
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.71 Discord
4680 qtaks 36 16 6347708 385152 304084 S 2,0 1,2 0:23.92 steamwebhelper
6960 qtaks 25 5 1131,4g 641516 132840 S 2,0 2,0 7:40.36 opera
11735 qtaks 16 -4 7291892 528244 125824 S 2,0 1,6 0:44.47 Isolated Web Co
top - 12:44:16 up 1:29, 2 users, load average: 0,80, 0,66, 0,84
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6,9 us, 1,5 sy, 0,0 ni, 90,9 id, 0,0 wa, 0,7 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14721,0 free, 9109,2 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22350,6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6645 qtaks 16 -4 12,0g 827744 280208 S 23,5 2,6 6:47.88 firefox
978 root 8 -12 25,8g 257164 161964 R 21,6 0,8 4:55.74 Xorg
11540 qtaks 16 -4 1275188 291164 138168 R 19,6 0,9 0:04.51 soffice.bin
7065 qtaks 16 -4 19,0g 333264 114800 S 15,7 1,0 1:10.46 WebExtensions
11735 qtaks 16 -4 7291892 522568 125784 S 5,9 1,6 0:44.50 Isolated Web Co
12873 qtaks 11 -9 774832 115148 85932 S 3,9 0,4 0:02.06 vkcube
2386 qtaks 11 -9 472724 45244 37100 S 2,0 0,1 0:00.84 panel-39-fsguar
4459 qtaks 20 0 876016 234076 142888 S 2,0 0,7 0:46.20 steam
4811 qtaks 20 0 47,3g 515672 100280 S 2,0 1,6 0:37.39 steamwebhelper
12238 root 20 0 0 0 0 I 2,0 0,0 0:00.83 kworker/u48:1-gfx
12631 qtaks 16 -4 2449780 55680 42880 S 2,0 0,2 0:00.12 Web Content
12945 qtaks 11 -9 11220 5384 3336 R 2,0 0,0 0:00.07 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
top - 12:44:16 up 1:29, 2 users, load average: 0,80, 0,66, 0,84
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5,6 us, 3,8 sy, 0,2 ni, 89,8 id, 0,0 wa, 0,5 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14721,0 free, 9109,2 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22350,6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 54,9 0,8 4:56.02 Xorg
11540 qtaks 16 -4 1275188 291164 138168 S 27,5 0,9 0:04.65 soffice.bin
7065 qtaks 16 -4 19,0g 322776 114800 S 11,8 1,0 1:10.52 WebExtensions
133 root 20 0 0 0 0 I 2,0 0,0 0:01.03 kworker/5:1-events
1811 qtaks -2 -11 784300 37704 27456 S 2,0 0,1 0:12.09 wireplumber
1812 qtaks -2 -11 112160 22968 7948 S 2,0 0,1 0:11.58 pipewire-pulse
1924 qtaks 11 -9 1091300 76420 59752 S 2,0 0,2 0:01.35 xfce4-session
2094 qtaks 11 -9 724012 55584 41292 S 2,0 0,2 0:02.97 xfwm4
2112 qtaks 11 -9 573772 52780 39860 S 2,0 0,2 0:06.07 xfce4-panel
2118 qtaks 11 -9 624700 57960 42216 S 2,0 0,2 0:02.24 Thunar
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.72 Discord
4680 qtaks 36 16 6347708 385152 304084 S 2,0 1,2 0:23.93 steamwebhelper
6645 qtaks 16 -4 12,0g 827744 280208 S 2,0 2,6 6:47.89 firefox
top - 12:44:17 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4,2 us, 9,6 sy, 0,0 ni, 85,9 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14721,0 free, 9109,2 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22350,6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 98,1 0,8 4:56.53 Xorg
7065 qtaks 16 -4 19,0g 329124 114800 S 28,8 1,0 1:10.67 WebExtensions
6645 qtaks 16 -4 12,0g 836536 280208 S 25,0 2,6 6:48.02 firefox
11735 qtaks 16 -4 7291892 525128 125784 S 5,8 1,6 0:44.53 Isolated Web Co
4173 qtaks 25 5 1140,7g 395528 159140 S 1,9 1,2 3:52.73 Discord
4459 qtaks 20 0 876016 234076 142888 S 1,9 0,7 0:46.21 steam
12873 qtaks 11 -9 774832 115148 85932 S 1,9 0,4 0:02.08 vkcube
12945 qtaks 11 -9 11220 5384 3336 R 1,9 0,0 0:00.09 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-sync_wq
top - 12:44:17 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,5 us, 8,6 sy, 0,5 ni, 90,1 id, 0,0 wa, 0,2 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14721,0 free, 9109,2 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22350,6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 102,0 0,8 4:57.05 Xorg
7282 qtaks 25 5 1131,4g 241512 116488 S 3,9 0,7 0:24.06 opera
11540 qtaks 16 -4 1275188 291164 138168 S 3,9 0,9 0:04.67 soffice.bin
161 root 0 -20 0 0 0 I 2,0 0,0 0:02.47 kworker/u51:0-hci0
2334 qtaks 11 -9 460452 37220 30860 S 2,0 0,1 0:05.33 panel-35-diskpe
4047 qtaks 17 -3 1132,2g 223348 144700 S 2,0 0,7 0:22.84 Discord
11735 qtaks 16 -4 7291892 525128 125784 S 2,0 1,6 0:44.54 Isolated Web Co
12873 qtaks 11 -9 774832 115148 85932 S 2,0 0,4 0:02.09 vkcube
12945 qtaks 11 -9 11220 5384 3336 R 2,0 0,0 0:00.10 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
top - 12:44:18 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3,3 us, 9,1 sy, 0,2 ni, 87,3 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14721,0 free, 9109,2 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22350,6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 100,0 0,8 4:57.56 Xorg
6645 qtaks 16 -4 12,0g 845032 280208 S 23,5 2,6 6:48.14 firefox
7065 qtaks 16 -4 19,0g 333804 114800 S 13,7 1,0 1:10.74 WebExtensions
12945 qtaks 11 -9 11220 5384 3336 R 3,9 0,0 0:00.12 top
975 tor 20 0 2266420 10808 5336 S 2,0 0,0 0:03.50 obfs4proxy
1812 qtaks -2 -11 112160 22968 7948 S 2,0 0,1 0:11.59 pipewire-pulse
2192 qtaks 36 16 871044 90992 76016 S 2,0 0,3 0:01.70 kdeconnectd
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.74 Discord
11735 qtaks 16 -4 7291892 526792 125784 S 2,0 1,6 0:44.55 Isolated Web Co
12873 qtaks 11 -9 774832 115148 85932 S 2,0 0,4 0:02.10 vkcube
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
top - 12:44:18 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1,0 us, 5,9 sy, 0,3 ni, 92,6 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14721,0 free, 9109,2 used, 8437,1 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22350,6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 70,6 0,8 4:57.92 Xorg
6960 qtaks 25 5 1131,4g 641396 132840 S 5,9 2,0 7:40.39 opera
63 root 20 0 0 0 0 S 2,0 0,0 0:00.24 rcuop/10
1811 qtaks -2 -11 784300 37704 27456 S 2,0 0,1 0:12.10 wireplumber
2125 qtaks 11 -9 946744 112288 53256 S 2,0 0,3 0:05.08 xfdesktop
2327 qtaks 11 -9 460452 37108 30880 S 2,0 0,1 0:05.35 panel-25-diskpe
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.75 Discord
4459 qtaks 20 0 876016 234076 142888 S 2,0 0,7 0:46.22 steam
6645 qtaks 16 -4 12,0g 845032 280208 S 2,0 2,6 6:48.15 firefox
10883 qtaks 16 -4 2600364 199872 119860 S 2,0 0,6 0:05.14 Isolated Web Co
11735 qtaks 16 -4 7291892 526792 125784 S 2,0 1,6 0:44.56 Isolated Web Co
12945 qtaks 11 -9 11220 5384 3336 R 2,0 0,0 0:00.13 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
top - 12:44:19 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4,4 us, 5,4 sy, 0,2 ni, 89,5 id, 0,0 wa, 0,3 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14694,0 free, 9136,1 used, 8433,3 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22323,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 57,7 0,8 4:58.22 Xorg
6645 qtaks 16 -4 12,0g 853972 280208 S 25,0 2,7 6:48.28 firefox
7065 qtaks 16 -4 19,0g 333964 114800 S 15,4 1,0 1:10.82 WebExtensions
11735 qtaks 16 -4 7291892 528032 125784 S 7,7 1,6 0:44.60 Isolated Web Co
11540 qtaks 16 -4 1275188 291164 138168 S 5,8 0,9 0:04.70 soffice.bin
4459 qtaks 20 0 876016 234076 142888 S 1,9 0,7 0:46.23 steam
4680 qtaks 36 16 6347708 385152 304084 S 1,9 1,2 0:23.94 steamwebhelper
12873 qtaks 11 -9 774832 115148 85932 S 1,9 0,4 0:02.11 vkcube
12945 qtaks 11 -9 11220 5384 3336 R 1,9 0,0 0:00.14 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
top - 12:44:19 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2,5 us, 8,7 sy, 0,5 ni, 88,2 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14694,0 free, 9136,1 used, 8433,3 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22323,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 100,0 0,8 4:58.73 Xorg
6645 qtaks 16 -4 12,0g 818488 280208 R 25,5 2,5 6:48.41 firefox
6960 qtaks 25 5 1131,4g 651672 132840 S 3,9 2,0 7:40.41 opera
1812 qtaks -2 -11 112160 22968 7948 S 2,0 0,1 0:11.60 pipewire-pulse
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.76 Discord
7065 qtaks 16 -4 19,0g 334092 114800 S 2,0 1,0 1:10.83 WebExtensions
7456 qtaks 16 -4 2506512 125780 100264 S 2,0 0,4 0:02.09 Isolated Web Co
11735 qtaks 16 -4 7291892 528032 125784 S 2,0 1,6 0:44.61 Isolated Web Co
12873 qtaks 11 -9 774832 115148 85932 S 2,0 0,4 0:02.12 vkcube
12945 qtaks 11 -9 11220 5384 3336 R 2,0 0,0 0:00.15 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
top - 12:44:20 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3,1 us, 9,0 sy, 0,0 ni, 87,7 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14694,0 free, 9136,1 used, 8433,3 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22323,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 98,1 0,8 4:59.24 Xorg
6645 qtaks 16 -4 12,0g 827016 280208 S 25,0 2,6 6:48.54 firefox
7065 qtaks 16 -4 19,0g 336756 114800 S 13,5 1,0 1:10.90 WebExtensions
11735 qtaks 16 -4 7291892 530740 125804 S 5,8 1,6 0:44.64 Isolated Web Co
11103 qtaks 16 -4 2499368 102800 83092 S 1,9 0,3 0:00.58 Isolated Web Co
11243 root 20 0 0 0 0 I 1,9 0,0 0:00.24 kworker/4:0-events
12945 qtaks 11 -9 11220 5384 3336 R 1,9 0,0 0:00.16 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-sync_wq
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-slub_flushwq
top - 12:44:20 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,3 us, 8,7 sy, 0,3 ni, 90,4 id, 0,0 wa, 0,2 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14694,0 free, 9136,1 used, 8433,3 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22323,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 100,0 0,8 4:59.75 Xorg
7065 qtaks 16 -4 19,0g 333652 114800 S 3,9 1,0 1:10.92 WebExtensions
12945 qtaks 11 -9 11220 5384 3336 R 3,9 0,0 0:00.18 top
98 root 20 0 0 0 0 S 2,0 0,0 0:00.15 rcuop/9
2118 qtaks 11 -9 624700 57960 42216 S 2,0 0,2 0:02.25 Thunar
12873 qtaks 11 -9 774832 115148 85932 S 2,0 0,4 0:02.13 vkcube
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-sync_wq
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-slub_flushwq
7 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-netns
top - 12:44:21 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 4 running, 474 sleeping, 0 stopped, 0 zombie
%Cpu(s): 9,9 us, 6,3 sy, 1,0 ni, 82,5 id, 0,0 wa, 0,3 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14694,0 free, 9136,1 used, 8433,3 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22323,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 S 64,7 0,8 5:00.08 Xorg
6645 qtaks 16 -4 12,0g 836640 280208 S 58,8 2,6 6:48.84 firefox
11735 qtaks 16 -4 7291892 528552 125804 S 21,6 1,6 0:44.75 Isolated Web Co
7065 qtaks 16 -4 19,0g 336240 114800 S 19,6 1,0 1:11.02 WebExtensions
11540 qtaks 16 -4 1275188 291164 138168 S 13,7 0,9 0:04.77 soffice.bin
4173 qtaks 25 5 1140,7g 395528 159140 S 3,9 1,2 3:52.78 Discord
7282 qtaks 25 5 1131,4g 233756 116488 S 3,9 0,7 0:24.08 opera
7288 qtaks 25 5 1131,4g 197340 112944 R 3,9 0,6 0:20.13 opera
7335 qtaks 25 5 1133,4g 233404 115216 S 3,9 0,7 0:24.02 opera
7381 qtaks 25 5 1131,4g 202120 113112 R 3,9 0,6 0:21.41 opera
12873 qtaks 11 -9 774832 115148 85932 S 3,9 0,4 0:02.15 vkcube
1811 qtaks -2 -11 784300 37704 27456 S 2,0 0,1 0:12.11 wireplumber
2094 qtaks 11 -9 724012 55584 41292 S 2,0 0,2 0:02.98 xfwm4
top - 12:44:21 up 1:29, 2 users, load average: 0,97, 0,69, 0,85
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,7 us, 8,6 sy, 0,8 ni, 89,6 id, 0,0 wa, 0,2 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14694,0 free, 9136,1 used, 8433,3 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22323,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 98,0 0,8 5:00.58 Xorg
7288 qtaks 25 5 1131,4g 207740 112944 S 5,9 0,6 0:20.16 opera
18 root -2 0 0 0 0 I 2,0 0,0 0:00.09 rcu_preempt
192 root 20 0 0 0 0 I 2,0 0,0 0:01.74 kworker/6:2-events
953 root 20 0 2314604 43788 31716 S 2,0 0,1 0:02.71 containerd
1812 qtaks -2 -11 112160 22968 7948 S 2,0 0,1 0:11.61 pipewire-pulse
2323 qtaks 11 -9 460724 37768 31076 S 2,0 0,1 0:05.47 panel-1-systeml
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.79 Discord
4459 qtaks 20 0 876016 234076 142888 S 2,0 0,7 0:46.25 steam
6645 qtaks 16 -4 12,0g 836640 280208 S 2,0 2,6 6:48.85 firefox
7282 qtaks 25 5 1131,4g 234240 116488 S 2,0 0,7 0:24.09 opera
7335 qtaks 25 5 1133,4g 233844 115216 S 2,0 0,7 0:24.03 opera
7381 qtaks 25 5 1131,4g 206344 113112 S 2,0 0,6 0:21.42 opera
top - 12:44:22 up 1:29, 2 users, load average: 1,37, 0,78, 0,88
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4,1 us, 9,4 sy, 0,2 ni, 86,2 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14704,5 free, 9125,6 used, 8433,4 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22334,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 98,1 0,8 5:01.09 Xorg
6645 qtaks 16 -4 12,0g 844484 280208 S 25,0 2,6 6:48.98 firefox
7065 qtaks 16 -4 19,0g 345088 114800 S 19,2 1,1 1:11.12 WebExtensions
11735 qtaks 16 -4 7291892 530216 125804 S 3,8 1,6 0:44.78 Isolated Web Co
12945 qtaks 11 -9 11220 5384 3336 R 3,8 0,0 0:00.22 top
730 root 20 0 1751880 55696 18776 S 1,9 0,2 0:09.95 warp-svc
1812 qtaks -2 -11 112160 22968 7948 S 1,9 0,1 0:11.62 pipewire-pulse
2192 qtaks 36 16 871044 90992 76016 S 1,9 0,3 0:01.71 kdeconnectd
2317 qtaks 11 -9 382212 29504 24012 S 1,9 0,1 0:14.05 panel-28-netloa
4047 qtaks 17 -3 1132,2g 223348 144700 S 1,9 0,7 0:22.85 Discord
4680 qtaks 36 16 6347708 385152 304084 S 1,9 1,2 0:23.96 steamwebhelper
6781 qtaks 16 -4 32,7g 403540 190080 S 1,9 1,3 0:25.01 opera
12873 qtaks 11 -9 774832 115148 85932 S 1,9 0,4 0:02.16 vkcube
top - 12:44:22 up 1:29, 2 users, load average: 1,37, 0,78, 0,88
Tasks: 478 total, 3 running, 475 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,6 us, 8,9 sy, 0,0 ni, 90,3 id, 0,0 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14704,5 free, 9125,6 used, 8433,4 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22334,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 R 100,0 0,8 5:01.60 Xorg
6645 qtaks 16 -4 12,0g 844612 280208 S 3,9 2,6 6:49.00 firefox
2118 qtaks 11 -9 624700 57960 42216 S 2,0 0,2 0:02.26 Thunar
2319 qtaks 11 -9 382220 29352 24168 S 2,0 0,1 0:02.14 panel-29-netloa
12945 qtaks 11 -9 11220 5384 3336 R 2,0 0,0 0:00.23 top
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 pool_workqueue_release
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-rcu_gp
5 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-sync_wq
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-slub_flushwq
7 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/R-netns
10 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-events_highpri
top - 12:44:23 up 1:29, 2 users, load average: 1,37, 0,78, 0,88
Tasks: 478 total, 2 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4,3 us, 8,9 sy, 0,5 ni, 86,0 id, 0,2 wa, 0,2 hi, 0,0 si, 0,0 st
MiB Mem : 31459,8 total, 14704,5 free, 9125,6 used, 8433,4 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22334,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 S 100,0 0,8 5:02.11 Xorg
6645 qtaks 16 -4 12,0g 851444 280208 S 25,5 2,6 6:49.13 firefox
7065 qtaks 16 -4 19,0g 347256 114800 S 13,7 1,1 1:11.19 WebExtensions
11735 qtaks 16 -4 7291892 532648 125804 S 5,9 1,7 0:44.81 Isolated Web Co
2198 qtaks 11 -9 492664 47640 39436 S 3,9 0,1 0:01.06 xfce4-notifyd
7335 qtaks 25 5 1131,4g 242212 115404 S 3,9 0,8 0:24.05 opera
1811 qtaks -2 -11 784300 37704 27456 S 2,0 0,1 0:12.12 wireplumber
2150 qtaks 11 -9 460952 37428 30964 S 2,0 0,1 0:04.04 panel-3-datetim
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.80 Discord
4459 qtaks 20 0 876016 234076 142888 S 2,0 0,7 0:46.26 steam
11103 qtaks 16 -4 2499368 102800 83092 S 2,0 0,3 0:00.59 Isolated Web Co
12873 qtaks 11 -9 774832 115148 85932 S 2,0 0,4 0:02.17 vkcube
1 root 20 0 23088 13336 9656 S 0,0 0,0 0:01.69 systemd
top - 12:44:23 up 1:29, 2 users, load average: 1,37, 0,78, 0,88
Tasks: 477 total, 1 running, 476 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1,7 us, 0,5 sy, 0,0 ni, 97,4 id, 0,0 wa, 0,3 hi, 0,2 si, 0,0 st
MiB Mem : 31459,8 total, 14704,5 free, 9125,6 used, 8433,4 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 22334,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
978 root 8 -12 25,8g 257164 161964 S 7,8 0,8 5:02.15 Xorg
2198 qtaks 11 -9 492664 47640 39436 S 3,9 0,1 0:01.08 xfce4-notifyd
12945 qtaks 11 -9 11220 5384 3336 R 3,9 0,0 0:00.25 top
969 tor 30 10 968332 78156 32748 S 2,0 0,2 0:06.54 tor
1812 qtaks -2 -11 112160 22968 7948 S 2,0 0,1 0:11.63 pipewire-pulse
2112 qtaks 11 -9 573772 52780 39860 S 2,0 0,2 0:06.08 xfce4-panel
2270 root 20 0 317980 11920 9488 S 2,0 0,0 0:03.17 upowerd
4173 qtaks 25 5 1140,7g 395528 159140 S 2,0 1,2 3:52.81 Discord
4459 qtaks 20 0 876016 234076 142888 S 2,0 0,7 0:46.27 steam
6645 qtaks 16 -4 12,0g 851444 280208 S 2,0 2,6 6:49.14 firefox
6781 qtaks 16 -4 32,7g 403540 190080 S 2,0 1,3 0:25.02 opera
11214 root 20 0 0 0 0 I 2,0 0,0 0:01.33 kworker/u48:0-gfx
11540 qtaks 16 -4 1275188 291164 138168 S 2,0 0,9 0:04.79 soffice.bin
Last edited by QTaKs (2024-08-19 05:57:00)
Offline
Xorg, it raises usage to 100% for the duration of the stutter, then goes down.
So the Xorg CPU usage becomes the bottleneck and
No, in KDE the load graph is “flat” with no spikes.
that doesn't happen in KDE.
At least we now know what causes the stutter.
What if you enable triple buffering?
Section "Device"
Identifier "NVIDIA Card"
Driver "nvidia"
Option "TripleBuffer" "on"
EndSection
Offline
What if you enable triple buffering?
Section "Device" Identifier "NVIDIA Card" Driver "nvidia" Option "TripleBuffer" "on" EndSection
Checked, the stuttering remains.
I checked that the option is enabled in Xorg.log
Offline
https://forums.developer.nvidia.com/t/h … 119?page=2 - seems a common issue.
Though the oddity remains that it does not happen in KDE and it's not because of the kwin_x11 compositor (as that doesn't prevent the issue in an xfce session, otherwise I'd have said the vsync rate-controls the load)
…
…
…
grep -iC5 plasma /usr/share/drirc.d/00-mesa-defaults.conf
startplasma disables adaptive_sync… what if you "export adaptive_sync=false" to whatever session you're gonna try?
It's disabled for picom and xfwm4, but I wonder whether startplasma makes it leak into the entire session…
Offline
grep -iC5 plasma /usr/share/drirc.d/00-mesa-defaults.conf
startplasma disables adaptive_sync… what if you "export adaptive_sync=false" to whatever session you're gonna try?
It's disabled for picom and xfwm4, but I wonder whether startplasma makes it leak into the entire session…
Unfortunately, it didn't help.
vkcube at startup displays a notification that “default value of option adaptive_sync overridden by environment”, so definitely applied.
I also checked the output of
xdriinfo options radeonsi
for xfce4, kde and lxqt - identical.
Offline