-
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
Odd behavior with resolutions #103
Comments
I'd be most grateful if you attached the log - the output of the That will show us what modes are available and what modes have been attempted. |
Hyprland is confirmed to function: https://github.com/alex-courtis/way-displays#hyprland |
Yeah,i haven't put that in the hyperland config yet. Want to make sure every thing works first.
Then i killed the way-displays, run the wdisplays, set a custom resolution (1920x1080), and re-run the way-displays:
Has you can see, in the second output a new mode appeared for that monitor |
It appears that wdisplays allows the creation of custom modes; way-displays does not, it only uses the modes advertised by the monitor. What's your use case for changing the resolution? The wayland preferred manner is to use the monitor's native resolution and scale. The results are much smoother as the GPU does the scaling, rather than the monitor. I'm investigation integration of wdisplays and way-displays #55 |
Well, to be honest i would love to use it as you say, but some applications are working very poorly when using 2 displays at different scales. For instance im having issues with chrome instances if they are open in both monitors at the same time. |
way-displays will calculate and apply scales such that the chrome window will have the same physical size on both monitors. Is the calculated scale incorrect? It uses the monitor's reported physical size in mm. I can see that your laptop is correctly reporting. Is your external monitor reporting correctly? Please post the log with both monitors connected so that we can understand and fix the issue. Raised #106 |
When i list the modes of my laptop monitor i only get:
$ cat /sys/class/drm/card0-eDP-1/modes 3840x2160
If i use way-displays script to apply 1920x1080 it simply fails (of course, i guess?).
But if i kill way-displays, open wdisplays, set the custom resolution there, and re-run way-displays it works fine.
The reason why i tried this is because in X11, the list of modes for this monitor is way longer (more than one option, and with the 1920x1080), and i was trying to understand whats going on. I know very little about resolutions and monitors so i discover nothing.
Right now, for me to be able to use my setup i always have to run wdisplays first, and because of this, the way-displays kinda becomes useless for me.
But it might be something here that the wdisplays is doing that could be helpful for way-displays.
I tried almost every tool to handle displays from this list:
https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway#displayoutputs
and wdisplays was the only tool capable of use a different resolution than 3840x2160
Dell xps 15 9560
Arch linux
kernel 6.3.1
Hyprland (Same exact thing happened in sway so i dont think is related)
way-displays - latest in AUR
The text was updated successfully, but these errors were encountered: