I am experiencing system freeze or crash after the computer wakes up after the screen went blank (automatic suspend is off).
The machine is pretty old.
I suspect the issue is display driver but cannot confirm:
NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4.
The drivers are installed while running Kernel 6.8 (6.14 not compatible)
These are typical logs error after crash:
Received an X Window System error. This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 975108 error_code 3 request_code 7 (core protocol) minor_code 0)
gdm3[1482]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
gdm3[1482]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
systemd[1462]: Failed to start signal-desktop.service - Signal Desktop.
gdm-password][15118]: gkr-pam: unable to locate daemon control file
gdm3[1482]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
systemd[1462]: Failed to start app-gnome-gnome\x2dkeyring\x2dpkcs11-15292.scope - Application launched by gnome-session-binary.
systemd[1462]: Failed to start app-gnome-gnome\x2dkeyring\x2dssh-15288.scope - Application launched by gnome-session-binary.
systemd[1462]: Failed to start app-gnome-xdg\x2duser\x2ddirs-15309.scope - Application launched by gnome-session-binary.
gdm3[1482]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
drm:nv_drm_master_set [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
kernel: [drm:nv_drm_master_set [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
I have tried many settings fixes, updated bios, but the same issue persist.
Does Your System run in Wayland or X11? You can check that in Settings>About. When it runs in Wayland, I would recommend to try it with switching to X11/Xorg.
To do that, go to the Login Screen (not the Lock Screen). On the Login Screen, click on Your Profile so that the Password Field appears. When it is appeared, You should see a Gear Icon in the bottom right Corner. Click on it and choose ''Zorin Desktop on Xorg'' and then log in.
Maybe it could help to uninstall and then install the Driver again. Open the Terminal and type:
sudo apt purge nvidia* to remove the Nvidia Driver and related Files. Then:
sudo apt autoremove to remove files Rest. But be cautious! First take a Look in the List of removable Packages before You delete them.
Then to install the Driver type sudo apt install nvidia-driver-470 nvidia-dkms-470
And what I have for get to ask before: What Nvidia Card do You have? When Nvidia Driver is installed type nvidia-smi in the Terminal and post the Output please.
I have done that few times already, purge, re-install, disable nouveau, etc.
It's an Nvidia Gforce 730
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 N/A | N/A |
| 40% 38C P0 N/A / N/A | 552MiB / 2000MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
I did not face issue for the past 2 days.
I have actually made a settings change, while I am not sure it is the exact fix, in Zorin appearance > interface > taskbar settings > action > Gnome functionality, I activated ¨Keep original gnome-shell dash" and "Keep original gnome-shell top panel".
The result is that I have 2 tasks bars.
If this is the actual solution, that's kind of weird.