#1092939 x11-xserver-utils: xranrd show screen resolution but disconnected.

Package:
x11-xserver-utils
Source:
x11-xserver-utils
Description:
X server utilities
Submitter:
Jean-Marc Spaggiari
Date:
2025-01-13 15:27:01 UTC
Severity:
normal
#1092939#5
Date:
2025-01-13 15:22:21 UTC
From:
To:
When connecting my laptop to an external hub with 2 screens, I'm getting
the following xrandr output:
DP-3-2 disconnected 3414x1920+0+240 (normal left inverted right x axis y
axis) 0mm x 0mm
  3840x2160 (0xec) 519.940MHz +HSync -VSync
        h: width  3840 start 3864 end 3880 total 3900 skew    0 clock
133.32KHz
        v: height 2160 start 2163 end 2168 total 2222           clock
 60.00Hz

DP-3-2 is the right ID but it shows as disconnected. It is also showing
only a single screen.
After a computer restart, everything is showing correctly. Also, when
running xrandr on the command line, the entire screen is freezing for a few
seconds. This is causing issues to xfc4-display-setting to work correctly.

Here are the outputs.

With 3 screens, 2 on the hub + laptop, before restart:
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
eDP-1 connected primary 2880x1800+0+0 (normal left inverted right x axis y
axis) 302mm x 189mm
   2880x1800     90.00*+  60.00
   2880x1620     59.96    59.97
   2560x1600     59.99    59.97
   2560x1440     59.99    59.99    59.96    59.95
...
   320x200       85.27
   320x180       59.84    59.32
   320x175       85.27
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-3-1 disconnected (normal left inverted right x axis y axis)
DP-3-1-1 disconnected 3840x2160+0+0 (normal left inverted right x axis y
axis) 0mm x 0mm
DP-3-2 disconnected 3414x1920+0+240 (normal left inverted right x axis y
axis) 0mm x 0mm
  3840x2160 (0xec) 519.940MHz +HSync -VSync
        h: width  3840 start 3864 end 3880 total 3900 skew    0 clock
133.32KHz
        v: height 2160 start 2163 end 2168 total 2222           clock
 60.00Hz


With 3 screens again, but after restart:
$ xrandr -q
Screen 0: minimum 320 x 200, current 7253 x 3960, maximum 16384 x 16384
eDP-1 connected primary 2880x1800+533+2160 (normal left inverted right x
axis y axis) 302mm x 189mm
   2880x1800     90.00*+  60.00
   2880x1620     59.96    59.97
   2560x1600     59.99    59.97
   2560x1440     59.99    59.99    59.96    59.95
   2048x1536     85.00    75.00    60.00
...
   360x200       85.04
   320x200       85.27
   320x180       59.84    59.32
   320x175       85.27
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-3-1 disconnected (normal left inverted right x axis y axis)
DP-3-1-1 connected 3840x2160+3413+0 (normal left inverted right x axis y
axis) 697mm x 392mm
   3840x2160     60.00*+  30.00    29.97
   2560x1440     59.95
   1920x1080     60.00    59.94
...
   800x600       72.19    75.00    60.32    56.25
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
DP-3-2 connected 3414x1920+0+240 (normal left inverted right x axis y axis)
597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    50.00    59.94    24.00    23.98
   1680x1050     59.88
   1600x900      60.00
...
   720x480       60.00    59.94
   640x480       75.00    60.00    59.94
   720x400       70.08