Views:
2,897β
Votes: 0β
β
Solution
Tags:
16.04
drivers
intel-graphics
hdmi
xrandr
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1079356
Title:
Xrandr shows HDMI1 disconnect w/ HDMI2 as primary with only one monitor
ID:
/2018/09/28/Xrandr-shows-HDMI1-disconnect-w_-HDMI2-as-primary-with-only-one-monitor
Created:
September 28, 2018
Edited: March 21, 2022
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
No cause for concern with extra HDMI monitor names
As long as everything works, you neednβt worry how xrandr
assigns monitor names.
In my setup for example:
$ xrandr | grep connected
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1107mm x 623mm
eDP-1-1 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 382mm x 215mm
DP-1-1 connected 1920x1080+1920+532 (normal left inverted right x axis y axis) 708mm x 398mm
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
Everything works and Iβm not concerned there are duplicate names for HDMI-1 that show as βdisconnectedβ.
A better technique is to use:
$ xrandr | grep " connected "
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1107mm x 623mm
eDP-1-1 connected primary 1920x1080+3840+2160 (normal left inverted right x axis y axis) 382mm x 215mm
DP-1-1 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 1600mm x 900mm
This technique spares you from sifting through βdisconnectedβ monitors and more importantly is less confusing.