[nvidia] Black screen (with grey squares) after resume from sleep

Bug #1961747 reported by Henrik Harmsen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Confirmed
Undecided
Unassigned
mutter (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Problem: Screen is black when resuming from sleep. Only a few grey squares are shown.

Software: Latest Ubuntu 22.04 (updated 21st of february). Nvidia 495 drivers. Update: Tested again with 22.04 reinstalled as of 12th of April. This gave me Nvidia 510.60 drivers. Same problem.

Hardware: Ryzen 5900x, Nvidia 3080ti GPU.

Configuration: Wayland at login screen.

Analysis: Maybe Video RAM is purged during sleep and then it is not restored when resuming.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1961747/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
Henrik Harmsen (henrik-harmsen) wrote :

Updated today to 22.04 beta with latest updates. Same problem.

affects: nvidia-graphics-drivers (Ubuntu) → gnome-shell (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like an extreme case of bug 1876632.

tags: added: jammy nvidia suspend-resume
summary: - Black screen after resume from sleep
+ [nvidia] Black screen after resume from sleep
summary: - [nvidia] Black screen after resume from sleep
+ [nvidia] Black screen (with grey squares) after resume from sleep
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Nvidia mentioned that driver 510.60 fixes a bug that sounds like this one...

https://www.nvidia.com/download/driverResults.aspx/187162/en-us

But don't download it from there. Please use the 'Additional Drivers' app instead.

Changed in mutter (Ubuntu):
status: New → Confirmed
Revision history for this message
Henrik Harmsen (henrik-harmsen) wrote :

I fresh installed Ubuntu 22.04 yesterday and I did get the 510.60 drivers automatically since I clicked "use proprietary drivers and ..." during installation.

description: updated
Revision history for this message
Henrik Harmsen (henrik-harmsen) wrote :

I updated my system today. I added this file:

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

Now, for the first time ever, it seems Wayland with Nvidia proprietary drivers work, including suspend and resume. I think I did not have to do anything else than the above, but I'm not 100% sure.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1876632, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.