<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [IVB regression] screen not resuming on kernel 3.14.6 and above"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80182#c36">Comment # 36</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [IVB regression] screen not resuming on kernel 3.14.6 and above"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80182">bug 80182</a>
from <span class="vcard"><a class="email" href="mailto:jwrdegoede@fedoraproject.org" title="Hans de Goede <jwrdegoede@fedoraproject.org>"> <span class="fn">Hans de Goede</span></a>
</span></b>
<pre>(In reply to Jani Nikula from <a href="show_bug.cgi?id=80182#c35">comment #35</a>)
<span class="quote">> Indeed the logs have plenty of
>
> [ 873.096139] [drm:intel_backlight_device_update_status], updating
> intel_backlight, brightness=0/4437
>
> indicating userspace wishing to dim the backlight.</span >
Hmm, so this may not be a kernel bug at all. Actually with this info, this
sounds a lot like an xf86-video-intel bug which I fixed a while back,
specifically see:
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=b545e10c50cbb2dd6f9fd53369667bed0d8f1b51">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=b545e10c50cbb2dd6f9fd53369667bed0d8f1b51</a>
Without that commit when userspace does a dpms off and then a read/modify/write
of the backlight level things may end up with a backlight level of 0.
Also possibly relevant is:
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=c6cd10f536e099277cdc46643725a5a50ea8b525">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=c6cd10f536e099277cdc46643725a5a50ea8b525</a>
And then specifically this bit:
@@ -820,6 +949,14 @@ sna_crtc_apply(xf86CrtcPtr crtc)
for (i = 0; i < config->num_output; i++) {
xf86OutputPtr output = config->output[i];
+ /* Make sure we mark the output as off (and save the backlight)
+ * before the kernel turns it off due to changing the pipe.
+ * This is necessary as the kernel may turn off the backlight
+ * and we lose track of the user settings.
+ */
+ if (output->crtc == NULL)
+ output->funcs->dpms(output, DPMSModeOff);
+
if (output->crtc != crtc)
continue;
Marian, can you please try upgrading your intel driver to the 2.99.916 release
? (you can download the tarbal and build it from source), and please make sure
you're using sna and not uxa.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>