Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

Game doesn't start on OSX, ignores vulkan launch flags

Open jdecked opened this issue 1 year ago • 2 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist: https://gist.github.com/jdecked/bd654bb9d6f38048c3f57e8298f1df7d
  • Have you checked for system updates?: [Yes/No] Yes
  • Are you using the latest stable video driver available for your system? [Yes/No] Yes
  • Have you verified the game files?: [Yes/No] Yes

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.

Expected: Dota launches with -vulkan flag either when set in launch options from Steam or passed in from command line, using Vulkan like I've told it to Actual: Dota tries starting up, then this error appears: Screen Shot 2022-08-07 at 10 20 23 PM

Then Dota shuts itself down.

This bug happens to me every few months and seems disconnected from the timing of OS, Dota, or Steam updates. It's most similar to #1904 which was eventually resolved by the bug reporter after restarting + redownloading dota multiple times – usually this is also what works for me, but not this time. I was able to play fine yesterday but today I tried opening dota from Steam and Steam froze my entire computer, so I restarted the computer – and then this problem appeared again.

From command line:

$ ./dota.sh -vulkan -vconsole -con_logfile
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/Users/<$USER redacted>/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamclient.dylib' OK.
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
found breakpad via in process memory: '/Users/<$USER redacted>/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/Frameworks/Breakpad.framework/Versions/A/Resources'
Installing breakpad crash handler
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamID:  0, universe Public
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  <steam ID redacted> [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  <steam ID redacted>
SteamID:  <steam ID redacted>, universe Public
SteamID:  0, universe Public
Setting breakpad minidump AppID = 373300
Attempting to create OpenGL context: v3.3 (Core profile)...failed.
Attempting to create OpenGL context: v3.1 (Core profile)...failed.

And the contents of ~/Library/Application Support/Steam/steamapps/common/dota 2 beta/game/dota/console.log:

$ cat dota/console.log
08/07 22:05:48 [RenderSystem] Failed to create an OpenGL context.
08/07 22:05:48 [RenderSystem] Unable to create dummy context for GLMDisplayDB.
08/07 22:05:48 [Localization System] virtual const char *CLocalize::FindSafe(const char *) failed to localize: Failed to create an OpenGL context.
Your graphics card must support at least OpenGL v3.1.

I've also tried the -gl launch option but it doesn't seem to make a difference. I've also ensured that Dota isn't being blocked by antivirus software. Please good folks I just want to play one (1) game of Dota as a treat.

Steps for reproducing this issue:

  1. Open dota on a mac
  2. ???
  3. Do not profit.

jdecked avatar Aug 08 '22 05:08 jdecked

+1

viciecal avatar Sep 01 '22 23:09 viciecal

this happens randomly, sometimes u can launch the game a few hours later without even rebooting the machine

it persists for a year or more but apparently nobody will fix it

z0s0 avatar Sep 10 '22 17:09 z0s0