• 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 SOLVED: hardware encoding fails

     
    • 0 Vote(s) - 0 Average

    SOLVED: hardware encoding fails

    hardware encoding fails on true nas scale
    XperiaPlay1998
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:Netherlands
    #1
    2024-05-06, 05:33 PM
    I'm Running my Jellyfin server on Truenas scale nas. 
    • Truenas version: Dragonfish-24.04.0
    • Jellyfin version: 10.8.13

    Passing the gpu (Intel Arc A310) trough is working since when i enter '/usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128' i get the following back

    Code:
    Trying display: drm
    libva info: VA-API version 1.20.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/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.20.0)
    vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.4.0 (05e4d0d)
    vainfo: Supported profile and entrypoints
          VAProfileNone                  : VAEntrypointVideoProc
          VAProfileNone                  : VAEntrypointStats
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointEncSliceLP
          VAProfileH264High              : VAEntrypointVLD
          VAProfileH264High              : VAEntrypointEncSliceLP
          VAProfileJPEGBaseline          : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointEncPicture
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
          VAProfileHEVCMain              : VAEntrypointVLD
          VAProfileHEVCMain              : VAEntrypointEncSliceLP
          VAProfileHEVCMain10            : VAEntrypointVLD
          VAProfileHEVCMain10            : VAEntrypointEncSliceLP
          VAProfileVP9Profile0            : VAEntrypointVLD
          VAProfileVP9Profile1            : VAEntrypointVLD
          VAProfileVP9Profile2            : VAEntrypointVLD
          VAProfileVP9Profile3            : VAEntrypointVLD
          VAProfileHEVCMain12            : VAEntrypointVLD
          VAProfileHEVCMain422_10        : VAEntrypointVLD
          VAProfileHEVCMain422_10        : VAEntrypointEncSliceLP
          VAProfileHEVCMain422_12        : VAEntrypointVLD
          VAProfileHEVCMain444            : VAEntrypointVLD
          VAProfileHEVCMain444            : VAEntrypointEncSliceLP
          VAProfileHEVCMain444_10        : VAEntrypointVLD
          VAProfileHEVCMain444_10        : VAEntrypointEncSliceLP
          VAProfileHEVCMain444_12        : VAEntrypointVLD
          VAProfileHEVCSccMain            : VAEntrypointVLD
          VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
          VAProfileHEVCSccMain10          : VAEntrypointVLD
          VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
          VAProfileHEVCSccMain444        : VAEntrypointVLD
          VAProfileHEVCSccMain444        : VAEntrypointEncSliceLP
          VAProfileAV1Profile0            : VAEntrypointVLD
          VAProfileAV1Profile0            : VAEntrypointEncSliceLP
          VAProfileHEVCSccMain444_10      : VAEntrypointVLD
          VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP

    and '/usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va' returns
    Code:
    ffmpeg version 5.1.4-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
      built with gcc 10 (Debian 10.2.1-6)
      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 @ 0x55d050b8f100] libva: VA-API version 1.20.0
    [AVHWDeviceContext @ 0x55d050b8f100] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    [AVHWDeviceContext @ 0x55d050b8f100] libva: Found init function __vaDriverInit_1_20
    [AVHWDeviceContext @ 0x55d050b8f100] libva: va_openDriver() returns 0
    [AVHWDeviceContext @ 0x55d050b8f100] Initialised VAAPI connection: version 1.20
    [AVHWDeviceContext @ 0x55d050b8f100] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.4.0 (05e4d0d).
    [AVHWDeviceContext @ 0x55d050b8f100] Driver not found in known nonstandard list, using standard behaviour.
    [AVHWDeviceContext @ 0x55d050bbe1c0] 0.0: Intel(R) OpenCL Graphics / Intel(R) Arc(TM) A310 Graphics
    [AVHWDeviceContext @ 0x55d050bbe1c0] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
    [AVHWDeviceContext @ 0x55d050bbe1c0] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
    [AVHWDeviceContext @ 0x55d050bbe1c0] Intel QSV in OpenCL release function found (clEnqueueReleaseVA_APIMediaSurfacesINTEL).
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'

    But as what the log shows the transcoding does not work both VAAPI and QSV.
    All help is appreciated, Thanks in advance


    Attached Files
    .txt   FFmpeg.Transcode QSV.txt (Size: 13.98 KB / Downloads: 69)
    .txt   FFmpeg.Transcode VAAPI.txt (Size: 13.83 KB / Downloads: 76)
    .txt   log_20240506.txt (Size: 149.1 KB / Downloads: 93)
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    hardware encoding fails - by XperiaPlay1998 - 2024-05-06, 05:33 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-06, 07:30 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-06, 09:57 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-06, 10:12 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-06, 10:17 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-07, 05:55 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-07, 07:27 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-07, 07:44 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-07, 08:30 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-07, 11:59 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-08, 05:42 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-08, 05:58 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-08, 07:22 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-08, 07:48 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-08, 10:05 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-10, 09:19 AM
    RE: hardware encoding fails - by Fate - 2024-05-10, 12:15 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-10, 01:11 PM
    RE: hardware encoding fails - by TheDreadPirate - 2024-05-10, 01:46 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-10, 01:57 PM
    RE: hardware encoding fails - by XperiaPlay1998 - 2024-05-10, 03:00 PM

    • 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