Graphical glitches in Gnome Shell after Suspend

Since I upgraded from Fedora 34 to 35, with the new Nvidia 495.44 drivers, I’ve often had graphical issues after I resume my computer from suspend. I’d say it happens about 50% of the time I resume. Applications are not effected, it seems to be only Gnome Shell.

Here’s a screenshot from how it may look like after I’ve resumed, you can see the problem quite clearly.

It looks a bit different every time but always affecting Gnome shell icons, images, and text.

What do you suggest I do? I’ve fully updated all software packages.

nvidia has had problems with suspend/hibernation for some time.
There is a package on rpmfusion that seems to solve it for most.
xorg-x11-drv-nvidia-power
If you have that installed and configured as seen here
https://rpmfusion.org/Howto/NVIDIA?highlight=(\bCategoryHowto\b)#Suspend
then I have no other suggestions.

Suspend
NVIDIA has provided some experimental scripts to enable clean resume on suspend to RAM or suspend to disk (hibernate) that might be specially needed in some environment. Theses scripts will prevent artefacts on resume by moving the full content of the graphic memory into either host RAM (or disk). Packaging is currently (as of 2021-08-23) in in-between state and will be improved as discussed in https://bugzilla.rpmfusion.org/show_bug.cgi?id=6066


sudo dnf install xorg-x11-drv-nvidia-power
sudo systemctl enable nvidia-{suspend,resume,hibernate}
# Optional: tweak "nvidia options NVreg_TemporaryFilePath=/var/tmp" from /etc/modprobe.d/nvidia.conf as needed if you have issue with /tmp as tmpfs with nvidia suspend )

Thanks JV, trying it out.

It appears I already had it: org-x11-drv-nvidia-power-3:495.44-4.fc35.x86_64 is already installed.
Systemd days that those three services are already enabled as well.
Anything else worth trying?

Glad to see this here, I have been experiencing exactly the same issues (https://www.reddit.com/r/Fedora/comments/qy95q7/f35_gnome_shell_characters_seem_corrupted_after/)

I started experiencing this maybe a week ago (wasn’t long after my upgrade from F34 and 470 nvidia drivers).

I have tried reinstalling the drivers and enabling the scripts as described in RPMFusion but that has unfortunately not helped, leading me to believe this may be a regression somewhere.