I am using a laptop with a dedicated nvidia card (rtx 2070 max-q).
After I upgraded to fedora 38, my xorg gnome session became incredibly laggy, each action has a ~5 second delay, forcing me to use wayland. Wayland on my computer brings it’s own host of problems. Namely that flatpaks are blurry (I think they render at 1080p, while my laptop which is connected to a tv is set to 4k with 175% fractional scaling), hard crashes when the tv goes to sleep, dropped frames in gnome animations, dropped frames when watching youtube 4k, etc.
I have a timeshift rsync snapshot of before I upgraded, but would rather not have to rollback
Has anyone had similar experiences to me? Iirc this also happened to me when I upgraded from fedora 36 to 37, but resolved itself after a few weeks. I would rather be able to resolve the issue in the present though.
Do you have the nvidia drivers installed? dnf list installed '*nvidia*' will show what is installed. Please post that output.
If the nvidia drivers are not installed then one cannot take advantage of the hardware acceleration from the GPU and the CPU is forced to manage graphics rendering – to the detriment of other actions.
Is the system fully updated? sudo dnf upgrade --refresh
Yes the nvidia drivers are installed like normal. I deleted and reinstalled them after the f38 upgrade through rpmfusion. I’ve also tested that they run through playing a bit of witcher 3 which is a demanding game for my laptop, all’s well in that end.
It seems the issues regarding skipped animation and youtube frames arise more in terms of wayland. However my main concern is how or why my Xorg sessions are so laggy now.
Is it possible that in the process of removing the nvidia drivers you may have also removed the nvidia-gpu-firmware package? dnf list installed nvidia-gpu-firmware should show it. If not then that package should be reinstalled. dnf install nvidia-gpu-firmware
We really need to see the output of dnf list installed '*nvidia*' as previously requested – which would have answered the question here.
You mentioned timeshift. Are you by chance using silverblue instead of the Workstation release?
You should mention whether you have applied all updates (including vendor BIOS) and which NVIDIA driver you are using.
It is helpful to include the output of inxa -Fzx (as text, using the </> button to bracket selected text with triple back-quotes). This not only gives us a better picture of the system hardware and software, but is also searchable so can be found by others with similar hardware and issues (more eyes often helps find solutions).
My operating system is up to date (dnf and flatpak). However my bios is not, this is on purpose because there’s too much downside risk to a bios update, due to this being a laptop I use for work. Especially since everything was working fine in f37 and I’m having these issues only since updating to f38. Below is my output for inxi -Fz
I see nothing so far to indicate a problem with graphics.
Please post the output of dmesg | grep -i nvidia so we may see what the kernel is loading during boot.
I suspect the lag may be due to using the iGPU and not the dGPU since the nvidia card and drivers are capable of using hardware acceleration of graphics.
That may often be fixed when using xorg by following the instructions here
I’m pretty sure that the dGPU is being used because I can get normal fps on most games that I play. Also, since installing the nvidia firmware you mentioned, 4k youtube performance is back to normal. Now it’s just xorg session that is the problem.
Just to make clear, currently I’m running wayland, which runs mostly fine, despite having issues like crashing when my TV turns off and xwayland apps being blurry.
~ dmesg | grep -i nvidia
[ 0.000000] Command line: BOOT_IMAGE=(hd4,gpt2)/vmlinuz-6.3.12-200.fc38.x86_64 root=UUID=660d15cc-6dad-4f7f-810f-e9393e51cf01 ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init rd.luks.uuid=luks-71ace3df-78d5-4ad5-8e55-3b7e471d205c rhgb quiet nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 0.133790] Kernel command line: BOOT_IMAGE=(hd4,gpt2)/vmlinuz-6.3.12-200.fc38.x86_64 root=UUID=660d15cc-6dad-4f7f-810f-e9393e51cf01 ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init rd.luks.uuid=luks-71ace3df-78d5-4ad5-8e55-3b7e471d205c rhgb quiet nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 13.010555] nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
[ 13.510185] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input34
[ 13.510265] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input35
[ 13.510315] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input36
[ 13.510873] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input37
[ 14.434394] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[ 15.195216] nvidia: loading out-of-tree module taints kernel.
[ 15.195227] nvidia: module license 'NVIDIA' taints kernel.
[ 15.207135] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 15.641489] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[ 15.642260] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 15.642359] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 15.694480] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 535.54.03 Tue Jun 6 22:20:39 UTC 2023
[ 15.842936] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 15.963979] nvidia-uvm: Loaded the UVM driver, major device number 508.
[ 16.038135] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 535.54.03 Tue Jun 6 22:17:39 UTC 2023
[ 16.043818] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 16.968800] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 19.681001] [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout
[ 19.681006] [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout
[ 29.078464] [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout
[ 29.078469] [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout