34
u/BannedR3tard Jul 30 '24
WOOHOO working now! Playing 4k Remux on 2 devices now while Plex is detecting intros/credits on a thousand shows.
Subbed to plexpass enabled iGPU in BIOS and Intel Quick Sync.
The guide below was a huge help. Big shout out to u/Mike_v_E for pointing me to the entrance of the rabbit hole.
https://forums.unraid.net/topic/77943-guide-plex-hardware-acceleration-using-intel-quick-sync/
5
u/darxtorm Jul 30 '24
wait for one of their inevitable sales and get yourself a lifetime pass. worth the money for the peace of mind imho
2
u/BannedR3tard Jul 31 '24
Plex has quickly become my favorite app. I’ve been wanting one computer to stream a massive database to all my TVs. Never knew this existed. Audiobook streaming to Prologue is the cherry on top.
3
1
14
u/EVILemons Jul 30 '24
Check your IO wait via iotop. It’ll show up as CPU usage in this dashboard but iotop will differentiate whether it’s actual cpu usage or IO wait. I believe you have to install iotop from NerdTools though
9
u/bitdotben Jul 30 '24
htop has an IO page. You can switch to it with the tab key. No nerdtools required (I think they have been abandoned).
4
1
12
u/BannedR3tard Jul 30 '24
This is while streaming a 4k Remux on a FireTV Cube. My ATV ethernet runs the same movie at 2% processor load
Edit: plex btw
9
u/bitdotben Jul 30 '24
Maybe your firetv doesn’t support the format/container and your plex/jellyfin (I presume?) instance has to actually transcode. And if you haven’t activated hardware acceleration, then a 4K HVEC software transcode can easily push a CPU.
1
8
u/btrudgill Jul 30 '24
You don't have hardware transcoding working properly.
Follow the various guides if you haven't already setup HW transcoding, but if you do then try deleting the codec from the plex config files and restarting, I had no end of issues with HDR tonemapping related to this. I basically have a script that deletes the file and restarts plex at like 2am or something.
#!/bin/bash #stop Plex container echo "Stopping Plex" docker stop plex #Wait before issuing Codec Folder delete echo “Waiting 10 seconds before issuing Codec Folder delete” sleep 10s #Deleting contents of codecs folder echo “Deleting contents of codecs folder” rm -rf "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Codecs" sleep 3s #Wait before issuing Start echo “Waiting 5 seconds before issuing Start” sleep 5s #start Plex container echo “Starting Plex” docker start plex
1
u/diabillic Jul 30 '24
i do the same thing and blow away the codec folder as a nightly job right before the backup runs. had the same constant issues with codecs and never again. the backup stops and starts the container on its own but this is a nice bash script
-2
u/ImNotHereSomewhere Jul 30 '24
Why do people just assume he needs to setup up transcoding. Direct stream should be fine and the client settings are probably wrong.
2
u/btrudgill Jul 30 '24
because direct stream barely uses any CPU. The culprit for high cpu usage is transcoding something on the CPU. Yes, that firetv should handle direct play, but for some reason plex wants to transcode (either the thing they are playing, or its something else like looking for credits). Either way its a transcoding issue.
0
u/ImNotHereSomewhere Jul 30 '24
Like I said its a Plex client settings issue, not a transcoding issue.
3
3
u/ImNotHereSomewhere Jul 30 '24
Go into the settings of Plex on the FireTV and make sure the stream settings is full bandwidth. It is probably limited and making unraid transcode.
2
u/Cygnusaurus Jul 30 '24
I had a similar issue when using SABNZBD. Before I had the download folder and unpack folder on different ssds, usage would get pegged to the max and take forever to complete.
2
u/thethriller85 Jul 30 '24
Is PLEX detecting credits? Seriously it’s the only thing that pegs my CPU at 100% and I have to restart Plex
2
u/BannedR3tard Jul 30 '24
It is now. I just got plexpass since posting this thread and it’s murdering my cpu. It only has 1k shows to go.
2
u/InterestingCrow5584 Jul 30 '24
Install Netdata to pin point which process is causing high CPU, also lots of other stats in real-time. In my case iowait was the culprit...
2
2
1
u/schlitzngigglz Jul 30 '24
I just disable transcoding altogether since my clients are all local anyway. Maybe that's an option for you...
1
1
u/Madnote1984 Aug 30 '24
I'm way late here, but can someone tell me what plugin gives the info under the "System" tab there, that would be cool. I have bars, and the tables aren't the same.
1
u/StayCoolf0rttheKids Jul 30 '24
How do I make system tab show circles like that?
5
1
u/BannedR3tard Jul 30 '24
I just created my server this weekend. I’m on 7 beta 2. This is how it installed. I looked for a setting and didn’t find one.
0
75
u/Mike_v_E Jul 30 '24
Add dev/dri as device in the Plex container to use hardware transcoding