-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Wine virtual desktop completely broken in Proton 5.13+ with fullscreen hack #4673
Comments
So it seems to be related to the fullscreen hack, Proton-GE was built without it for some time and only got it re-enabled in the latest update. With that latest update, things broke on there as well. |
Also haven't been able to use virtual desktop for quite some time, I wonder if this is some weird unique configuration quirk we share? There's a distinct lack of noise about this that I would otherwise expect considering how long it's been broken. |
I have the same problem, when I launch a game with a virtual desktop, it is getting stuck in the right part of the screen. |
Am building proton, how does one disable fs-hack and other settings in general when configuring a build with proton? |
After lots of testing, I did find a working workaround for this: I am on Linux Mint, and on a 3 monitor setup, setting my leftmost monitor as primary! display in Linux, allows me to successfully run Proton/Steam games with Wine virtual desktop spanning all 3 monitors, game window correctly aligned in virtual desktop. I combine this with switching to # [...]
if [[ "_$game_name" == "_Elite: Dangerous" ]]; then
export WINE="/home/user/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/wine"
export WINEPREFIX="/data3/SteamLibrary/steamapps/compatdata/359320/pfx"
# Gets the current, full resolution
RES=`xdpyinfo | awk '/dimensions/ {print $2}'`
cat > temp.reg << EOF
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Explorer]
"Desktop"="Default"
[HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops]
"Default"="${RES}"
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"GrabFullscreen"="N"
EOF
"$WINE" regedit temp.reg
rm temp.reg
fi
# [...] Sadly, Steam input does not get forwarded to that window :( my flight stick works directly through linux, but my DS4 controller doesn't. I would be so fantastic!, if Proton would offer a |
@bobbadshy Thank you! Setting my leftmost monitor as primary worked. |
Is there any progress on this issue other than choosing the left monitor as a primary (which messes my workflow in other applications)? |
I personally stopped caring about this long ago and just use gamescope instead. Only leaving the issue open since others appear to care. |
Even if they didn't this is still a valid bug. Sometimes I must use Virtual Desktop because in some cases applications can't properly query information about their other windows. Additionally, for some games Virtual Desktop has been beneficial to compatibility or performance in some way, and, I do sometimes wish it were working correctly in Proton because of this. |
With Proton 5.13+ (and experimental), when using wine virtual desktop, no matter what resolution I set, it seems to be stuck in the bottom right corner, often having the game go 60% off screen etc, or if running windowed, it may even go completely outside the wine window!
The first two images have the virtual desktop at 2560x1440, and the other one at 1280x720, where the "action" goes outside the real area.
FWIW this doesn't happen with Proton-GE 6.1.
The text was updated successfully, but these errors were encountered: