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

[Ubuntu] FPS dropping from 140-150 to 30-50 (with freezes) - Vulkan case #1261

Open 3guboff opened 7 years ago

3guboff commented 7 years ago

Hello, Time to time I get dropping fps in game when I use -vulkan for Dota 2. Usually I play with 140-150 fps, but after some time (10-30 minutes) in game, I get losing fps to 30-50 with freezes. System on this period not overloaded. After restart Dota 2 (ctrl + f4) and reconnect I can continue play.

My config: OS: Ubuntu 16.04.2 LTS Processor: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz Memory: 4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) - x4 Motherboard: P8Z77-V LX

Did anyone get problems like this? I can provide some logs from steam for more details (Let me know what exactly logs or information do you need to know more ...)

Thanks.

safocl commented 7 years ago

launch through steam-native to use the system libraries that are newer versions than steam

kisak-valve commented 7 years ago

steam-native, which is Arch specific as far as I know, expects that the optional package steam-native-runtime to be installed before using it.

3guboff commented 7 years ago

I have problems with run steam with steam-native on Ubuntu:

Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is disabled by the user
[2017-07-20 16:35:58] Startup - updater built Jul 17 2017 23:10:02
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2017-07-20 16:35:58] Checking for update on startup
[2017-07-20 16:35:58] Проверка на наличие обновлений...
[2017-07-20 16:35:59] Download skipped: /client/steam_client_ubuntu12 version 1500335472, installed version 1500335472
[2017-07-20 16:35:59] Nothing to do
[2017-07-20 16:35:59] Проверка установки...
[2017-07-20 16:35:59] Performing checksum verification of executable files
[2017-07-20 16:36:00] Verification complete
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
roaming config store loaded successfully - 3927 bytes.
migrating temporary roaming config store
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols
...
RatchetCoding commented 7 years ago

I can confirm the same issue. I can play at stable 120-140 fps, but after 20-30 minutes the game drops down to 30-40fps with short freezes. It is unplayable at that point and I have to restart the game. Then everything is back to normal for 20-30min before it starts again.

I haven't yet found if a certain action ingame triggers this. I have tried the steam-runtime and the steam-native package, both produces the same issue.

My system: OS: Arch Linux 4.11.12-1 (64bit) X Window Manager: GNOME Shell GPU: NVIDIA Geforce GTX 1070 Driver Version: 4.5.0 NVIDIA 381.22 CPU: Intel i5-3570K CPU @ 3.40GHz

I'm happy to provide logs or answer any questions, just tell me what you need.

Thanks

Ace5040 commented 7 years ago

Can confirm this too latest drivers amd 8350 nvidia 1060 archlinux 10-30 min and then unplayable with -gl all ok

admshao commented 7 years ago

I had this on arch 4.11 with nvidia 381 and steam beta tested on july 27 and happened every single game.

Yesterday i played a lot and got no issues. Upgraded to 4.12 nvidia 384 and exited steam beta. Dota also had some updates.

On Jul 30, 2017 16:00, "Ace5040" notifications@github.com wrote:

Can confirm this too latest drivers amd 8350 nvidia 1060 archlinux 10-30 min and then unplayable with -gl all ok

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/Dota-2/issues/1261#issuecomment-318922061, or mute the thread https://github.com/notifications/unsubscribe-auth/AIOogiyY1p6zM91MrzfXY31Vf4uHsM3yks5sTNLEgaJpZM4OKAz9 .

Ace5040 commented 7 years ago

not fixed 384, 4.12 31 min and lags started

slis commented 7 years ago

same here debian jessie 4.9 384 nvidia vulkan about 30mins and it drops from 120 to 50 with lags... restarting dota2 fixes it another 30mins i7 3770 GTX680

itane13 commented 6 years ago

Same here,

nvidia gtx 860 m, ubuntu 17.10

Playing with vulkan drivers and 384.90

johndrinkwater commented 6 years ago

Have a similar issue on NVIDIA 381.09, Ubuntu. It seems much more pronounced with bot matches, and triggers consistently around 30 minutes after launch.

areux commented 6 years ago

Same here, exactly 30 minutes with -vulkan and suddenly fps drops from 60 to 15-20 in my case. Why this bug hasn't been fixed yet? or at least change it from drop_performance_after_30_or_15_minutes_on_linux() to drop_performance_on_linux_after_1_hour_so_itll_be_long_enough_for_them_to_almost_finish_a_match()?

Ace5040 commented 6 years ago

confrim. still happens every game arch - deepin de linux - 4.17 nvidia - 396.24

Pycckue-Bnepeg commented 6 years ago

This problem can be fixed (at least for me) so easy. Just enable Steam Overlay for Dota. I don't know why but it's worked.

SSalekin commented 6 years ago

Hi. As stupid as it might sound, but ZOTTCE is actually right. I used to face framerate drop to 20-30fps in dota 2 constantly after 30 minutes of game time, no matter if any background process running or not. Now after enabling Steam Overlay the issue is completely gone. I just played 3 games in a row, so about 2 hours of gameplay, which was never possible without restarting steam before.

This fn makes no sense. Someone please explain.

werman commented 6 years ago

I have the same issue, haven't tried to enable steam overlay yet, will try. Indeed, strange issue, it also persists in the menu after the match ended. Seems not to depend on driver. It's like suddenly some fallback or debug code path got enabled...

Ace5040 commented 6 years ago

I can confirm that with steam overlay the frame rate is stable during whole game. And I think this information can help developers to investigate the issue. gj ZTTCE)

nshcat commented 6 years ago

I can also confirm that enabling the steam overlay fixed the issue for me. Very weird.

isapgswell commented 3 years ago

hi, I have a Dell 7588 and I'am on ubuntu 20.04.2.

What solved this issue to me, i follow this thread https://qastack.com.br/ubuntu/906723/fn-media-keys-slow-delayed-on-ubuntu-gnome-17-04

I was looking to stop lag after ctrl + alt + fn and switch back to graphical and this solved the fps drop issu too ;)

He explains that if you have a keyboard with fn key or two keyboard connected these issues could happen...

Tnaks

Luiz Carlos