You are not logged in.

#1 2022-04-01 01:32:27

Sffred
Member
Registered: 2020-08-30
Posts: 55

[SOLVED] Gnome on Wayland fails to recover from screen lock

After I made a fresh install of archlinux, my graphics interface refuse to load after a screen lock (showing complete black) Pressing Ctrl+Alt+F1 will get back the login screen. Sometimes the screen blinks.

I am using Gnome on Wayland. nvidia-drm.modeset=1 has be added to /etc/default/grub to enable KMS.
This a laptop with intel graphics and NVIDIA GeForce GTX 1060 mobile

I found these lines that are probably related to the issue in the journal:

Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument

Last edited by Sffred (2022-04-01 04:14:40)

Offline

#2 2022-04-01 04:14:18

Sffred
Member
Registered: 2020-08-30
Posts: 55

Re: [SOLVED] Gnome on Wayland fails to recover from screen lock

The solution may sounds ridiculous, but that is what I figured out:
after you lock your screen, click your mouse once to activate it. Then the problem will never show up again.

Offline

#3 2022-04-04 13:34:14

enforcee
Member
Registered: 2022-02-03
Posts: 5

Re: [SOLVED] Gnome on Wayland fails to recover from screen lock

I had experienced same problem after a fresh install, and now it disappeared strangely.
I tried same thing but I can't remember if it really solved the problem.
There's intel graphics and nvidia 960m with my laptop.

Offline

Board footer

Powered by FluxBB