You are not logged in.

#1 2018-09-17 22:15:00

muz
Member
Registered: 2009-01-21
Posts: 17

Weird behavior with DPMS and resume from suspend

Hello,

I am on a Thinkpad X260 that has been rock solid for a good year or so. I started having gpu related issues around 4.15. GPU is : Intel HD 520 (Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07).

Here is what I know:

4.15 messed up my docking station video out situation real good (like so). Reverted back to lts at 4.14, all was well.
Somewhere around 4.17 that was fixed that so I went back to latest. But weird stuff started happening.

When I suspend and immediately resume, all is well, so this is a pain in the butt to reproduce.
If I suspend and wait a good while, or screen goes off through DPMS, when it resumed, I get a black screen.
Underlying system is fine, if I flip virtual terminals (ctrl+alt+F2 then ctrl+alt+F1) all is well again.

Plus I get rare but unprecedented gpu hangs, X dropouts or mangled screen that is fixed by blind restarting X.

Behavior persistent across linux-4.18.16, linux-lts-4.14.69 and linux-ck-skylake-4.18.7. I have now reverted to a 4.13 kernel out of despair to see what happens, but did not have enough time to tell for sure whether issue is there.

Honestly, I was tempted to downgrade and ride this out but it's been a good while now. Machine was perfect until whatever it was that they poked around in 4.15.

Any advice on how to get to the bottom of this would be greatly appreciated.

Last edited by muz (2018-09-17 22:24:56)

Offline

#2 2018-09-17 22:18:26

muz
Member
Registered: 2009-01-21
Posts: 17

Re: Weird behavior with DPMS and resume from suspend

Oh and I'm using the modesetting driver.

Offline

#3 2018-09-18 00:56:53

muz
Member
Registered: 2009-01-21
Posts: 17

Re: Weird behavior with DPMS and resume from suspend

Also, when I revert back to 4.14 lts now, the problem persists, so perhaps whatever caused the issue was backported?

Offline

#4 2018-09-22 11:46:19

spurgelaurels
Member
From: Hamilton ON
Registered: 2018-09-22
Posts: 5

Re: Weird behavior with DPMS and resume from suspend

5 years I've lurked here without posting, and this is the post that pulled me out of my cave...

Arch running on Thinkpad X1 here, exact same issue. 
Fast suspends don't trigger it, but if I'm away from my desk for a while and come back, screen is black until I change to another virtual terminal and back. 
Kernel:  4.18.6-arch1-1-ARCH #1

You're not alone.  I have coffee and a few hours in front of me.

Offline

#5 2018-09-22 11:54:41

spurgelaurels
Member
From: Hamilton ON
Registered: 2018-09-22
Posts: 5

Re: Weird behavior with DPMS and resume from suspend

Do you have this running anywhere? 

xset -dpms

Offline

#6 2018-10-28 03:49:47

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: Weird behavior with DPMS and resume from suspend

same issue here. the screen is totally black, but i can still operate the system blindly. I use modesetting driver on KabyLake 7200U.

uname -a:

Linux archmate 4.18.16-1-clear #2 SMP PREEMPT Tue Oct 23 07:54:53 CST 2018 x86_64 GNU/Linux

/etc/modprobe.d/i915.conf:

options i915 disable_power_well=-1 enable_guc=-1 enable_ppgtt=-1 enable_psr=1 fastboot=Y modeset=1 panel_ignore_lid=0

/etc/X11/xorg.conf:

Section "ServerLayout"
    Identifier      "X.org Configured"
    Screen  0       "Screen0" 0 0
    Option          "StandbyTime" "15"
    Option          "SuspendTime" "30"
    Option          "OffTime" "60"
EndSection

Section "ServerFlags"
    Option "DontVTSwitch"       "True"
    Option "DontZap"            "True"
    Option "DontZoom"           "True"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "InputClass"
    Identifier "Input0"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "AccelProfile" "adaptive"
    Option "AccelSpeed" "1"
    Option "DisableWhileTyping" "True"
    Option "HorizontalScrolling" "False"
    Option "MiddleEmulation" "True"
    Option "ScrollMethod" "twofinger"
    Option "Tapping" "True"
    Option "TappingDrag" "True"
EndSection

Section "InputClass"
    Identifier "Input0"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "AccelProfile" "adaptive"
    Option "AccelSpeed" "1"
    Option "DisableWhileTyping" "True"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "modesetting"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Last edited by enihcam (2018-10-28 03:57:14)

Offline

#7 2018-11-16 21:58:36

lsyoyom
Member
Registered: 2014-09-14
Posts: 5

Re: Weird behavior with DPMS and resume from suspend

I have the same issue, my current workaround is to have command

xset s activate

handy, if the screen goes dark, just run the command a few times until it brings the screen back.

Offline

Board footer

Powered by FluxBB