Black screen with mouse cursor after unlocking the screen after some inactivity, on an Nvidia card
0
votes
1
answer
434
views
[I uploaded all logs here](https://drive.google.com/drive/folders/1eeaPYZiyEWxNmFYkiQlbnQ7g_fO9-4Oz?usp=sharing) .
After unlocking the PC after a period of inactivity (a few hours?), I'm often met with a black screen with nothing but a mouse cursor on it (that I can move).
The only fix I found is killing the X server with CtrlAltBackspace, but that also kills all my GUI apps. Ideally I'm looking for a full fix, or at least for a more graceful way to recover from this without closing my apps.
---
Some more details:
I've started getting this issue after switching to a new laptop with an Nvidia card (the previous one had an integrated AMD card and no such issues). This is the same Arch installation (except I added NVidia drivers), so I'm sure this is Nvidia-related.
The laptop has both an integrated AMD card and a dedicated Nvidia one, but I disabled the former in the BIOS because it was causing other issues, and the PC feels more repsonsive now. I don't remember if I had this issue while having both cards on, I think not.
I can still switch to another TTY and back, and type commands in it, but I didn't find any commands that helped.
*One time* pressing random hotkeys made it unstuck, but I wasn't able to replicate that.
I can still move the mouse in this state, and the cursor changes according to the apps I'm supposed to have open. But if I click, the cursor shape gets stuck to whatever it is now.
Unplugging and plugging a second monitor doesn't help.
---
I'm using Xfce, with light-locker and lightdm-gtk-greeter. I haven't tried xfce4-screensaver instead of light-locker because it has other issues (doesn't disable backlight in the locked state).
I'm on Arch Linux, on the latest kernel which is
6.12.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 10 Jan 2025 00:39:41 +0000 x86_64 GNU/Linux
.
I'm using open-source Nvidia drivers from the nvidia-open
package. I also tried nvidia-open-dkms
on the LTS kernel, but no cigar, and the LTS kernel gives me other issues.
This is the full list of nvidia-related packages I have installed, from pacman -Qs nvidia
:
local/egl-gbm 1.1.2-1
local/egl-wayland 4:1.1.17-1
local/egl-x11 1.0.0-1
local/lib32-libvdpau 1.5-3
local/lib32-nvidia-utils 565.77-1
local/libvdpau 1.5-3
local/libxnvctrl 565.57.01-1
local/nvidia-open 565.77-11
local/nvidia-prime 1.0-5
local/nvidia-settings 565.57.01-1
local/nvidia-utils 565.77-3
local/xf86-video-nouveau 1.0.18-1 (xorg-drivers)
This is a Lenovo LOQ 2024 laptop (15AHP9, 83DX0070RK). Neofetch identifies following hardware:
CPU: AMD Ryzen 7 8845HS w/ Radeon 780M Graphics (16) @
GPU: AMD ATI 05:00.0 Phoenix3
GPU: NVIDIA GeForce RTX 4050 Max-Q / Mobile
Asked by HolyBlackCat
(170 rep)
Jan 15, 2025, 08:21 AM
Last activity: Feb 7, 2025, 07:37 AM
Last activity: Feb 7, 2025, 07:37 AM