• 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 Wyse 5070 - How to enable transcoding?

     
    • 0 Vote(s) - 0 Average

    Wyse 5070 - How to enable transcoding?

    nkkfs0
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-09, 01:18 PM (This post was last modified: 2023-12-09, 01:18 PM by nkkfs0. Edited 1 time in total.)
    Hello,
    Recently, I've started to use Jellyfin locally hosted on Proxmox and Dell Wyse 5070 with Intel® Pentium® Silver J5005 processor. 
    Everything seems to be good but... whenever I want to watch something on Apple TV with Infuse or Swiftfin client, I'm getting only "Direct Play" feature and my CPU usage jumps to around 25-95% (with assigned 2 cores for container).
    I've tried with 720p H264, 4K HEVC. Sometimes Im getting notification like: "This client does not support this media format and the server does not send the format."
    When I watched logs, I saw something like:
    Quote:[2023-12-09 14:10:43.583 +01:00] [ERR] FFmpeg exited with code 1
    [2023-12-09 14:10:43.588 +01:00] [ERR] Error processing request. URL "GET" "/videos/50416cb7-4691-9612-eb99-3f0d5429ca63/hls1/main/0.ts".
    Here is FFMpeg log (probably):
    https://pastebin.com/szrS7KPP

    In Settings -> Playback I have:
    Hardware acceleration: Intel QSV
    and checked: H264, HEVC, HEVC 10bit, VP9 10 bit.

    Am I configured something wrong? Can someone help me with configure this to get low cpu usage on many devices? Generally I'll use Apple TV with Infuse or Swiftfin player.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-12-09, 01:55 PM
    Did you setup GPU passthrough for your Jellyfin?

    Can you describe how you are running Jellyfin? In a VM or a LXC container?
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-12-09, 02:01 PM
    Also, the times when you are seeing high CPU usage when the video is not transcoding, it's likely that the AUDIO is transcoding.
    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]
    nkkfs0
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #4
    2023-12-09, 02:53 PM (This post was last modified: 2023-12-09, 02:55 PM by nkkfs0. Edited 2 times in total.)
    (2023-12-09, 01:55 PM)TheDreadPirate Wrote: Did you setup GPU passthrough for your Jellyfin?

    Can you describe how you are running Jellyfin?  In a VM or a LXC container?

    I didn't set any GPU passthrough in Proxmox for Jellyfin. I use only intergrated GPU if asking I mean, I'm not using any external GPU. Slightly-frowning-face
    I'm running Jellyfin as LXC Container. 


    (2023-12-09, 01:55 PM)TheDreadPirate Wrote: Also, the times when you are seeing high CPU usage when the video is not transcoding, it's likely that the AUDIO is transcoding.

    Whoa. I didn't know that. 
    Generally, Am I able to decrease it any way?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-12-09, 05:43 PM (This post was last modified: 2023-12-09, 05:44 PM by TheDreadPirate. Edited 1 time in total.)
    The iGPU is what you would be passing into the container. Your J5005 does have Quick Sync. There has to be an option to have the container use the iGPU. AFAIK, Proxmox does not do that automatically. But I don't use Proxmox so what do I know.

    Also, since you are not using the official docker image, I think you need to make sure that the Proxmox host has all the Intel drivers installed. So you would have to follow the bare metal Debian instructions here. Proxmox is Debian, right?

    https://jellyfin.org/docs/general/admini...linux-host
    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]
    nkkfs0
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #6
    2023-12-09, 06:11 PM
    (2023-12-09, 05:43 PM)TheDreadPirate Wrote: The iGPU is what you would be passing into the container.  Your J5005 does have Quick Sync.  There has to be an option to have the container use the iGPU.  AFAIK, Proxmox does not do that automatically.  But I don't use Proxmox so what do I know.

    Also, since you are not using the official docker image, I think you need to make sure that the Proxmox host has all the Intel drivers installed.  So you would have to follow the bare metal Debian instructions here.  Proxmox is Debian, right?

    https://jellyfin.org/docs/general/admini...linux-host

    Proxmox is probably Debian but my container uses Ubuntu 22.04
    Generally everything seems to be good.
    There are inputs from commands:

    Quote:jellyfin-ffmpeg5 is already the newest version (5.1.4-2-jammy).
    jellyfin-ffmpeg5 set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

    Quote:$ apt policy intel-opencl-icd
    intel-opencl-icd:
      Installed: 22.14.22890-1
      Candidate: 22.14.22890-1
      Version table:
    *** 22.14.22890-1 500
            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
            100 /var/lib/dpkg/status
    root@jellyfin:~# sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
    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® Gen Graphics - 23.4.0 (05e4d0d)
    vainfo: Supported profile and entrypoints
          VAProfileNone                  : VAEntrypointVideoProc
          VAProfileNone                  : VAEntrypointStats
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointEncSlice
          VAProfileH264Main              : VAEntrypointFEI
          VAProfileH264Main              : VAEntrypointEncSliceLP
          VAProfileH264High              : VAEntrypointVLD
          VAProfileH264High              : VAEntrypointEncSlice
          VAProfileH264High              : VAEntrypointFEI
          VAProfileH264High              : VAEntrypointEncSliceLP
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointEncPicture
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
          VAProfileH264ConstrainedBaseline: VAEntrypointFEI
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
          VAProfileVP8Version0_3          : VAEntrypointVLD
          VAProfileVP8Version0_3          : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointVLD
          VAProfileHEVCMain              : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointFEI
          VAProfileHEVCMain10            : VAEntrypointVLD
          VAProfileHEVCMain10            : VAEntrypointEncSlice
          VAProfileVP9Profile0            : VAEntrypointVLD
          VAProfileVP9Profile2            : VAEntrypointVLD

    Quote:$ sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va
    ffmpeg version 5.1.4-Jellyfin Copyright © 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-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 @ 0x557fac8954c0] libva: VA-API version 1.20.0
    [AVHWDeviceContext @ 0x557fac8954c0] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    [AVHWDeviceContext @ 0x557fac8954c0] libva: Found init function __vaDriverInit_1_20
    [AVHWDeviceContext @ 0x557fac8954c0] libva: va_openDriver() returns 0
    [AVHWDeviceContext @ 0x557fac8954c0] Initialised VAAPI connection: version 1.20
    [AVHWDeviceContext @ 0x557fac8954c0] VAAPI driver: Intel iHD driver for Intel® Gen Graphics - 23.4.0 (05e4d0d).
    [AVHWDeviceContext @ 0x557fac8954c0] Driver not found in known nonstandard list, using standard behaviour.
    [AVHWDeviceContext @ 0x557fac8b8d40] 0.0: Intel® OpenCL HD Graphics / Intel® UHD Graphics 605 [0x3184]
    [AVHWDeviceContext @ 0x557fac8b8d40] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
    [AVHWDeviceContext @ 0x557fac8b8d40] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
    [AVHWDeviceContext @ 0x557fac8b8d40] 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}...
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2023-12-09, 06:39 PM
    https://pve.proxmox.com/wiki/PCI_Passthrough
    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]
    nkkfs0
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #8
    2023-12-09, 07:35 PM
    I don't know, really. All time I cannot wake-up my GPU. Using
    Code:
    intel_gpu_top
    usage stays on 0%.
    I've tried to add jellyfin to video group, set chmod 666 on /dev/dri files, enable iommu, still im unable to get rid of or "direct playback" or "This client does not support this media format and the server does not send the format" notification.
    And all time i'm getting this ffmpeg log:
    Code:
    [AVHWDeviceContext @ 0x560c85f69d40] No VA display found for device /dev/dri/renderD128.
    Device creation failed: -22.
    Failed to set value 'vaapi=va:/dev/dri/renderD128' for option 'init_hw_device': Invalid argument
    Error parsing global options: Invalid argument
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2023-12-09, 09:02 PM
    https://forum.proxmox.com/threads/hardwa...en.132282/
    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]
    nkkfs0
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #10
    2023-12-10, 07:59 AM
    I gave up and just reinstalled Jellyfin container with default settings. It seems to work properly now.
    « 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