alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
264 stars 13 forks source link

Forced to run `way-displays` twice in order to load configuration file #147

Open cmvanb opened 10 months ago

cmvanb commented 10 months ago

I use the river wayland compositor, so I have added the following to my river init script:

way-displays > "/tmp/way-displays.${XDG_VTNR}.${USER}.log" 2>&1 &

Unfortunately, it seems that although the way-displays process is running, it doesn't actually apply the configuration until after I re-run it:

way-displays -g

Of course, I can add this to my init script with a sleep in front of it, but it looks and feels quite hacky (the screens flicker as they reconfigure).

In the log file I can see that it detects my configuration file and loads the correct values (resolutions, refresh rates, transforms, scales). However then I get the line WARNING: Changes cancelled, retrying after which it doesn't appear to retry. In any case, it doesn't load the correct values. Although the process is running, the displays remain un-transformed and un-scaled... until I issue a follow up way-displays -g after which it does load the correct values.

Here is my log file:

I [14:50:07] way-displays version 1.9.0
I [14:50:07] 
I [14:50:07] Found configuration file: /home/surfer/src/dotfiles/.config/way-displays/cfg.yaml~home-triple
I [14:50:07] 
I [14:50:07] Active configuration:
I [14:50:07]   Arrange in a ROW aligned at the TOP
I [14:50:07]   Order:
I [14:50:07]     DP-4
I [14:50:07]     DP-3
I [14:50:07]     HDMI-A-6
I [14:50:07]   Scaling: ON
I [14:50:07]   Auto scale: OFF
I [14:50:07]   Scale:
I [14:50:07]     HDMI-A-6: 0.889
I [14:50:07]     DP-3: 1.000
I [14:50:07]     DP-4: 0.889
I [14:50:07]   Mode:
I [14:50:07]     DP-3: 2560x1440@240Hz
I [14:50:07]   Transform:
I [14:50:07]     HDMI-A-6: 90
I [14:50:07]     DP-4: 90
libinput-config: initializing
libinput-config: replacing the device config functions
libinput-config: initializing the key mapper
libinput-config: couldn't read the config file
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Video Bus'
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Sleep Button'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse Keyboard'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine System Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Consumer Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Keyboard'
W [14:50:08] 
W [14:50:08] WARNING: 2560x1440@60Hz (59,951mHz)  already specified for 'DP-3', ignoring 2560x1440@240Hz (239,950mHz) (preferred)
I [14:50:08] 
I [14:50:08] HDMI-A-6 Arrived:
I [14:50:08]   info:
I [14:50:08]     name:      'HDMI-A-6'
I [14:50:08]     make:      'BNQ'
I [14:50:08]     model:     'BenQ BL2411'
I [14:50:08]     serial:    'K6G02666019'
I [14:50:08]     desc:      'BNQ BenQ BL2411 K6G02666019 (HDMI-A-6)'
I [14:50:08]     width:     520mm
I [14:50:08]     height:    320mm
I [14:50:08]     dpi:       94.52 @ 1920x1200
I [14:50:08]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [14:50:08]     mode:      1920 x 1080 @  60 Hz   60,000 mHz
I [14:50:08]     mode:      1680 x 1050 @  60 Hz   59,883 mHz
I [14:50:08]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:50:08]     mode:      1440 x  900 @  60 Hz   59,901 mHz
I [14:50:08]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:50:08]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [14:50:08]     mode:      1280 x  800 @  60 Hz   59,910 mHz
I [14:50:08]     mode:      1280 x  720 @  60 Hz   59,950 mHz
I [14:50:08]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [14:50:08]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:50:08]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:50:08]     mode:      1024 x  576 @  60 Hz   59,967 mHz
I [14:50:08]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [14:50:08]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:50:08]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:50:08]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [14:50:08]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:50:08]     mode:       640 x  480 @  60 Hz   59,940 mHz
I [14:50:08]   current:
I [14:50:08]     scale:     1.000 (0.985)
I [14:50:08]     position:  4480,0
I [14:50:08]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:08]     VRR:       off
I [14:50:08] 
I [14:50:08] DP-4 Arrived:
I [14:50:08]   info:
I [14:50:08]     name:      'DP-4'
I [14:50:08]     make:      'BNQ'
I [14:50:08]     model:     'BenQ BL2411'
I [14:50:08]     serial:    'K6G02658019'
I [14:50:08]     desc:      'BNQ BenQ BL2411 K6G02658019 (DP-4)'
I [14:50:08]     width:     520mm
I [14:50:08]     height:    320mm
I [14:50:08]     dpi:       94.52 @ 1920x1200
I [14:50:08]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [14:50:08]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:50:08]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [14:50:08]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [14:50:08]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:50:08]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [14:50:08]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:50:08]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [14:50:08]     mode:      1280 x  800 @  60 Hz   59,810 mHz
I [14:50:08]     mode:      1280 x  720 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:50:08]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [14:50:08]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [14:50:08]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:50:08]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:50:08]     mode:      1024 x  576 @  60 Hz   59,977 mHz
I [14:50:08]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [14:50:08]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:50:08]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:50:08]     mode:       720 x  576 @  50 Hz   50,000 mHz  50,000 mHz  50,000 mHz
I [14:50:08]     mode:       720 x  480 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz  59,940 mHz  59,940 mHz
I [14:50:08]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [14:50:08]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:50:08]     mode:       640 x  480 @  60 Hz   60,000 mHz  59,940 mHz  59,940 mHz
I [14:50:08]   current:
I [14:50:08]     scale:     1.000 (0.985)
I [14:50:08]     position:  2560,0
I [14:50:08]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:08]     VRR:       off
I [14:50:08] 
I [14:50:08] DP-3 Arrived:
I [14:50:08]   info:
I [14:50:08]     name:      'DP-3'
I [14:50:08]     make:      'Iiyama North America'
I [14:50:08]     model:     'PL2790QS'
I [14:50:08]     serial:    '1178024901361'
I [14:50:08]     desc:      'Iiyama North America PL2790QS 1178024901361 (DP-3)'
I [14:50:08]     width:     600mm
I [14:50:08]     height:    340mm
I [14:50:08]     dpi:       107.97 @ 2560x1440
I [14:50:08]     mode:      2560 x 1440 @ 240 Hz  239,950 mHz (preferred)
I [14:50:08]     mode:      2560 x 1440 @ 144 Hz  143,856 mHz
I [14:50:08]     mode:      2560 x 1440 @ 120 Hz  120,016 mHz 119,881 mHz
I [14:50:08]     mode:      2560 x 1440 @  96 Hz   96,006 mHz
I [14:50:08]     mode:      2560 x 1440 @  72 Hz   72,015 mHz
I [14:50:08]     mode:      2560 x 1440 @  60 Hz   60,008 mHz  59,951 mHz
I [14:50:08]     mode:      2560 x 1440 @  50 Hz   50,005 mHz
I [14:50:08]     mode:      2560 x 1440 @  48 Hz   48,003 mHz
I [14:50:08]     mode:      2048 x 1280 @  60 Hz   59,993 mHz
I [14:50:08]     mode:      1920 x 1200 @  60 Hz   59,885 mHz
I [14:50:08]     mode:      1920 x 1080 @ 240 Hz  239,760 mHz
I [14:50:08]     mode:      1920 x 1080 @ 120 Hz  120,000 mHz 119,880 mHz
I [14:50:08]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:50:08]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [14:50:08]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [14:50:08]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:50:08]     mode:      1600 x 1000 @  60 Hz   59,957 mHz
I [14:50:08]     mode:      1600 x  900 @  60 Hz   60,000 mHz
I [14:50:08]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [14:50:08]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:50:08]     mode:      1280 x  800 @ 240 Hz  239,950 mHz
I [14:50:08]     mode:      1280 x  720 @  60 Hz   60,000 mHz  59,940 mHz
I [14:50:08]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [14:50:08]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:50:08]     mode:         0 x    0 @   0 Hz    0,000 mHz
I [14:50:08]   current:
I [14:50:08]     (no mode)
I [14:50:08]     VRR:       off
I [14:50:08]      (disabled)
I [14:50:08] 
I [14:50:08] DP-3 Changing:
I [14:50:08]   from:
I [14:50:08]     (no mode)
I [14:50:08]     VRR:       off
I [14:50:08]      (disabled)
I [14:50:08]   to:
I [14:50:08]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:50:08]      (enabled)
W [14:50:08] 
W [14:50:08] WARNING: Changes cancelled, retrying
I [14:50:28] 
I [14:50:28] Server received request: get
I [14:50:28] 
I [14:50:28] Active configuration:
I [14:50:28]   Arrange in a ROW aligned at the TOP
I [14:50:28]   Order:
I [14:50:28]     DP-4
I [14:50:28]     DP-3
I [14:50:28]     HDMI-A-6
I [14:50:28]   Scaling: ON
I [14:50:28]   Auto scale: OFF
I [14:50:28]   Scale:
I [14:50:28]     HDMI-A-6: 0.889
I [14:50:28]     DP-3: 1.000
I [14:50:28]     DP-4: 0.889
I [14:50:28]   Mode:
I [14:50:28]     DP-3: 2560x1440@240Hz
I [14:50:28]   Transform:
I [14:50:28]     HDMI-A-6: 90
I [14:50:28]     DP-4: 90
I [14:50:28] 
I [14:50:28] way-displays -s ARRANGE_ALIGN ROW TOP
I [14:50:28] 
I [14:50:28] way-displays -s ORDER 'DP-4' 'DP-3' 'HDMI-A-6' 
I [14:50:28] 
I [14:50:28] way-displays -s SCALING ON
I [14:50:28] 
I [14:50:28] way-displays -s AUTO_SCALE OFF
I [14:50:28] 
I [14:50:28] way-displays -s SCALE 'HDMI-A-6' 0.889
I [14:50:28] way-displays -s SCALE 'DP-3' 1.000
I [14:50:28] way-displays -s SCALE 'DP-4' 0.889
I [14:50:28] 
I [14:50:28] way-displays -s MODE 'DP-3' 2560 1440 240
I [14:50:28] 
I [14:50:28] way-displays -s TRANSFORM 'HDMI-A-6' 90
I [14:50:28] way-displays -s TRANSFORM 'DP-4' 90
I [14:50:28] 
I [14:50:28] HDMI-A-6:
I [14:50:28]   info:
I [14:50:28]     name:      'HDMI-A-6'
I [14:50:28]     make:      'BNQ'
I [14:50:28]     model:     'BenQ BL2411'
I [14:50:28]     serial:    'K6G02666019'
I [14:50:28]     desc:      'BNQ BenQ BL2411 K6G02666019 (HDMI-A-6)'
I [14:50:28]     width:     520mm
I [14:50:28]     height:    320mm
I [14:50:28]     dpi:       94.52 @ 1920x1200
I [14:50:28]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [14:50:28]     mode:      1920 x 1080 @  60 Hz   60,000 mHz
I [14:50:28]     mode:      1680 x 1050 @  60 Hz   59,883 mHz
I [14:50:28]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:50:28]     mode:      1440 x  900 @  60 Hz   59,901 mHz
I [14:50:28]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:50:28]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [14:50:28]     mode:      1280 x  800 @  60 Hz   59,910 mHz
I [14:50:28]     mode:      1280 x  720 @  60 Hz   59,950 mHz
I [14:50:28]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [14:50:28]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:50:28]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:50:28]     mode:      1024 x  576 @  60 Hz   59,967 mHz
I [14:50:28]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [14:50:28]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:50:28]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:50:28]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [14:50:28]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:50:28]     mode:       640 x  480 @  60 Hz   59,940 mHz
I [14:50:28]   current:
I [14:50:28]     scale:     1.000 (0.985)
I [14:50:28]     position:  4480,0
I [14:50:28]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28] 
I [14:50:28] DP-4:
I [14:50:28]   info:
I [14:50:28]     name:      'DP-4'
I [14:50:28]     make:      'BNQ'
I [14:50:28]     model:     'BenQ BL2411'
I [14:50:28]     serial:    'K6G02658019'
I [14:50:28]     desc:      'BNQ BenQ BL2411 K6G02658019 (DP-4)'
I [14:50:28]     width:     520mm
I [14:50:28]     height:    320mm
I [14:50:28]     dpi:       94.52 @ 1920x1200
I [14:50:28]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [14:50:28]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:50:28]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [14:50:28]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [14:50:28]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:50:28]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [14:50:28]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:50:28]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [14:50:28]     mode:      1280 x  800 @  60 Hz   59,810 mHz
I [14:50:28]     mode:      1280 x  720 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:50:28]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [14:50:28]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [14:50:28]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:50:28]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:50:28]     mode:      1024 x  576 @  60 Hz   59,977 mHz
I [14:50:28]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [14:50:28]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:50:28]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:50:28]     mode:       720 x  576 @  50 Hz   50,000 mHz  50,000 mHz  50,000 mHz
I [14:50:28]     mode:       720 x  480 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz  59,940 mHz  59,940 mHz
I [14:50:28]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [14:50:28]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:50:28]     mode:       640 x  480 @  60 Hz   60,000 mHz  59,940 mHz  59,940 mHz
I [14:50:28]   current:
I [14:50:28]     scale:     1.000 (0.985)
I [14:50:28]     position:  2560,0
I [14:50:28]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28] 
I [14:50:28] DP-3:
I [14:50:28]   info:
I [14:50:28]     name:      'DP-3'
I [14:50:28]     make:      'Iiyama North America'
I [14:50:28]     model:     'PL2790QS'
I [14:50:28]     serial:    '1178024901361'
I [14:50:28]     desc:      'Iiyama North America PL2790QS 1178024901361 (DP-3)'
I [14:50:28]     width:     600mm
I [14:50:28]     height:    340mm
I [14:50:28]     dpi:       107.97 @ 2560x1440
I [14:50:28]     mode:      2560 x 1440 @ 240 Hz  239,950 mHz (preferred)
I [14:50:28]     mode:      2560 x 1440 @ 144 Hz  143,856 mHz
I [14:50:28]     mode:      2560 x 1440 @ 120 Hz  120,016 mHz 119,881 mHz
I [14:50:28]     mode:      2560 x 1440 @  96 Hz   96,006 mHz
I [14:50:28]     mode:      2560 x 1440 @  72 Hz   72,015 mHz
I [14:50:28]     mode:      2560 x 1440 @  60 Hz   60,008 mHz  59,951 mHz
I [14:50:28]     mode:      2560 x 1440 @  50 Hz   50,005 mHz
I [14:50:28]     mode:      2560 x 1440 @  48 Hz   48,003 mHz
I [14:50:28]     mode:      2048 x 1280 @  60 Hz   59,993 mHz
I [14:50:28]     mode:      1920 x 1200 @  60 Hz   59,885 mHz
I [14:50:28]     mode:      1920 x 1080 @ 240 Hz  239,760 mHz
I [14:50:28]     mode:      1920 x 1080 @ 120 Hz  120,000 mHz 119,880 mHz
I [14:50:28]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:50:28]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [14:50:28]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [14:50:28]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:50:28]     mode:      1600 x 1000 @  60 Hz   59,957 mHz
I [14:50:28]     mode:      1600 x  900 @  60 Hz   60,000 mHz
I [14:50:28]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [14:50:28]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:50:28]     mode:      1280 x  800 @ 240 Hz  239,950 mHz
I [14:50:28]     mode:      1280 x  720 @  60 Hz   60,000 mHz  59,940 mHz
I [14:50:28]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [14:50:28]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:50:28]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:50:28]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:50:28]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:50:28]     mode:       720 x  576 @  50 Hz   50,000 mHz  50,000 mHz
I [14:50:28]     mode:       720 x  480 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz  59,940 mHz
I [14:50:28]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:50:28]     mode:       640 x  480 @  60 Hz   60,000 mHz  59,940 mHz  59,940 mHz
I [14:50:28]   current:
I [14:50:28]     scale:     1.000 (1.125)
I [14:50:28]     position:  0,0
I [14:50:28]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28] 
I [14:50:28] HDMI-A-6 Changing:
I [14:50:28]   from:
I [14:50:28]     scale:     1.000 (0.985)
I [14:50:28]     position:  4480,0
I [14:50:28]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28]   to:
I [14:50:28]     VRR:       on
I [14:50:28] 
I [14:50:28] HDMI-A-6: Cannot enable VRR, display or compositor may not support it.
I [14:50:28] 
I [14:50:28] DP-4 Changing:
I [14:50:28]   from:
I [14:50:28]     scale:     1.000 (0.985)
I [14:50:28]     position:  2560,0
I [14:50:28]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28]   to:
I [14:50:28]     VRR:       on
I [14:50:28] 
I [14:50:28] DP-4: Cannot enable VRR, display or compositor may not support it.
I [14:50:28] 
I [14:50:28] DP-3 Changing:
I [14:50:28]   from:
I [14:50:28]     scale:     1.000 (1.125)
I [14:50:28]     position:  0,0
I [14:50:28]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28]   to:
I [14:50:28]     VRR:       on
I [14:50:28] 
I [14:50:28] Changes successful
I [14:50:28] 
I [14:50:28] HDMI-A-6 Changing:
I [14:50:28]   from:
I [14:50:28]     scale:     1.000 (0.985)
I [14:50:28]     position:  4480,0
I [14:50:28]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28]   to:
I [14:50:28]     scale:     0.891
I [14:50:28]     position:  3907,0
I [14:50:28]     transform: 90
I [14:50:28] 
I [14:50:28] DP-4 Changing:
I [14:50:28]   from:
I [14:50:28]     scale:     1.000 (0.985)
I [14:50:28]     position:  2560,0
I [14:50:28]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:50:28]     VRR:       off
I [14:50:28]   to:
I [14:50:28]     scale:     0.891
I [14:50:28]     position:  0,0
I [14:50:28]     transform: 90
I [14:50:28] 
I [14:50:28] DP-3 Changing:
I [14:50:28]   from:
I [14:50:28]     scale:     1.000 (1.125)
I [14:50:28]     position:  0,0
I [14:50:28]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:50:28]     VRR:       on
I [14:50:28]   to:
I [14:50:28]     position:  1347,0
I [14:50:28] 
I [14:50:28] Changes successful

Any idea what could be going wrong?

alex-courtis commented 10 months ago

WARNING: 2560x1440@60Hz (59,951mHz) already specified for 'DP-3', ignoring 2560x1440@240Hz (239,950mHz) (preferred)

This one is "harmless", merely indicating that the monitor advertised two preferred modes.

The warning message is misleading and the preferred modes are not printed however are correctly handled.

148

alex-courtis commented 10 months ago

way-displays was indeed getting stuck after cancellation, with the get kicking it into action.

I'd be most grateful if you could test a fix, which retries after a cancellation, a maximum of 3 times:

git clone git@github.com:alex-courtis/way-displays.git
cd way-displays
git 147-retry-cancellations
make
sudo make install

When you are done you can:

sudo make uninstall
cmvanb commented 10 months ago

The patch works great! Thanks for being so responsive.

Here's the new log in case it's of interest to you:

I [10:50:55] 
I [10:50:55] Found configuration file: /home/surfer/src/dotfiles/.config/way-displays/cfg.yaml~home-triple
I [10:50:55] 
I [10:50:55] Active configuration:
I [10:50:55]   Arrange in a ROW aligned at the TOP
I [10:50:55]   Order:
I [10:50:55]     DP-4
I [10:50:55]     DP-3
I [10:50:55]     HDMI-A-6
I [10:50:55]   Scaling: ON
I [10:50:55]   Auto scale: OFF (min: 1.000)
I [10:50:55]   Scale:
I [10:50:55]     HDMI-A-6: 0.889
I [10:50:55]     DP-3: 1.000
I [10:50:55]     DP-4: 0.889
I [10:50:55]   Mode:
I [10:50:55]     DP-3: 2560x1440@240Hz
I [10:50:55]   Transform:
I [10:50:55]     HDMI-A-6: 90
I [10:50:55]     DP-4: 90
libinput-config: initializing
libinput-config: replacing the device config functions
libinput-config: initializing the key mapper
libinput-config: couldn't read the config file
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Video Bus'
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Sleep Button'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse Keyboard'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine System Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Consumer Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Keyboard'
W [10:50:55] 
W [10:50:55] WARNING: 2560x1440@60Hz (59,951mHz)  already specified for 'DP-3', ignoring 2560x1440@240Hz (239,950mHz) (preferred)
I [10:50:55] 
I [10:50:55] HDMI-A-6 Arrived:
I [10:50:55]   info:
I [10:50:55]     name:      'HDMI-A-6'
I [10:50:55]     make:      'BNQ'
I [10:50:55]     model:     'BenQ BL2411'
I [10:50:55]     serial:    'K6G02666019'
I [10:50:55]     desc:      'BNQ BenQ BL2411 K6G02666019 (HDMI-A-6)'
I [10:50:55]     width:     520mm
I [10:50:55]     height:    320mm
I [10:50:55]     dpi:       94.52 @ 1920x1200
I [10:50:55]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [10:50:55]     mode:      1920 x 1080 @  60 Hz   60,000 mHz
I [10:50:55]     mode:      1680 x 1050 @  60 Hz   59,883 mHz
I [10:50:55]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [10:50:55]     mode:      1440 x  900 @  60 Hz   59,901 mHz
I [10:50:55]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [10:50:55]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [10:50:55]     mode:      1280 x  800 @  60 Hz   59,910 mHz
I [10:50:55]     mode:      1280 x  720 @  60 Hz   59,950 mHz
I [10:50:55]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [10:50:55]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [10:50:55]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [10:50:55]     mode:      1024 x  576 @  60 Hz   59,967 mHz
I [10:50:55]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [10:50:55]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [10:50:55]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [10:50:55]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [10:50:55]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [10:50:55]     mode:       640 x  480 @  60 Hz   59,940 mHz
I [10:50:55]   current:
I [10:50:55]     scale:     1.000 (0.985)
I [10:50:55]     position:  4480,0
I [10:50:55]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55] 
I [10:50:55] DP-4 Arrived:
I [10:50:55]   info:
I [10:50:55]     name:      'DP-4'
I [10:50:55]     make:      'BNQ'
I [10:50:55]     model:     'BenQ BL2411'
I [10:50:55]     serial:    'K6G02658019'
I [10:50:55]     desc:      'BNQ BenQ BL2411 K6G02658019 (DP-4)'
I [10:50:55]     width:     520mm
I [10:50:55]     height:    320mm
I [10:50:55]     dpi:       94.52 @ 1920x1200
I [10:50:55]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [10:50:55]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [10:50:55]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [10:50:55]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [10:50:55]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [10:50:55]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [10:50:55]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [10:50:55]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [10:50:55]     mode:      1280 x  800 @  60 Hz   59,810 mHz
I [10:50:55]     mode:      1280 x  720 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [10:50:55]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [10:50:55]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [10:50:55]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [10:50:55]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [10:50:55]     mode:      1024 x  576 @  60 Hz   59,977 mHz
I [10:50:55]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [10:50:55]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [10:50:55]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [10:50:55]     mode:       720 x  576 @  50 Hz   50,000 mHz  50,000 mHz  50,000 mHz
I [10:50:55]     mode:       720 x  480 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz  59,940 mHz  59,940 mHz
I [10:50:55]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [10:50:55]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [10:50:55]     mode:       640 x  480 @  60 Hz   60,000 mHz  59,940 mHz  59,940 mHz
I [10:50:55]   current:
I [10:50:55]     scale:     1.000 (0.985)
I [10:50:55]     position:  2560,0
I [10:50:55]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55] 
I [10:50:55] DP-3 Arrived:
I [10:50:55]   info:
I [10:50:55]     name:      'DP-3'
I [10:50:55]     make:      'Iiyama North America'
I [10:50:55]     model:     'PL2790QS'
I [10:50:55]     serial:    '1178024901361'
I [10:50:55]     desc:      'Iiyama North America PL2790QS 1178024901361 (DP-3)'
I [10:50:55]     width:     600mm
I [10:50:55]     height:    340mm
I [10:50:55]     dpi:       107.97 @ 2560x1440
I [10:50:55]     mode:      2560 x 1440 @ 240 Hz  239,950 mHz (preferred)
I [10:50:55]     mode:      2560 x 1440 @ 144 Hz  143,856 mHz
I [10:50:55]     mode:      2560 x 1440 @ 120 Hz  120,016 mHz 119,881 mHz
I [10:50:55]     mode:      2560 x 1440 @  96 Hz   96,006 mHz
I [10:50:55]     mode:      2560 x 1440 @  72 Hz   72,015 mHz
I [10:50:55]     mode:      2560 x 1440 @  60 Hz   60,008 mHz  59,951 mHz
I [10:50:55]     mode:      2560 x 1440 @  50 Hz   50,005 mHz
I [10:50:55]     mode:      2560 x 1440 @  48 Hz   48,003 mHz
I [10:50:55]     mode:      2048 x 1280 @  60 Hz   59,993 mHz
I [10:50:55]     mode:      1920 x 1200 @  60 Hz   59,885 mHz
I [10:50:55]     mode:      1920 x 1080 @ 240 Hz  239,760 mHz
I [10:50:55]     mode:      1920 x 1080 @ 120 Hz  120,000 mHz 119,880 mHz
I [10:50:55]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [10:50:55]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [10:50:55]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [10:50:55]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [10:50:55]     mode:      1600 x 1000 @  60 Hz   59,957 mHz
I [10:50:55]     mode:      1600 x  900 @  60 Hz   60,000 mHz
I [10:50:55]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [10:50:55]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [10:50:55]     mode:      1280 x  800 @ 240 Hz  239,950 mHz
I [10:50:55]     mode:      1280 x  720 @  60 Hz   60,000 mHz  59,940 mHz
I [10:50:55]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [10:50:55]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [10:50:55]     mode:         0 x    0 @   0 Hz    0,000 mHz
I [10:50:55]   current:
I [10:50:55]     (no mode)
I [10:50:55]     VRR:       off
I [10:50:55]      (disabled)
I [10:50:55] 
I [10:50:55] DP-3 Changing:
I [10:50:55]   from:
I [10:50:55]     (no mode)
I [10:50:55]     VRR:       off
I [10:50:55]      (disabled)
I [10:50:55]   to:
I [10:50:55]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [10:50:55]      (enabled)
W [10:50:55] 
W [10:50:55] WARNING: Changes cancelled, retrying
I [10:50:55] 
I [10:50:55] HDMI-A-6 Changing:
I [10:50:55]   from:
I [10:50:55]     scale:     1.000 (0.985)
I [10:50:55]     position:  4480,0
I [10:50:55]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55]   to:
I [10:50:55]     VRR:       on
I [10:50:55] 
I [10:50:55] HDMI-A-6: Cannot enable VRR, display or compositor may not support it.
I [10:50:55] 
I [10:50:55] DP-4 Changing:
I [10:50:55]   from:
I [10:50:55]     scale:     1.000 (0.985)
I [10:50:55]     position:  2560,0
I [10:50:55]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55]   to:
I [10:50:55]     VRR:       on
I [10:50:55] 
I [10:50:55] DP-4: Cannot enable VRR, display or compositor may not support it.
I [10:50:55] 
I [10:50:55] DP-3 Changing:
I [10:50:55]   from:
I [10:50:55]     scale:     1.000 (1.125)
I [10:50:55]     position:  0,0
I [10:50:55]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55]   to:
I [10:50:55]     VRR:       on
W [10:50:55] 
W [10:50:55] WARNING: Changes cancelled, retrying
I [10:50:55] 
I [10:50:55] HDMI-A-6 Changing:
I [10:50:55]   from:
I [10:50:55]     scale:     1.000 (0.985)
I [10:50:55]     position:  4480,0
I [10:50:55]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55]   to:
I [10:50:55]     scale:     0.891
I [10:50:55]     position:  3907,0
I [10:50:55]     transform: 90
I [10:50:55] 
I [10:50:55] DP-4 Changing:
I [10:50:55]   from:
I [10:50:55]     scale:     1.000 (0.985)
I [10:50:55]     position:  2560,0
I [10:50:55]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [10:50:55]     VRR:       off
I [10:50:55]   to:
I [10:50:55]     scale:     0.891
I [10:50:55]     position:  0,0
I [10:50:55]     transform: 90
I [10:50:55] 
I [10:50:55] DP-3 Changing:
I [10:50:55]   from:
I [10:50:55]     scale:     1.000 (1.125)
I [10:50:55]     position:  0,0
I [10:50:55]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [10:50:55]     VRR:       on
I [10:50:55]   to:
I [10:50:55]     position:  1347,0
W [10:50:55] 
W [10:50:55] WARNING: Changes cancelled, retrying

edit: popped in a clean log

alex-courtis commented 10 months ago

Well, that looks pretty good, thanks for testing.

The last cancellation: was the position change correctly applied?

FYI: you can disable VRR setting for known monitor that don't support it via: https://github.com/alex-courtis/way-displays/wiki/Configuration#vrr_off That can speed things up a little.

cmvanb commented 10 months ago

Hmmm. I'm not sure whether the changes have had the desired effect, I installed the latest version 1.10 from AUR.

I no longer have to run way-displays -g, which is great!

I also do have VRR_OFF specified in my config, like so:

#-------------------------------------------------------------------------------
# way-displays configuration
#
# see: https://github.com/alex-courtis/way-displays/blob/master/doc/CONFIGURATION.md
#-------------------------------------------------------------------------------

ARRANGE: ROW

ALIGN: TOP

ORDER:
    - 'DP-4'
    - 'DP-3'
    - 'HDMI-A-6'

MODE:
    - NAME_DESC: 'DP-3'
      WIDTH: 2560
      HEIGHT: 1440
      HZ: 240

SCALING: true

AUTO_SCALE: false

SCALE:
    - NAME_DESC: 'HDMI-A-6'
      SCALE: 0.8888888888
    - NAME_DESC: 'DP-3'
      SCALE: 1
    - NAME_DESC: 'DP-4'
      SCALE: 0.8888888888

TRANSFORM:
    - NAME_DESC: 'HDMI-A-6'
      TRANSFORM: 90
    - NAME_DESC: 'DP-4'
      TRANSFORM: 90

VRR_OFF:
    - 'DP-4'
    - 'HDMI-A-6'

LOG_THRESHOLD: INFO

But something seems to go wrong based on the log file:

I [15:34:38] way-displays version 1.9.1-SNAPSHOT
I [15:34:38] 
I [15:34:38] Found configuration file: /home/surfer/src/dotfiles/.config/way-displays/cfg.yaml~home-triple
I [15:34:38] 
I [15:34:38] Active configuration:
I [15:34:38]   Arrange in a ROW aligned at the TOP
I [15:34:38]   Order:
I [15:34:38]     DP-4
I [15:34:38]     DP-3
I [15:34:38]     HDMI-A-6
I [15:34:38]   Scaling: ON
I [15:34:38]   Auto scale: OFF (min: 1.000)
I [15:34:38]   Scale:
I [15:34:38]     HDMI-A-6: 0.889
I [15:34:38]     DP-3: 1.000
I [15:34:38]     DP-4: 0.889
I [15:34:38]   Mode:
I [15:34:38]     DP-3: 2560x1440@240Hz
I [15:34:38]   Transform:
I [15:34:38]     HDMI-A-6: 90
I [15:34:38]     DP-4: 90
libinput-config: initializing
libinput-config: replacing the device config functions
libinput-config: initializing the key mapper
libinput-config: couldn't read the config file
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Video Bus'
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Sleep Button'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse Keyboard'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine System Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Consumer Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Keyboard'
W [15:34:38] 
W [15:34:38] WARNING: 2560x1440@60Hz (59,951mHz)  already specified for 'DP-3', ignoring 2560x1440@240Hz (239,950mHz) (preferred)
I [15:34:38] 
I [15:34:38] HDMI-A-6 Arrived:
I [15:34:38]   info:
I [15:34:38]     name:      'HDMI-A-6'
I [15:34:38]     make:      'BNQ'
I [15:34:38]     model:     'BenQ BL2411'
I [15:34:38]     serial:    'K6G02666019'
I [15:34:38]     desc:      'BNQ BenQ BL2411 K6G02666019 (HDMI-A-6)'
I [15:34:38]     width:     520mm
I [15:34:38]     height:    320mm
I [15:34:38]     dpi:       94.52 @ 1920x1200
I [15:34:38]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [15:34:38]     mode:      1920 x 1080 @  60 Hz   60,000 mHz
I [15:34:38]     mode:      1680 x 1050 @  60 Hz   59,883 mHz
I [15:34:38]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [15:34:38]     mode:      1440 x  900 @  60 Hz   59,901 mHz
I [15:34:38]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [15:34:38]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [15:34:38]     mode:      1280 x  800 @  60 Hz   59,910 mHz
I [15:34:38]     mode:      1280 x  720 @  60 Hz   59,950 mHz
I [15:34:38]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [15:34:38]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [15:34:38]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [15:34:38]     mode:      1024 x  576 @  60 Hz   59,967 mHz
I [15:34:38]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [15:34:38]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [15:34:38]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [15:34:38]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [15:34:38]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [15:34:38]     mode:       640 x  480 @  60 Hz   59,940 mHz
I [15:34:38]   current:
I [15:34:38]     scale:     1.000 (0.985)
I [15:34:38]     position:  4480,0
I [15:34:38]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [15:34:38]     VRR:       off
I [15:34:38] 
I [15:34:38] DP-4 Arrived:
I [15:34:38]   info:
I [15:34:38]     name:      'DP-4'
I [15:34:38]     make:      'BNQ'
I [15:34:38]     model:     'BenQ BL2411'
I [15:34:38]     serial:    'K6G02658019'
I [15:34:38]     desc:      'BNQ BenQ BL2411 K6G02658019 (DP-4)'
I [15:34:38]     width:     520mm
I [15:34:38]     height:    320mm
I [15:34:38]     dpi:       94.52 @ 1920x1200
I [15:34:38]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [15:34:38]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [15:34:38]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [15:34:38]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [15:34:38]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [15:34:38]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [15:34:38]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [15:34:38]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [15:34:38]     mode:      1280 x  800 @  60 Hz   59,810 mHz
I [15:34:38]     mode:      1280 x  720 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [15:34:38]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [15:34:38]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [15:34:38]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [15:34:38]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [15:34:38]     mode:      1024 x  576 @  60 Hz   59,977 mHz
I [15:34:38]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [15:34:38]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [15:34:38]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [15:34:38]     mode:       720 x  576 @  50 Hz   50,000 mHz  50,000 mHz  50,000 mHz
I [15:34:38]     mode:       720 x  480 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz  59,940 mHz  59,940 mHz
I [15:34:38]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [15:34:38]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [15:34:38]     mode:       640 x  480 @  60 Hz   60,000 mHz  59,940 mHz  59,940 mHz
I [15:34:38]   current:
I [15:34:38]     scale:     1.000 (0.985)
I [15:34:38]     position:  2560,0
I [15:34:38]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [15:34:38]     VRR:       off
I [15:34:38] 
I [15:34:38] DP-3 Arrived:
I [15:34:38]   info:
I [15:34:38]     name:      'DP-3'
I [15:34:38]     make:      'Iiyama North America'
I [15:34:38]     model:     'PL2790QS'
I [15:34:38]     serial:    '1178024901361'
I [15:34:38]     desc:      'Iiyama North America PL2790QS 1178024901361 (DP-3)'
I [15:34:38]     width:     600mm
I [15:34:38]     height:    340mm
I [15:34:38]     dpi:       107.97 @ 2560x1440
I [15:34:38]     mode:      2560 x 1440 @ 240 Hz  239,950 mHz (preferred)
I [15:34:38]     mode:      2560 x 1440 @ 144 Hz  143,856 mHz
I [15:34:38]     mode:      2560 x 1440 @ 120 Hz  120,016 mHz 119,881 mHz
I [15:34:38]     mode:      2560 x 1440 @  96 Hz   96,006 mHz
I [15:34:38]     mode:      2560 x 1440 @  72 Hz   72,015 mHz
I [15:34:38]     mode:      2560 x 1440 @  60 Hz   60,008 mHz  59,951 mHz
I [15:34:38]     mode:      2560 x 1440 @  50 Hz   50,005 mHz
I [15:34:38]     mode:      2560 x 1440 @  48 Hz   48,003 mHz
I [15:34:38]     mode:      2048 x 1280 @  60 Hz   59,993 mHz
I [15:34:38]     mode:      1920 x 1200 @  60 Hz   59,885 mHz
I [15:34:38]     mode:      1920 x 1080 @ 240 Hz  239,760 mHz
I [15:34:38]     mode:      1920 x 1080 @ 120 Hz  120,000 mHz 119,880 mHz
I [15:34:38]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [15:34:38]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [15:34:38]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [15:34:38]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [15:34:38]     mode:      1600 x 1000 @  60 Hz   59,957 mHz
I [15:34:38]     mode:      1600 x  900 @  60 Hz   60,000 mHz
I [15:34:38]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [15:34:38]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [15:34:38]     mode:      1280 x  800 @ 240 Hz  239,950 mHz
I [15:34:38]     mode:      1280 x  720 @  60 Hz   60,000 mHz  59,940 mHz
I [15:34:38]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [15:34:38]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [15:34:38]     mode:         0 x    0 @   0 Hz    0,000 mHz
I [15:34:38]   current:
I [15:34:38]     (no mode)
I [15:34:38]     VRR:       off
I [15:34:38]      (disabled)
I [15:34:38] 
I [15:34:38] DP-3 Changing:
I [15:34:38]   from:
I [15:34:38]     (no mode)
I [15:34:38]     VRR:       off
I [15:34:38]      (disabled)
I [15:34:38]   to:
I [15:34:38]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [15:34:38]      (enabled)
W [15:34:38] 
W [15:34:38] WARNING: Changes cancelled, retrying
I [15:34:38] 
I [15:34:38] DP-3 Changing:
I [15:34:38]   from:
I [15:34:38]     scale:     1.000 (1.125)
I [15:34:38]     position:  0,0
I [15:34:38]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [15:34:38]     VRR:       off
I [15:34:38]   to:
I [15:34:38]     VRR:       on
W [15:34:38] 
W [15:34:38] WARNING: Changes cancelled, retrying
I [15:34:38] 
I [15:34:38] HDMI-A-6 Changing:
I [15:34:38]   from:
I [15:34:38]     scale:     1.000 (0.985)
I [15:34:38]     position:  4480,0
I [15:34:38]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [15:34:38]     VRR:       off
I [15:34:38]   to:
I [15:34:38]     scale:     0.891
I [15:34:38]     position:  3907,0
I [15:34:38]     transform: 90
I [15:34:38] 
I [15:34:38] DP-4 Changing:
I [15:34:38]   from:
I [15:34:38]     scale:     1.000 (0.985)
I [15:34:38]     position:  2560,0
I [15:34:38]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [15:34:38]     VRR:       off
I [15:34:38]   to:
I [15:34:38]     scale:     0.891
I [15:34:38]     position:  0,0
I [15:34:38]     transform: 90
I [15:34:38] 
I [15:34:38] DP-3 Changing:
I [15:34:38]   from:
I [15:34:38]     scale:     1.000 (1.125)
I [15:34:38]     position:  0,0
I [15:34:38]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [15:34:38]     VRR:       on
I [15:34:38]   to:
I [15:34:38]     position:  1347,0
E [15:34:38] 
E [15:34:38] ERROR: Changes cancelled 3 times, exiting
E [15:34:38] 
E [15:34:38] ERROR: Please raise an issue: https://github.com/alex-courtis/way-displays/issues
E [15:34:38] ERROR: Attach this log and describe the events that occurred before this failure.
alex-courtis commented 10 months ago

I see, thanks for reporting. It looks like we have some spurious cancellation or mishandled cancellations that are adding exceeding 3.

As an emergency fix I'll increase it to 25 and resolve it definitively later.

alex-courtis commented 10 months ago

Released 1.10.1 to AUR

cmvanb commented 9 months ago

Hi Alex,

I updated way-displays to 1.10.2 today.

I don't need to run way-displays -g anymore to get the correct configuration applied, so in that sense this issue is resolved for me.

Based on the log file, it looks like enabling VRR for the 240Hz display (DP-3) is causing the failures/retries.

I [14:45:09] way-displays version 1.9.1-SNAPSHOT
I [14:45:09] 
I [14:45:09] Found configuration file: /home/surfer/src/dotfiles/.config/way-displays/cfg.yaml~home-triple
I [14:45:09] 
I [14:45:09] Active configuration:
I [14:45:09]   Arrange in a ROW aligned at the TOP
I [14:45:09]   Order:
I [14:45:09]     DP-4
I [14:45:09]     DP-3
I [14:45:09]     HDMI-A-6
I [14:45:09]   Scaling: ON
I [14:45:09]   Auto scale: OFF (min: 1.000)
I [14:45:09]   Scale:
I [14:45:09]     HDMI-A-6: 0.889
I [14:45:09]     DP-3: 1.000
I [14:45:09]     DP-4: 0.889
I [14:45:09]   Mode:
I [14:45:09]     DP-3: 2560x1440@240Hz
I [14:45:09]   Transform:
I [14:45:09]     HDMI-A-6: 90
I [14:45:09]     DP-4: 90
libinput-config: initializing
libinput-config: replacing the device config functions
libinput-config: initializing the key mapper
libinput-config: couldn't read the config file
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Video Bus'
libinput-config: configuring device 'Power Button'
libinput-config: configuring device 'Sleep Button'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse'
libinput-config: configuring device 'Logitech G203 LIGHTSYNC Gaming Mouse Keyboard'
libinput-config: configuring device 'Kingston HyperX Amp Consumer Control'
libinput-config: configuring device 'Periloot Periloot Caravel keypad'
libinput-config: configuring device 'Periloot Periloot Caravel keypad'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine System Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Consumer Control'
libinput-config: configuring device 'ZSA Technology Labs ErgoDox EZ Shine Keyboard'
W [14:45:10] 
W [14:45:10] WARNING: 2560x1440@60Hz (59,951mHz)  already specified for 'DP-3', ignoring 2560x1440@240Hz (239,950mHz) (preferred)
I [14:45:10] 
I [14:45:10] HDMI-A-6 Arrived:
I [14:45:10]   info:
I [14:45:10]     name:      'HDMI-A-6'
I [14:45:10]     make:      'BNQ'
I [14:45:10]     model:     'BenQ BL2411'
I [14:45:10]     serial:    'K6G02666019'
I [14:45:10]     desc:      'BNQ BenQ BL2411 K6G02666019 (HDMI-A-6)'
I [14:45:10]     width:     520mm
I [14:45:10]     height:    320mm
I [14:45:10]     dpi:       94.52 @ 1920x1200
I [14:45:10]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [14:45:10]     mode:      1920 x 1080 @  60 Hz   60,000 mHz
I [14:45:10]     mode:      1680 x 1050 @  60 Hz   59,883 mHz
I [14:45:10]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:45:10]     mode:      1440 x  900 @  60 Hz   59,901 mHz
I [14:45:10]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:45:10]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [14:45:10]     mode:      1280 x  800 @  60 Hz   59,910 mHz
I [14:45:10]     mode:      1280 x  720 @  60 Hz   59,950 mHz
I [14:45:10]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [14:45:10]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:45:10]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:45:10]     mode:      1024 x  576 @  60 Hz   59,967 mHz
I [14:45:10]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [14:45:10]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:45:10]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:45:10]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [14:45:10]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:45:10]     mode:       640 x  480 @  60 Hz   59,940 mHz
I [14:45:10]   current:
I [14:45:10]     scale:     1.000 (0.985)
I [14:45:10]     position:  4480,0
I [14:45:10]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:45:10]     VRR:       off
I [14:45:10] 
I [14:45:10] DP-4 Arrived:
I [14:45:10]   info:
I [14:45:10]     name:      'DP-4'
I [14:45:10]     make:      'BNQ'
I [14:45:10]     model:     'BenQ BL2411'
I [14:45:10]     serial:    'K6G02658019'
I [14:45:10]     desc:      'BNQ BenQ BL2411 K6G02658019 (DP-4)'
I [14:45:10]     width:     520mm
I [14:45:10]     height:    320mm
I [14:45:10]     dpi:       94.52 @ 1920x1200
I [14:45:10]     mode:      1920 x 1200 @  60 Hz   59,950 mHz (preferred)
I [14:45:10]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:45:10]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [14:45:10]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [14:45:10]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:45:10]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [14:45:10]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:45:10]     mode:      1280 x 1024 @  60 Hz   60,020 mHz
I [14:45:10]     mode:      1280 x  800 @  60 Hz   59,810 mHz
I [14:45:10]     mode:      1280 x  720 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:45:10]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [14:45:10]     mode:      1152 x  864 @  75 Hz   75,000 mHz
I [14:45:10]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:45:10]     mode:      1024 x  768 @  60 Hz   60,004 mHz
I [14:45:10]     mode:      1024 x  576 @  60 Hz   59,977 mHz
I [14:45:10]     mode:       832 x  624 @  75 Hz   74,551 mHz
I [14:45:10]     mode:       800 x  600 @  75 Hz   75,000 mHz
I [14:45:10]     mode:       800 x  600 @  60 Hz   60,317 mHz
I [14:45:10]     mode:       720 x  576 @  50 Hz   50,000 mHz  50,000 mHz  50,000 mHz
I [14:45:10]     mode:       720 x  480 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz  59,940 mHz  59,940 mHz
I [14:45:10]     mode:       720 x  400 @  70 Hz   70,082 mHz
I [14:45:10]     mode:       640 x  480 @  75 Hz   75,000 mHz
I [14:45:10]     mode:       640 x  480 @  60 Hz   60,000 mHz  59,940 mHz  59,940 mHz
I [14:45:10]   current:
I [14:45:10]     scale:     1.000 (0.985)
I [14:45:10]     position:  2560,0
I [14:45:10]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:45:10]     VRR:       off
I [14:45:10] 
I [14:45:10] DP-3 Arrived:
I [14:45:10]   info:
I [14:45:10]     name:      'DP-3'
I [14:45:10]     make:      'Iiyama North America'
I [14:45:10]     model:     'PL2790QS'
I [14:45:10]     serial:    '1178024901361'
I [14:45:10]     desc:      'Iiyama North America PL2790QS 1178024901361 (DP-3)'
I [14:45:10]     width:     600mm
I [14:45:10]     height:    340mm
I [14:45:10]     dpi:       107.97 @ 2560x1440
I [14:45:10]     mode:      2560 x 1440 @ 240 Hz  239,950 mHz (preferred)
I [14:45:10]     mode:      2560 x 1440 @ 144 Hz  143,856 mHz
I [14:45:10]     mode:      2560 x 1440 @ 120 Hz  120,016 mHz 119,881 mHz
I [14:45:10]     mode:      2560 x 1440 @  96 Hz   96,006 mHz
I [14:45:10]     mode:      2560 x 1440 @  72 Hz   72,015 mHz
I [14:45:10]     mode:      2560 x 1440 @  60 Hz   60,008 mHz  59,951 mHz
I [14:45:10]     mode:      2560 x 1440 @  50 Hz   50,005 mHz
I [14:45:10]     mode:      2560 x 1440 @  48 Hz   48,003 mHz
I [14:45:10]     mode:      2048 x 1280 @  60 Hz   59,993 mHz
I [14:45:10]     mode:      1920 x 1200 @  60 Hz   59,885 mHz
I [14:45:10]     mode:      1920 x 1080 @ 240 Hz  239,760 mHz
I [14:45:10]     mode:      1920 x 1080 @ 120 Hz  120,000 mHz 119,880 mHz
I [14:45:10]     mode:      1920 x 1080 @  60 Hz   60,000 mHz  60,000 mHz  59,940 mHz
I [14:45:10]     mode:      1920 x 1080 @  50 Hz   50,000 mHz
I [14:45:10]     mode:      1680 x 1050 @  60 Hz   59,954 mHz
I [14:45:10]     mode:      1600 x 1200 @  60 Hz   60,000 mHz
I [14:45:10]     mode:      1600 x 1000 @  60 Hz   59,957 mHz
I [14:45:10]     mode:      1600 x  900 @  60 Hz   60,000 mHz
I [14:45:10]     mode:      1440 x  900 @  60 Hz   59,887 mHz
I [14:45:10]     mode:      1280 x 1024 @  75 Hz   75,025 mHz
I [14:45:10]     mode:      1280 x  800 @ 240 Hz  239,950 mHz
I [14:45:10]     mode:      1280 x  720 @  60 Hz   60,000 mHz  59,940 mHz
I [14:45:10]     mode:      1280 x  720 @  50 Hz   50,000 mHz
I [14:45:10]     mode:      1024 x  768 @  75 Hz   75,029 mHz
I [14:45:10]     mode:         0 x    0 @   0 Hz    0,000 mHz
I [14:45:10]   current:
I [14:45:10]     (no mode)
I [14:45:10]     VRR:       off
I [14:45:10]      (disabled)
I [14:45:10] 
I [14:45:10] DP-3 Changing:
I [14:45:10]   from:
I [14:45:10]     (no mode)
I [14:45:10]     VRR:       off
I [14:45:10]      (disabled)
I [14:45:10]   to:
I [14:45:10]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:45:10]      (enabled)
W [14:45:10] 
W [14:45:10] WARNING: Changes cancelled, retrying
I [14:45:10] 
I [14:45:10] DP-3 Changing:
I [14:45:10]   from:
I [14:45:10]     scale:     1.000 (1.125)
I [14:45:10]     position:  0,0
I [14:45:10]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:45:10]     VRR:       off
I [14:45:10]   to:
I [14:45:10]     VRR:       on
W [14:45:10] 
W [14:45:10] WARNING: Changes cancelled, retrying
I [14:45:10] 
I [14:45:10] HDMI-A-6 Changing:
I [14:45:10]   from:
I [14:45:10]     scale:     1.000 (0.985)
I [14:45:10]     position:  4480,0
I [14:45:10]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:45:10]     VRR:       off
I [14:45:10]   to:
I [14:45:10]     scale:     0.891
I [14:45:10]     position:  3907,0
I [14:45:10]     transform: 90
I [14:45:10] 
I [14:45:10] DP-4 Changing:
I [14:45:10]   from:
I [14:45:10]     scale:     1.000 (0.985)
I [14:45:10]     position:  2560,0
I [14:45:10]     mode:      1920x1200@60Hz (59,950mHz) (preferred)
I [14:45:10]     VRR:       off
I [14:45:10]   to:
I [14:45:10]     scale:     0.891
I [14:45:10]     position:  0,0
I [14:45:10]     transform: 90
I [14:45:10] 
I [14:45:10] DP-3 Changing:
I [14:45:10]   from:
I [14:45:10]     scale:     1.000 (1.125)
I [14:45:10]     position:  0,0
I [14:45:10]     mode:      2560x1440@240Hz (239,950mHz) (preferred)
I [14:45:10]     VRR:       on
I [14:45:10]   to:
I [14:45:10]     position:  1347,0
E [14:45:10] 
E [14:45:10] ERROR: Changes cancelled 3 times, exiting
E [14:45:10] 
E [14:45:10] ERROR: Please raise an issue: https://github.com/alex-courtis/way-displays/issues
E [14:45:10] ERROR: Attach this log and describe the events that occurred before this failure.

When I check wlr-randr, it does have adaptive sync enabled (I believe that's the same as variable refresh rate). So it seems that despite the failures/cancellations reported by way-displays, it does ultimately get it right.

wlr-randr

HDMI-A-6 "BNQ BenQ BL2411 K6G02666019 (HDMI-A-6)"
  Make: BNQ
  Model: BenQ BL2411
  Serial: K6G02666019
  Physical size: 520x320 mm
  Enabled: yes
  Modes:
    1920x1200 px, 59.950001 Hz (preferred, current)
    1920x1080 px, 60.000000 Hz
    1600x1200 px, 60.000000 Hz
    1680x1050 px, 59.882999 Hz
    1280x1024 px, 75.025002 Hz
    1280x1024 px, 60.020000 Hz
    1440x900 px, 59.901001 Hz
    1280x800 px, 59.910000 Hz
    1152x864 px, 75.000000 Hz
    1280x720 px, 59.950001 Hz
    1024x768 px, 75.028999 Hz
    1024x768 px, 60.004002 Hz
    1024x576 px, 59.966999 Hz
    832x624 px, 74.551003 Hz
    800x600 px, 75.000000 Hz
    800x600 px, 60.317001 Hz
    640x480 px, 75.000000 Hz
    640x480 px, 59.939999 Hz
    720x400 px, 70.082001 Hz
  Position: 3907,0
  Transform: 90
  Scale: 0.890625
  Adaptive Sync: disabled
DP-4 "BNQ BenQ BL2411 K6G02658019 (DP-4)"
  Make: BNQ
  Model: BenQ BL2411
  Serial: K6G02658019
  Physical size: 520x320 mm
  Enabled: yes
  Modes:
    1920x1200 px, 59.950001 Hz (preferred, current)
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1600x1200 px, 60.000000 Hz
    1680x1050 px, 59.953999 Hz
    1280x1024 px, 75.025002 Hz
    1280x1024 px, 60.020000 Hz
    1440x900 px, 59.887001 Hz
    1280x800 px, 59.810001 Hz
    1152x864 px, 75.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1024x768 px, 75.028999 Hz
    1024x768 px, 60.004002 Hz
    1024x576 px, 59.977001 Hz
    832x624 px, 74.551003 Hz
    800x600 px, 75.000000 Hz
    800x600 px, 60.317001 Hz
    720x576 px, 50.000000 Hz
    720x576 px, 50.000000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    720x480 px, 59.939999 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 75.000000 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
    720x400 px, 70.082001 Hz
  Position: 0,0
  Transform: 90
  Scale: 0.890625
  Adaptive Sync: disabled
DP-3 "Iiyama North America PL2790QS 1178024901361 (DP-3)"
  Make: Iiyama North America
  Model: PL2790QS
  Serial: 1178024901361
  Physical size: 600x340 mm
  Enabled: yes
  Modes:
    2560x1440 px, 239.949997 Hz (preferred, current)
    2560x1440 px, 59.951000 Hz (preferred)
    2560x1440 px, 143.856003 Hz
    2560x1440 px, 120.015999 Hz
    2560x1440 px, 119.880997 Hz
    2560x1440 px, 96.005997 Hz
    2560x1440 px, 72.014999 Hz
    2560x1440 px, 60.007999 Hz
    2560x1440 px, 50.005001 Hz
    2560x1440 px, 48.002998 Hz
    2048x1280 px, 59.993000 Hz
    1920x1200 px, 59.884998 Hz
    1920x1080 px, 239.759995 Hz
    1920x1080 px, 120.000000 Hz
    1920x1080 px, 119.879997 Hz
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1600x1200 px, 60.000000 Hz
    1680x1050 px, 59.953999 Hz
    1600x1000 px, 59.957001 Hz
    1600x900 px, 60.000000 Hz
    1280x1024 px, 75.025002 Hz
    1440x900 px, 59.887001 Hz
    1280x800 px, 239.949997 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1024x768 px, 75.028999 Hz
    1024x768 px, 60.004002 Hz
    800x600 px, 75.000000 Hz
    800x600 px, 60.317001 Hz
    720x576 px, 50.000000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 75.000000 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
  Position: 1347,0
  Transform: normal
  Scale: 1.000000
  Adaptive Sync: enabled

An unrelated detail is that the version number doesn't seem to be synchronized with the distributed package:

way-displays -v

way-displays version 1.9.1-SNAPSHOT

yay -Qi way-displays

Name            : way-displays
Version         : 1.10.2-1
Description     : way-displays: Auto Manage Your Wayland Displays
Architecture    : x86_64
URL             : https://github.com/alex-courtis/way-displays
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : wayland  wlroots  libinput  yaml-cpp
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 241.11 KiB
Packager        : Unknown Packager
Build Date      : Sun 21 Jan 2024 02:35:52 PM CET
Install Date    : Sun 21 Jan 2024 02:36:34 PM CET
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : None

Just letting you know because the version number is also reported in the log files which are useful for debugging.

Please let me know if I can help you debug this further. Thank you for all your effort on this software!

alex-courtis commented 9 months ago

So it seems that despite the failures/cancellations reported by way-displays, it does ultimately get it right.

That's really useful. Different versions of river/sway/wlroots are indeed behaving differently.

Plan: