I’m on Arch Linux with Julia installed from official source through AUR (not through pacman), and I have RX 6700 XT with definitely working drivers (I played several hundred hours of Steam games through DXVK)
When I tried to follow this: Running compute shaders · Vulkan.jl it crashes with ERROR_INCOMPATIBLE_DRIVER
byakuya@ifrit-hpc ~ [1]> julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.1 (2022-09-06)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Vulkan
julia> instance = Instance([], [])
ERROR: ERROR_INCOMPATIBLE_DRIVER: failed to execute #= /home/byakuya/.julia/packages/Vulkan/DUei1/generated/linux.jl:46990 =# @dispatch nothing vkCreateInstance(create_info, allocator, pInstance)
Stacktrace:
[1] unwrap(r::ResultTypes.Result{Instance, VulkanError})
@ ResultTypes ~/.julia/packages/ResultTypes/AUZ9z/src/ResultTypes.jl:67
[2] Instance(enabled_layer_names::Vector{Any}, enabled_extension_names::Vector{Any}; allocator::Ptr{Nothing}, next::Ptr{Nothing}, flags::Int64, application_info::Ptr{Nothing})
@ Vulkan ~/.julia/packages/Vulkan/DUei1/generated/linux.jl:66011
[3] Instance(enabled_layer_names::Vector{Any}, enabled_extension_names::Vector{Any})
@ Vulkan ~/.julia/packages/Vulkan/DUei1/generated/linux.jl:66011
[4] top-level scope
@ REPL[2]:1
This is the output of vulkaninfo: vulkaninfo.txt · GitHub