You are not logged in.

#1 2020-04-07 07:43:30

maboleth
Member
Registered: 2020-01-03
Posts: 234

Gnome - waking PC up sometimes produces garbage on screen

Latest Gnome 3.36.1, Nvidia driver and kernel.

As seen on this screenshot.
http://cvrkutanje.net/gnome-gb.png

Doesn't happen all the time but every 4-5th waking. Started seeing this more frequently in the last 10 days or so.

ALT-F2 with "R" fixes it by restarting gnome-shell.

If anyone knows what is causing this and if there's a fix, I'd appreciate it a lot.

Mod edit: -- Replaced image with link -- V1del

Last edited by V1del (2020-04-07 08:00:43)

Offline

#2 2020-04-07 07:59:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,365

Re: Gnome - waking PC up sometimes produces garbage on screen

Please only post thumbnails or links to images.

This is generally "normal" on nvidia chips, as they do not store their framebuffers for long during suspension and indeed reloading the relevant OpenGL context is the canonical fix for this.

Nvidia has recently added support for making this more seamless in conjunction with systemd: https://download.nvidia.com/XFree86/Lin … ement.html

Read that carefully and especially the notes regarding the kernel module and the space requirements for /tmp . You don't need to do the file copying part the Arch packages already do that you can just enable the relevant services.

Moving to Apps & DEs

Last edited by V1del (2020-04-07 08:01:56)

Offline

#3 2020-04-07 13:12:22

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Gnome - waking PC up sometimes produces garbage on screen

V1del wrote:

Please only post thumbnails or links to images.

This is generally "normal" on nvidia chips, as they do not store their framebuffers for long during suspension and indeed reloading the relevant OpenGL context is the canonical fix for this.

Nvidia has recently added support for making this more seamless in conjunction with systemd: https://download.nvidia.com/XFree86/Lin … ement.html

Read that carefully and especially the notes regarding the kernel module and the space requirements for /tmp . You don't need to do the file copying part the Arch packages already do that you can just enable the relevant services.

Moving to Apps & DEs

V1del, did that setting have any effects for you? It didn't work for me. I emailed someone from NVIDIA about it today. Perhaps they will reply.

Offline

#4 2020-04-07 15:31:51

maboleth
Member
Registered: 2020-01-03
Posts: 234

Re: Gnome - waking PC up sometimes produces garbage on screen

Thanks so much V1del, I will try it! 
Hussam, did you follow all procedures - adding stuff to modprobe.d, start all three services?

I checked my tmp dir, it's 16gb as is my swap drive, vram is 6gb so it will be more than ok for this.

Offline

#5 2020-04-07 15:38:06

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Gnome - waking PC up sometimes produces garbage on screen

cat /etc/modprobe.d/nvidia.conf 
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1

I have 16GB of ram on this machine and /tmp/ is 8GB.
I also did systemctl enable nvidia-resume.service, nvidia-hibernate.service, and nvidia-suspend.service and rebooted.
GPU is 1050ti 4GB vram.
I get garbled icons on resume.

Offline

Board footer

Powered by FluxBB