The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

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.

⇧ Does my system clock automatically sync to the hardware clock? No more 4K Screen Resolution after Kernel Upgrade  β‡©