X11 session Crashes after login in nvidia-driver-580 on Zorin 18

I'm using Zorin OS 18 with an NVIDIA RTX 4060 Ti running on nvidia-driver-580 . I encounter a consistent issue: upon waking the system from hibernation, the Xorg session crashes immediately after login, requiring me to start a new session. This problem doesn't occur when on Wayland, however, the current NVIDIA support for Wayland is poor. Has anyone else experienced this specific issue and found a reliable fix?"

its not something i've run into using Nvidia on Zorin, is this OOTB Zorin/Have you done any tinkering?

I use a 2060 with the 570 drivers on x11

1 Like

Welcome to the Forum!

When it crashed, You could take a Look in the Logs for potential Errors. There is directly a Program preinstalled called ''Logs''.

My recommendation, is to never to use suspend/hibernation features at all, on Linux. Its common knowledge at this point, that these power saving features, do not work on Linux, and are best to avoid using them. I disabled the suspend & power saving features on my notebook computer, mostly through the OS.

The only thing I use, is a screensaver, through XScreenSavers, just to protect my monitor, from sitting on a static screen for hours.


I often read about enabling nvidia services but I'm not sure if it may help.

https://www.reddit.com/r/zorinos/comments/1fuvevx/graphics_card_driver_issue_after_pc_sleeps/

In this thread you can read that this helped:

"
1 - enable services:

sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-resume.service

2 - Create a file /etc/modprobe.d/nvidia.conf with the following line:

options nvidia NVreg_PreserveVideoMemoryAllocations=1 nvidia.NVreg_TemporaryFilePath=/var/tmp

3 - reboot
"

Apparently fixed by installing the latest drivers directly from the Nvidia website.