[Bug 101461] New: Unplugging the HDMI/DP/mDP cable from dock will not automically resize framebuffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 16 03:48:46 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101461

            Bug ID: 101461
           Summary: Unplugging the HDMI/DP/mDP cable from dock will not
                    automically resize framebuffer
           Product: DRI
           Version: XOrg git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: ethan.hsieh at canonical.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 131992
  --> https://bugs.freedesktop.org/attachment.cgi?id=131992&action=edit
Kernel log (drm.debug=0xe), Xorg.0.log, xrandr, and screenshot

Unplugging the HDMI/DP/mDP cable from dock will not automically resize
framebuffer. drm/i915 receives hotplug event, but does not handle it.

I submitted a patch , but it was rejected.
https://patchwork.freedesktop.org/patch/161729/
Here is the reply from ville.syrjala at linux.intel.com
---
We're not supposed to handle it like that. The HPD is for the main encoder,
the MST hotplug handling comes via the topology manager.
---

Reproduction steps:
1. The external monitor with DP/mDP/HDMI cable connected to Dell Dock.
All two displays: Built-in LCD and external DP/mDP/HDMI monitor
2. Boot to Ubuntu Desktop
3. See two displays (extend mode)
4. Unplug the DP/mDP/HDMI cable
5. Press the "PrtScn" button to capture the screen.
We still have two screens after unplugging the cable.

Additional information:
1. Kernel: 4.12.0-994-generic x86_64
2. Linux distribution: Ubuntu 16.04.2 LTS
3. Laptop: Dell Precision 5520
4. Dell Business Thunderbolt Dock - TB16
https://goo.gl/vFDjpi
5. kernel log:
[CONNECTOR:48:eDP-1]: Built-in LCD 
[CONNECTOR:74:DP-4]: The external monitor connected to Dell Dock

How to recover:
1. Go to [All Settings] => [Displays] => Press [Detect Displays], or
2. Run xrandr to resize the screen

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170616/643b0434/attachment-0001.html>


More information about the intel-gfx-bugs mailing list