phillipberndt / autorandr

Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr
2.51k stars 124 forks source link

`Monitor` is not off (has a mode configured) but is disconnected (does not have an EDID) #396

Open mprz1024 opened 1 month ago

mprz1024 commented 1 month ago

Using autorandr 1.15, Xfce 4.18.6 and Debian Trixie (xrandr 1.5.2, Xorg 7.7, RandR 1.6), Raptor Lake-P [Iris Xe Graphics] with the i915 module and non-free firmware.

  1. On my laptop, I plug in an external display and configure a profile with both together, saving it as autorandr --save laptop+dp.
  2. Then I proceed to close the lid. I can see the screen going off from the light on the keyboard right before folding it fully, which is what I've configured in xfce4-power-manager (when laptop lid is closed: switch off display). I configure a new profile with xfce4-display-settings, and when I run autorandr --save dp I get this error:
Cannot save current configuration as profile 'dp1':
`eDP-1' is not off (has a mode configured) but is disconnected (does not have an EDID).
This typically means that it has been recently unplugged and then not properly disabled
by the user. Please disable it (e.g. using `xrandr --output eDP-1 --off`) and then rerun
this command.

I think autorandr should be running that command for us; what's the value in having to disable it manually so I can save the profile?