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
469 stars 38 forks source link

Game window fails to open when multiple displays are connected to a PC #2631

Open lsahnicne opened 9 months ago

lsahnicne commented 9 months ago

Your system information

Please describe your issue in as much detail as possible:

I have three displays connected to my PC - a 4K TV, a 2K monitor and a FullHD monitor. The 2K monitor is the primary display. When I launch the game, the game logo appears on it for a few seconds, but after that game window doesn't open and flickers in a way that reminds me of https://github.com/ValveSoftware/steam-for-linux/issues/10167 - a similar bug with Steam Big Picture mode. Here's a video demonstration: 2023-12-16 18-06-14.webm

Steps for reproducing this issue:

  1. Connect three display devices to the PC like this: Screenshot from 2023-11-11 09-11-46 Where: 1 - 4K@120 Hz TV connected via HDMI 3 - 2K@144 Hz monitor connected via DisplayPort, primary display 2 - FullHD@60 Hz monitor connected via DisplayPort-DVI adapter
  2. Have monitors number 2 and 3 on, number 1 TV is off.
  3. Launch Dota 2
gokomer commented 8 months ago

I get this issue only on the primary monitor. If I run dota2 on secondary display with -sdl_displayindex 1 it works.