LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   suspend - can I keep video RAM awake also? (nvidia 3080) (https://www.linuxquestions.org/questions/linux-hardware-18/suspend-can-i-keep-video-ram-awake-also-nvidia-3080-a-4175697617/)

xaxazak 07-11-2021 05:59 PM

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)

pan64 07-13-2021 04:18 AM

Quote:

Originally Posted by xaxazak (Post 6265830)
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.

xaxazak 07-13-2021 02:52 PM

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.


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