-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text & Icon corruption after resume from suspend on Nvidia #133
Comments
I've been documenting this problem after encountering it via tickets, customer calls, etc. It's also happening on my personal work laptop (an oryp6). It can occur both after suspend+resume and when switching users, and it appears to occur with both on the 470 and 510 Nvidia binary drivers. It seems to only happen in full Nvidia graphics mode, and not Hybrid. The workaround when it happens is to press Alt + F2 to bring up the GNOME command prompt, press "r", and then press Enter. This restarts the GNOME shell but leaves running applications intact. I've been tagging related tickets with the This is not a problem limited to Pop!OS either. The same problem is documented in other tracking systems and forums, and here's a small number of the many threads and reports:
The Per the source at (https://github.com/pop-os/system76-power/blob/master/src/graphics.rs) we're using While testing in Nvidia graphics mode, I commented out the I do not have a system with S0iX support to test with, so I don't know if disabling the Some additional details:
[edit] The kudu6 may be an S3 suspend laptop, but I don't have one to test with. The command If the kudu6 is an S3 system then the fix that works on my oryp6 may work on the Kudu as well. Note that changing graphics modes will we-write the [more edit] Per customer testing, the kudu6 is an S0iX system like the oryp6 is. |
I own a Kudu6, and I am having this issue. 58582 is my ticket, and I thought I could chime in. When running I ended up following the intel guide found here to confirm that the kudu6 IS I would be happy to disable the |
@peterHoburg I've responded in the ticket conversation. For anyone else reading this issue, rebuilding the boot image is just a matter of running |
This purposed fix does not work on the kudu6.
It was easy to reboot and undo these changes. |
@peterHoburg Thank you for sharing that information. We'll continue to work on this via the service ticket as well. |
New Nvidia 510 series driver is out: https://www.nvidia.com/download/driverResults.aspx/187162/en-us From the v510.60.02 release notes:
This is not yet in the packaging system so any immediate testing will require using the Nvidia installer, which we don't recommend to end users. |
Initial testing on an oryp6 with the unpackaged Nvidia drivers has v510.60.02 performing identically to the previous revision v510.54. The same fix to |
Additional testing with packaged v510.60.02 drivers from a staging repo (https://github.com/pop-os/nvidia-graphics-drivers/tree/nvidia-510.60.02) show exactly the same problem on on oryp6. Going to look into having someone test on an S0iX system using the same staging repo. |
Adding both Pop!OS testing repositories |
Additional testing shows that the GNOME corruption still occurs, but only after a significantly longer suspend time (maybe 30m, possibly less). Back to the drawing board... |
Initial testing shows that the corruption after suspend+resume still occurs with the Pop!OS v22.04 beta and driver 510.60.02. Continuing testing. |
On the |
@n3m0-22 That is extremely interesting to hear. That's going to make troubleshooting it a little harder because we can't really un-encrypt a drive to try to replicate it, but it gives us some additional things to look at. |
FYI I'm on an XPS unencrypted and the issue still occurs. |
Running a System76 Oryx pro w/ PopOS in nvidia mode also produces this issue on resume from suspend. |
Initial testing suggests that the v515 Nvidia drivers may resolve this issue, at least on an S3 suspend mode laptop like an oryp6. We do not recommend downloading the drivers directly from the Nvidia site, as they are not packaged specifically for the OS, will be harder to uninstall if something goes wrong, and may have other unintended effects. We have a testing repository with pre-release packaging, and folks who want to test this for themselves can do so with the following instructions. Please only do so at your own risk on non-critical systems, as these drivers have not been extensively tested. Run these commands in the terminal, one at a time:
If the system is a hybrid graphics laptop, run the following as well:
Either way, then reboot the system. Eventually, the testing repo will be deleted, which will result in |
Thanks for this, @cwsystem76. Just wanted to report that there's no change for me on my (custom) desktop and Wayland. Seems to work for some, as reported on the Nvidia forums. |
The |
The package That said, this problem is only partially resolved, it appears: switching users will still cause the problem to come back, although it's a bit different. Some GNOME apps (noteably the Settings app and GNOME terminal) will be all black until GNOME is reset with the Alt-F2 shortcut. Switching TTYs does not appear to trigger the problem. |
Any simple way to update from |
Pop-shop > installed. You'll see an install button for it. |
The fix above from @Apacelus worked for me, even though I am on X11 (instead of Wayland). Just had to
Add this line to the end of the file and save/exit (Ctrl + X)
Then rebuild initramfs with
Then reboot and it should be fixed.
No more image corruption after waking up. |
I'm having the same issue see the screenshots. I'm going to try @Apacelus's fix but wanted to share that the issue still remains. OS: Pop!_OS 22.04 LTS |
@tavinus @Apacelus Thanks, the workaround worked on my Ubuntu! |
Hi bro, the ubuntu system, I can modify which file? because ubuntu do not have system76-power file, sorry for your time |
@wengjincheng Sorry, I'm not using Ubuntu any more. Try finding where NVreg_PreserveVideoMemoryAllocations should be used. Maybe you should create the file, I don't remember. |
Thanks for your reply, did you use pop_os at last? |
After resuming from suspend on Nvidia graphics, about 60% of the time it results in major corruption of text and icons requiring a shell restart to fix. This seems to be true independent of any other factor. This has only ever occurred to me on Nvidia graphics. Only gnome and gnome extensions is affected - all apps I've seen work normally. See example photos below.
Pop 21.10
Gnome 40.4.0 X11 (have not tried Wayland)
Cosmic version 1
nvidia-driver-495:
Installed: 495.46-0ubuntu0.21.10.1
Candidate: 495.46-0ubuntu0.21.10.1
Login screen after resume.
Desktop in workspace overview.
Photo of arcmenu. The Cosmic launchers have the same corruption but I can't screenshot them as they disappear when I click to take the screenshot.
Portion of the status bar.
Some elements in the calendar are fine.
The text was updated successfully, but these errors were encountered: