-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dota2 does not work if Steam is on #42
Comments
I've managed to get dota2 running on my system flawlessly (see #15 (comment)). Those tests were definitely with steam running. From the output, it seems, you got up until here: https://github.com/felixdoerre/primus_vk/blob/master/primus_vk.cpp#L236 |
I'm sorry but I'm not that much of a developer (well, for native apps at least) myself. |
Results of
I presume to actually debug I'm supposed to do something else? |
Steam prints this out to console
|
for debugging that segfault |
I got this
For reference, here is the console output when running Dota2 without Steam (which launches the game but has it complain about losing connection to Steam)
And here is me running vkcube (which works)
From my limited understanding, vkGetPhysicalDeviceProperties() in Vulkan itself fails if and only if Steam is running while playing a game that connects to Steam? |
Yup, that is what it looks like. Can you please obtain a backtrace (gdb command |
i get the same thing on both steam-native and steam-runtime (both with and without ENABLE_PRIMUS_LAYER=1) On my system Dota launches on Vulkan if i uninstall primus_vk (though obviously on the intel card) |
it's not that surprising that the problem is in The next step would probably to install debug symbols for libvulkan and find the exact location where it crashes (https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/trampoline.c#L728 ). Then we'd know which arguments are wrongly put into this vulkan function, and who is responsible for the crash. |
I guess that would also explain why I can't launch any vulkan apps directly to run on my Intel gpu, instead having to specify VK_ICD_FILENAMES. How would you "install debug symbols for libvulkan"? (Sorry, I'm not used to this) |
It seems that on arch you need to recompile the package with options |
I can't seem to find a non-precompiled version of vulkan-icd-loader in AUR.
In that case would I need to somehow write a custom package for it
(...which I don't know how to do) or use a different method?
…On Fri, Jun 21, 2019, 07:47 felixdoerre ***@***.***> wrote:
It seems that on arch you need to recompile the package with options (debug
!strip) see here:
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#General
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42?email_source=notifications&email_token=AA6TFUWRSYGFYGLNN6Y3JUTP3QJKVA5CNFSM4HYXZVE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYHBAEY#issuecomment-504238099>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA6TFURQSSUKOIRLX3QVCUDP3QJKVANCNFSM4HYXZVEQ>
.
|
Nevermind I somehow did it...
Running without steam still works |
As this seems to get increasingly weird I've installed dota2 on my system and tested it. It runs flawlessly, also with steam (and even if started from within steam). To the backtrace: |
Maybe there is something wrong with how I installed primus_vk? This time I got a different value for physicalDevice
in gdb |
|
Contents of icd.d would be I deleted nvidia_icd.json and got physicalDevice=0x0, When testing dota2 on your system, what hardware/distro/icd setup did you use? |
For kicks I tried running vulkaninfo.... and I got a segfault
What I still don't understand is why having Steam running in the background would make any difference |
Ooh sorry, I missed your question about my setup, where Dota2 runs:
|
I am on:
Could the default package being built with |
I recompiled with libGL.so.1 but unfortunately the problem persists |
I just thought of something |
No, steam only brings a few layers: |
I tried running Fallout New Vegaa on Proton as well I can't test Fallout NV without Steam because DRM but it seems to me that something really wrong happens once Steam is involved |
you cold try to delete those implicit layers to forcefully disable them (and hope to be fast enough before steam puts them back in there). |
I would like to test on my setup as well. I also run |
In case it helps you here, I've had good success with running proton steam stuff (in Arch) with this launch method:
|
I'm having difficulties running steam on my discrete GPU, ValveSoftware/Proton#150 (comment) |
@vernwinkle I don't believe your issue has anything to do with the symptoms mentioned here. Also in the comment in the Proton repository I don't see any indication that primus_vk is running (only that the layer is installed). With that information I cannot help you. Does primus_vk work generally on your system? Did you try launching steam with |
I have primus_vk running on my Arch install.
I installed both primus_vk and lib32-primus_vk from the official repositories and edited nvidia_icd.json to point to nv_vulkan_wrapper.so to make it work.
I was able to test it using
pvkrun vkcube
with no problem.Running
pvkrun ./dota.sh
while Steam is off launches Dota2 properly without issues, except for Dota complaining that it lost connection to Steam.Running
pvkrun ./dota.sh
while Steam is on causes the game to segfault immediately.I have tried this with both steam-native and steam-runtime.
I have also tried running both steam-native and steam-runtime with the pvkrun command, and I still get the same error.
The following is printed on the command prompt:
The text was updated successfully, but these errors were encountered: