Summary: | [drm:intel_enable_lvds [i915]] *ERROR* timed out waiting for panel to power on | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Sérgio M. Basto <sergio> | ||||||||||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||||
Severity: | major | ||||||||||||||||||
Priority: | medium | CC: | intel-gfx-bugs, sergio | ||||||||||||||||
Version: | XOrg git | ||||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||
Whiteboard: | ReadyForDev | ||||||||||||||||||
i915 platform: | ILK | i915 features: | display/LVDS | ||||||||||||||||
Attachments: |
|
Description
Sérgio M. Basto
2017-10-23 11:09:40 UTC
Created attachment 135001 [details]
full dmesg
On resume I don't have screen , but if I close lid and open again screen gets back.
I tried kernel 4.11.x 4.12.x and 4.13.x all have the same errors and problems.
I'm using Linux Fedora 26 x86_64 KDE.
Hello Sergio, could you please replicate with drm.debug=0xe log_bug_len=2M, (2M or bigger), on grub and attach log? Thank you. Created attachment 135022 [details]
dmesg with drm.debug=0xe log_bug_len=4M
history of dmesg :
boot up
login (got wireless network)
suspend (I waited about at least one minute)
wakeup
close lid and open it again .
Hi, I get the same error message `drm:intel_enable_lvds [i915]] *ERROR* timed out waiting for panel to power on` with my Toshiba Satellite Z930, though I don't experience any additional bug. I sent a patch that suppresses the error message on my laptop, could you please test it ? Regards, Florent Created attachment 135621 [details] [review] Patch to fix the drm:intel_enable_lvds ERROR message in kernel log I tested this patch on kernel 4.14 Florent, Sérgio, please attach /sys/kernel/debug/dri/0/i915_vbt [ 14.589827] [drm:intel_lvds_init [i915]] LVDS PPS:t1+t2 500 t3 1 t4 10000 t5 2100 tx 50 divider 6249 port 0 powerdown_on_reset 1 So we have a power cycle delay of 1000 ms and power up delay of 5 ms. I guess that explains why the timeout of 1000 ms isn't quite sufficient always. We don't actually use the VBT PPS values on LVDS, but seeing the VBT would still be interesting. So please do attach it. Looking at the docs, the max power cycle delay we can program is 3 seconds and the max power up delay is ~800 ms. Given those we should perhaps bump the timeout to >=4 seconds. We seem to be using 5 seconds in the DP code, so I think we might as well use that same value in the LVDS code. Created attachment 135651 [details]
i915_vbt.bin.gz
as requested
(In reply to Florent Flament from comment #5) > Created attachment 135621 [details] [review] [review] > Patch to fix the drm:intel_enable_lvds ERROR message in kernel log > > I tested this patch on kernel 4.14 I will need rebuild the kernel 4.14 , to do that I will need some free time maybe this weekend ... I will use copr [1] like for example [2] if you haven't a kernel binary to share :) [1] https://copr.fedorainfracloud.org [2] https://copr.fedorainfracloud.org/coprs/jforbes/kernel-stabilization/build/677955/ Created attachment 135699 [details] dmesg3.txt (In reply to Florent Flament from comment #5) > Created attachment 135621 [details] [review] [review] > Patch to fix the drm:intel_enable_lvds ERROR message in kernel log > > I tested this patch on kernel 4.14 the patch indeed fixed the timeout but nothing else changed , i.e. still not wakeup correctly from resume Created attachment 135700 [details]
dsdt.dat.gz
cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
with iasl -d dsdt.dat you got dsdt.dsl
(In reply to Sérgio M. Basto from comment #10) > Created attachment 135699 [details] > dmesg3.txt starting in 538.523103 we got logs of laptop resuming , in 546.190501 is after open and close lid (I guess) and where I get screen display again . First of all. Sorry about spam. This is mass update for our bugs. Sorry if you feel this annoying but with this trying to understand if bug still valid or not. If bug investigation still in progress, please ignore this and I apologize! If you think this is not anymore valid, please comment to the bug that can be closed. If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug. I think it is not fixed. At least not the timeout part. As suggested in comment #7 by Ville Syrjala, one second (as appears even in the latest official kernel source code) is not sufficient. I have a TOSHIBA Protege laptop with Lubuntu, freshly upgraded to 18.04 beta, with: 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) and the logs during power on boot (not resume or anything similar, just plain power on) contain the following message: [ 25.044184] [drm:intel_enable_lvds [i915]] *ERROR* timed out waiting for panel to power on I am attaching dmesg_toshiba_portege.txt with drm.debug=0xe log_bug_len=2M grub option. Created attachment 138485 [details]
dmesg with timeout error on TOSHIBA Portege laptop
Are you able to test with latest drm-tip: https://cgit.freedesktop.org/drm-tip? Or does it help Ville? (In reply to Jani Saarinen from comment #16) > Are you able to test with latest drm-tip: > https://cgit.freedesktop.org/drm-tip? > Or does it help Ville? Hi, can you be more specific ? how I test latest drm-tip ? it is a kernel ? it is possible have a patch to Linux v4.17-rc1 ? is related with https://01.org/linuxgraphics/documentation/build-guide-0 ? Thanks Hi, yes that is our latest gfx kernel, see link above. Reporter, have you been able to test drm-tip? (In reply to Jani Saarinen from comment #19) > Reporter, have you been able to test drm-tip? no , not yet , I 'll report if I test it Finally remembered to push my slightly amended version of Florent's original patch: commit 280b54ade5914d3b4abe4f0ebe083ddbd4603246 Author: Florent Flament <contact@florentflament.com> Date: Thu Apr 19 19:07:00 2018 +0300 drm/i915: Fix drm:intel_enable_lvds ERROR message in kernel log So I'm going to mark this as fixed. Please reopen if you still see issues after that commit. Lets close now and reporter, please re-open if not fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.