• 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 low gpu usage when transcoding

     
    • 0 Vote(s) - 0 Average

    SOLVED: intel low gpu usage when transcoding

    when transcoding i get horrible performance
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-09, 08:45 PM (This post was last modified: 2023-12-11, 12:02 AM by SuperficialNight. Edited 1 time in total.)
    i have a pretty trash intel celeron n4000 it has a Intel® UHD Graphics 600 trying to use VAAPI and QSV but when i transcode i get this performance

    Playback Info

    Player:
    MPV Video Player
    Play method:
    Transcoding
    Protocol:
    https
    Stream type:
    Video
    Transcoding Info

    Video codec:
    H264
    Audio codec:
    AAC
    Audio channels:
    6
    Bitrate:
    1.5 Mbps
    Transcoding progress:
    1.5%
    Transcoding framerate:
    4 fps
    Reason for transcoding:
    The video's bitrate exceeds the limit
    Original Media Info

    Container:
    mkv
    Size:
    237.4 MiB
    Bitrate:
    2.8 Mbps
    Video codec:
    HEVC Main 10
    Video bitrate:
    1.4 Mbps
    Video range type:
    SDR
    Audio codec:
    OPUS
    Audio bitrate:
    712 kbps
    Audio channels:
    6
    Audio sample rate:
    48000 Hz

    pretty bad and here is a image of the gpu usage 

    https://ibb.co/M5yg4MZ


    3% is there anything i can do to make it use more like 100%??

    if u need more info let me know
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-12-09, 09:54 PM
    Which distro?
    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]
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #3
    2023-12-09, 09:59 PM (This post was last modified: 2023-12-09, 10:03 PM by SuperficialNight. Edited 1 time in total.)
    (2023-12-09, 09:54 PM)TheDreadPirate Wrote: Which distro?

    im running artix (openrc)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-12-09, 10:09 PM (This post was last modified: 2023-12-09, 10:09 PM by TheDreadPirate.)
    Did you install all the Intel drivers, including the opencl and media drivers?

    What is the output of

    Code:
    sudo vainfo --display drm --device /dev/dri/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]
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #5
    2023-12-09, 10:18 PM
    (2023-12-09, 10:09 PM)TheDreadPirate Wrote: Did you install all the Intel drivers, including the opencl and media drivers?

    What is the output of

    Code:
    sudo vainfo --display drm --device /dev/dri/renderD128

    here it is

    Code:
    sudo vainfo --display drm --device /dev/dri/renderD128
    Trying display: drm
    vainfo: VA-API version: 1.20 (libva 2.20.0)
    vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.3.5 ()
    vainfo: Supported profile and entrypoints
          VAProfileNone                  : VAEntrypointVideoProc
          VAProfileNone                  : VAEntrypointStats
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointEncSlice
          VAProfileH264Main              : VAEntrypointFEI
          VAProfileH264Main              : VAEntrypointEncSliceLP
          VAProfileH264High              : VAEntrypointVLD
          VAProfileH264High              : VAEntrypointEncSlice
          VAProfileH264High              : VAEntrypointFEI
          VAProfileH264High              : VAEntrypointEncSliceLP
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointEncPicture
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
          VAProfileH264ConstrainedBaseline: VAEntrypointFEI
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
          VAProfileVP8Version0_3          : VAEntrypointVLD
          VAProfileVP8Version0_3          : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointVLD
          VAProfileHEVCMain              : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointFEI
          VAProfileHEVCMain10            : VAEntrypointVLD
          VAProfileHEVCMain10            : VAEntrypointEncSlice
          VAProfileVP9Profile0            : VAEntrypointVLD
          VAProfileVP9Profile2            : VAEntrypointVLD
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-12-09, 10:30 PM
    I'm having trouble finding something I found for my setup. Something about the clock speed never ramping up beyond the lowest power state, which is possibly your problem as well. Search around for that?
    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]
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #7
    2023-12-09, 10:53 PM (This post was last modified: 2023-12-09, 11:01 PM by SuperficialNight. Edited 2 times in total.)
    (2023-12-09, 10:30 PM)TheDreadPirate Wrote: I'm having trouble finding something I found for my setup.  Something about the clock speed never ramping up beyond the lowest power state, which is possibly your problem as well.  Search around for that?

    don't think its that i did a h265 transcode with normal ffmpeg and i get this

    https://ibb.co/QHrXw4c

    so the gpu can go to 100%

    is it possible it is something wrong with jellyfin-ffmpeg?

    do i need to specify to use jellyfin-ffmpeg in the configs?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-12-09, 11:13 PM
    It shouldn't matter.  You don't HAVE to use jellyfin-ffmpeg.  In Dashboard > Playback you can specify a different ffmpeg.

       
    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]
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #9
    2023-12-09, 11:46 PM (This post was last modified: 2023-12-09, 11:47 PM by SuperficialNight. Edited 1 time in total.)
    (2023-12-09, 11:13 PM)TheDreadPirate Wrote: It shouldn't matter.  You don't HAVE to use jellyfin-ffmpeg.  In Dashboard > Playback you can specify a different ffmpeg.

    that did it choosing jellyfin-ffmpeg i now get 148 - 256 fps 

    thank you very much off topic how is using ramdisk for transcoding?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2023-12-09, 11:56 PM (This post was last modified: 2023-12-09, 11:58 PM by TheDreadPirate. Edited 1 time in total.)
    The only reason I use a ram disk is that I have an old ass SSD with good read speeds but not good write speeds. And my Arc A380 can transcode faster than it can write.

    It is definitely not recommended since people tend to underestimate how much space they need. I did a lot of testing and experimentation to determine that 24GB was enough for my transcode ram disk. As soon as I get a new SSD I am getting rid of the ram disk and will just write to the SSD.

    Could you share your ffmpeg log? When you were using jellyfin-ffmpeg. I'm curious if there is anything in the log that would point us in the right direction. I might have you open a bug report for jellyfin-ffmpeg.
    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]
    « 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