• 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 Jellyfin Windows GPU

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin Windows GPU

    weyon668
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #1
    2024-09-03, 06:32 PM
    Hello,
    i tried Jellyfin on Windows 11 and Windows 2022 on my Intel N300 machine (newest drivers). GPU acceleration was on, and I can see that the GPU decodes the video. But the CPU is at 100%. When i disable GPU acceleration the GPU does nothing, but the CPU is still at 100%. Anybody had that issue? Thank you.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-03, 06:39 PM
    Can you share your jellyfin logs via pastebin?
    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]
    weyon668
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #3
    2024-09-03, 07:32 PM (This post was last modified: 2024-09-03, 07:36 PM by weyon668.)
    Here the log from linux:

    https://pastebin.com/7XjC6QTA

    Tried different setting, no use. Plex needs only a few % of the j4125 cpu in my nas. Does Jellyfin not support direct play?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-03, 07:39 PM (This post was last modified: 2024-09-03, 07:43 PM by TheDreadPirate. Edited 1 time in total.)
    For all your videos, it is transcoding the audio. That will always happen on the CPU and it is normal for a single core to be 100% for audio transcoding when you are transcoding the video on the GPU.

    Code:
    "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts  -i file:\"/tmp/videos/300 (2006)/300 (2006).m2ts\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename \"894710fea0ab10d6c72b1c077ea02bc0-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/894710fea0ab10d6c72b1c077ea02bc0%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/894710fea0ab10d6c72b1c077ea02bc0.m3u8\""

    Video not transcoded (-codec:v:0 copy), audio transcoded to AAC.

    Code:
    "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -noautorotate -i file:\"/tmp/videos/7 Zwerge - Der Wald ist nicht genug (2006)/7 Zwerge - Der Wald ist nicht genug (2006).avi\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -low_power 1 -preset veryfast -look_ahead 0 -b:v 3219985 -maxrate 3219985 -bufsize 6439970 -g:v:0 75 -keyint_min:v:0 75 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(704\,288*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(704/a\,288))/2)*2,format=yuv420p\" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"206fcd1092866f1a76d1f9ed9eb0fb37-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/206fcd1092866f1a76d1f9ed9eb0fb37%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/206fcd1092866f1a76d1f9ed9eb0fb37.m3u8\""

    Video GPU transcoded with Intel Quick Sync (-codec:v:0 h264_qsv), audio transcoded to AAC.

    Code:
    [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -f avi -noautorotate -i file:\"/tmp/videos/7 Zwerge - Der Wald ist nicht genug (2006)/7 Zwerge - Der Wald ist nicht genug (2006).avi\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 3219985 -bufsize 6439970 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -sc_threshold:v:0 0 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(704\,288*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(704/a\,288))/2)*2,format=yuv420p\" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"ce7a997341edb53c3b5796ac9b968b44-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/ce7a997341edb53c3b5796ac9b968b44%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/ce7a997341edb53c3b5796ac9b968b44.m3u8\""

    Video transcoded on the CPU (-codec:v:0 libx264), audio transcoded to AAC.

    Code:
    [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -f matroska -noautorotate -canvas_size 1920x1080 -i file:\"/tmp/videos/3 Days to Kill (2014)/3 Days to Kill (2014) 1080p AC3.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 9019607 -bufsize 18039214 -profile:v:0 high -level 41 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -sc_threshold:v:0 0 -filter_complex \"[0:4]scale=-1:1080:fast_bilinear,scale,crop,pad=max(1920\,iw):max(1080\,ih):(ow-iw)/2:(oh-ih)/2:black@0,crop=1920:1080[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p[main];[main][sub]overlay=eof_action=pass:repeatlast=0\" -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"14601c7005866963b035d958fc809e07-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/14601c7005866963b035d958fc809e07%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/14601c7005866963b035d958fc809e07.m3u8\""

    Video transcoded on the CPU (-codec:v:0 libx264), audio transcoded to AAC.

    Code:
    [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -f mpegts  -i file:\"/tmp/videos/300 (2006)/300 (2006).m2ts\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename \"c6625832116075d0983bde06e23cf6a8-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/c6625832116075d0983bde06e23cf6a8%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/c6625832116075d0983bde06e23cf6a8.m3u8\""

    Video not transcoded (-codec:v:0 copy), audio transcoded to AAC.
    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]
    weyon668
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #5
    2024-09-03, 07:40 PM (This post was last modified: 2024-09-03, 07:41 PM by weyon668. Edited 1 time in total.)
    Oh, i forget. Now i testet with debian 12. Same issue, but not as bad as windows.

    TheDreadPirate dateline='[url=tel:1725392388' Wrote: 1725392388[/url]']
    For all your videos, it is transcoding the audio.  That will always happen on the CPU and it is normal for a single core to be 100% for audio transcoding when you are transcoding the video on the GPU.

    Can i disable Audio transcoding?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-03, 07:46 PM
    I updated my prior post with more info.

    (2024-09-03, 07:40 PM)weyon668 Wrote: Can i disable Audio transcoding?

    Transcoding doesn't happen for the lulz (most of the time).  It happens when the client requests it due to some compatibility issue.  If you turned off transcoding you'd either get a failure to play or the video/audio wouldn't be present.
    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]
    weyon668
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #7
    2024-09-03, 07:58 PM
    Ah ok. But jellyfin always transcodes audio (testet with about 15 videos). Tried it with firefox, chrome and apple/android apps. Plex does not do this. So this is normal for Jellyfin?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-09-03, 08:01 PM
    Depends on the client and source audio. It looks like you are using a web browser, so that will require a lot of Dolby and DTS audio to be transcoded.

    The Jellyfin Media Player desktop client can direct play pretty much everything.
    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]
    weyon668
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #9
    2024-09-03, 08:03 PM
    I also tried with Apple/Android apps, same high cpu usage. Those are much more used then a web browser (once a week about).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-09-03, 08:06 PM (This post was last modified: 2024-09-03, 08:07 PM by TheDreadPirate. Edited 1 time in total.)
    When you say "100%", do you mean a single core is pegged or do you mean all 8 cores are pegged? The former will happen when transcoding audio, the latter will happen when CPU transcoding video. But all 8 cores being pegged when GPU transcoding shouldn't be a thing.

    Can you share screenshots of how you configured hardware acceleration in Jellyfin? Dashboard > Playback.

    Also, please don't move the goal post around by switching from Windows to Debian in the middle of troubleshooting.
    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