Xrandr and external monitor

Alan Coopersmith alan.coopersmith at oracle.com
Thu Jan 2 16:58:06 UTC 2025


On 1/1/25 12:27, H wrote:
> I just discovered running xrandr --listmonitors that, while the internal laptop monitor is labeled eDP-1, xrandr identifies the external monitor as using DP-1 although it uses the laptop HDMI-connector. Further, while mate hardware display monitor also identifies it as using DP-1 - possibly based on xrandr output - the monitor itself tells me it is connected using its HDMI1 connector. xrandr does report the correct display resolution, though.
> 
> Thus, it looks like xrandr misreads the configuration feeding it to mate. 

The xrandr program and GUIs like the mate monitor configuration use libXrandr to
get the configuration information - all it does is ask the Xserver for the
information provided by the video driver.  If these programs are showing the
wrong config it's because the Xorg video driver module has provided them with
the wrong information.  (You don't say what Xorg video driver you're using
- modesetting or something more specific to the hardware - the Xorg.0.log
should list that and may list the output config detected by it.)

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris


More information about the xorg mailing list