Closed mr-sihc closed 1 year ago
ahh, i don't this title, can't come up with something better tho
I can reproduce this on a stock arch linux, even without GPU. Dockerfile to reproduce:
From archlinux
RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Su --noconfirm xterm amdvlk libffi vulkan-tools vulkan-icd-loader
CMD vulkaninfo
To run, save as Dockerfile
in an empty folder and execute docker build -t arch . && docker run --rm arch
.
Output:
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/amdvlk64.so says it supports interface version 6 but still exports core entrypoints (Policy #LDP_DRIVER_6)
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.203/vulkaninfo/vulkaninfo.h:672:vkCreateInstance failed with ERROR_OUT_OF_HOST_MEMORY
I suppose this happens because arch has a new vulkan loader (1.2.203). On another linux distribution with 1.2.198, vulkaninfo works just fine with amdvlk 2022.Q1.2.
but it said apiVersion = 4202691 (1.2.195) is that the vulkan loader because it sounds close to 1.2.198
it said apiVersion = 4202691 (1.2.195)
The vulkaninfo output you posted is from mesa/radv, not from amdvlk (it says driverInfo = Mesa 21.3.5
) :)
So, api version 1.2.195 is probably the Vulkan version currently supported and exposed by that mesa version, which is independent of the version of the vulkan loader and also independent of the vulkan version supported by amdvlk.
To clear up what I wrote before, I think this is a problem in the driver. It only surfaces in combination with a new vulkan loader, which is why amdvlk still works fine on Ubuntu and others, which are not as up-to-date as arch.
Oh, I misinterpreted the error. The crucial part actually is Incompatible compiler options cross compiler instances!
. This has been fixed internally and will be part of one of the next two releases.
Devices:
========
GPU0:
apiVersion = 4206797 (1.3.205)
driverVersion = 8388824 (0x8000d8)
vendorID = 0x1002
deviceID = 0x687f
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX Vega
driverID = DRIVER_ID_AMD_OPEN_SOURCE
driverName = AMD open-source driver
driverInfo = 2022.Q1.3
conformanceVersion = 1.3.0.0
WORKS! we can close this now!
vulkaninfo and other programs crash with:
here's my gpu info using vulkaninfo with mesa's vulkan driver (--summary)