You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT
It turns out you require one screen at position 0 0. I touched the original config with output DP-2 resolution 1920x1080 position 0 0 and it still works on both screens! As opposed to output DP-2 resolution 1920x1080 position 1920,0 which made it only interactable menus at the left screen!
Proposal Make Sway display a warning or error if no screen is positioned at offset (0,0)
Please fill out the following:
Sway Version:
swaymsg -t get_version or sway -v
sway version 1.10-dev-77b9ddab (Aug 23 2024, branch 'master')
Debug Log:
Run sway -d 2> ~/sway.log from a TTY and upload it to a pastebin, such as gist.github.com.
This will record information about sway's activity. Please try to keep the reproduction as brief as possible and exit sway.
IMPORTANT NOTE: This log was requested by @llyyr to do with default config. The only thing added was output DP-2 resolution 1920x1080 position 1920,0 with two 1920x1080 displays connected. Then we found that only on the left screen menus are interactable, but not on the right, at all. Then we went to test without any output. As effect on both screens the menus were interactable. Afterwards I went into my main config suspecting it's all about offsets!
Original configuration file part:
Configuration File:
Please try to produce with the default configuration.
If you cannot reproduce with the default configuration, please try to find the minimal configuration to reproduce.
Upload the config to a pastebin such as gist.github.com.
zDEFz
changed the title
Steam Game Everspace misaligned => Change Output Offset
Steam Game Everspace misaligned => Change Output Offset fixes it, but we don't know why!
Aug 26, 2024
zDEFz
changed the title
Steam Game Everspace misaligned => Change Output Offset fixes it, but we don't know why!
If sway has no screen is positioned at offset (0,0), then Everspace via Steam Proton will be misaligned and misbehave.
Aug 26, 2024
zDEFz
changed the title
If sway has no screen is positioned at offset (0,0), then Everspace via Steam Proton will be misaligned and misbehave.
If sway has no screen is positioned at offset (0,0), then Everspace via Steam Proton will be misaligned and cursor position is invalid.
Aug 26, 2024
23:08 <kennylevinsen> sway shouldn’t warn, having no display at 0,0 is supported - e.g., that position could be for a laptop display that is off, or a display you have disconnected
23:08 <kennylevinsen> but it might be that xwayland or proton gets confused, thinking there should be one there? Dunno
23:35 <bluetail> Yes
23:35 <bluetail> Thats exactly it
23:35 <bluetail> Previously we could set a primary screen with xwayland flag, that is no longer possible.
Untested: xrandr --output "DP-2" --primary does not always work for me, which could be possibly the workaround, for binding xwayland to a display. In any case, I would appreciate anything that works consistently. The thing is, there are games on X that can make use of multiple screens, making it more confusing
In that case, the first display would be (0,0) as xwayland display one, and the second display would be xwayland display two at another value
You can reproduce the issue with as little as setting an arbitrary position for your display, so that it doesn't start at 0,0 then start wine notepad and move it around or resize the window.
This can't be reproduced with any other xwayland clients besides wine.
EDIT
It turns out you
require
one screen atposition 0 0
. I touched the original config withoutput DP-2 resolution 1920x1080 position 0 0
and it still works on both screens! As opposed tooutput DP-2 resolution 1920x1080 position 1920,0
which made it only interactable menus at the left screen!Proposal
Make Sway display a warning or error if no screen is positioned at offset (0,0)
Please fill out the following:
Sway Version:
swaymsg -t get_version
orsway -v
Debug Log:
sway -d 2> ~/sway.log
from a TTY and upload it to a pastebin, such as gist.github.com.IMPORTANT NOTE: This log was requested by @llyyr to do with default config. The only thing added was
output DP-2 resolution 1920x1080 position 1920,0
with two 1920x1080 displays connected. Then we found that only on the left screen menus are interactable, but not on the right, at all. Then we went to test without any output. As effect on both screens the menus were interactable. Afterwards I went into my main config suspecting it's all about offsets!Original configuration file part:
Afterwards change! Above Log does not belong to < this description > !
output $L mode 1920x1080@240Hz transform 270 position 0 720
output $R mode 1920x1080@240Hz position 1080 1080
Solution identified
output $L mode 1920x1080@144Hz transform 270 position 0 0
output $R mode 1920x1080@144Hz position 1080 340
The text was updated successfully, but these errors were encountered: