Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

Fullscreen mode still rapidly switches between monitors

Open Newbytee opened this issue 2 years ago • 37 comments

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

Newbytee avatar Sep 22 '23 17:09 Newbytee

This bug is back for me after the 2023 Compendium Update.

vncfrrll avatar Sep 27 '23 22:09 vncfrrll

Can confirm.

tfhavingfun avatar Sep 28 '23 04:09 tfhavingfun

Back for me as well, post-2023 compendium update.

SamanthaClarke1 avatar Sep 28 '23 05:09 SamanthaClarke1

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.

914the914 avatar Sep 28 '23 07:09 914the914

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.

Jusix avatar Sep 28 '23 20:09 Jusix

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

rmbleeker avatar Sep 29 '23 15:09 rmbleeker

Same issue for me, using the work-around meanwhile until this is fixed.

ReDTerraN avatar Sep 29 '23 18:09 ReDTerraN

Same issue here System configuration https://gist.github.com/kshammer/628dcc1856146f7388b6f6075316b6c8

kshammer avatar Sep 30 '23 04:09 kshammer

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.

jfdsmit avatar Oct 09 '23 15:10 jfdsmit

Still happens, ubuntu 22.04, dual monitors setup, latest patch atm

nur-akazikulov avatar Nov 03 '23 13:11 nur-akazikulov

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).

yogaxpto avatar Nov 03 '23 13:11 yogaxpto

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.

Newbytee avatar Nov 03 '23 16:11 Newbytee

@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

rmbleeker avatar Nov 17 '23 08:11 rmbleeker

This issue occurs for me too.

christianweinz avatar Nov 18 '23 14:11 christianweinz

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.

christianweinz avatar Nov 22 '23 17:11 christianweinz

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:

Newbytee avatar Nov 22 '23 17:11 Newbytee

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...

troll-os avatar Nov 26 '23 17:11 troll-os

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

andrei-kozel avatar Nov 28 '23 08:11 andrei-kozel

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.

magynhard avatar Dec 02 '23 23:12 magynhard

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.

rmbleeker avatar Dec 03 '23 01:12 rmbleeker

My current workaround is running Dota 2 through gamescope. With gamescope -f -W 3840 -H 2160 -r 60 -- %command% -novid everything works fine.

Jusix avatar Dec 22 '23 11:12 Jusix

My current workaround is running Dota 2 through gamescope. With gamescope -f -W 3840 -H 2160 -r 60 -- %command% -novid everything 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.

rmbleeker avatar Dec 22 '23 21:12 rmbleeker

My current workaround is running Dota 2 through gamescope. With gamescope -f -W 3840 -H 2160 -r 60 -- %command% -novid everything 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

robertpro avatar Dec 22 '23 21:12 robertpro

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.

duartec3000 avatar Jan 13 '24 11:01 duartec3000

This was fixed for me in the latest update.

kshammer avatar Feb 11 '24 06:02 kshammer

Seems to be fixed for me as well. Great!

Newbytee avatar Feb 11 '24 12:02 Newbytee

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.

rmbleeker avatar Feb 11 '24 19:02 rmbleeker

I can't really tell if what you're describing is the same issue, but I'll reopen until we get more reports then.

Newbytee avatar Feb 11 '24 19:02 Newbytee

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.

rmbleeker avatar Feb 11 '24 19:02 rmbleeker