You are not logged in.

#1 2021-08-03 16:37:14

millionheadscollide
Member
Registered: 2021-08-03
Posts: 15

[SOLVED] Stutter, laggy desktop performance

Hi all,

I've just finished a fresh arch install on my desktop, and I am getting what appears to be poor performance, or stuttering when using desktop applications. This is particularly bad when watching videos and has extended to my terminal (keys not showing when pressed until another key is pressed). Game performance doesn't seem to be affected (have only managed to test CS:GO but it runs well apart from screen tearing - an issue for another day).

I suspect this is due to hardware video acceleration. I have worked through https://wiki.archlinux.org/title/Hardwa … celeration but alas no luck.

Using nvidia's proprietary drivers and VDPAU for video acceleration.

neofetch:

OS: Arch Linux x86_64 
Host: X570 AORUS ELITE -CF 
Kernel: 5.13.7-arch1-1 
Uptime: 7 hours, 25 mins 
Packages: 696 (pacman) 
Shell: zsh 5.8 
Resolution: 1080x1920, 2560x1440 
DE: Budgie 10.5.3 
WM: Mutter(Budgie) 
Theme: Mojave-dark-green [GTK2/3] 
Icons: Cupertino-Monterey [GTK2/3] 
Terminal: kitty 
CPU: AMD Ryzen 5 5600X (12) @ 3.700GHz 
GPU: NVIDIA GeForce RTX 3090 
Memory: 2488MiB / 32046MiB 

vainfo:

vainfo: VA-API version: 1.12 (libva 2.12.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      <unknown profile>               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

Should <unknown profile> concern me?

grep -iE 'vdpau | dri driver' /var/log/Xorg.0.log:

[     5.895] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

Any help would be greatly appreciated!

Last edited by millionheadscollide (2021-08-03 21:35:46)

Offline

#2 2021-08-03 20:38:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,444

Re: [SOLVED] Stutter, laggy desktop performance

grep -iE 'vdpau | dri driver' /var/log/Xorg.0.log:

Please post the entire log.

Online

#3 2021-08-03 20:47:51

millionheadscollide
Member
Registered: 2021-08-03
Posts: 15

Re: [SOLVED] Stutter, laggy desktop performance

Please post the entire log.

https://pastebin.com/6f0fpYnZ

Offline

#4 2021-08-03 20:51:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,444

Re: [SOLVED] Stutter, laggy desktop performance

[     4.180] (II) LoadModule: "glxserver_nvidia"
[     4.180] (WW) Warning, couldn't open module glxserver_nvidia
[     4.180] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[     4.180] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[     4.180] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[     4.180] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[     4.180] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[     4.180] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

https://wiki.archlinux.org/title/NVIDIA … de_setting - parameter AND early loading

Online

#5 2021-08-03 21:35:05

millionheadscollide
Member
Registered: 2021-08-03
Posts: 15

Re: [SOLVED] Stutter, laggy desktop performance

https://wiki.archlinux.org/title/NVIDIA … de_setting - parameter AND early loading

Parameter added to rEFInd:

nvidia-drm.modeset=1

Modules added to /etc/mkinitcpio.conf

nvidia nvidia_modeset nvidia_uvm nvidia_drm

Re-ran mkinitcpio

mkinitcpio -P

Reboot and no more errors in /var/log/Xorg.0.log

[     5.615] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[     5.643] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     5.643]    compiled for 1.6.99.901, module version = 1.0.0
[     5.643]    Module class: X.Org Server Extension

Stuttering has disappeared!

Thank you seth

Offline

#6 2021-09-26 17:35:00

aleksF
Member
Registered: 2019-03-09
Posts: 19

Re: [SOLVED] Stutter, laggy desktop performance

I had the same issue, this helped a lot. THANK YOU!!

Offline

Board footer

Powered by FluxBB