Bug 201271 - System hangs when screen turned off on Dell Latitude 5590
Summary: System hangs when screen turned off on Dell Latitude 5590
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-28 14:26 UTC by Matthew Middleton
Modified: 2020-12-11 10:29 UTC (History)
7 users (show)

See Also:
Kernel Version: 4.19.0-041900rc5-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
lspci (1.64 KB, text/plain)
2018-09-28 14:26 UTC, Matthew Middleton
Details
cpuinfo (10.09 KB, text/plain)
2018-09-28 15:15 UTC, Matthew Middleton
Details

Description Matthew Middleton 2018-09-28 14:26:18 UTC
Created attachment 278823 [details]
lspci

I am experiencing a sporadic hang of the system which occurs about 50% of the time the screen is turned off in Wayland or X (eg. with xset dpms force off).

I experienced a similar issue in Windows 10 on this laptop (BSOD with WHEA UNCORRECTABLE ERROR), albeit much less often, when turning the screen on and off repeatedly there. The release notes for the latest Intel graphics driver package on Dell's site mentions the problem, and installing it indeed fixed it in Windows 10. https://www.dell.com/support/home/en/en/indhs1/drivers/driversdetails?driverId=GG5FR&osCode=WT64A&productCode=

I am getting the hang in Linux in every kernel version I've tried from 4.15.0 to 4.19.0rc5.
Comment 1 Matthew Middleton 2018-09-28 15:13:56 UTC
Setting intel_idle.max_cstate=1 works as a crude workaround.
Comment 2 Matthew Middleton 2018-09-28 15:15:32 UTC
Created attachment 278825 [details]
cpuinfo
Comment 3 Chen Yu 2018-09-29 01:29:40 UTC
Thanks Matthew for the information.
@Rui, @Len, 
we'll try to contact the graphic team for detail of the fix for windows.
Comment 4 Matthew Middleton 2018-09-29 16:21:47 UTC
I actually had to use intel_idle.max_cstate=0 to stop the hangs completely.

When the hang happens on Linux, the LED sometimes displays the CPU error beep code. (two ambers, one white)
Comment 5 Matthew Middleton 2018-10-01 17:42:05 UTC
A better workaround is to use i915.enable_dc=0
Comment 6 Chen Yu 2019-03-11 01:37:28 UTC
I'll file a bug on freedesktop to loop i915 people for comment.
Comment 7 RoninDev 2019-10-15 18:35:47 UTC
Have an issue with Dell latitude 5590 like that: https://www.dell.com/community/Latitude/Latitude-5590-bios-gt-1-8-suspend-issue-ubuntu-led-error-pattern/td-p/7326963

i915.enable_dc=0 works for me, but now FAN is not stopping even CPU is not being hot.
Is there any solutions of that issue?
Comment 8 Jani Nikula 2019-11-14 12:55:38 UTC
FYI i915 developers won't look at this bugzilla.
Comment 9 Jani Nikula 2020-12-11 10:29:43 UTC
Please file i915 issues at the freedesktop.org gitlab https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs

Note You need to log in before you can comment on or make changes to this bug.