Hello,
I have a particular laptop (84dd524) with a DGPU (1650 GTX).
I switched from Gentoo few days ago, resuming from S3/S0ix was working fine before I switched to CachyOS.
Here’s what I can report:
I had the same issue on Gentoo when I wanted to get rid of the ‘X’ program being ran on my DGPU, I noticed it with nvidia-smi, nothing was running in the DE except this one program, even on Wayland, so I wanted to remove it because it prevented me to unload the NVIDIA driver at runtime.
By digging a bit more, I noticed there was a particular X rule that started it:
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
But when I removed it, I had the same exact issue: resuming from S3/S0ix didn’t work anymore and I’m not sure exactly why (yet?).
From what I can think of, it is highly related to a config in the user space driver that allows that program to be ran and is probably managing the DGPU, especially during sleep or somehow keep it activated in order to make it not fallen off the PCI bus. (I say this because I also noticed my that my wifi card also disappear if I don’t turn off the laptop and unplug power supply after it resumes, behind the scenes it’s probably a firmware issue but since I didn’t get that issue on Gentoo, I’m not sure what CachyOS is doing different)
Unfortunately, when I tried to compare both of the files on my Gentoo installation and nothing much is different except these 3 rules that is present on CachyOS:
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
I’m not sure it is related to it, but if you have any other ideas or what can cause such bugs, please let me know.
Thanks.
Best regards,
xutaxkamay.