Dota-2
Dota-2 copied to clipboard
Fullscreen mode still rapidly switches between monitors
Your system information
- System information from steam (
Steam->Help->System Information) in a gist: https://gist.github.com/Newbytee/7f4dd300c32e80b199680fcace991ffd (I have Steam set to Swedish, sorry) - Have you checked for system updates?: Yes
- Are you using the latest stable video driver available for your system? Yes
- Have you verified the game files?: Yes
Please describe your issue in as much detail as possible:
The behaviour is exactly the same as what's described in https://github.com/ValveSoftware/Dota-2/issues/2435. However, I'm still experiencing this with the latest version of Dota 2. I don't know what I could be doing wrong. Disabling one of my monitors while Dota starts up works around the issue and I can play just fine.
Steps for reproducing this issue:
Same as https://github.com/ValveSoftware/Dota-2/issues/2435
This bug is back for me after the 2023 Compendium Update.
Can confirm.
Back for me as well, post-2023 compendium update.
I am encountering the same issue when running GNOME Wayland on a dual-screen setup, with both screens at 4K resolution and operating at 144 fps, using AMD Mesa drivers.
To launch the game, I have to use the launch options -sw -w 3800 -h 2000.
Additionally, there's a risk of the game client freezing when attempting to access the 'Settings' menu within Dota.
Same problem. Launches on main monitor. Minimize, maximize with Alt + Tab gets moved to second monitor. Minimize, maximize with dedicated minimize keybinding lets the game toggle between the two screens like crazy after maximizing again.
I would like to add that if I add -sw -w 1920 -h 1080 to my launch options and then go back to full screen at my monitor's native resolution while in game, I'm not having any issues. So as long as this is ongoing I'm using that as a work-around
Same issue for me, using the work-around meanwhile until this is fixed.
Same issue here System configuration https://gist.github.com/kshammer/628dcc1856146f7388b6f6075316b6c8
Can confirm this also happens to me, I'm using the same launch options as @rmbleeker to start, and then switch to Borderless Window.
In addition, when I switch to Desktop-friendly Fullscreen in Settings, the Dota client becomes unresponsive and I have to kill -9; I have to use Borderless Window to play fullscreen. Not sure if related.
Still happens, ubuntu 22.04, dual monitors setup, latest patch atm
The workaround for me is to use the "Borderless Window". But now I'm presented with a lot of game freezes for a few seconds after changing scenarios (picking hero, entering game, opening map).
But now I'm presented with a lot of game freezes for a few seconds after changing scenarios (picking hero, entering game, opening map).
This is likely because of shader compilation stutter. Regardless, this is unrelated to the problem discussed in this issue.
@danginsburg is there any movement on this issue? It's been almost 2 months now since this popped up again, and it seems to be a regression from an older issue (#2435) that was reported a month before that.
edit: just tested to make sure the issue still occurs and unfortunately it does
This issue occurs for me too.
Same here: https://www.youtube.com/watch?v=HV2xjM9A4zA gist: https://gist.github.com/andrei-kozel/4e9fcefe35947cbbf82f09443272f634
I have found a workaround to get it working in full screen. I disable one monitor, start Dota 2, then enable the monitor again. Then it stays fullscreen on one and I can play.
I have found a workaround to get it working in full screen. I disable one monitor, start Dota 2, then enable the monitor again. Then it stays fullscreen on one and I can play.
Did you read the issue description? :sweat_smile:
Almost the same issue for me on up to date Pop_OS, Gnome, X11, AMD GPU.
Issue happens on CS 2 aswell. I can actually launch both games but if I alt-tab the fiesta starts and its a mess to get an actual focus back.
Issue was supposedly gone for a few updates but it came back.
Already reported to the CS2 feedback mail box.
Also if I don't Alt Tab, sometimes the games quickly loses focus back and forth for a few seconds, making team fights random...
One more workaround is to enable Mirror mode in display settings -> Start a game -> Wait till you see main game screen -> Enable Join mode back. Works with Ubuntu 23.10
One more workaround that worked for me, was to enable "advanced settings" and remove the tick on the checkbox "user friendly full screen mode minimizes game on focus lose". That features seems to produce this problem on GNOME.
One more workaround that worked for me, was to enable "advanced settings" and remove the tick on the checkbox "user friendly full screen mode minimizes game on focus lose". That features seems to produce this problem on GNOME.
Sorry, can not confirm. This checkbox has been off for ages on my end, but I'm still experiencing the issue. I'm running Pop!_OS with the default desktop environment which is based on Gnome.
My current workaround is running Dota 2 through gamescope.
With gamescope -f -W 3840 -H 2160 -r 60 -- %command% -novid everything works fine.
My current workaround is running Dota 2 through gamescope. With
gamescope -f -W 3840 -H 2160 -r 60 -- %command% -novideverything works fine.
Sounds like a nice work-around but gamescope is not in the Pop!_OS repositories and I read some horror stories about compiling it yourself, so I'll pass on this for now. I'm just hoping it will get addressed soon as it seems to be a regression from an earlier issue that only manifests on dual-screen setups where both screens share at least their resolution and possible refresh rate.
My current workaround is running Dota 2 through gamescope. With
gamescope -f -W 3840 -H 2160 -r 60 -- %command% -novideverything works fine.Sounds like a nice work-around but gamescope is not in the Pop!_OS repositories and I read some horror stories about compiling it yourself, so I'll pass on this for now. I'm just hoping it will get addressed soon as it seems to be a regression from an earlier issue that only manifests on dual-screen setups where both screens share at least their resolution and possible refresh rate.
I also tried this with flatpak, but it won't work because gamescope needs to be present
One more workaround that worked for me, was to enable "advanced settings" and remove the tick on the checkbox "user friendly full screen mode minimizes game on focus lose". That features seems to produce this problem on GNOME.
I have it unchecked and it was producing the issue. Tried to check it and uncheck it and the issue goes away but after another Launch it comes back as the game automatically goes from "Use advanced settings" to "Use my monitor's current resolution" when launching. If we could force the game to stay at "Use advanced settings" with "Desktop-friendly fullscreen minimizes on focus loss" un-checked we would be golden.
This was fixed for me in the latest update.
Seems to be fixed for me as well. Great!
I just tested and it was definitely not fixed for me, although there seems to be less flickering Dota still does not behave normally, the viewport still switches between monitors when I try to move the mouse and I could not move the cursor or click on anything in the interface. I had to stop the game by switching to the Steam window and clicking the button there that force-closes the game.
Please re-open this issue.
I can't really tell if what you're describing is the same issue, but I'll reopen until we get more reports then.
Visually and behaviorally it looks like the same issue I had before, just that the flickering is less pronounced. Something definitely changed, improved even, but whatever is it they've messed up is certainly not fixed.
I just wish there was something we could do. Test specific settings, upload a log or screen capture or whatever, but Valve's been pretty silent on this issue for a long time.