Bug 74918 - [SNB] [DP training failure] monitor randomly fails to get enabled
Summary: [SNB] [DP training failure] monitor randomly fails to get enabled
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 07:38 UTC by Anton Khirnov
Modified: 2017-07-24 22:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
kernel output (197.36 KB, text/plain)
2014-02-13 07:38 UTC, Anton Khirnov
no flags Details
early boot log (123.17 KB, text/plain)
2014-03-30 20:04 UTC, Anton Khirnov
no flags Details
early boot log (152.11 KB, text/plain)
2014-03-31 10:40 UTC, Anton Khirnov
no flags Details
kernel debug output (144.18 KB, text/plain)
2014-04-16 09:11 UTC, Anton Khirnov
no flags Details

Description Anton Khirnov 2014-02-13 07:38:11 UTC
Created attachment 93990 [details]
kernel output

Sometimes (I failed to find any specific triggers) after my DP monitor has been in standby for a couple hours, the system will fail to wake it up. The kernel output with drm debug on is attached.

My hardware is a SNB i7 2600K, lspci says
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

I've been occasionally seeing this problem for some time now, with several different kernels. Right now I'm on 3.13.0, libdrm 2.4.52-1 (debian testing), mesa 10.0.2-1 (debian experimental), xf86-video-intel 2.21.15 (debian testing).

I'm leaving the machine in this stuck state (using the second GPU), so I should be able to get any other information that might be needed.
Comment 1 Jani Nikula 2014-02-13 09:26:01 UTC
Unfortunately the interesting bits before the error are missing.
Comment 2 Daniel Vetter 2014-03-03 17:31:32 UTC
You can try to increase the dmesg buffer with log_buf_len or grab all kernel log output since boot-up with something like journalctl -b. In any case we need the stuff before the avalanche of link training errors happens.
Comment 3 Anton Khirnov 2014-03-07 12:35:39 UTC
Well it usually takes weeks for this bug to trigger, and I'm not sure my drives could hold all the debug output.

Is there perhaps some simple way to send the drm debug logs to a different channel than the rest, so i can store e.g. the last day or so?
Comment 4 Jani Nikula 2014-03-07 12:55:22 UTC
(In reply to comment #3)
> Well it usually takes weeks for this bug to trigger, and I'm not sure my
> drives could hold all the debug output.
> 
> Is there perhaps some simple way to send the drm debug logs to a different
> channel than the rest, so i can store e.g. the last day or so?

Okay, please attach the dmesg from early boot, even though it doesn't contain the error. It contains interesting stuff about the driver initializatione etc.

The log buffer will wrap. If you have log buffer size increased, just attach the dmesg you have at the point of error when it happens.
Comment 5 Anton Khirnov 2014-03-30 20:04:00 UTC
Created attachment 96629 [details]
early boot log
Comment 6 Jani Nikula 2014-03-31 08:20:02 UTC
Please provide the log with drm.debug=0xe module param, not just drm.debug=1. Sorry for not being specific about it before.
Comment 7 Anton Khirnov 2014-03-31 10:40:14 UTC
Created attachment 96648 [details]
early boot log
Comment 8 Anton Khirnov 2014-04-16 09:11:16 UTC
Created attachment 97463 [details]
kernel debug output

Finally managed to trigger the bug with drm debugging on. As seen in the log, I turned the monitor off around 10:00, then when I returned around 11:00 the driver started spamming those failures and the monitor stayed off.
Comment 9 Jani Nikula 2014-04-16 22:27:30 UTC
(In reply to comment #8)
> Created attachment 97463 [details]
> kernel debug output
> 
> Finally managed to trigger the bug with drm debugging on. As seen in the
> log, I turned the monitor off around 10:00, then when I returned around
> 11:00 the driver started spamming those failures and the monitor stayed off.

Did it not work even for a few moments between 10:52 and 11:00? There are successful link trainings in between there (but then also failed ones).

What type of monitors do you have (DP/HDMI) and do you use some adapters?
Comment 10 Jani Nikula 2014-09-05 12:19:12 UTC
Anton, please provide the information requested in comment #9.
Comment 11 Daniel Vetter 2014-11-04 16:57:43 UTC
Bug reporter seems to have unfortunately disappeared, so closing.

If this is still an issue please reopen after having retest on latest kernels, thanks.


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.