Skip to content

DisplayPort reconnection #1195

Open
Open
@bdols

Description

@bdols

Distribution (run cat /etc/os-release): Pop!_OS 20.04 LTS

Related Application and/or Package Version (run apt policy $PACKAGE NAME): x11-xserver-utils

Issue/Bug Description: When switching my LG monitor from DisplayPort to HDMI and back to DisplayPort, X server loses connection

Steps to reproduce (if you know):
I have a System76 Oryx Pro

xrandr -q | grep DP output at the start, DP-2 is the monitor in question
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 3440x1440+1920+0 (normal left inverted right x axis y axis) 800mm x 335mm
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 355mm x 199mm

switch to HDMI on the monitor:
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 3440x1440+1920+0 (normal left inverted right x axis y axis) 800mm x 335mm
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 355mm x 199mm

switch back to DisplayPort, now in Display settings the display isn't seen for this monitor and xrandr just says connected but no resolution:
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 355mm x 199mm

My workaround is to unplug my miniDP connector and connect it again. This will detect that it's the previously known display and reorient my workspace as before.

Expected behavior:
That I don't have to replug my DisplayPort connector to restore my desktop.

Other Notes:
I tried the following as a fix, except running xrandr -d $DISPLAY --output DP-2 --auto: https://medium.com/@strayobject/fix-displayport-monitor-not-waking-on-ubuntu-18-10-a1eced577f0a
but, I have to drag the physical display settings in the Displays settings to reorient when trying the --auto.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions