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

[Linux] Game crashes to menu on alt-tab #2766

Open DanielHouston opened 3 months ago

DanielHouston commented 3 months ago

Your system information

Please describe your issue in as much detail as possible:

When I am connected to a lobby (in a game, or watching a game) and move to another workspace (removing the game from view) I am disconnected from the lobby after roughly 30 seconds.

Interestingly if the game stays in view but loses focus (for example, is running on the 2nd monitor while doing a task on the first) then the lobby stays connected, suggesting it isn't merely losing focus which causes the issue.

I keep my system up to date, so I can't rule out this being caused by changes to packages on my system, however this started happening immediatly after the release of Crownfall Act III

The console gives the following potentionally useful info:

[SteamNetSockets] [#1665267174 SDR server steamid:90200068248509470 vport 1 'server'] closed by peer (2027): NETWORK_DISCONNECT_BADDELTATICK
[NetSteamConn] Steam Net connection #1665267174 SDR server steamid:90200068248509470 vport 1 'server' closed by peer, reason 2027: NETWORK_DISCONNECT_BADDELTATICK
[Networking] NETWORK_DISCONNECT_BADDELTATICK

But I have no info on what a DetlaTick is

Steps for reproducing this issue:

  1. Join a lobby (view or play) on Workspace 1 on Monitor 1
  2. Change view on Monitor 1 to Workspace 2
  3. Wait 30 seconds~
  4. Return to Workspace 1 to find lobby has disconnected
jn64 commented 3 months ago

Can't repro. I'm using Xfce/Xfwm workspaces with single monitor.

  1. Create remote lobby (Singapore) with Dota on Workspace 1
  2. Switch to Workspace 2
  3. Wait >90s
  4. Switch to Workspace 1. Still connected

Title doesn't match description. Disconnect is not a crash, and switching workspaces is not what is commonly understood by Alt-Tab (switching windows).

DanielHouston commented 3 months ago

Can't repro. I'm using Xfce/Xfwm workspaces with single monitor.

  1. Create remote lobby (Singapore) with Dota on Workspace 1
  2. Switch to Workspace 2
  3. Wait >90s
  4. Switch to Workspace 1. Still connected

Do you share any similarities to the configuration in the gist?

jn64 commented 3 months ago

Do you share any similarities to the configuration in the gist?

Fedora 39, so same kernel, lower Mesa. https://gist.github.com/jn64/bbcf99609d052f5b5835a2abdb4336eb

Unlikely for any of that to matter though.

Have you tried creating lobbies in other regions? You didn't mention which server.

The two people who gave a thumbs up on the issue - can they repro? Are they using bspwm?

jn64 commented 2 months ago

Both your problem and the OP's problem are equally related to the issue title (i.e. not at all), so I guess it's fine to report yours here.

On 2024-08-14T20:52:09.000+08:00, Quentin @.***> wrote:

 I have a problem that is different but maybe related. When I accept  a game, if I do alt-tab, I never connect to the game. It seems I  need to have dota in full screen to conect to hero selection panel.    I'm on fedora, using flatpak steam. It's a new problem, never had  that before.    —  Reply to this email directly, view it on GitHub  [https://github.com/ValveSoftware/Dota-2/issues/2766#issuecomment-2288658356],  or unsubscribe  [https://github.com/notifications/unsubscribe-auth/AFQYSFVET3476YRLB6BI4NDZRNHHTAVCNFSM6AAAAABK7LATKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGY2TQMZVGY].  You are receiving this because you commented.Message ID: @.***>

DanielHouston commented 2 months ago

Keep your attitude to yourself, thanks Closing this ticket to save my inbox