Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Text and Icon corruption after resume from suspend on Nvidia
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
smokyrun
n00b
n00b


Joined: 26 Dec 2023
Posts: 39
Location: Reunion Island

PostPosted: Sat Mar 30, 2024 6:51 am    Post subject: Text and Icon corruption after resume from suspend on Nvidia Reply with quote

Hi All,

I have a ThinkPad 51 Laptop with an hybrid video card I use Gentoo as OS, when I resume system from suspend text and icon become corrupted. I use Cinnamon as desktop and the workaround for this problem is Alt+F2 and r.
If I modify this option “options nvidia NVreg_PreserveVideoMemoryAllocations=0” to “options nvidia NVreg_PreserveVideoMemoryAllocations=1” from /etc/modprobe.d/nvidia.conf everything work fine but the system will never go into the suspend mode.
Is it a way to have in same times the possibility to enter in suspend mode and the resume of system works fine ?

Thank you in advance for your help.

Kind regards,

Willy
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1547

PostPosted: Sat Mar 30, 2024 4:45 pm    Post subject: Reply with quote

smokyrun wrote:

If I modify this option “options nvidia NVreg_PreserveVideoMemoryAllocations=0” to “options nvidia NVreg_PreserveVideoMemoryAllocations=1” from /etc/modprobe.d/nvidia.conf everything work fine but the system will never go into the suspend mode.
Is it a way to have in same times the possibility to enter in suspend mode and the resume of system works fine ?


If this is a systemd profile, have you enabled the nvidia-suspend/resume services as well?

I'm using wayland, but up until recently I could somehow reset the graphics mode by switching to a text mode terminal with CTRL+ALT+F<something> and back.

Best Regards,
Georgi
Back to top
View user's profile Send private message
smokyrun
n00b
n00b


Joined: 26 Dec 2023
Posts: 39
Location: Reunion Island

PostPosted: Sun Mar 31, 2024 1:42 pm    Post subject: Reply with quote

Hi Georgi,

Thank you for your reply on my system I use RC subsystem, infortunetly in RC mode there is no nvidia-suspend/resume service, I'm going to looking for the equivalent service in this mode.
I use xorg as display server.

Kind regards,

Willy
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1547

PostPosted: Tue Apr 02, 2024 8:00 am    Post subject: Reply with quote

How do you suspend the system? Does echo mem > /sys/power/state work?

Best Regards,
Georgi
Back to top
View user's profile Send private message
smokyrun
n00b
n00b


Joined: 26 Dec 2023
Posts: 39
Location: Reunion Island

PostPosted: Tue Apr 02, 2024 2:58 pm    Post subject: Reply with quote

When I close the laptop lip or when I put the system in hibernate mode.

Thank you for your help.

Kind regards,

Willy
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1547

PostPosted: Tue Apr 02, 2024 8:50 pm    Post subject: Reply with quote

logrusx wrote:
Does echo mem > /sys/power/state work?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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