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

[Linux] Game stutterering consistently (performance independent) #1575

Open intendednull opened 5 years ago

intendednull commented 5 years ago

Your system information

My info

Please describe your issue in as much detail as possible:

Since Mars was added, most of the matches I played had a stuttering issue. I would be running at a steady 120 fps, then it would drop a ton for a split second every 1.5 seconds or so. Any unit command or movement of the camera made it worse. The main menu was also affected, and custom games weren't any different.

Rebooting fixed it sometimes, but it wasn't guaranteed. I did notice the issue seemed to mostly happen after tabbing out of the game window, but (again) it wasn't consistent.

Also note that I couldn't get the game to launch using Vulcan.

While trying to get a different game running, I switched display managers (gdm3 to lightdm). This solved the issue I was having with that game's DXVK dependencies. Inspired, I booted up DotA2 and the stuttering issue was gone. I was also able to switch to Vulcan and launch without any issues.

I've been experiencing problems with many other titles that use wine regarding display management (resolution, full-screen, random glitches, etc) which are all fixed now.

I suspect #1318 is similar.

Steps for reproducing this issue:

(inconsistent)

  1. Install gdm3
  2. Set as active display manager
  3. Launch DotA2
kisak-valve commented 5 years ago

Hello @Zer0897, were you using Gnome/Wayland or Gnome/X with gdm3? There's a good chance lightdm is starting Gnome/X and that's the difference between the login managers.

intendednull commented 5 years ago

@kisak-valve I booted back into gdm3 to double check. Both managers are set to Gnome/X.

konstantinblaesi commented 5 years ago

I'd check dmesg to make sure you're not experiencing

Looks like you're running on nvidia (I hope not with optimus/bumblebee or anything like that) so I guess you're not affected by this debug mesa build problem of fedora 29 :D

intendednull commented 5 years ago

@konstantinblaesi Thanks for the advice, but I don't think this is a performance issue. Lowering the settings to minimum didn't affect it at all (besides some random artifacts).

I've tried nvidia's 410, 415, and 418 drivers but they all ran the same.

@kisak-valve The stuttering is back, I'm not sure what changed but it seems the login manager was not the culprit.

todorvelichkov commented 4 years ago

I have the same issue, but I found out a few things. This only happens when I play the game on a windowed mode with discord running and I'm in a conversation. Which means that if I either: Stop discord (or just exist the conversation), or change the game to full screen the problem disappears.