Comment 10 for bug 1876632

Revision history for this message
Henrik Harmsen (henrik-harmsen) wrote (last edit ): Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

I can confirm that adding this file fixes the problem on Ubuntu 22.04 (using Nvidia 3080 card):

$ cat /etc/modprobe.d/nvidia-power-management.conf
options nvidia NVreg_PreserveVideoMemoryAllocations=1

I did not have to set NVreg_TemporaryFilePath

With this set I can also use Wayland but that brings other problems, such as really stuttery video playback in at least firefox + youtube. So I stayed in X11 for now. Just note that 22.04 will default to Wayland with the above file present so I had to manually choose Ubuntu on X.org in the login screen.

I used a fresh install of 22.04.