<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:erik-freedesktop-bugzilla@vanpienbroek.nl" title="Erik van Pienbroek <erik-freedesktop-bugzilla@vanpienbroek.nl>"> <span class="fn">Erik van Pienbroek</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Backlight of internal eDP display doesn't turn off any more (Dell XPS 17/GeForce GT 555M)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90351">bug 90351</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #115605 is obsolete</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Backlight of internal eDP display doesn't turn off any more (Dell XPS 17/GeForce GT 555M)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90351#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Backlight of internal eDP display doesn't turn off any more (Dell XPS 17/GeForce GT 555M)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90351">bug 90351</a>
              from <span class="vcard"><a class="email" href="mailto:erik-freedesktop-bugzilla@vanpienbroek.nl" title="Erik van Pienbroek <erik-freedesktop-bugzilla@vanpienbroek.nl>"> <span class="fn">Erik van Pienbroek</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=128201" name="attach_128201" title="debug logging k.8.8-300.nvmst.fc25.x86_64">attachment 128201</a> <a href="attachment.cgi?id=128201&action=edit" title="debug logging k.8.8-300.nvmst.fc25.x86_64">[details]</a></span>
debug logging k.8.8-300.nvmst.fc25.x86_64

The nouveau atomic modesetting changes have arrived recently in the drm-next
tree. I did some testing with a recent drm-next git checkout and the situation
has improved regarding this bug, but it's not fully solved yet. The findings
were also discussed in downstream bug report
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1123661">https://bugzilla.redhat.com/show_bug.cgi?id=1123661</a> but I'll also share them
here.

Initial testing was done with drm-next git rev d8c1abd, dated 20161111. With
this kernel I can confirm that with no external monitors connected the
backlight of the internal laptop monitor now turns off properly when the GNOME
session is locked. So we can consider that part of this bug report resolved
(the patch which was uploaded to this bug report earlier can be considered
obsolete now)

However, when an external monitor is attached (using a mini-DP-to-DP adapter)
and powered on as well then locking the GNOME session results in the behaviour
which was also mentioned in <a href="show_bug.cgi?id=90351#c0">comment 0</a>, that is: the backlight of both the
internal monitor and the external monitor initially turn off properly, but
after 8 seconds the backlight of both monitors suddenly turns back on while the
image on both monitors stays blank. When I press any key or move the mouse the
image comes back normally and I can unlock the GNOME session and resume work.

As suggested by Hans de Goede in the downstream bug report I also did testing
with a custom Fedora kernel which was prepared by Ben Skeggs recently
(containing a backport of the nouveau atomic modesetting changes:
<a href="https://copr.fedorainfracloud.org/coprs/bskeggs/nouveau-atomic-mst">https://copr.fedorainfracloud.org/coprs/bskeggs/nouveau-atomic-mst</a>) but that
kernel also showed the same issue.

I managed to collect debug logging from both nouveau and gnome-settings-daemon
(using kernel boot flags 'log_buf_len=8M nouveau.debug=disp=trace,i2c=trace
drm.debug=0x14' and running gnome-settings-daemon with the '--debug' argument)
and uploaded it to both this bug report.  In this logging these are the related
timestamp events:
nov 21 19:05:53 - Boot of kernel 4.8.8-300.nvmst.fc25.x86_64
nov 21 19:07:00 - Pressed Super+L to lock the GNOME session
(both monitors turns off now including both backlights)
nov 21 19:07:08 - Backlight of both the internal and the external monitors turn
back on automatically showing just a blank screen
nov 21 19:07:29 - Unlock of the GNOME session</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>