• 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 Enabling Tone Mapping with OpenCL Intel Arc A380. Errors when following guide

     
    • 0 Vote(s) - 0 Average

    Enabling Tone Mapping with OpenCL Intel Arc A380. Errors when following guide

    motoridersd
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #1
    2023-11-26, 01:17 AM (This post was last modified: 2023-11-26, 01:41 AM by motoridersd. Edited 2 times in total.)
    I've followed the Intel GPU guide here: https://jellyfin.org/docs/general/admini...nux-setups

    Almost everything works, except for the OpenCL runtime status, I get a segmentation fault when I run the command in the guide:

    Code:
    sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
    ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --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-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      57. 28.100 / 57. 28.100
      libavcodec    59. 37.100 / 59. 37.100
      libavformat    59. 27.100 / 59. 27.100
      libavdevice    59.  7.100 / 59.  7.100
      libavfilter    8. 44.100 /  8. 44.100
      libswscale      6.  7.100 /  6.  7.100
      libswresample  4.  7.100 /  4.  7.100
      libpostproc    56.  6.100 / 56.  6.100
    [AVHWDeviceContext @ 0x55a76eebb4c0] libva: VA-API version 1.20.0
    [AVHWDeviceContext @ 0x55a76eebb4c0] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    [AVHWDeviceContext @ 0x55a76eebb4c0] libva: Found init function __vaDriverInit_1_20
    [AVHWDeviceContext @ 0x55a76eebb4c0] libva: va_openDriver() returns 0
    [AVHWDeviceContext @ 0x55a76eebb4c0] Initialised VAAPI connection: version 1.20
    [AVHWDeviceContext @ 0x55a76eebb4c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.4.0 (05e4d0d).
    [AVHWDeviceContext @ 0x55a76eebb4c0] Driver not found in known nonstandard list, using standard behaviour.
    Segmentation fault

    If I disable tone-mapping, playback of Dolby Vision content works, but colors look off. If I enable tone-mapping, the playback fails. I have "Prefer OS native DXVA or VA-API hardware decoders" checked, but my guess is the problem is related to the error above. ffmpeg is crashing when trying to use openCL.

    Wasn't able to find much when searching around.

    edit: Plex says Tone Mapping on Intel GPUs is only supported with Kaby Lake or higher, so maybe it is my Skylake CPU causing the segmentation fault.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-11-26, 01:38 AM
    Which distro are you running?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    motoridersd
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #3
    2023-11-26, 03:25 PM
    Oops, that would have been helfpul. I'm running Ubuntu 22.04.3 with kernel 6.2.0-37 on bare metal.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-11-26, 05:26 PM
    Two things I can think of. What is the output of

    Code:
    apt policy intel-opencl-icd

    If it is

    Code:
    intel-opencl-icd:
      Installed: (none)
      Candidate: 22.14.22890-1

    Then run

    Code:
    sudo apt install -y intel-opencl-icd

    If you already did that, since you said you followed this guide, try enabling low power encoding. I am pretty sure that low power encoding is required for Arc.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    motoridersd
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #5
    2023-11-26, 11:14 PM
    Thanks. Yes, I already have intel-opencl-icd, it's a newer version:

    intel-opencl-icd:
    Installed: 23.30.26918.50-736~22.04
    Candidate: 23.30.26918.50-736~22.04

    I have both low power encoding options checked:

    Enable Intel Low-Power H.264 hardware encoder
    Enable Intel Low-Power HEVC hardware encoder

    What doesn't match the guide is the output when checking the opencl status, where ffpeg is basically having a segmentation fault. My CPU is an i5-6500. Not sure if an older CPU would prevent tone-mapping from working properly.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-11-26, 11:59 PM
    I'm wondering if it still using your iGPU. Disable it in your BIOS.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    motoridersd
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #7
    2023-11-27, 03:00 PM
    It's disabled. There is only one video controller detected by my system:

    03:00.0 VGA compatible controller [0300]: Intel Corporation Device [8086:56a5] (rev 05)

    I realized yesterday that Plex is using the A380 GPU for both transcoding and tone-mapping correctly.
    « 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