-
Notifications
You must be signed in to change notification settings - Fork 11
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
[vulkan] bug: picking wrong driver and fails with "vulkan unsupported" #77
Comments
Huh, I didn't even know there could be multiple Vulkan drivers installed at once. The EXT_external_objects extension says:
Which kinda seems like what I'm currently doing, although "determine driver compatibility" sounds pretty muddy. Do you perhaps know of any well-known code bases which use EXT_external_objects and do the driver check differently? |
No, I don't even have experience with graphics |
So, do I understand correctly that you have amdvlk and radv on your system at once, and in this case bxt-rs fails to find a Vulkan device? Or you have only amdvlk or only radv, and when you have amdvlk, bxt-rs fails to find a Vulkan device, but when you have only radv, it succeeds? |
Yes, second:
For testing purposes I'm leaving only 1 driver installed at a time, even tried rebooting whole machine for cleanest test, and now even clearing vulkan shaders cache folder in steam ( I see it looks very suspicious that when I run with only amdvlk driver installed, it tries to compare against those uuid from radv driver. Am I right or it is not uuid of drivers or something like that? |
Yeah, I'm honestly not sure how this works. Remember that those driver UUIDs I'm getting from the OpenGL context used by Half-Life, which is presumably Mesa (and radv would be Mesa too). I don't know how amdvlk plays into the picture here. The idea is to select the same Vulkan GPU that runs Half-Life's OpenGL (to be able to share a texture between them). |
The problem originates from:
bxt-rs/src/modules/capture/vulkan.rs
Line 781 in 3ef9d8b
Content of compared variables with different drivers installed:
OS: archlinux
amdvlk version: 2023.Q2.3
radv version: 23.1.3
I've tried to manually override this comparison with simple
true
and it seems work normal on both drivers (i.e. even if check "meant to fail" (on amdvlk) - it still seems to work)The text was updated successfully, but these errors were encountered: