You are not logged in.
Sometimes, after I upgrade arch (not sure if it's just nvidia or if it's the linux kernel today, both upgraded). Suspend stops working from Xorg (I tested arch and awesomewm). Suspending from a VT works, even if X is running on a different virtual console. Once I give the suspend command the displays shutdown but nothing else happens, it seems that the computer is still running fine.
My setup is comprised of an nvidia offboard gpu and an amd onboard. I have them set so both of them are working so that I can use both monitors with hdmi ports.
cat /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
Identifier "amd"
MatchDriver "amdgpu"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes" #This is important
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSectionThat's all the configuration I think I did with my setup ly is my login manager and it starts xfce for me.
Last edited by msl09 (2024-06-30 13:06:46)
Offline
Online
It works! Strangely putting the overrides in /usr/lib/systemd/system/ didn't do the trick, only when I put it in /etc/systemd/system suspend started working normally again.
Offline