You are not logged in.

#1 2024-04-17 13:49:26

dimaheve
Member
Registered: 2024-04-17
Posts: 2

[SOLVED] Black screen issue on wake with LightDM and i3

Hey, I installed Arch Linux a few weeks ago and am experiencing black screens when waking my computer, which seems to occur randomly, sometimes after leaving it overnight, other times just after 20 minutes. My setup includes LightDM and i3-wm on an AMD Ryzen 5 3600 with an RTX 3070. The day it happened after 20 minutes I specifically turned the screen off and when I came back I took some time to look trough Xorg.log and the journalctl around the 20 minutes, I didn't find anything that looked like it could have been the issue that I haven't seen on other instances where this didn't happen.

When I turn the screen on after some time if there is no problem normally it would detect mouse/keyboard input and turn the screen on, when this doesn't happen, the screen just turns off after a few seconds. If I change to TTY2 I can log in and restart lightdm using systemctl restart lightdm. As far as I know I haven't modified anything significant on Xorg or Lightdm that could be the issue. I haven't explicitly configured power management settings, but I'm unsure if there's a default setting causing this.

Using Linux kernel 6.8.5-arch1-1, Nvidia driver 550.67, lightdm 1.32.0, i3 version 4.23, xorg-server 21.1.13-1. If anyone knows what the issue could be or where to look at it would be appreciated.

Last edited by dimaheve (2024-05-01 16:59:22)

Offline

#2 2024-04-17 15:59:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Black screen issue on wake with LightDM and i3

screen just turns off after a few seconds. If I change to TTY2 I can log in and restart lightdm using systemctl restart lightdm

So neither the GPU is dead nor the input malfunctioning.
Instead of restarting lightdm, query the randr status for the running server

DISPLAY=:0 xrandr -q

and if no mode is active (asterisk*) to enable the output (--auto)

Offline

Board footer

Powered by FluxBB