• 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 Android App won't work if HW Acc is on

     
    • 0 Vote(s) - 0 Average

    Android App won't work if HW Acc is on

    Since update 10.9.2 can't stream to Android App using HW acceleration
    Rafael Silva
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-05-30, 01:04 PM (This post was last modified: 2024-05-31, 06:57 PM by Rafael Silva. Edited 2 times in total.)
    Hello all, 

    As stated in the title, if HW transcoding is on, I cannot stream to the Android app ever since the 10.9.2 official update (and now 10.9.3). I can, with no problems whatsoever, navigate on my phone through Chrome and use the web player to watch stuff. It is the same on my desktop and laptop, but not on the Android App, which is a problem since it's the only thing that works on my Android TV box. 

    If I turn off HW transcoding, it works, albeit the colors look completely off, bad enough that it makes me not wanna watch it at all. I really want to know what's going on with it so that I can fix it. I've attached a log which at the end you can see it fails due to CUDA. Jellyfin is running off of Unraid from Hotio's repository, version 10.9.3 currently, Unraid is installed on a workstation with an E5-1620V3 and the GPU is an Nvidia 1050ti, 64GB (8x4GB) of ECC RAM at 2400mhz. Jellyfin Cache is on an NVMe, media is on the Array.

    I want to stick to the new version since it fixed the subtitle issues that I used to have (lag at the start), which was a deal breaker for anime. The new 10.9.X seem to work flawlessly outside of that specific issue. If I can make it work on my Android TV at least, that would solve all my problems. FYI, I'm not too tech savvy with things like logs, terminal, and stuff like that, I'm mostly a gamer and still learning about Unraid and media hosting as well, so sorry if I did something wrong or left some key details out.

    ffmpeg Log: 

    https://pastebin.com/ZpfAqrDd

    Transcode settings:
    https://imgur.com/a/flVW2uD

    Update: Forgot to add "-e NVIDIA_DRIVER_CAPABILITIES=all -e NVIDIA_VISIBLE_DEVICES=all --gpus all" to the extra parameters under advanced view of the Jellyfin container.
    Fate
    Offline

    Member

    Posts: 219
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #2
    2024-05-30, 01:28 PM (This post was last modified: 2024-05-30, 01:30 PM by Fate. Edited 1 time in total.)
    From the log it seems jellyfin can't access the CUDA device.

    Can you post the ffmpeg transcode logs as well?

    Lets assume you passthrough the whole GPU, can you run:
    in the Unraid terminal: docker exec -it jellyfin nvidia-smi

    However CPU vs GPU decoding should have no influence over the colors. It should be nearly identical. (if you ignore minor quality differences like blocking)

    Your desktop is probably getting directplay which means transcoding (gpu and cpu) is completely bypassed.

    .SSA/.ass Subtitles like in Anime force the AndroidTV client to force a transcode.
    Alternative is to install MPV and VLC on androidtv device and set the Jellyfin player to "external player" and select either libVLC or MPV.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-05-30, 04:35 PM
    Read this walkthrough a forum member wrote up.

    https://forum.jellyfin.org/t-gpu-transcoding-on-unraid

    Double check your passthrough setup.
    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]
    Rafael Silva
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #4
    2024-05-31, 01:53 PM
    Thank you both for the replies, I'll try both things and see what happens.
    Rafael Silva
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #5
    2024-05-31, 06:31 PM (This post was last modified: 2024-05-31, 06:56 PM by Rafael Silva. Edited 3 times in total.)
    (2024-05-30, 01:28 PM)Fate Wrote: From the log it seems jellyfin can't access the CUDA device.

    Can you post the ffmpeg transcode logs as well?

    Lets assume you passthrough the whole GPU, can you run:
    in the Unraid terminal: docker exec -it jellyfin nvidia-smi

    However CPU vs GPU decoding should have no influence over the colors. It should be nearly identical. (if you ignore minor quality differences like blocking)

    Your desktop is probably getting directplay which means transcoding (gpu and cpu) is completely bypassed.

    .SSA/.ass Subtitles like in Anime force the AndroidTV client to force a transcode.
    Alternative is to install MPV and VLC on androidtv device and set the Jellyfin player to "external player" and select either libVLC or MPV.

    disregard, fixed it
    Rafael Silva
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #6
    2024-05-31, 06:55 PM
    (2024-05-30, 04:35 PM)TheDreadPirate Wrote: Read this walkthrough a forum member wrote up.

    https://forum.jellyfin.org/t-gpu-transcoding-on-unraid

    Double check your passthrough setup.

    Ok, so Fixed it. This is what I used to set it up the first time, but recently I had changed repositories and forgot to add the extra parameters. I did now and that fixed it.
    « 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