Skip to content

hardware accelerated av1 seg faults

When trying to play an AV1 encoded video with hardware acceleration, VLC 4.0 crashes with a segmentation fault. Playing the video without hardware acceleration or another h264 video works hardware accelerated. Version:

VLC version 4.0.0-dev Otto Chriek (4.0.0-dev-33591-g113e5a86b8) Compiled by builduser on arch (Apr 10 2025 10:10:23) Compiler: gcc version 14.2.1 20250207 (GCC)

vainfo

vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.0.3-arch1.1 for AMD Radeon Graphics (radeonsi, gfx1150, LLVM 19.1.7, DRM 3.61, 6.14.1-arch1-1)
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointEncSlice
      VAProfileNone                   : VAEntrypointVideoProc

coredump: vlc.log

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information