phillipberndt / autorandr

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

Config Never Detected (Framework 16 Laptop) #394

Open markus-wa opened 2 months ago

markus-wa commented 2 months ago

My config with docking station, closed lid & 2 monitors is never being detected, even right after saving it.

One interesting note is --match-edid prints "renaming display DisplayPort-1-0 to DisplayPort-10" - maybe that's related (xrandr lists both of them as ports).

❯ autorandr --ignore-lid --match-edid
home: renaming display DisplayPort-1-0 to DisplayPort-10
home
tabb
mobile

May be worth noting this is a Framework16 laptop, which has many ports that can act as video out - here's the Xrandr output

xrandr output ``` ❯ xrandr Screen 0: minimum 320 x 200, current 5120 x 1440, maximum 16384 x 16384 eDP-1 connected primary (normal left inverted right x axis y axis) 2560x1600 165.00 + 60.00 + 1920x1200 165.00 1920x1080 165.00 1600x1200 165.00 1680x1050 165.00 1280x1024 165.00 1440x900 165.00 1280x800 165.00 1280x720 165.00 1024x768 165.00 800x600 165.00 640x480 165.00 DisplayPort-1 disconnected (normal left inverted right x axis y axis) DisplayPort-2 disconnected (normal left inverted right x axis y axis) DisplayPort-3 disconnected (normal left inverted right x axis y axis) DisplayPort-4 disconnected (normal left inverted right x axis y axis) DisplayPort-5 disconnected (normal left inverted right x axis y axis) DisplayPort-6 disconnected (normal left inverted right x axis y axis) DisplayPort-7 disconnected (normal left inverted right x axis y axis) DisplayPort-8 disconnected (normal left inverted right x axis y axis) DisplayPort-9 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 600mm x 330mm 2560x1440 59.95*+ 75.00 1920x1080 75.00 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 59.90 1152x864 59.97 1280x720 60.00 50.00 59.94 1024x768 75.03 70.07 60.00 800x600 72.19 75.00 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 66.67 60.00 59.94 720x400 70.08 DisplayPort-10 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 330mm 2560x1440 59.95*+ 75.00 1920x1080 75.00 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 59.90 1152x864 59.97 1280x720 60.00 50.00 59.94 1024x768 75.03 70.07 60.00 800x600 72.19 75.00 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 66.67 60.00 59.94 720x400 70.08 DisplayPort-11 disconnected (normal left inverted right x axis y axis) eDP-1-0 disconnected (normal left inverted right x axis y axis) DisplayPort-1-0 disconnected (normal left inverted right x axis y axis) ```

Here is an example of what's not working

Example ``` ❯ autorandr -s home --force Saved current configuration as profile 'home' ❯ autorandr home (current) <-- expecting "detected" tabb mobile <-- when i remove the dock and open the lid, this is "detected" ❯ autorandr --fingerprint DisplayPort-10 00ffffffffffff003669b6300000000008210103803c21782aab80ab5050a3220c5054bfcf00714081c081809500a9c0b300d1cf0101565e00a0a0a0295030203500584a2100001a000000fd00304b1e7321000a202020202020000000fc004d5349204d5032373351500a20000000ff005042364830313332303235333401d602032af14990040302011f131211230907078301000065030c0010006d1a00000200304bed00000000008e4480a070382d40302c35000f282100001e047600a0a0a0295030203500584a2100001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e DisplayPort-9 00ffffffffffff003669b6300000000008210103803c21782aab80ab5050a3220c5054bfcf00714081c081809500a9c0b300d1cf0101565e00a0a0a0295030203500584a2100001a000000fd00304b1e7321000a202020202020000000fc004d5349204d5032373351500a20000000ff005042364830313332303235373001d602032af14990040302011f131211230907078301000065030c0010006d1a00000200304bed00000000008e4480a070382d40302c35000f282100001e047600a0a0a0295030203500584a2100001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e ❯ cat .config/autorandr/home/setup DisplayPort-10 00ffffffffffff003669b6300000000008210103803c21782aab80ab5050a3220c5054bfcf00714081c081809500a9c0b300d1cf0101565e00a0a0a0295030203500584a2100001a000000fd00304b1e7321000a202020202020000000fc004d5349204d5032373351500a20000000ff005042364830313332303235333401d602032af14990040302011f131211230907078301000065030c0010006d1a00000200304bed00000000008e4480a070382d40302c35000f282100001e047600a0a0a0295030203500584a2100001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e DisplayPort-9 00ffffffffffff003669b6300000000008210103803c21782aab80ab5050a3220c5054bfcf00714081c081809500a9c0b300d1cf0101565e00a0a0a0295030203500584a2100001a000000fd00304b1e7321000a202020202020000000fc004d5349204d5032373351500a20000000ff005042364830313332303235373001d602032af14990040302011f131211230907078301000065030c0010006d1a00000200304bed00000000008e4480a070382d40302c35000f282100001e047600a0a0a0295030203500584a2100001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e ❯ autorandr --config output eDP-1 off output DisplayPort-1 off output DisplayPort-2 off output DisplayPort-3 off output DisplayPort-4 off output DisplayPort-5 off output DisplayPort-6 off output DisplayPort-7 off output DisplayPort-8 off output DisplayPort-11 off output eDP-1-0 off output DisplayPort-1-0 off output DisplayPort-10 crtc 1 mode 2560x1440 pos 0x0 rate 59.95 x-prop-colorspace Default x-prop-max_bpc 8 x-prop-non_desktop 0 x-prop-scaling_mode None x-prop-tearfree auto x-prop-underscan off x-prop-underscan_hborder 0 x-prop-underscan_vborder 0 output DisplayPort-9 crtc 0 mode 2560x1440 pos 2560x0 rate 59.95 x-prop-colorspace Default x-prop-max_bpc 8 x-prop-non_desktop 0 x-prop-scaling_mode None x-prop-tearfree auto x-prop-underscan off x-prop-underscan_hborder 0 x-prop-underscan_vborder 0 ```

Let me know if I can somehow provide more info, but I couldn't find anything to display more debug info (--debug didn't seem to do anything)