Skip to content

Frequent GPU crashes w/ amdgpu #500

Description

@herrhotzenplotz

Summary

I've been getting a lot of spam regarding some Vulkan stuff when playing videos with multimedia/mpv recently:

[vo/gpu-next/libplacebo] vkQueueSubmit2: VK_ERROR_UNKNOWN (../src/vulkan/command.c:533)

I don't remember when this started to occur.
The video playback itself is also very glitchy and seems to be skipping forwards and backwards or even over the majority of frames.
Trying to stop mpv is only possible via a SIGINT/^C.

After restarting mpv multiple times (without forcing any video output driver) I usually get a GPU crash (video output first goes blank and then comes back with garbage output).
All this is under X11 via X.org (i3+picom as window manager and compositor, not that it should matter here).

Once the GPU has crashed I am still able to ssh into the system but there's no apparent log anywhere.
dmesg doesn't say anything.

#480 has the smell of the same or related bug but I can't really tell since I haven't tested the 6.12 module.

Details

Version info:

$ uname -aKU
FreeBSD triton 15.1-RELEASE-p3 FreeBSD 15.1-RELEASE-p3 releng-patched/15.1-n283613-387c4b1682dc GENERIC amd64 1501000 1501000
$
$ pkg info drm-66-kmod
drm-66-kmod-6.6.25.1501000_8
Name           : drm-66-kmod
Version        : 6.6.25.1501000_8
Installed on   : Sat Jun 20 14:39:07 2026 CEST
Origin         : graphics/drm-66-kmod
Architecture   : FreeBSD:15:amd64
Prefix         : /usr/local
Categories     : graphics kld
Licenses       : BSD2CLAUSE, MIT, GPLv2
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod/
Comment        : Direct Rendering Manager GPU drivers
Annotations    :
        FreeBSD_version: 1501000
        repo_type      : binary
        repository     : FreeBSD-ports-kmods
Flat size      : 18.0MiB
Description    :
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 6.6 DRM.
This version is for FreeBSD 15 1500031
and above.
$

Note: The releng-patched only affects the Bluetooth stack on the userland side.

pciconf output:

...
vgapci0@pci0:41:0:0:    class=0x030000 rev=0xe7 hdr=0x00 vendor=0x1002 device=0x67df subvendor=0x1462 subdevice=0x3418
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]'
    class      = display
    subclass   = VGA
hdac0@pci0:41:0:1:      class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0xaaf0 subvendor=0x1462 subdevice=0xaaf0
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]'
    class      = multimedia
    subclass   = HDA
...
$ kldstat
Id Refs Address                Size Name
 1  229 0xffffffff80200000  2351f50 kernel
 2    1 0xffffffff82552000    21428 geom_mirror.ko
 3    1 0xffffffff82574000   380270 vmm.ko
 4    1 0xffffffff828f6000    2d048 fusefs.ko
 5    1 0xffffffff82924000     b208 cuse.ko
 6    1 0xffffffff82931000     8808 cryptodev.ko
 7    1 0xffffffff8293a000   628ca0 zfs.ko
 8    1 0xffffffff85800000   6deb00 amdgpu.ko
 9    2 0xffffffff85edf000    8a190 drm.ko
10    1 0xffffffff857b4000     22b8 iic.ko
11    2 0xffffffff857b7000     4120 linuxkpi_video.ko
12    3 0xffffffff857bc000     7360 dmabuf.ko
13    3 0xffffffff857c4000     3378 lindebugfs.ko
14    1 0xffffffff857c8000     b480 ttm.ko
15    1 0xffffffff857d4000     a0c0 amdgpu_polaris10_mc_bin.ko
16    1 0xffffffff857df000     6378 amdgpu_polaris10_pfp_2_bin.ko
17    1 0xffffffff857e6000     6378 amdgpu_polaris10_me_2_bin.ko
18    1 0xffffffff857ed000     4378 amdgpu_polaris10_ce_2_bin.ko
19    1 0xffffffff857f2000     7ca0 amdgpu_polaris10_rlc_bin.ko
20    1 0xffffffff85f6a000    42388 amdgpu_polaris10_mec_2_bin.ko
21    1 0xffffffff85fad000    42388 amdgpu_polaris10_mec2_2_bin.ko
22    1 0xffffffff857fa000     5278 amdgpu_polaris10_sdma_bin.ko
23    1 0xffffffff85ff0000     5278 amdgpu_polaris10_sdma1_bin.ko
24    1 0xffffffff85ff6000    5db60 amdgpu_polaris10_uvd_bin.ko
25    1 0xffffffff86054000    2ac80 amdgpu_polaris10_vce_bin.ko
26    1 0xffffffff8607f000    21da8 amdgpu_polaris10_k_smc_bin.ko
27    1 0xffffffff860a1000     3160 amdtemp.ko
28    1 0xffffffff860a5000     2138 amdsmn.ko
29    1 0xffffffff860a8000     2b78 mac_priority.ko
30    1 0xffffffff860ab000     21dc nmdm.ko
31    1 0xffffffff860ae000     31e0 ng_ether.ko
32   10 0xffffffff860b2000     abb8 netgraph.ko
33    1 0xffffffff860bd000     3230 ng_bridge.ko
34    1 0xffffffff860c1000     3220 ng_pipe.ko
35    1 0xffffffff860c5000    808d0 sctp.ko
36    1 0xffffffff86146000     3250 filemon.ko
37    1 0xffffffff8614a000     4d58 mac_do.ko
38    1 0xffffffff8614f000     2234 speaker.ko
39    1 0xffffffff86152000     3390 acpi_wmi.ko
40    1 0xffffffff86156000     3220 intpm.ko
41    1 0xffffffff8615a000     2178 smbus.ko
42    1 0xffffffff8615d000    32240 linux.ko
43    2 0xffffffff86190000     6da8 mqueuefs.ko
44    4 0xffffffff86197000     cdc8 linux_common.ko
45    1 0xffffffff861a4000    2f300 linux64.ko
46    1 0xffffffff861d4000     2278 pty.ko
47    1 0xffffffff861d7000     3578 fdescfs.ko
48    1 0xffffffff861db000     73c0 linprocfs.ko
49    1 0xffffffff861e3000     440c linsysfs.ko
50    1 0xffffffff861e8000     23a0 cpuctl.ko
51    1 0xffffffff861eb000     e5b0 snd_uaudio.ko
52    1 0xffffffff861fa000     21e8 hms.ko
53    3 0xffffffff861fd000     30a8 hidmap.ko
54    1 0xffffffff86201000     21e8 hsctrl.ko
55    1 0xffffffff86204000     21e8 hcons.ko
56    1 0xffffffff86207000     8580 if_ure.ko
57    1 0xffffffff86210000     31d0 uether.ko
58    1 0xffffffff86214000     5780 ng_ubt.ko
59    3 0xffffffff8621a000     a330 ng_hci.ko
60    4 0xffffffff86225000     2670 ng_bluetooth.ko
61    1 0xffffffff86228000     8810 if_bridge.ko
62    1 0xffffffff86231000     6120 bridgestp.ko
63    1 0xffffffff86238000    64c08 pf.ko
64    1 0xffffffff8629d000     85e0 uftdi.ko
65    1 0xffffffff862a6000     4e10 ucom.ko
66    1 0xffffffff862ab000     e4a8 ng_l2cap.ko
67    1 0xffffffff862ba000    1c0f8 ng_btsocket.ko
68    1 0xffffffff862d7000     3918 ng_socket.ko
69    1 0xffffffff862db000     5bf8 autofs.ko
70    1 0xffffffff862e1000     4b40 nullfs.ko
71    1 0xffffffff862e6000     2a80 mac_ntpd.ko
72    1 0xffffffff862e9000     3528 imgact_binmisc.ko
$

FTR, this is a pkgbased system.

Let me know if you need more info and how I can possibly assist debugging this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions