You are not logged in.

#1 2024-06-01 11:02:49

Mr. Clear
Member
Registered: 2024-06-01
Posts: 5

Screen doesn't wake up with mouse or keyboard

Hi, I am using KDE Plasma with X11.
Since a view weeks, when my Screen is turned off due to power save, it sometimes will not come back again.
But I can enter the terminal by pressing Ctrl+Alt+F2. When I try to return to Desktop with Alt+F7, the Screen turns off again. But I can restart `lightdm.service` which brings the desktop back.
Any idea what could be wrong here? And as mitigation, is there a command that may turn on the Screen?

Last edited by Mr. Clear (2024-06-01 11:05:58)

Offline

#2 2024-06-01 14:18:30

seth
Member
Registered: 2012-09-03
Posts: 60,798

Re: Screen doesn't wake up with mouse or keyboard

Does suspending the compositor (SHIFT+alt+F12) revive the output?
From tty2, what's the output of

DISPLAY=:0 xrandr -q

?

Offline

#3 2024-06-03 07:35:35

Mr. Clear
Member
Registered: 2024-06-01
Posts: 5

Re: Screen doesn't wake up with mouse or keyboard

The output is the same as when I do it from the Desktop:

$ DISPLAY=:0 xrandr -q
Screen 0: minimum 8 x 8, current 3600 x 1200, maximum 32767 x 32767
DVI-D-0 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.88*+  59.95  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
HDMI-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1200     59.95*+
   1920x1080     60.00    59.94    50.00    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DVI-D-1-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)

I noticed that I still can control the desktop with the keyboard. I had YouTube open and I could start and pause the video with the space key. But both screens where still turned off.

Offline

#4 2024-06-03 07:55:24

seth
Member
Registered: 2012-09-03
Posts: 60,798

Re: Screen doesn't wake up with mouse or keyboard

The outputs are still enabled at that point, it's meant to reflect the black screen situation?

seth wrote:

Does suspending the compositor (SHIFT+alt+F12) revive the output?

Offline

#5 2024-06-05 20:00:59

Mr. Clear
Member
Registered: 2024-06-01
Posts: 5

Re: Screen doesn't wake up with mouse or keyboard

SHIFT+alt+F12 doesn't do anything.
Sorry for the slow responses, I always have to wait for the issue to appear to be able to test something.

Offline

#6 2024-06-05 20:35:04

seth
Member
Registered: 2012-09-03
Posts: 60,798

Re: Screen doesn't wake up with mouse or keyboard

seth wrote:

The outputs are still enabled at that point, it's meant to reflect the black screen situation?

Also do you still have a mouse cursor on the black screen?
Next time try to

pkill kwin_x11

("pkill -9" if it refuses to die), then

xset dpms force on

then

xrandr --output HDMI-0 --off;  xrandr --output HDMI-0 --auto

Offline

#7 2024-06-16 16:34:53

Mr. Clear
Member
Registered: 2024-06-01
Posts: 5

Re: Screen doesn't wake up with mouse or keyboard

seth wrote:

Also do you still have a mouse cursor on the black screen?

The screen is turned off. The power button is blinking.

seth wrote:

Next time try to

pkill kwin_x11

("pkill -9" if it refuses to die), then

xset dpms force on

then

xrandr --output HDMI-0 --off;  xrandr --output HDMI-0 --auto

`pkill` and `xset` work without output. `xrandr` gives the following output:

$ DISPLAY=:0 xrandr --output HDMI-0 --off
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Value in failed request:  0x0
  Serial number of failed request:  66
  Current serial number in output stream:  68

After I fixed the issue with `sudo systemctl restart lightdm.service`, `xrandr --output HDMI-0 --off
` turns the screen off.

Offline

Board footer

Powered by FluxBB