ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
472 stars 38 forks source link

[Linux] Dota2 launches on wrong monitor since 7.36 #2712

Closed ruliane closed 5 months ago

ruliane commented 5 months ago

Your system information

Please describe your issue in as much detail as possible:

I have a dual screen setup. I use argument -phased_window_create to launch Dota on the primary monitor. However, since patch 7.36, Dota launches on the wrong monitor.

Steps for reproducing this issue:

  1. configure Dota with -phased_window_create arg
  2. Launch Dota2
kshammer commented 5 months ago

Same issue with Pop-OS and Nvidia 550

staticf0x commented 5 months ago

Same issue, Fedora 40 (Gnome, Wayland), RX 6600 XT

kompolompo commented 5 months ago

Same issue, NixOS 23.11 (Gnome 45.5, Wayland), RX 6700 XT

Started when new patch came out

OctavianOG commented 5 months ago

Greetings, you can try to use launch option:

-sdl_displayindex 0

Replace 0 with number of your display, e.g. if you want to display dota on your primary display use 0. I run dota on my second screen and using 1 index

kompolompo commented 5 months ago

Greetings, you can try to use launch option:

-sdl_displayindex 0

Replace 0 with number of your display, e.g. if you want to display dota on your primary display use 0. I run dota on my second screen and using 1 index

-sdl_displayindex 0 -sdl_displayindex 1

tried both options dota 2 started on my secondary screen.

F0Rt04ka commented 5 months ago

Same issue Ubuntu 22.04

kshammer commented 5 months ago

A work around for this issue is

  1. Turn off secondary monitor
  2. Start dota 2
  3. After dota is fully launched turn on secondary monitor

Dota will stay on the primary monitor and remains in place even after alt-tab.

ruliane commented 5 months ago

Looks like issue is fixed today.