TrueNAS CORE crashes/reboots when testing hardware encoding/VAAPI

TrueNAS-13.3-RELEASE
Jail is running 13.3-RELEASE-p7
CPU is an AMD Ryzen 5 3400G (integrated Radeon RX Vega 11 GPU)

Here’s basically what I’ve done so far:

-added amdgpu to kld_list on host
-created devfs ruleset to expose /dev/dri and /dev/drm into the jail
-installed Mesa Gallium VAAPI drivers (FreshPorts -- graphics/mesa-gallium-va: Mesa Gallium VAAPI drivers)
-run vainfo --display drm

Result: I get the following output - then TrueNAS core becomes unresponsive/does a full reboot:

Trying display: drm
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
amdgpu: drmGetDevice2 failed.
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9 for AMD Radeon Vega 11 Graphics (radeonsi, raven, LLVM 15.0.7, DRM 3.40, 13.3-RELEASE-p4)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

Debugging crummy DRM on 13.3 is probably going to be very painful, especially for an AMD GPU. Suggest you look at upgrading to SCALE at some point. Expect it will work there since the Linux drivers tend to be better maintained.