Hello, I’m hoping someone can help me get hardware acceleration working in HAOS running on an ASUS NUC14RVHU7 NUC. HAOS runs fine, but it seems like either the kernel or firmware doesn’t yet support the chip. I’ve tried the pre release version 14.0.rc2 and the latest 13.2 images.
My investigations with the Frigate devs (Frigate HWAccel Help) culminated in advice to abandon HAOS and use Debian/linux and Docker/virtualbox, but I had a bit of a nightmare trying to get either to run nicely and it’s not something I’m knowledgable about and I do love the convenience and simplicity of HAOS, so I’d like to try and get it to work if possible.
Trying to enable vaapi in Frigate resulted in ERROR : Unable to poll vainfo: b"error: XDG_RUNTIME_DIR is invalid or not set in the environment.\nerror: can't connect to X server!\nerror: failed to initialize display\n"
Trying qsv for >10th Gen Intel processors resulted in ERROR : [AVHWDeviceContext @ 0x55d77a47b680] No VA display found for device -hwaccel_output_format. 2024-11-23 18:16:07.540421443 [2024-11-23 18:16:07] ffmpeg.FrontPath.detect ERROR : Device creation failed: -22. 2024-11-23 18:16:07.540460040 [2024-11-23 18:16:07] ffmpeg.FrontPath.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument 2024-11-23 18:16:07.540500334
I was advised to try an HDMI dummy plug. I did and it still didn’t work. Same errors.
If I booted the NUC to Linux Mint 22, I could run ls /dev/dri to see:
mint@mint:~$ ls /dev/dri by-path card1 renderD128
Installing and running vainfo (still in Mint):
vainfo libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_20 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.20 (libva 2.12.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 () vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointEncSlice VAProfileVP9Profile1 : VAEntrypointVLD VAProfileVP9Profile1 : VAEntrypointEncSlice VAProfileVP9Profile2 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointEncSlice VAProfileVP9Profile3 : VAEntrypointVLD VAProfileVP9Profile3 : VAEntrypointEncSlice VAProfileHEVCMain12 : VAEntrypointVLD VAProfileHEVCMain422_10 : VAEntrypointVLD VAProfileHEVCMain422_12 : VAEntrypointVLD VAProfileHEVCMain444 : VAEntrypointVLD VAProfileHEVCMain444 : VAEntrypointEncSlice VAProfileHEVCMain444_10 : VAEntrypointVLD VAProfileHEVCMain444_10 : VAEntrypointEncSlice VAProfileHEVCMain444_12 : VAEntrypointVLD VAProfileHEVCSccMain : VAEntrypointVLD VAProfileHEVCSccMain : VAEntrypointEncSlice VAProfileHEVCSccMain10 : VAEntrypointVLD VAProfileHEVCSccMain10 : VAEntrypointEncSlice VAProfileHEVCSccMain444 : VAEntrypointVLD VAProfileHEVCSccMain444 : VAEntrypointEncSlice VAProfileAV1Profile0 : VAEntrypointVLD VAProfileAV1Profile0 : VAEntrypointEncSlice VAProfileHEVCSccMain444_10 : VAEntrypointVLD VAProfileHEVCSccMain444_10 : VAEntrypointEncSlice
Thanks