That seems like a bit of trouble if you have 16GB of system RAM and a 24GB GPU.
I helped fix sleep-wake hangs on Linux with AMD GPUs
21–30 of 218 posts
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#22Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#23This is amazing work! If folks have ever wondered why suspend is so difficult to get working on linux and why debugging it is equally difficult, this is a single datapoint with lots of information about all the things that can go wrong. Even now I have a thinkpad P1G4 where the fans won't turn off automatically unless I turn them off before going into suspend. Recently I also started having crackling issues with my b…
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#24Honestly, it's one of the main issues I wish the Linux community would take a closer look at and finally fix!
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#25During suspend, for graphics cards, GPU VRAM needs to be transferred to system RAM.
However, during high memory usage scenarios the VRAM + RAM usage could exceed system memory -- this would ordinarily involve system swap coming into play and handling the temporarily out of memory issue. However system swap was already deactivated when it came time to suspending the AMD card causing all sorts of problems.
The fix was asking the GPU to evict its VRAM to system RAM via the hook ("suspend prepare") before swap was deactivated in linux kernel.
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#26Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#27This is amazing work! If folks have ever wondered why suspend is so difficult to get working on linux and why debugging it is equally difficult, this is a single datapoint with lots of information about all the things that can go wrong. Even now I have a thinkpad P1G4 where the fans won't turn off automatically unless I turn them off before going into suspend. Recently I also started having crackling issues with my b…
Remarkable that it's 2025 and laptop sleep/suspend still doesn't work right on linux. I think the first time I encountered this was probably 15 years ago now?
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#28why nobody else sees this?
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#29Apple became a trillion dollar company by mastering sleeping / waking up of electronic devices. why nobody else sees this?
Re: I helped fix sleep-wake hangs on Linux with AMD GPUs
#30Apple became a trillion dollar company by mastering sleeping / waking up of electronic devices. why nobody else sees this?