Open Quackdoc opened 2 years ago
Note that VK_ICD_FILENAMES only accepts absolute paths. Also @jpark37 may be able to answer to this as he's the one making the port to Windows.
Giving it an absolute path did not help
Open the JSON file itself, and replace "./vulkan_radeon.dll"
with ".\\vulkan_radeon.dll"
to make the loader happy.
EDIT: I can update Mesa at some point to modify the JSON generation, but it's surprisingly difficult because the Python JSON lib automatically converts backslash to slash for some reason.
EDIT 2: Actually Meson's fault, not Python.
Be aware that RADV on Windows is more or less a null driver. You can't play games with it.
I actually have logic fixing the JSON for both RADV and lavapipe post build as I know they were both kinda broken from day 1.
Lavapipe has absolute path in JSON for library_path
which is also bad as it's not portable and also has /
as separator as well.
I have an MR here to try to fix the issue in Mesa itself for RADV: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13461
I hadn't noticed because I was copying files around in a way that made the forward slash work somehow, but I can stop doing that with the backslash, which I noticed the regular NVIDIA driver uses.
Running an rx580
set VK_ICD_FILENAMES=...\radeon_icd.x86_64.json
..\vkconfig.exe
Vulkan Development Status:
vk_layer_settings.txt
uses the default platform path: C:\Users\Quack\AppData\Local\LunarG\vkconfig\override