HGL
graceful-beige
Cyberpunk 2077 (GOG) crashes on launch [S_API]
Heya,
It appears that Cyberpunk exits early due to a SteamAPI error. Though, I believe there may be something else that causes this. I've searched via google for similar issues but it appears to be a unique issue.
When running the game without the linux-native steam client running, it causes the
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
error to appear in the first log attached.
However, when running it with the linux-native steam client running, it causes the [S_API FAIL] SteamAPI_Init() failed; no appID found.
error to appear, among a couple other wine errors regarding read access (second log attached)
I am not sure if this error is unique to Cyberpunk 2077, which is why I'm currently installing Ghostrunner to see if this issue persists there as well. Steam games are unaffected, running the game via the steam shortcut does not fix anything. Enabling or disabling the steam runtime within Heroic does not affect the log output.
This is a (my first) gentoo system installation, so I am not ruling out the possibility of this being a misconfigured package or a missing kernel driver/module. I'll provide any logs required to help solve this issue.
Thanks for the help! 💜14 Replies
extended-salmon•3y ago
Try with Wine-GE-Proton, last time I tested Cyberpunk 2077 from GOG it worked out of the box with Wine-GE
if you are not sure if you have something missing, check the pinned Read Me First message and there's a link to some documentation to install wine dependenceis
graceful-beigeOP•3y ago
ah, could it be that I was running proton-GE during all my tests?
that would be embarassing
I'll try that now
extended-salmon•3y ago
maybe it should work with proton-ge, I haven't really tested with it
at least wine-ge should give you better logs
graceful-beigeOP•3y ago
I'll take this as something went wrong

extended-salmon•3y ago
try using the verify and repair option, go to the game page in heroic > click the 3 dots menu at the top right > verify and repair
graceful-beigeOP•3y ago
I assume it'll take a while since now ghostrunner is processing files, I'll message back once I've done what you asked
graceful-beigeOP•3y ago
here are the backtraces generated from these 2 program errors, assuming they can be of use while I wait on it to verify and repair
graceful-beigeOP•3y ago
it appears to do the exact same error as detailed above within the backtraces, attached is the log that heroic provides of the game
graceful-beigeOP•3y ago
ghostrunner seems to not suffer from the same issue as cyberpunk, confirming that it's a cyberpunk-specific bug and not necessarily with my system (though the attached message hints at something I most likely need to configure with my kernel)

quaint-moccasin•3y ago
info: Required Vulkan extension VK_KHR_surface not supportedThis line means there is a Vulkan driver issue Either broken or not installed
GRAPHICS: GPU0: Navi 21 [Radeon RX 6900 XT] VRAM: 1MBI'm not used to Heroic log yet so dunno if this is normal 🐸
graceful-beigeOP•3y ago
I recompiled mesa with the vulkan use flag
I doubt that would have any improvement on the core issue of cyberpunk attempting to access a steam API
extended-salmon•3y ago
the steam api error you can ignore that, it's normal when using proton-ge, proton is meant to be used inside steam, you always see that message when using it with heroic and games can work just fine
graceful-beigeOP•3y ago
Ah
I'll try it out in a minute
oh it works
awesome
so,
- use wine-ge
- make sure mesa is compiled with the
vulkan
use flag on gentoo
that fixed it and cyberpunk now runs
thanks for the help y'allquaint-moccasin•3y ago
:tuxyay: