2023-11-29, 07:50 PM
(2023-11-29, 02:18 PM)nyanmisaka Wrote: https://ark.intel.com/content/www/us/en/...0-ghz.html
https://github.com/intel/compute-runtime...b00a307750
As per the above two links, the device ID of the ADL-N/N100 iGPU is 0x46D1, which was firstly added in intel-compute-runtime 22.30.23789. But Ubuntu 22.04 seems to have an older one 22.14.22890. Please download and install the OpenCL runtime from intel's repo directly. Also we need to update our docs for this.
https://github.com/intel/compute-runtime/releases
Solved with this. Installation instructions are in the same Github release page.
Now there is no error after installing this:
Code:
meiden@n100:~/utils/intel-opencl$ sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[AVHWDeviceContext @ 0x558c844e34c0] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x558c844e34c0] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x558c844e34c0] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x558c844e34c0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x558c844e34c0] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x558c844e34c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.4.0 (05e4d0d).
[AVHWDeviceContext @ 0x558c844e34c0] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x558c845138c0] 0.0: Intel(R) OpenCL Graphics / Intel(R) UHD Graphics
[AVHWDeviceContext @ 0x558c845138c0] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
[AVHWDeviceContext @ 0x558c845138c0] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
[AVHWDeviceContext @ 0x558c845138c0] Intel QSV in OpenCL release function found (clEnqueueReleaseVA_APIMediaSurfacesINTEL).
Hyper fast Audio and Video encoder
Thank you very much!