ispyagentdvr-docker icon indicating copy to clipboard operation
ispyagentdvr-docker copied to clipboard

Intel QuickSync support

Open joshkrz opened this issue 3 years ago • 1 comments

Agent DVR does not recognise that Intel QuickSync is available. I'm passing my hardware down as a device as /dev/dri/ and Agent has this in the logs when booting up:

00:17:16 | Opening AV_HWDEVICE_TYPE_VAAPI
00:17:16 | [AVHWDeviceContext @ 0x1509745a1580] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
00:17:16 | [AVHWDeviceContext @ 0x1509745a1580] Failed to initialise VAAPI connection: -1 (unknown libva error).
00:17:16 | [AVHWDeviceContext @ 0x150974495b00] No VA display found for device /dev/dri/renderD129.
00:17:16 | [AVHWDeviceContext @ 0x1509745a1580] No VA display found for device /dev/dri/renderD130.
00:17:16 | Couldn't create AV_HWDEVICE_TYPE_VAAPI decoder. Using CPU instead.
00:17:16 | Opening AV_HWDEVICE_TYPE_VAAPI
00:17:16 | [AVHWDeviceContext @ 0x15097031e840] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
00:17:16 | [AVHWDeviceContext @ 0x15097031e840] Failed to initialise VAAPI connection: -1 (unknown libva error).
00:17:16 | [AVHWDeviceContext @ 0x15097030d540] No VA display found for device /dev/dri/renderD129.
00:17:16 | [AVHWDeviceContext @ 0x15097031e840] No VA display found for device /dev/dri/renderD130.
00:17:16 | Couldn't create AV_HWDEVICE_TYPE_VAAPI decoder. Using CPU instead

It would be great to get some hardware support in the Docker. Thanks!

joshkrz avatar Jan 12 '22 00:01 joshkrz

I could get it working with these changes I made to the Dockerfile: https://github.com/doitandbedone/ispyagentdvr-docker/pull/424

Jocaru avatar Jul 20 '22 13:07 Jocaru

Perfect, it should be fixed now with newer versions.

doitandbedone avatar Sep 12 '22 20:09 doitandbedone