ValveSoftware / Dota-2-Vulkan

Tracker for issues specific to the Vulkan version of Dota 2 on Windows, Linux, and macOS
101 stars 17 forks source link

Vulkan version totally broken on Mesa/intel #234

Open SethDusek opened 6 years ago

SethDusek commented 6 years ago

It seems like it's broken, in the past games were unplayable because the screen would flicker or go black, or it would look totally corrupt. Right now I can not even get it to load with the -vulkan option, as it just shows a black screen with the cursor and the music

OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.2

It may just be me that's having this issue, but I've tried using latest mesa/intel drivers, and also using the solus runtime, however nothing works. I've also tried verifying integrity of the game cache but no use. My ubuntu version is 17.10, and I'm opted in to the steam beta program

SethDusek commented 6 years ago

That's a screenshot I managed to capture before dota totally crashed

kisak-valve commented 6 years ago

Hello @SethDusek, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

SethDusek commented 6 years ago

Here is the gist

gfxstrand commented 6 years ago

Can you please try updating to mesa 17.2.6?

SethDusek commented 6 years ago

This is with mesa-17.4, I got the game to run but it was laggy and hovering over creeps would cause bugs like this

MrChebik commented 6 years ago

I have the same problem, but I don't make update mesa to 17.4

https://github.com/ValveSoftware/Dota-2/issues/1215#issuecomment-351301527

gfxstrand commented 6 years ago

I have been unable to reproduce on any of my systems (I usually run Fedora). We have people who are looking into it and trying to reproduce. In the mean time, since this is a driver bug, could you please file a bug on freedesktop so that we can track it there: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa

SethDusek commented 6 years ago

Is there any vulkan debugging tool I can use where I can atleast get some sort of error log for the game? I think I should do that before I file a bug

MrChebik commented 6 years ago

@SethDusek try install mesa 17.3.0, I have it, and game is working! I have Mageia 6, and add custom http links to Cauldron (test) packages.

SethDusek commented 6 years ago

@MrChebik seems like you were right, I downloaded it from the padoka ppa and now it's working properly. Not sure why it doesn't work with the latest ones from git. Maybe something that got fixed but then broke again?

hrzhu commented 6 years ago

I can't run Dota 2 with Vulkan. Says The selected graphics queue does not support presenting a swapchain image. I'm using Ubuntu 17.10 and the padoka stable PPA. GPU is Intel UHD Graphics 620.

MrChebik commented 6 years ago

@hrzhu Please, see my solution of this problem: https://github.com/ValveSoftware/Dota-2/issues/1215#issuecomment-351301527

MrChebik commented 6 years ago

@SethDusek there can be it that new functions have added, having left old mistakes. and in 17.3.0 - have added new functions, but have corrected previous. At official page: https://www.mesa3d.org/ I don't see any information about 17.4.0 in News. So, most likely, 17.4.0 - very crude has also no previous corrections. And at Mageia Cauldron, I have 2 available packages of 17.3.0: 0.rc5.1.mga7.tainted.x86_64.rpm (tainted-release) 1.mga7.x86_64.rpm (core-release)

I think, from core-release, that package have corrections from versions 17.2.X

MrChebik commented 6 years ago

Game is running, but I notice two problems.

  1. CPU usage of Steam: Steam use 25% of CPU (I think, a whole core of 4). And after closing Dota 2, Steam still use CPU.
  2. Each 10-15-20 min, Dota 2 take near 100mb of RAM. So after match, I need to restart Dota 2. Otherwise, when critical RAM is free, I take 20-22 fps when i move a mouse