• 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: Problems with TRANSCODING (TrueNAS)

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Problems with TRANSCODING (TrueNAS)

    I'm on TrueNAS (ElectricEel-24.10-BETA.1)
    Castor the cat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #1
    2024-09-22, 10:31 AM
    Here is the issue i'm facing:

    i've installed and cofigured jellyfin on my truenas server and for the most part everything works, but i cannot enable hardware transcoding, resuling in high CPU usage on the host system, my CPU does support Intel QuickSync and i wouldl ike to use that, in truenas i did enable "Passthrough available (non-NVIDIA) GPUs" and the cotainer now has a /dev/dri/ folder with the card0 at his disposal...

    The problem is that when i try to enable the transcoding and selecting (Intel QuickSync QSV) option Even if i disable all the "Enable hardware decoding for:" when i try to play anything the apps (both on my firestick and browser) will return an error. of coruse streaming works fine on the desktop app and IOS since those support direct streaming, i also tryed to use linuxServer's image with the additional intel mod but still no luck.. the same issue accours.

    What i'm doing wronk?-

    I need help.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-22, 06:29 PM
    What model CPU do you have? Also, card0 is not the device needed for Quick Sync. It would be renderD128.
    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]
    Castor the cat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #3
    2024-09-22, 07:21 PM
    (2024-09-22, 06:29 PM)TheDreadPirate Wrote: What model CPU do you have?
    The host system is powered by:
    Intel Celeron N5105
    As intel.ark confirms that this specific model has quicksync capabilities.

    (2024-09-22, 06:29 PM)TheDreadPirate Wrote: It would be renderD128.
    I can confirm that /dev/dri contains both card0 and renderD128
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-22, 07:30 PM (This post was last modified: 2024-09-22, 07:32 PM by TheDreadPirate.)
    Can you share screenshots of Dashboard > Playback? And your ffmpeg log?

    Also, did you follow the steps to setup low power encoding? That is required for Jasper Lake CPUs.

    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]
    Castor the cat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #5
    2024-09-22, 09:29 PM (This post was last modified: 2024-09-22, 09:29 PM by Castor the cat. Edited 1 time in total.)
    (2024-09-22, 07:30 PM)TheDreadPirate Wrote: Also, did you follow the steps to setup low power encoding?  That is required for Jasper Lake CPUs.

    I see, i didn't have any idea that i needed extra steps for the low power encoding, trying to follow the guide results, read-only errors, and some i915i915files are missing, wich might be the cause for the missing hardware decode capabilities, since this looks like to be a trueNas issue, i will go onto the truenas forum and see if i can get any help there, if i find the solution to this i will update this post.

    Thanks a lot for pointing me to the right direction
    Castor the cat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #6
    2024-09-23, 08:40 PM
    Update:
    Thank to suggestions on the truenas forums and TheDreadPirate, i was able to install the missing components, i will leave the "full instructions" so that other users may use this post as a small guidance:

    1: Enable dev mode in true nas:
    How to enable dev mode
    Please note that this is not officially supported and because the way truenas works, the changes will be lost once you update the system (they will survive reboots)

    2: Follow the official guide:
    Low-Power Encoding Setup

    Some commands will error out, but it did work in the end,
    before it would take 99% CPU now when streaming i only see 3-6% usage

    I will do my best to get in contact with ix-system (makers of truenas) and get them to include the missing modules in future updates
    1
    imperyal
    Offline

    Junior Member

    Posts: 7
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:Portugal
    #7
    2025-01-23, 02:50 PM (This post was last modified: 2025-01-23, 02:55 PM by imperyal. Edited 1 time in total.)
    I'm stuck on the same issue.

    I did not enable Dev mode, and I would prefer not to do soo.
    But I did check for the i915 driver and it appears to be installed...

    In Jellyfin I have QSV selected and the two low-power options enabled. 
    I installed Jellyfin from the "Discover Apps" section of TrueNas, and I'm using TrueNas Scale 24.10.1.
    I did enable the option "Passthrough available (non-NVIDIA) GPUs"

    I'm running an Intel i3-N305 CPU, does this CPU requires the xe driver?






    CMD: lspci -knn | grep -E "i915|xe|VGA|Display"
    RESPONSE: 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [UHD Graphics] [8086:46d0]
            Kernel driver in use: i915
            Kernel modules: i915

    CMD: sudo dmesg | grep -E "i915|xe"
    RESPONSE: [    0.000000] microcode: updated early: 0xe -> 0x17, date = 2023-12-07
    [    0.000000] NX (Execute Disable) protection: active
    [    0.000024] MTRR map: 6 entries (3 fixed + 3 variable; max 23), built from 10 variable MTRRs
    [    0.079213] ... fixed-purpose events:  3
    [    0.313833] pci 0000:00:1f.4: reg 0x20: [io  0xefa0-0xefbf]
    [    7.031234] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
    [    7.497606] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
    [    7.787689] i915 0000:00:02.0: [drm] VT-d active for gfx access
    [    7.787795] i915 0000:00:02.0: vgaarb: deactivate vga console
    [    7.787844] i915 0000:00:02.0: [drm] Using Transparent Hugepages
    [    7.788204] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+memFace-with-open-mouthwns=io+mem
    [    7.792485] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
    [    7.796699] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.20.0
    [    7.796705] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
    [    7.800327] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
    [    7.800705] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
    [    7.800708] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
    [    7.801047] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
    [    7.801697] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
    [    7.853300] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
    [    7.855390] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    [    7.885019] fbcon: i915drmfb (fb0) is primary device
    [    7.941778] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device


    CMD: sudo sh -c "cat /sys/kernel/debug/dri/0/gt*/uc/guc_info"
    RESPONSE: GuC firmware: i915/tgl_guc_70.bin
            status: RUNNING
            version: found 70.20.0
            uCode: 334784 bytes
            RSA: 256 bytes
    GuC status 0x80030000:
            Bootrom status = 0x0
            uKernel status = 0x0
            MIA Core status = 0x3
    Scratch registers:
            0:    0x0
            1:    0x1d73d7
            2:    0x44000
            3:    0x4
            4:    0x40
            5:    0x5d4
            6:    0x46d00000
            7:    0x0
            8:    0x0
            9:    0x0
            10:    0x0
            11:    0x0
            12:    0x0
            13:    0x0
            14:    0x0
            15:    0x0

    GuC logging stats:
            Relay full count: 0
            DEBUG:  flush count          0, overflow count          0
            CRASH:  flush count          0, overflow count          0
            CAPTURE:        flush count          0, overflow count          0
    CT enabled
    H2G Space: 2380
    Head: 505
    Tail: 505
    G2H Space: 12284
    Head: 3304
    Tail: 3304
    GuC Submission API Version: 1.9.0
    GuC Number Outstanding Submission G2H: 0
    GuC tasklet count: 0
    Requests in GuC submit tasklet:

    Global scheduling policies:
      DPC promote time  = 500000
      Max num work items = 15
      Flags              = 0


    CMD: sudo sh -c "cat /sys/kernel/debug/dri/0/gt*/uc/huc_info"
    RESPONSE: HuC firmware: i915/tgl_huc.bin
            status: RUNNING
            version: found 7.9.3
            uCode: 589504 bytes
            RSA: 256 bytes
    HuC status: 0x00090001
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-01-23, 03:05 PM
    (2025-01-23, 02:50 PM)imperyal Wrote: I'm stuck on the same issue.

    I did not enable Dev mode, and I would prefer not to do soo.
    But I did check for the i915 driver and it appears to be installed...

    In Jellyfin I have QSV selected and the two low-power options enabled. 
    I installed Jellyfin from the "Discover Apps" section of TrueNas, and I'm using TrueNas Scale 24.10.1.
    I did enable the option "Passthrough available (non-NVIDIA) GPUs"

    I'm running an Intel i3-N305 CPU, does this CPU requires the xe driver?






    CMD: lspci -knn | grep -E "i915|xe|VGA|Display"
    RESPONSE: 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [UHD Graphics] [8086:46d0]
            Kernel driver in use: i915
            Kernel modules: i915

    CMD: sudo dmesg | grep -E "i915|xe"
    RESPONSE: [    0.000000] microcode: updated early: 0xe -> 0x17, date = 2023-12-07
    [    0.000000] NX (Execute Disable) protection: active
    [    0.000024] MTRR map: 6 entries (3 fixed + 3 variable; max 23), built from 10 variable MTRRs
    [    0.079213] ... fixed-purpose events:  3
    [    0.313833] pci 0000:00:1f.4: reg 0x20: [io  0xefa0-0xefbf]
    [    7.031234] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
    [    7.497606] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
    [    7.787689] i915 0000:00:02.0: [drm] VT-d active for gfx access
    [    7.787795] i915 0000:00:02.0: vgaarb: deactivate vga console
    [    7.787844] i915 0000:00:02.0: [drm] Using Transparent Hugepages
    [    7.788204] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+memFace-with-open-mouthwns=io+mem
    [    7.792485] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
    [    7.796699] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.20.0
    [    7.796705] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
    [    7.800327] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
    [    7.800705] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
    [    7.800708] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
    [    7.801047] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
    [    7.801697] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
    [    7.853300] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
    [    7.855390] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    [    7.885019] fbcon: i915drmfb (fb0) is primary device
    [    7.941778] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device


    CMD: sudo sh -c "cat /sys/kernel/debug/dri/0/gt*/uc/guc_info"
    RESPONSE: GuC firmware: i915/tgl_guc_70.bin
            status: RUNNING
            version: found 70.20.0
            uCode: 334784 bytes
            RSA: 256 bytes
    GuC status 0x80030000:
            Bootrom status = 0x0
            uKernel status = 0x0
            MIA Core status = 0x3
    Scratch registers:
            0:    0x0
            1:    0x1d73d7
            2:    0x44000
            3:    0x4
            4:    0x40
            5:    0x5d4
            6:    0x46d00000
            7:    0x0
            8:    0x0
            9:    0x0
            10:    0x0
            11:    0x0
            12:    0x0
            13:    0x0
            14:    0x0
            15:    0x0

    GuC logging stats:
            Relay full count: 0
            DEBUG:  flush count          0, overflow count          0
            CRASH:  flush count          0, overflow count          0
            CAPTURE:        flush count          0, overflow count          0
    CT enabled
    H2G Space: 2380
    Head: 505
    Tail: 505
    G2H Space: 12284
    Head: 3304
    Tail: 3304
    GuC Submission API Version: 1.9.0
    GuC Number Outstanding Submission G2H: 0
    GuC tasklet count: 0
    Requests in GuC submit tasklet:

    Global scheduling policies:
      DPC promote time  = 500000
      Max num work items = 15
      Flags              = 0


    CMD: sudo sh -c "cat /sys/kernel/debug/dri/0/gt*/uc/huc_info"
    RESPONSE: HuC firmware: i915/tgl_huc.bin
            status: RUNNING
            version: found 7.9.3
            uCode: 589504 bytes
            RSA: 256 bytes
    HuC status: 0x00090001

    What issues are you having, exactly?

    Regarding the GuC and HuC firmware, that all looks good.  The N305 does not use the Xe driver.
    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]
    imperyal
    Offline

    Junior Member

    Posts: 7
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:Portugal
    #9
    2025-01-23, 04:25 PM
    No GPU transcoding, 80% CPU while transcoding 4K. Jellyfin was installed from the Apps menu on TrueNAS Scale, I think it's a Docker based thing, maybe something Docker related? Thank you!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2025-01-23, 04:32 PM
    Can you share your ffmpeg? There are other transcoding tasks that still happen on the CPU. Audio transcoding and subtitle burn in always happen on the CPU.
    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 (2): 1 2 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