Vulkan disaster with Radeon RX 6000-series card

From: Vasily Postnicov <shamaz.mazum_at_gmail.com>
Date: Tue, 30 Jun 2026 12:58:34 UTC
Hi! I have FreeBSD 15.1

My software:
drm-66-kmod 6.6.25
mesa-dri 26.0.6
mesa-libs 26.0.6
sway 1.12
mpv 0.41.0
libplacebo 7.360.1
veloren-weekly s20260618

My graphics card: Radeon RX 6000 (don't remember which one, identified as
Navi 23)

After a recent update I have a disaster with software which uses Vulkan.
Namely, veloren game (games/veloren-weekly) breaks graphics on startup (the
screen becomes black, the card's coolers blow with zero GPU usage).

The last lines in dmesg:

pid 5186 (veloren-voxygen), jid 0, uid 1001: exited on signal 6 (no core
dump - denied by kern.coredump)
[drm ERROR :gfx_v10_0_priv_reg_irq] Illegal register access in command
stream
[drm ERROR :amdgpu_job_timedout] ring gfx_0.0.0 timeout, signaled
seq=13138, emitted seq=13141
[drm ERROR :amdgpu_job_timedout] Process information: process  pid 101439
thread  pid 101439
drmn0: GPU reset begin!
drmn0: MODE1 reset
drmn0: GPU mode1 reset
drmn0: GPU smu mode1 reset
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
drmn0: GPU mode1 reset failed
drmn0: ASIC reset failed with error, -60 for drm dev, drmn0drmn0: GPU reset
succeeded, trying to resume
[drm] PCIE GART of 512M enabled (table at 0x0000008000800000).
[drm] VRAM is lost due to GPU reset!
[drm] PSP is resuming...
[drm ERROR :psp_hw_start] PSP create ring failed!
[drm ERROR :psp_resume] PSP resume failed
[drm ERROR :amdgpu_device_fw_loading] resume of IP block <psp> failed -60
drmn0: GPU reset(2) failed
drmn0: GPU reset end with ret = -60
[drm ERROR :amdgpu_job_timedout] GPU Recovery Failed: -60
[drm ERROR :amdgpu_cs_ioctl] Failed to initialize parser -85!
pid 7165 (veloren-voxygen), jid 0, uid 1001: exited on signal 6 (no core
dump - denied by kern.coredump)

I reported it half a year ago without having any response:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291298

Maybe the proposed hack just makes veloren try another renderer (I don't
know if it has OpenGL one).

Now after a recent update I have this when try to use mpv to watch a movie:
[vo/gpu-next/libplacebo] vkQueueSubmit2: VK_ERROR_UNKNOWN
(../src/vulkan/command.c:533)
It also can be fixed by forcing opengl renderer.

What still works:
Sway can start with WLR_RENDER=vulkan. Some games which use Vulkan can
still be played, e.g. yquake2 (with ref_vk renderer), vkquake, uzdoom. But
I don't like when stuff breaks like mpv. Has anybody encountered the same
problems?