• 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: Intel Transcoding Crashes

    Pages (4): « Previous 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Intel Transcoding Crashes

    Intel GPU transcode randomly fails
    valthonis_surion
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #11
    2024-01-30, 01:15 AM
    (2024-01-30, 12:42 AM)tmsrxzar Wrote:
    (2024-01-30, 12:38 AM)valthonis_surion Wrote: Might just toss in the Quadro P2000 and leave it be.

    (2024-01-29, 05:39 PM)valthonis_surion Wrote: Maybe this all means I need to install Ubuntu and just use linux...

    what happened to comparing with linux?

    I haven't pulled the trigger on reinstalling the whole machine with linux yet.
    Is there any guide on what's needed?  Meaning is there any weirdness installing the Intel drivers and do I need the full desktop Ubuntu or can I use the server edition and skip the desktop?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #12
    2024-01-30, 01:31 AM
    (2024-01-30, 01:15 AM)valthonis_surion Wrote: Is there any guide on what's needed?  Meaning is there any weirdness installing the Intel drivers and do I need the full desktop Ubuntu or can I use the server edition and skip the desktop?

    my mistake i made an assumption based on your comment that you were already a linux user and familiar with the platform
    if it's going to be a locate the guides deal then you're probably better with the other card in terms of path of least resistance
    i try not to recommend windows users "just switch" to linux, the learning curve can be a little bit much for some users and at the end of the day when it concerns jellyfin it won't be much of an advantage, windows will do it just as well
    valthonis_surion
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #13
    2024-01-30, 03:19 PM
    (2024-01-30, 01:31 AM)tmsrxzar Wrote:
    (2024-01-30, 01:15 AM)valthonis_surion Wrote: Is there any guide on what's needed?  Meaning is there any weirdness installing the Intel drivers and do I need the full desktop Ubuntu or can I use the server edition and skip the desktop?

    my mistake i made an assumption based on your comment that you were already a linux user and familiar with the platform
    if it's going to be a locate the guides deal then you're probably better with the other card in terms of path of least resistance
    i try not to recommend windows users "just switch" to linux, the learning curve can be a little bit much for some users and at the end of the day when it concerns jellyfin it won't be much of an advantage, windows will do it just as well

    My bad, I wasn't very clear on my linux background.  I've been using it for years for work and home, however I have rarely needed to care about video drivers beyond a basic GUI for some application tasks, 99% is always command line.
    I've read that Intel Arc drivers prefer a specific kernel, Ubuntu 23.10 seems to provide that, but I don't know if Jellyfin needs the full desktop environment or can it work from just a server style / no desktop environment install?

    Further with Intel drivers, is it literally just install the latest version of ubuntu (server or desktop?) and then install Jellyfin?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #14
    2024-01-30, 04:18 PM
    (2024-01-30, 03:19 PM)valthonis_surion Wrote: but I don't know if Jellyfin needs the full desktop environment or can it work from just a server style / no desktop environment install?
    jellyfin does run completely headless, it has no care about a desktop environment, most people run it this way


    (2024-01-30, 03:19 PM)valthonis_surion Wrote: Further with Intel drivers, is it literally just install the latest version of ubuntu (server or desktop?) and then install Jellyfin?

    yes and they have even provided a streamline setup script https://jellyfin.org/docs/general/installation/linux
    i personally prefer to run it in a docker for portability but that's not to say it is any better or worse than baremetal https://jellyfin.org/docs/general/instal.../container



    re: intel arc
    i assume so, my hardware is older so i don't have any special kernel requirements
    everything works under debian bookworm kernel v6.1.0-13-amd64 "out of the box" as in i simply follow instructions and it works as intended
    intel tends to be much friendlier with linux than other (nvidia) hardware manufacturers
    valthonis_surion
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #15
    2024-01-30, 06:28 PM (This post was last modified: 2024-01-30, 06:30 PM by valthonis_surion. Edited 1 time in total.)
    Cool, install Ubuntu 23.10 as it had a newer kernel and stuck with the server edition so no desktop environment.
    Installed the OS, updated, installed Jellyfin, configured it for transcoding (only changes is picked Intel QuickSync, enabled tone mapping, and changed the transcode directory which is a dedicated drive with permissions).

    As soon as I try to playback a video, DVD MPEG2, Bluray H264, or 4K H265 source, I get a "Play Back error, client isnt compatible..." message. (Never had this error on windows with Nvidia GPU or Intel) Intel would play and randomly stop
    Looking at the logs for ffmpeg, I see this. To me this sounds like the GPU driver isn't installed correctly or something similar...any ideas? Thanks again to all the assistance.

    ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers
    built with gcc 13 (Ubuntu 13.2.0-4ubuntu3)
    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-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-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 @ 0x55a116328d00] Failed to get number of OpenCL platforms: -1001.
    Device creation failed: -19.
    Failed to set value 'opencl=ocl@va' for option 'init_hw_device': No such device
    Error parsing global options: No such device
    valthonis_surion
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #16
    2024-01-30, 06:43 PM
    So I turned off the "Enable Tone mapping" and playback is working. Testing for stability like the original issue, but what else is needed for enabling tone mapping? All the H265 4K stuff looks washed out otherwise.
    Thanks!
    valthonis_surion
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #17
    2024-01-30, 06:49 PM (This post was last modified: 2024-01-30, 07:09 PM by valthonis_surion. Edited 1 time in total.)
    OK, I think I realized a key detail that didn't dawn on me previously.

    1. Tone Mapping fixed (had to use "Enable VPP Tone mapping" for the Intel driver rather than "Enable Tone Mapping" option)
    2. Transcoding movies is great, however, the part that has the issue (and I didn't realize at first) is the lock ups only occur on Live TV transcoding.
    With Nvidia or CPU transcoding the OTA Antenna TV playback is perfect, but with Intel QSV the TV transcoding locks up within 30 seconds.

    I can watch the intel_gpu_top command and watch the details. At some point everything drops to zero and shortly after the Live TV stops. I can exit and back in, repeating the process.
    So since now I've confirmed windows and linux both do the same thing, I have to guess that its an issue with Intel + HDHomerun as Nvidia runs it just fine.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-01-30, 07:09 PM (This post was last modified: 2024-01-30, 07:10 PM by TheDreadPirate.)
    Did you install the Intel OpenCL packages?

    Code:
    sudo apt list --installed | grep -i intel

    What is the output of that command?

    Also, you can, and should, enable low power encoding since that improves tone mapping performance. But it requires additional setup on Linux.

    https://jellyfin.org/docs/general/admini...r-encoding
    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]
    valthonis_surion
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #19
    2024-01-30, 07:23 PM
    I did not install the OpenCL packages, I saw that was a requirement for tone mapping, but then saw the other tone mapping option that specifically stated for Intel. That one just worked.
    Enabled the H264 low power and I can see the clock reduction in the intel_gpu_top output, encoding still works good on movies, TV still freezes after a handful of seconds.

    --Output
    intel-gpu-tools/mantic,now 1.27.1-1 amd64 [installed]
    intel-microcode/mantic-updates,mantic-security,now 3.20231114.0ubuntu0.23.10.1 amd64 [installed,automatic]
    libdrm-intel1/mantic,now 2.4.115-1 amd64 [installed,automatic]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #20
    2024-01-30, 07:45 PM
    Code:
    sudo apt install intel-media-va-driver-non-free intel-opencl-icd
    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]
    Pages (4): « Previous 1 2 3 4 Next »

    « 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