-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Warning eDP-1
already specified
#171
Comments
Is maybe somebody else setting some resoltion for |
I started
and the above error happens too. When I dont do this and I start after login on a shell |
- Apparently way-display fails at first start due to: alex-courtis/way-displays#171 so we do another `way-display -g` at start-up to really trigger the display reordering etc.
Thank you for the detailed information. I'll attempt a reproduction and get back to you. First thoughts: Nice setup with all the shellchecks; FYI #164 will add some more information for your on change script. |
The warning was incorrect, with the modes reversed. That has been fixed in #173, however is not the actual issue. |
Everything looks reasonable and should function as intended. The I do notice you are starting way-displays without the log file redirect: https://github.com/gabyx/dotfiles/blob/main/config/dot_config/sway/config-startup#L4 The only thing that could possible cause sway to make any display changes is the VRR disable: https://github.com/gabyx/dotfiles/blob/main/config/dot_config/sway/config-outputs#L7 you might try removing that, as way-displays should handle it. Can we please try a minimal configuration: use the template sway config with It would be great if you could post your versions of sway and wlroots. |
Hi, jeah thanks, I forgot a I [20:43:44] way-displays version 1.11.0
I [20:43:44]
I [20:43:44] Found configuration file: /home/nixos/.config/way-displays/cfg.yaml
I [20:43:44]
I [20:43:44] Active configuration:
I [20:43:44] Arrange in a ROW aligned at the MIDDLE
I [20:43:44] Order:
I [20:43:44] !^Philips.*PHL 275E2F.*UHB2307008083.*
I [20:43:44] !^Dell.*U2724DE.*4TPGCP3.*
I [20:43:44] !^DP-.*
I [20:43:44] !^Tianma.*TL140ADXP24.*
I [20:43:44] !^eDP-*
I [20:43:44] Scaling: ON
I [20:43:44] Auto scale: OFF (min: 1.000)
I [20:43:44] Mode:
I [20:43:44] !^Philips.*PHL 275E2F.*UHB2307008083.*: 2560x1440@75Hz
I [20:43:44] !^Dell.*U2724DE.*4TPGCP3.*: MAX
I [20:43:44] !^DP-.*: MAX
I [20:43:44] !^Tianma.*TL140ADXP24.*: 1920x1200@120Hz
I [20:43:44] Change success command:
I [20:43:44] cd ~ && ~/.config/way-displays/scripts/on-change.sh
I [20:43:44]
I [20:43:44] Monitoring lid device: /dev/input/event2
I [20:43:44]
I [20:43:44] Lid open
W [20:43:44]
W [20:43:44] WARNING: 2880x1800@60Hz (60,001mHz) already specified for 'eDP-1', ignoring 2880x1800@120Hz (120,000mHz) (preferred)
I [20:43:44]
I [20:43:44] eDP-1 Arrived:
I [20:43:44] info:
I [20:43:44] name: 'eDP-1'
I [20:43:44] make: 'Tianma Microelectronics Ltd.'
I [20:43:44] model: 'TL140ADXP24-0'
I [20:43:44] desc: 'Tianma Microelectronics Ltd. TL140ADXP24-0 (eDP-1)'
I [20:43:44] width: 300mm
I [20:43:44] height: 190mm
I [20:43:44] dpi: 242.24 @ 2880x1800
I [20:43:44] mode: 2880 x 1800 @ 120 Hz 120,000 mHz (preferred)
I [20:43:44] mode: 2880 x 1800 @ 96 Hz 96,011 mHz
I [20:43:44] mode: 2880 x 1800 @ 72 Hz 72,008 mHz
I [20:43:44] mode: 2880 x 1800 @ 60 Hz 60,001 mHz 60,000 mHz
I [20:43:44] mode: 2880 x 1800 @ 50 Hz 50,007 mHz
I [20:43:44] mode: 2880 x 1800 @ 48 Hz 48,005 mHz
I [20:43:44] mode: 1920 x 1200 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1920 x 1080 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1680 x 1050 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1600 x 1200 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1440 x 900 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1280 x 1024 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1280 x 800 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1280 x 720 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 1024 x 768 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 800 x 600 @ 120 Hz 120,000 mHz
I [20:43:44] mode: 640 x 480 @ 120 Hz 120,000 mHz
I [20:43:44] current:
I [20:43:44] scale: 2.000 (2.523)
I [20:43:44] size: 1440x900
I [20:43:44] position: 0,0
I [20:43:44] mode: 2880x1800@120Hz (120,000mHz) (preferred)
I [20:43:44] VRR: off
I [20:43:44]
I [20:43:44] eDP-1 Changing:
I [20:43:44] from:
I [20:43:44] scale: 2.000 (2.523)
I [20:43:44] size: 1440x900
I [20:43:44] position: 0,0
I [20:43:44] mode: 2880x1800@120Hz (120,000mHz) (preferred)
I [20:43:44] VRR: off
I [20:43:44] to:
I [20:43:44] mode: 1920x1200@120Hz (120,000mHz)
I [20:43:44]
I [20:43:44] Executing CHANGE_SUCCESS_CMD:
I [20:43:44] cd ~ && ~/.config/way-displays/scripts/on-change.sh
I [20:43:44]
I [20:43:44] Changes successful
I [20:43:44]
I [20:43:44] eDP-1 Changing:
I [20:43:44] from:
I [20:43:44] scale: 2.000 (1.682)
I [20:43:44] size: 960x600
I [20:43:44] position: 0,0
I [20:43:44] mode: 1920x1200@120Hz (120,000mHz)
I [20:43:44] VRR: off
I [20:43:44] to:
I [20:43:44] scale: 1.000
I [20:43:44]
I [20:43:44] Executing CHANGE_SUCCESS_CMD:
I [20:43:44] cd ~ && ~/.config/way-displays/scripts/on-change.sh
I [20:43:44]
I [20:43:44] Changes successful
I [20:43:49]
I [20:43:49] Server received request: get
I [20:43:49]
I [20:43:49] Active configuration:
I [20:43:49] Arrange in a ROW aligned at the MIDDLE
I [20:43:49] Order:
I [20:43:49] !^Philips.*PHL 275E2F.*UHB2307008083.*
I [20:43:49] !^Dell.*U2724DE.*4TPGCP3.*
I [20:43:49] !^DP-.*
I [20:43:49] !^Tianma.*TL140ADXP24.*
I [20:43:49] !^eDP-*
I [20:43:49] Scaling: ON
I [20:43:49] Auto scale: OFF (min: 1.000)
I [20:43:49] Mode:
I [20:43:49] !^Philips.*PHL 275E2F.*UHB2307008083.*: 2560x1440@75Hz
I [20:43:49] !^Dell.*U2724DE.*4TPGCP3.*: MAX
I [20:43:49] !^DP-.*: MAX
I [20:43:49] !^Tianma.*TL140ADXP24.*: 1920x1200@120Hz
I [20:43:49] Change success command:
I [20:43:49] cd ~ && ~/.config/way-displays/scripts/on-change.sh
I [20:43:49]
I [20:43:49] way-displays -s ARRANGE_ALIGN ROW MIDDLE
I [20:43:49]
I [20:43:49] way-displays -s ORDER '!^Philips.*PHL 275E2F.*UHB2307008083.*' '!^Dell.*U2724DE.*4TPGCP3.*' '!^DP-.*' '!^Tianma.*TL140ADXP24.*' '!^eDP-*'
I [20:43:49]
I [20:43:49] way-displays -s SCALING ON
I [20:43:49]
I [20:43:49] way-displays -s AUTO_SCALE OFF
I [20:43:49]
I [20:43:49] way-displays -s MODE '!^Philips.*PHL 275E2F.*UHB2307008083.*' 2560 1440 75
I [20:43:49] way-displays -s MODE '!^Dell.*U2724DE.*4TPGCP3.*' MAX
I [20:43:49] way-displays -s MODE '!^DP-.*' MAX
I [20:43:49] way-displays -s MODE '!^Tianma.*TL140ADXP24.*' 1920 1200 120
I [20:43:49]
I [20:43:49] way-displays -s VRR_OFF '!^.*'
I [20:43:49]
I [20:43:49] way-displays -s CHANGE_SUCCESS_CMD 'cd ~ && ~/.config/way-displays/scripts/on-change.sh'
I [20:43:49]
I [20:43:49] eDP-1:
I [20:43:49] info:
I [20:43:49] name: 'eDP-1'
I [20:43:49] make: 'Tianma Microelectronics Ltd.'
I [20:43:49] model: 'TL140ADXP24-0'
I [20:43:49] desc: 'Tianma Microelectronics Ltd. TL140ADXP24-0 (eDP-1)'
I [20:43:49] width: 300mm
I [20:43:49] height: 190mm
I [20:43:49] dpi: 242.24 @ 2880x1800
I [20:43:49] mode: 2880 x 1800 @ 120 Hz 120,000 mHz (preferred)
I [20:43:49] mode: 2880 x 1800 @ 96 Hz 96,011 mHz
I [20:43:49] mode: 2880 x 1800 @ 72 Hz 72,008 mHz
I [20:43:49] mode: 2880 x 1800 @ 60 Hz 60,001 mHz 60,000 mHz
I [20:43:49] mode: 2880 x 1800 @ 50 Hz 50,007 mHz
I [20:43:49] mode: 2880 x 1800 @ 48 Hz 48,005 mHz
I [20:43:49] mode: 1920 x 1200 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1920 x 1080 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1680 x 1050 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1600 x 1200 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1440 x 900 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1280 x 1024 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1280 x 800 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1280 x 720 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 1024 x 768 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 800 x 600 @ 120 Hz 120,000 mHz
I [20:43:49] mode: 640 x 480 @ 120 Hz 120,000 mHz
I [20:43:49] current:
I [20:43:49] scale: 1.000 (1.682)
I [20:43:49] size: 1920x1200
I [20:43:49] position: 0,0
I [20:43:49] mode: 1920x1200@120Hz (120,000mHz)
I [20:43:49] VRR: off So there is still this strange line at the top. Hm... |
Ah thanks by the way at looking at my config, I did not expect that to happen! Thankss for you effort, the tool is great! |
Is that minimal config above working correctly? I'm not seeing the other two displays at all; are they working?
Fix will be released soon: #173 There's not much we can do about it; some monitors just advertise two preferred modes. |
I have weird error with the following config:
I did not specify
eDP-1
for anyMODE
but when startingway-displays
it states:WARNING: 2880x1800@60Hz (60,001mHz) already specified for 'eDP-1', ignoring 2880x1800@120Hz
and does not apply any changes. etc. Why is that? Am I doing something wrong.
The text was updated successfully, but these errors were encountered: