Open gnusenpai opened 1 year ago
Well this is interesting. I figured I'd try using AMDGPU-PRO without the 2nd workaround just to see what would happen, and sure enough, it actually works. I guess this means that something with the tuned models doesn't quite work under Linux, so there is still something a bit wrong.
Nice to see another fellow Gentoo user.
RADV has known issues. If your vulkaninfo | grep deviceName
doesn't show 7900 xtx then it runs as rdna2 so it is slower. You can pass target-triple-flag in command line for now.
It sounds like using a particular driver on Windows allows RDNA3 to work. However, on Linux, none of the 3 Vulkan drivers are currently capable of generating images.
Here are the drivers tested and the results:
vae2base_19dec_fp16_tuned_vulkan
vmfb.I had to employ a few workarounds to get this far, so I'll list them here in case they might be the cause:
The Vulkan target triple is not detected correctly on RADV, AMDVLK, or AMDGPU-PRO drivers. I assume this is because the device names are different depending on the platform/driver used. On Windows, I think this is
AMD Radeon RX 7900 XTX
, but on Linux, it isAMD Radeon Graphics (RADV GFX1100)
on RADV andAMD Radeon Graphics
on AMDVLK and AMDGPU-PRO. I used the following patch to workaround this:System specs: OS: Gentoo Linux Kernel: 6.2.0-rc1 Python: 3.10.9 GPU: AMD Radeon RX 7900 XTX