-
Notifications
You must be signed in to change notification settings - Fork 84
Incorrect Screen Resolution Detection in swww for 4K Monitor in Portrait Mode with Hyprland #378
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
Comments
I have a similar issue after upgrading Hyprland. My portrait monitor will not crop the image anymore, instead showing black (not
DP-3 is rotated and I would assume it should be displaying
Thankfully this happened after I bumped my NixOS build, so I have an easy time to diff the changes in versions between the build. I think these might be related:
I think it might relate to this Hyprland issue, where people conclude that latest I don't care enough about this problem right now to switch to a from-source version of |
Adding to the above, I Just installed swww yesterday and had the same issue, in addition to other vertical monitors strange behaviours. Replacing the swww package -- which seems stale -- with swww-git fixed it for me. |
#398 petition hehe 😁 |
I am also running into this issue. I have a 1920x1080 that I have configured to be portrait on hyprland. My first monitor is fine, but my portrait monitor has the background centered instead of filling the whole screen.
EDIT: I was able to fix this by using master instead: https://github.com/eureka-cpu/dotfiles/blob/249ddd76464cf94de462f06a8e2e41ec9fe3c24d/flake.nix#L11 |
Uh oh!
There was an error while loading. Please reload this page.
Hello! I'm using a computer with two monitors.
Hyprland 0.45.0 built from branch
swww version: 0.9.5
~/.config/hypr/monitors.conf:
xrandr output:
DP-2 is a 4K monitor in portrait mode (vertically oriented).
Current issue upon startup: swww query output:
In this scaling mode, swww doesn’t stretch the wallpaper to cover the entire screen because it detects DP-2 as having a resolution of 2560x1440 and centers the image instead.
Workaround:
If I edit the line:
monitor=DP-2,[email protected],1507x0,1.5
to
monitor=DP-2,[email protected],1507x0,1.0
and then change it back to
monitor=DP-2,[email protected],1507x0,1.5
while Hyprland is running, swww then shows the correct resolution in swww query:
The text was updated successfully, but these errors were encountered: