You are not logged in.

#1 2024-04-12 06:47:38

alvingor
Member
Registered: 2024-04-12
Posts: 2

vulkan doesn't work on wayland with AMDVLK/AMDGPU-PRO

I just installed AMDGPUPRO driver for profiling vulkan apps with Radeon™ Developer Tool Suite, everything works fine on X11.

but once I switch to wayland(plasma6)
my vulkan app quit unexpectedly without any output(I have enabled validation layer), glfwWindowShouldClose function return true after 1 cycle.

vkcube-wayland gave this:

Selected GPU 0: AMD Radeon RX 6700 XT, type: DiscreteGpu
wl_drm@17: error 0: wl_drm.create_prime_buffer is not implemented

BTW vulkan-radeon driver works good on Wayland, but it's not supported by Radeon™ Developer Tool Suite.

Update:
Found a trick to do this,
I basically just run my vulkan app in weston(I guess other Wayland compositors work too)

Last edited by alvingor (2024-04-12 07:52:02)

Offline

#2 2024-04-13 05:53:23

alvingor
Member
Registered: 2024-04-12
Posts: 2

Re: vulkan doesn't work on wayland with AMDVLK/AMDGPU-PRO

It seems plasma6 wayland session uses linux-dmabuf(wayland protocol), but AMDVLK/AMDGPU-PRO driver only support wl_drm
Guess I have to wait for an update to support it.

https://github.com/GPUOpen-Drivers/pal/issues/96

Offline

Board footer

Powered by FluxBB