[Beta Support]: Battlemage GPU #21706
Replies: 3 comments 12 replies
-
|
The Intel Arc B580 (Battlemage/Xe2) requires newer drivers than what's currently included in the Frigate container image. The container ships with Intel iHD driver 24.3.4(1), but Battlemage GPUs need version 25.x or newer for stable operation. For newer Intel GPUs (gen13+ and Intel Arc), the recommended preset is Option 1: Use FFmpeg 7.0 (Already Configured) You're already using FFmpeg 7.0 in your config, which is good. The documentation notes that upgrading to FFmpeg 7 can resolve certain hardware acceleration issues(1). Option 2: Try QSV Instead of VAAPI For Intel Arc GPUs, switch from VAAPI to QSV presets(1): ffmpeg:
path: "7.0"
hwaccel_args: preset-intel-qsv-h265Option 3: Provide Custom FFmpeg Build The documentation mentions you can provide your own FFmpeg build that works with your driver version, though this is unsupported(1). You would need to:
Option 4: Wait for Container Update Since this is a driver compatibility issue with very new hardware (Arc B580), you may need to wait for the Frigate container image to be updated with newer Intel drivers that support Battlemage architecture. Temporary Workaround If none of the above work, you could disable hardware acceleration temporarily and use CPU decoding until driver support is added to the container. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
I'd suggest using QSV, not VAAPI. Use the preset rather than manual args, eg:
As a side note, your config is also invalid and suboptimal in a number of ways:
|
Beta Was this translation helpful? Give feedback.
-
|
I tried qsv but I had problems as well, guess for old drivers again. https://github.com/blakeblackshear/frigate/blob/v0.17.0-beta2/docker/tensorrt/Dockerfile.amd64 I'd try to update to more up to date base version if you can suggest what I've to consider to do the task. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
Segmentation fault (core dumped) occurs when attempting to use hardware acceleration on the new Intel Arc B580 (Battlemage / Xe2 architecture).
The issue stems from a mismatch between the hardware requirements and the media stack provided within the container. The Arc B580 (Device ID e20b) requires Intel's Unified Driver version 25.x or newer for stable operation. The current Frigate image (based on Debian) provides Intel iHD driver 24.3.4, which results in a fatal memory access error (Segfault) when initializing HEVC decoding surfaces for Battlemage GPUs.
Attempts to map host libraries (Ubuntu 24.04 / Noble) into the container to provide the 25.x driver failed due to GLIBC_2.38 version requirements not being met by the container's base OS.
Steps to reproduce
Run Frigate on a host with an Intel Arc B580 (Battlemage).
Configure hwaccel using vaapi or qsv pointing to the discrete GPU (/dev/dri/renderD128).
Observe the crash or run the following test command inside the container:
/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -reorder_queue_size 1024 -i rtsp://[USER]:[PASS]@[CAMERA_IP] -c:v hevc_vaapi -f null -
FFmpeg will log Segmentation fault (core dumped) immediately after stream mapping.
Version
0.17.0-beta2-tensorrt
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Other Linux
Install method
Docker CLI
Network connection
Wired
Camera make and model
reolink
Screenshots of the Frigate UI's System metrics pages
irrilevant, the problem is in the image as it have been built
Any other information that may be helpful
on host, ubuntu 24.04, i installed intel software following the ufficial steps described here:
https://dgpu-docs.intel.com/driver/client/overview.html
Beta Was this translation helpful? Give feedback.
All reactions