Flickering on Nvidia using Wayland in fullscreen applications

Hi all!

I’ve checked out a couple of other threads for this but they are quite old, so I’m making my own, I was gonna just accept it and keep using X11, but also X11 is laggy as hell, and I occassionally see people use nvidia and wayland and not experience this, and it’s also not for every application.

Basically, certain applications will flicker in fullscreen. I remember it being pretty terrible in any Steam games, Freetube and MPV player also do this. Dolphin also flickers in fullscreen. Notably, firefox and its forks do not do this.

Is there a known fix to this? Clearly it is possible to run without flickering judging by firefox, so I’m thinking maybe there’s something I can install or do?

I use the nvidia-dkms drivers, I was recommended by somebody who does not seem to experience flickering to be on the latest, however I also keep finding people suggesting to just use the 535 ones. My specs are a GeForce RTX 4070 Ti, an Intel i7 13700KF CPU, DE is KDE 6. I also use kvantum to make applications translucent, not sure if that’s relevant but mentioning it anyway.

You need the nvidia open drivers, the normal third party driver does not support this card.

2 Likes

weren’t the dkms the official drivers? https://archlinux.org/packages/extra/x86_64/nvidia-dkms/

I’m willing to try the open ones so this isn’t me disagreeing, just being confused

1 Like

Nvidia has moved to open drivers for newer gpu’s. See here.

3 Likes

Ohhh good to know!! Should I go for nvidia-open-dkms or nvidia-open?

Though I thought my 4070 would be Ada Lovelace so the dkms should’ve be fine according to that chart..? I don’t really get the versioning of this stuff, the Turing appear to be older than the Ada Lovelace…. Actually I’m not gonna question this all anymore and just go for nvidia open and hope it doesn’t explode my initram like switching to nvidia-dkms from nvidia-lts did.

open-dkms is what I use.

2 Likes

thanks!!! Will switch to that and update!!!

preliminary update:

Got this error: dracut[I]: *** Creating image file ‘/efi/c793c30db9fb4fa89f176759db9ec21a/6.12.40-1-lts/initrd-fallback.tmp’ ***
cp: error writing ‘/efi/c793c30db9fb4fa89f176759db9ec21a/6.12.40-1-lts/initrd-fallback.tmp’: No space left on device
dracut[F]: Creation of /efi/c793c30db9fb4fa89f176759db9ec21a/6.12.40-1-lts/initrd-fallback.tmp failed
/usr/lib/kernel/install.d/50-dracut-fallback.install failed with exit status 1.

Which will probably mean my kernel will die after I reboot. I am currently backing up my files to my HDD, and will then have to setup my PC again lol

I’m using nvidia-open-dkmsfor my NVIDIA GeForce RTX 3060 Ti

1 Like

I was under the impression that the nvidia-dkms was for cards up to 3000 (3050 etc) I thought the 4000 series was the next architecture up, but as you stated, they are Lovelace, I thought they were Turing

I installed my driver with nvidia-inst.

Holy shit this may have fixed the issue? It didn’t fail creating any of the kernels. I’ll still wait for my backup to complete, which should be soon, just in case, but I think this will be fine!

1 Like

The whole versioning confuses me because according to this, the RTX 20s are Turing, which I think would be older than mine??? I’m just confused about this as a whole

I’ve used nvidia-inst -o to switch, I just have no idea which version it installed or how to check. Is there a command for it?

The flickering is still around so switching drivers did not fix it.

You can see what drivers are installed by running pacman -Qs nvidia

1 Like

thanks! It’s nvidia-open-dkms, so I guess that switching drivers didn’t help. I just don’t get why some applications do not do the flicker, Firefox and its forks all don’t do it…

Don’t know, full-screening apps doesn’t give me flicker, but then I’m using a much older card which has probably had more bugs ironed out.

my laptop has a 3050 (whole new hornet’s nest there because it doesn’t awaken from sleep lol) and I might check if fullscreened stuff flickers there. The 3050 is not that much older than the 4070 I guess but maybe old enough

The suspend issue is potentially solvable, search for my posts with keywords “suspend” & “nvidia”, I am at work ATM. You need to point to a directory on disk, because the amount of vram is too big.

Will have a look when I get home, but it is relatively simple, add some kernel parameters and reinstall kernels.

The only issue is every other kernel update breaks it (to the point where I just lost the will to live and now shutdown).

Edit think it is in here:

1 Like

Also - is it specific apps causing flickering? Chrome based browsers? Electron?

1 Like