-
Notifications
You must be signed in to change notification settings - Fork 199
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
err:vkd3d_create_vk_device: Failed to create Vulkan device, vr -3 on RTX 3090 #488
Comments
Can't reproduce on Turing (RTX 2060) or any AMD hardware. This is the second time someone reports this on an Ampere GPU though. Apparently the Nvidia driver just refuses to work on those cards when we enable the raytracing extensions. |
Yes, that's what I suspected as well. Question is, why. Strange that both
driver versions don't work, Khronos Vulkan Extensions are advertised as
enabled since version 455.46.02. Maybe there's some specific Ampere-related
quirk in the driver that can be worked around somehow.
…On Thu, Jan 28, 2021 at 7:33 PM Philip Rebohle ***@***.***> wrote:
Can't reproduce on Turing (RTX 2060) or any AMD hardware.
This is the second time someone reports this on an Ampere GPU though.
Apparently the Nvidia driver just refuses to work on those cards when we
enable the raytracing extensions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#488 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQX4ZGSXLZ4C5J2BJT3ZCTDS4GGU5ANCNFSM4WXJVHMA>
.
|
Can you test if #489 fixes the problem? |
@doitsujin Alas, no dice. Same exact error. |
Roy, could you run |
@liam-middlebrook Sure. Here. |
Can you test if the following works:
This builds vkd3d-proton and our test suite as a native Linux binary, thus bypassing winevulkan. Would be strange if that was the issue, but if it spews a lot of messages about failing to create a device as well, we at least know for sure it's not that. |
Yep. Did it. Got segfault running said test. Full output to console attached. Note: The log contains a lot of missing VK_VALVE_mutable_descriptor_type, isn't this that feature that Mesa supports, yet Nvidia driver doesn't yet? I've managed to play Cyberpunk without it's support after patch 1.05 (which seemed to fix most of the related errors in the game itself, though clearly not all). |
It succeeds at creating a device though, so that's... interesting. |
The above datapoint for a native Linux vkd3d-proton matches my findings so far (minus the bit about the segfault). This issue isn't vkd3d-proton or Proton specific, I was able to reproduce it with Quake II RTX, both when running through Proton as well as the Steam Linux Runtime (more details below). The difference here that is specific to NVIDIA Ampere GPUs as opposed to older GPU generations is the backend the driver will use as part of Ray Tracing operations. In the failing case this newer backend isn't being loaded properly. From my experimentation it seems that this issue is isolated to the Steam Linux Runtime, which Proton 5.13 and above are built on top of. Since it seems like this may be blocking you from enjoying your games, one thing you could do is to use a custom Proton build (like a TK-Glitche variant) which doesn't make use of the Steam Linux Runtime, or I believe there are some shell script edits that people have done in the past back when the new runtime had issues with Vulkan layers like MangoHUD. I've been in contact with some folks who work on the Steam Linux Runtime to better understand the issue here. It's still unknown as of now whether the bug is in the driver or the runtime, but from my understanding this issue should not effect applications which are not making use of the runtime. I'll share more information here once it is available. |
@doitsujin @liam-middlebrook Liam, you were correct, when run without the Steam \ Lutris runtime, it works fine. DXR is still disabled, I see. I will admit, after Liam's advice worked, I tried enabling it on my own risk by editing device.c, it shows in the menu, but just crashes the game afterwards (tried it on Cyberpunk by setting reported tier to TIER_1_0 - sorry, my bad, got impatient), so I've re-disabled it for now. B.t.w., Liam, thanks for the detailed explanation of the issue at hand. It's nice to know how all of this works under the hood. Knowing that makes finding solutions to issues a lot easier. |
NVIDIA Vulkan Developer Beta driver release 455.50.05 contains a fix for this issue. |
@liam-middlebrook Thanks. Pardon, this wasn't the cause of it starting to work. Something weird is going on here. Please, read #500 . |
Another reason to get this error is to not have libnvidia-rtcore libnvoptix1 packages in debian (possibly also Ubuntu). They give raytracing support to Nvidia in Linux |
Hi!
"First world" problems here.
After the D3D12 Ultimate FL update (specifically vkd3d-proton built from commit b4bc927), I get error:
160:err:vkd3d_create_vk_device: Failed to create Vulkan device, vr -3.
On all D3D12 games (tried Cyberpunk, Serious Sam 4, Resident Evils), and they all fail to start. First number, 160, is different for each game and can be 244, e.t.c.
Running the following:
Software:
Debian 10 Buster, Kernel 5.10.11-xanmod1 (tried 5.9, same story)
NVidia Driver 455.50.04 (started with 455.46.02, same story)
Vulkan Loader 1.2.166 (started with 1.2.162, same story)
Proton 5.13 or current Proton Experimental (neither works).
Hardware:
AMD Ryzen Threadripper 1920X,
64Gb RAM 3000 Mhz,
Inno3D iChill X3 GeForce RTX 3090.
All games I've tried work fine if I rollback to Vkd3d-Proton v.2.1 official release package dll. The problem starts with this newest commit build.
Not posting any specific logs yet, because it affects all D3D12 games equally, and the rollback also works for all of them.
Any advice?
The text was updated successfully, but these errors were encountered: