Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers black screen on resume (on OpenRC)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sunox
Apprentice
Apprentice


Joined: 26 Jan 2022
Posts: 150

PostPosted: Sat Mar 22, 2025 10:36 pm    Post subject: nvidia-drivers black screen on resume (on OpenRC) Reply with quote

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
View user's profile Send private message
sunox
Apprentice
Apprentice


Joined: 26 Jan 2022
Posts: 150

PostPosted: Sat Mar 22, 2025 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum