View previous topic :: View next topic |
Author |
Message |
sunox Apprentice

Joined: 26 Jan 2022 Posts: 150
|
Posted: Sat Mar 22, 2025 10:36 pm Post subject: nvidia-drivers black screen on resume (on OpenRC) |
|
|
I have perennial issues with nvidia failing to resume correctly. I fix it, and then sometime later nvidia changes something that breaks it again. The last time it happened I had to disable some custom sleep script I was using to get it to work.
This has happened again with the most recent stable driver. When I resume from suspend, I see only my cursor over a black screen. When I reboot I see my full screen appear for a few frames. Changing the virtual terminals doesn't fix it (IIRC this did fix previous iterations of the problem).
Does anyone know what changes to make to fix the issue this time?
I have: NVreg_PreserveVideoMemoryAllocations=1, but changing to =0 doesn't do anything.
Any help appreciated.
Edit: I seem to have the following script enabled:
Code: | #!/bin/sh
case ${1-} in
pre) nvidia-sleep.sh suspend;;
# run in background given resume is flaky if elogind did not finish
post) nvidia-sleep.sh resume &;;
*) exit 1;;
esac
|
|
|
Back to top |
|
 |
sunox Apprentice

Joined: 26 Jan 2022 Posts: 150
|
Posted: Sat Mar 22, 2025 10:50 pm Post subject: |
|
|
I haven't been paying close attention to nvidia driver updates, but it seems like they recently made 570 stable, so what I'm seeing is probably related to that I'm guessing.
Edit: Going back to 550 has 'fixed' the issue. Would appreciate advice on getting things to work under 570. |
|
Back to top |
|
 |
|