LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2021, 05:59 PM   #1
xaxazak
LQ Newbie
 
Registered: Jul 2021
Posts: 2

Rep: Reputation: Disabled
suspend - can I keep video RAM awake also? (nvidia 3080)


When I use suspend, my video card (Nvidia 3080) sleeps without saving all its RAM to system RAM.
This results in some programs (eg: games, video players, graphics programs) losing data and needing to be restarted after suspend.

Is it possible to either keep my video RAM powered on during suspend or ensure it's fully copied to system RAM before suspending?

Specs:
GPU: NVidia 3080
CPU: AMD 3060
OS: XUbuntu 21.04
RAM: 32GB (+50GB NVME swap)
 
Old 07-13-2021, 04:18 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,962

Rep: Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332Reputation: 7332
Quote:
Originally Posted by xaxazak View Post
When I use suspend, my video card (Nvidia 3080) sleeps without saving all its RAM to system RAM.
This results in some programs (eg: games, video players, graphics programs) losing data and needing to be restarted after suspend.
How do you know that? I mean the problem is the content of that RAM.

Last edited by pan64; 07-13-2021 at 04:20 AM.
 
Old 07-13-2021, 02:52 PM   #3
xaxazak
LQ Newbie
 
Registered: Jul 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
IIUC, it's not a bug, it's intended behavior.

Found some documentation here: https://download.nvidia.com/XFree86/...anagement.html

"Since the amount of system memory available to drivers at suspend time is often insufficient to accommodate large copies of video memory, the NVIDIA kernel drivers are designed to act conservatively, and normally only save essential video memory allocations.
The resulting loss of video memory contents is partially compensated for by the user-space NVIDIA drivers, and by some applications, but can lead to failures such as rendering corruption and application crashes upon exit from power management cycles."

I don't know if this (and other sites) imply the GPU is _incapable_ of keeping power to memory during suspend (maybe it can't get its volts from the mobo until wake time?).

Just trying to parse that doc to figure out what I need to do. IMHO it should be saving all VRam by default, GPU<->Memory speeds are huge so it doesn't take long to save/restore even if every single bit is used.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Keep your desktop awake with the Caffeine shell extension LXer Syndicated Linux News 0 07-19-2016 02:03 PM
Technika MP-308 4GB MP3 player with FM tuner hairysocks Linux - Hardware 1 04-12-2009 12:31 AM
compiz-fusion-plugins-main-0.5.2/ make check error 9 and 1 /intltool-update line 308 R03L Linux - Software 0 03-14-2008 07:31 PM
samba 308 +fc2 AVD_ZM Linux - Wireless Networking 1 11-14-2004 08:29 AM
samba 308 +FC2 AVD_ZM Linux - Software 1 11-13-2004 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration