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

Hangs/Not Responding Status on game Vs. loading screen #1579

Open rohanharikr opened 5 years ago

rohanharikr commented 5 years ago

Your system information

Computer Information: Manufacturer: Apple Model: MacBookPro9,2 Form Factor: Laptop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz CPU Family: 0x6 CPU Model: 0x3a CPU Stepping: 0x9 CPU Type: 0x0 Speed: 2500 Mhz 4 logical processors 2 physical processors HyperThreading: Supported FCMOV: Unsupported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Operating System Version: MacOS 10.14.3 (64 bit)

Video Card: Driver: Intel HD Graphics 4000 Driver Version: 1.2 Driver Date: 0 0 0 OpenGL Version: 2.1 Desktop Color Depth: 32 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x8086 DeviceID: 0x166 Revision: 0x9 Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 11.77" x 10.16" (15.51" diag) 29.9cm x 25.8cm (39.4cm diag) Primary VRAM: 0 MB

Memory: RAM: 10240 Mb

Miscellaneous: UI Language: English Media Type: DVD Total Hard Disk Space Available: 476739 Mb Largest Free Hard Disk Block: 126673 Mb VR Headset: None detected

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist.

The game sometimes hangs (not responding status in force quit box); usually occurs the first time game on startup.

Steps for reproducing this issue:

  1. Find game
  2. Vs. screen
  3. Not Responding; sometimes starts after a while (like around 45sec-1min of not responding)
CommonOddity commented 5 years ago

As per my post in https://github.com/ValveSoftware/Dota-2-Vulkan/issues/312 :

" _I get the exact same issue, in Linux. It was a very recent patch that changed this. At first I thought that I borked something doing a system update and when I mucked around with patches, but that is not the case.

Loading Dota 2 takes a couple seconds longer. The main menu has a video showing kunkka in the right corner- that chunks a little bit.

Loading into a match is pretty heavy on the processing. Loading into matches I sometimes get to see both teams being displayed on the intro screen. After the match the game usually freezes where I can see and move around the mouse but the screen is black and the MVP screen doesn't load.

So I started digging into this issue a little bit more. There must be something fundamental that was changed about the way that Dota 2 loads/unloads things, or perhaps libraries/dependencies, etc....

This doesn't only happen within Vulkan. It happens within OpenGL dota 2 as well! Actually, it's even worse in the OpenGL client._ "

To clarify, when I first load Dota 2, the video of Kunkka makes things chunk for a minute. When I go in and out of the main menu and other sub-menus (e.g. Heroes, or my profile) the same thing happens. It takes a few seconds before it returns to 'normal'. As if it's freezing and completely unresponsive.

To provide some additional details: 4.16.2-1-default OpenSuSE Tumbleweed (latest packages aside for a very select few- the kernel, and those relevant to lvm) Nvidia GTX 1060 Nvidia 418.52.10 drivers/blob Cinnamon desktop environment (from tumbleweed repos)

This happens in both the opengl and vulkan client, but the undesired effect/unresponsiveness is far more pronounced in the opengl client.

Let me know if there's anything else I could provide for review. I don't see anything particular interesting getting barfed up in the kernel ring buffer/dmesg. Reviewed journalctl as well but nothing seems to be immediately relevant.

CommonOddity commented 5 years ago

Latest patch that got pushed out July 14th night/early July 15th seems to have improved things. Performance looks okay when navigating the ui so far. Gonna go into a match to see how the post-match stuff loads.

CommonOddity commented 5 years ago

Hmmm. Nope. Seems that the post-match stuff takes a while to load and chunks a bit still. In addition, after a match the ui/menu is a little less responsive overall. Same kind of bizarre stutters when switching screens.