• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Added Arc A380 for transcoding: Failed to get number of OpenCL platforms: -1001.

     
    • 0 Vote(s) - 0 Average

    Added Arc A380 for transcoding: Failed to get number of OpenCL platforms: -1001.

    It seems to be working but one of the commands did report an error.
    toomanytoons
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2025 Oct
    Reputation: 0
    Country:United States
    #1
    4 hours ago (This post was last modified: 3 hours ago by toomanytoons. Edited 2 times in total.)
    Followed the guide as best I could, no errors, until I got to this command:

    Code:
    sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va

    ffmpeg version 7.1.2-Jellyfin Copyright © 2000-2025 the FFmpeg developers
      built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59. 39.100 / 59. 39.100
      libavcodec    61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample  5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.100
    [AVHWDeviceContext @ 0x5baf74685880] libva: VA-API version 1.22.0
    [AVHWDeviceContext @ 0x5baf74685880] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    [AVHWDeviceContext @ 0x5baf74685880] libva: Found init function __vaDriverInit_1_22
    [AVHWDeviceContext @ 0x5baf74685880] libva: va_openDriver() returns 0
    [AVHWDeviceContext @ 0x5baf74685880] Initialised VAAPI connection: version 1.22
    [AVHWDeviceContext @ 0x5baf74685880] VAAPI driver: Intel iHD driver for Intel® Gen Graphics - 25.3.4 (192fe0f).
    [AVHWDeviceContext @ 0x5baf74685880] Driver not found in known nonstandard list, using standard behaviour.
    WARNING: Small BAR detected for device 0000:03:00.0
    [AVHWDeviceContext @ 0x5baf746c87c0] Failed to get number of OpenCL platforms: -1001.
    Device creation failed: -19.
    Failed to set value 'opencl@va' for option 'init_hw_device': No such device
    Error parsing global options: No such device

    Is any of that anything I need to try to correct?  It does seem to be working, CPU usage did not hit 100% and the transcode log said it was using QSV.  Hit almost 500fps transcoding for the playback in Mozilla, before on the same file it was just under 60fps.  I don't have BAR support, it's 4th Gen i5. Lastest jellyfin 10.11.3 of course.  Ubuntu baremetal 24.04; tried adding  NEOReadDebugKeys=1 OverrideGpuAddressSpace=48 to the environment like I found in an old github forum post for the intel compute-runtime.  Didn't seem to make a difference.

    Thanks for looking.
    alleycat
    Offline

    Member

    Posts: 109
    Threads: 20
    Joined: 2024 Sep
    Reputation: 1
    Country:United States
    #2
    38 minutes ago (This post was last modified: 15 minutes ago by alleycat. Edited 2 times in total.)
    (4 hours ago)toomanytoons Wrote: Followed the guide as best I could, no errors, until I got to this command:

    Code:
    sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va

    ...

    Is any of that anything I need to try to correct?  It does seem to be working, CPU usage did not hit 100% and the transcode log said it was using QSV.  Hit almost 500fps transcoding for the playback in Mozilla, before on the same file it was just under 60fps.  I don't have BAR support, it's 4th Gen i5. Lastest jellyfin 10.11.3 of course.  Ubuntu baremetal 24.04; tried adding  NEOReadDebugKeys=1 OverrideGpuAddressSpace=48 to the environment like I found in an old github forum post for the intel compute-runtime.  Didn't seem to make a difference.

    Thanks for looking.

    I'm using the ARC A310, basically the same. Here's what your command looks like on my system.
    I have the iGPU in bios turned off and I also don't have resizable BAR. (not a requirement)  

    Code:
    tom@tyson:~$ sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
    [sudo] password for tom:
    ffmpeg version 7.1.2-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers
      built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59. 39.100 / 59. 39.100
      libavcodec    61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample  5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.100
    [AVHWDeviceContext @ 0x5fefacf7f880] libva: VA-API version 1.22.0
    [AVHWDeviceContext @ 0x5fefacf7f880] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    [AVHWDeviceContext @ 0x5fefacf7f880] libva: Found init function __vaDriverInit_1_22
    [AVHWDeviceContext @ 0x5fefacf7f880] libva: va_openDriver() returns 0
    [AVHWDeviceContext @ 0x5fefacf7f880] Initialised VAAPI connection: version 1.22
    [AVHWDeviceContext @ 0x5fefacf7f880] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 25.3.4 (192fe0f).
    [AVHWDeviceContext @ 0x5fefacf7f880] Driver not found in known nonstandard list, using standard behaviour.
    [AVHWDeviceContext @ 0x5fefacfc27c0] 0.0: Intel(R) OpenCL Graphics / Intel(R) Arc(TM) A310 Graphics
    [AVHWDeviceContext @ 0x5fefacfc27c0] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
    [AVHWDeviceContext @ 0x5fefacfc27c0] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
    [AVHWDeviceContext @ 0x5fefacfc27c0] Intel QSV in OpenCL release function found (clEnqueueReleaseVA_APIMediaSurfacesINTEL).

    Here's my "neofetch" info also:

    OS: Ubuntu 24.04.3 LTS x86_64
    Host: OptiPlex 7050
    Kernel: 6.8.0-87-generic
    Uptime: 9 days, 15 hours, 26 mins
    Packages: 1115 (dpkg)
    Shell: bash 5.2.21
    Terminal: /dev/pts/0
    CPU: Intel i7-6700 (Nerd-face @ 4.000GHz
    GPU: Intel DG2 [Arc A310]
    Memory: 1180MiB / 31998MiB

    This is an old thread where I was asking some of the same questions...
    https://forum.jellyfin.org/t-transcoding...e-arc-a310

    ------------------------------------------------------------------------
    tom@tyson:~$ apt list --installed | grep intel

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    intel-gpu-tools/noble,now 1.28-1ubuntu2 amd64 [installed]
    intel-media-va-driver/noble-updates,now 24.1.0+dfsg1-1ubuntu0.1 amd64 [installed,automatic]
    intel-microcode/noble-updates,noble-security,now 3.20250812.0ubuntu0.24.04.1 amd64 [installed,automatic]
    intel-opencl-icd/noble,now 23.43.27642.40-1ubuntu3 amd64 [installed]
    libdrm-intel1/now 2.4.122-1~ubuntu0.24.04.1 amd64 [installed,upgradable to: 2.4.122-1~ubuntu0.24.04.2]
    tom@tyson:~$
    Jellyfin 10.11.3 on Ubuntu 24.04.3 LTS, OptiPlex 7050 i7-6700 32GB ram (headless)
    Arc A310, TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode