• 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 Hardware acceleration

     
    • 0 Vote(s) - 0 Average

    Hardware acceleration

    Hardware acceleration seems to not be working through Jellyfin docker image in CasaOS
    technically_artist
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Canada
    #1
    2023-08-25, 02:13 PM
    Hi,

    I have recently gotten started on docker, jellyfin and self-hosting, so apologies in advance if I miss some things.

    As I mentioned in the description, I am running Jellyfin through CasaOS.
    However, even after I have enabled hardware acceleration through the Jellyfin admin dashboard (Intel Quicksync QSV) I noticed that CPU usage is still through the roof at nearly 90%.
    My assumption was that with hardware acceleration transcoding would be delegated to the integrated GPU (a Kabylake 630) and not tax the CPU itself too harshly.

    I feel like I missed something during setup. I did add the "/dev/dri" bit to the container, but that doesn't seem to make a difference.

    Are there any obvious (or less obvious) things I might've missed?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-08-25, 03:18 PM
    Can you share your jellyfin and ffmpeg logs? We need to verify that ffmpeg successfully used the hardware. I'm leaning towards "probably". Since you enabled QSV and it didn't fail to play, it is probably transcoding with QSV. High CPU usage isn't unusual. Keep in mind that even with hardware accelerated transcoding, your CPU still has to feed and orchestrate the GPU's activities.

    Again, the jellyfin and ffmpeg logs will guide us.
    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]
    technically_artist
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Canada
    #3
    2023-08-25, 03:34 PM
    (2023-08-25, 03:18 PM)TheDreadPirate Wrote: Can you share your jellyfin and ffmpeg logs?  We need to verify that ffmpeg successfully used the hardware.  I'm leaning towards "probably".  Since you enabled QSV and it didn't fail to play, it is probably transcoding with QSV.  High CPU usage isn't unusual.  Keep in mind that even with hardware accelerated transcoding, your CPU still has to feed and orchestrate the GPU's activities.

    Again, the jellyfin and ffmpeg logs will guide us.

    These are the ffmpeg and jellyfin logs, at a quick glance I couldn't find anything about hardware encoding yet.


    Attached Files
    .txt   ffmpeg_log.txt (Size: 53.28 KB / Downloads: 91)
    .txt   jellyfin_log.txt (Size: 46.62 KB / Downloads: 52)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-08-25, 04:04 PM
    From your ffmpeg log.

    Quote: Stream #0:2 -> #0:0 (hevc (native) -> h264 (h264_qsv))

    Definitely hardware transcoding. Again, high CPU usage is not unusual even with hardware accelerated transcoding. Especially on older CPUs.
    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]
    bitmap
    Offline

    Community Moderator

    Posts: 766
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #5
    2023-08-25, 04:31 PM
    You can also double check using intel_gpu_top, which is part of the intel-gpu-tools package. Start playback of a video that requires transcoding and on your server, run intel_gpu_top (may require sudo) to see any activity on your iGPU. Not useful for much else, but can certainly help in verifying for absolute certain that things are working as expected.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « 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