You are not logged in.
Hello
I have a Computer with AMD CPU and NVIDIA GPU. There are three Full HD monitors connected to this GPU.
If I e.g. run a 1080p YouTube Video on the first Monitor in Firefox and run a second Firefox windows on the second Monitor the performance is very bad. Scrolling is very sluggish and there is very noticeable screen tearing.
Nouveau is disabled and the Nvidia driver is loaded. I'm using Gnome Desktop environment with X11.
Is this the expected behaviour with a Nvidia GPU or should it perform better?
➜ ~ sudo dmesg | grep nvidia
[ 4.242390] nvidia: loading out-of-tree module taints kernel.
[ 4.242396] nvidia: module license 'NVIDIA' taints kernel.
[ 4.242399] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 4.242400] nvidia: module license taints kernel.
[ 4.552128] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
[ 4.553549] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 4.709639] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 5.534172] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 535.113.01 Tue Sep 12 19:45:42 UTC 2023
[ 5.534576] nvidia-uvm: Loaded the UVM driver, major device number 509.
[ 5.537241] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 5.537242] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1➜ ~ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 25
model : 97
model name : AMD Ryzen 9 7950X 16-Core Processor
stepping : 2
microcode : 0xa601203
cpu MHz : 4679.493
cache size : 1024 KB
physical id : 0
siblings : 32
core id : 0
cpu cores : 16
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 16
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl nonstop>
bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso
bogomips : 9003.00
TLB size : 3584 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]➜ ~ sudo lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060] (rev a1)
11:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1)➜ ~ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 535.113.01
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionOffline
very bad … very sluggish … very noticeable
Is this the expected behaviour with a Nvidia GPU
Yes. I mean "very very" would be very much wrong but as long as it's just "very" that's not very too bad.
https://bbs.archlinux.org/viewtopic.php?id=57855
http://www.catb.org/~esr/faqs/smart-questions.html
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Then try to play a video in mpv (browser HW acceleration is a completely different disaster) and monitor the CPU load.
Then you want to elaborate on the critical conditions: are the three outputs relevant, is video playback relevant, is only the scrolling "sluggish", what does that even mean specifically, is only FF affected, does the video also stutter which output(s) are tearing, is it a static tearline or is it shifting…
Finally try the behavior w/ an openbox session to get the gnome compositor out of the equation. If openbox doesn't suffer from those issues, add eg. picom to see whether it performs better.
Online