You are not logged in.

#1 2018-07-13 17:51:01

acastello
Member
Registered: 2018-07-13
Posts: 1

vulkaninfo fails to initialize with vulkan-radeon

I followed the steps in https://wiki.archlinux.org/index.php/Vulkan but so far vulkaninfo, vkcube and vulkanCapsViewer fail. I have tried on two separate systems:
A desktop with a R9 290X, radeon driver, 4.8.14 kernel, latest drivers on everything else (mesa 18.1.3)
A laptop with a HD 3470, radeon driver, latest kernel and libraries (kernel 4.17.3, mesa 18.1.3)

Both have the latest packages:

vulkan-icd-loader 1.1.73.0
lib32-vulkan-icd-loader 1.1.73.0
vulkan-radeon 18.1.3-1
lib32-vulkan-radeon
vulkan-validation-layers

and in both I get the same error message when running vulkaninfo:

===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.73

ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
/build/vulkan-loader-layers/src/Vulkan-LoaderAndValidationLayers-sdk-1.1.73.0/demos/vulkaninfo.c:3141: failed with VK_ERROR_INITIALIZATION_FAILED

Of course if I uninstall the lib32 version of vulkan-radeon I get the same error.

When calling vkcube the results differ, but fails on both systems.

On the desktop I get:

failed to initialize wayland, falling back to xcb
No Vulkan devices found.

And on the laptop:

failed to initialize wayland, falling back to xcb
failed to initialize xcb, falling back to kms
failed to initialize xcb, falling back to headless
22074 physical devices
Segmentation fault (core dumped)

What am I missing? I tried using the amdgpu driver instead of the radeon on the desktop, but X wouldn't start (with neither empty or amdgpu-explicit confs).

Offline

#2 2018-07-14 14:44:27

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: vulkaninfo fails to initialize with vulkan-radeon

To run vulkan you need a videocard/driver that supports OpenGL ES 3.1 and OpenGL 4.x .

The HD 3470 doesn't support that, no use trying.

The R9 290x appears to be a GCN 2nd gen card, which may support it.
please post glxinfo |grep -i opengl and glxinfo |grep -i gles
(glxinfo comes with mesa-demos) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Online

Board footer

Powered by FluxBB