Jump to content

Best way to fix my absolutely horrible Plex Server setup

This post is mostly so people can laugh at me. I'm prepared for it. I know all of this was a bad idea when I set it up.

 

I was trying to watch a movie last night - .mkv, 16mbps bit rate, 4K - and I noticed when running it through Plex, it was having a bit of a struggle - pausing every minute or so, buffering, things like that. When I run the same movie through VLC, it works no worries.

 

Now, I am not ignorant of my dogshit media setup. Part of the reason I did it this was was a) I just wanted to see if I could, and b) it was just meant to be a stopgap measure until I bought more hardware. Needless to say, step b never panned out.

 

I have a media computer hooked up to my dumb TV - a Pentium CPU of some kind, a GT 1030, and 4 (four) GB of DDR4 RAM. I know, I'm planning to buy an 8GB stick, I'm just lazy as hell. Running Plex through Chrome obviously caused some grief, because Chrome immediately ate up 700MB of RAM without me even having a tab open.

 

Furthermore, my horrific Plex Server setup is as follows: 8 cores-worth of an Intel Xeon E5-2670v3 and up to 8GB of RAM (dynamic memory allocation). It's running on a Windows Server VM, running in Hyper-V on a different Windows Server box. Here's the kicker - my media files are on a DIFFERENT server, on an 8TB drive. So - and here's the bit that will make you throw up in your mouth - I mapped the drives from my data server onto my Plex server machine, and then made those mapped drives the library locations in the Plex server settings.

 

My questions are as follows:

  1. How much processing does the Plex server do on its end, in terms of transcoding and things like that? The bare-metal server that the Plex VM is running on has a GTX 645 (that is not a typo, I have no idea where I got that OEM card from), but it's not passed through, since I have no idea how to do it on Hyper-V.
  2. Is any of it offloaded to the GT 1030 on the media servers end? Is there a benefit to transcode vs non-transcode? The settings in Plex seem pretty obfuscated when it comes to what's best for the computers at each end.
  3. What are the odds that all my issues steam from media files having to go from file server > Plex VM > media PC instead of just file server > media PC?
  4. If I move the 8TB drive to the main server hosting the VMs, can I pass-through the storage without mapping drives? Does that make them disappear from the host machine?

Yes, I could just run the Plex server ON the bare-metal server, but I was going through a bit of a VM experimentation phase at the time, you know, segmenting bits and pieces to keep the main, bare-metal server clean. Don't lie, we've all been there.

Desktop : Intel Core i7-7700K 5Ghz - MSI GTX 1080 Gaming X - MSI Z270 Gaming Carbon - Corsair VENGEANCE Cyan 16GB @ 3000Mhz - 2 x Crucial 2TB 2.5" SATA SSD in RAID0 - FSP Raider 650W - Corsair H100i v2 240mm AIO - Thermaltake Chaser A51 - Kogan 35" Ultrawide 2560 x 1080 144Hz - Ducky One2 w/ MX Browns - Logitech G502

 

Media : Intel Pentium G4560 - Gigabyte B250N-Phoenix-WiFi - Crucial 4GB @ 2400MHz - Asus GeForce GT1030 - 120GB SATA SSD - Corsair SF450 - Fractal Design Node 202

 

ITX Server Intel Pentium Gold 5400 - Gigabyte H370 WiFi - Crucial 8GB @ 2400MHz - Crucial 240GB SATA SSD + Seagate IronWolf 8TB -  Cooler Master S Series 400W - Cooler Master RC-110 mITX

 

X99 Server : Intel Xeon E5-2670 v3 (12c/24t 3.1GHz boost) - Huananzhi X99-QD4 - Crucial 32GB @ 2400MHz - nVidia GTX 645 - SiliconPower P34A80 1TB NVMe SSD - SilverStone Fara R1 V2

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Overloke said:

How much processing does the Plex server do on its end, in terms of transcoding and things like that?

If it’s transcoding…. A lot. Transcoding 4k is not what you want to be doing. If it’s not transcoding, it uses effectively no CPU or GPU power. Sounds like you are transcoding, which means your playback device doesn’t support the media your playing (likely a codec issue… tv, or receiver, or chrome Plex client, or multiple) don’t support the file and are forcing a transcode.

 

3 minutes ago, Overloke said:

What are the odds that all my issues steam from media files having to go from file server > Plex VM > media PC instead of just file server > media PC?

None at all. You’re talking about an 18mbps file…. Networking is 1000mbps assuming a gigabit LAN which has been the standard for over 20 years as this point. This is not your issue. I run my homelab like this. Plex runs in a Ubuntu server VM with my movies in a TrueNAS VM, I have my movies directory network mounted in the Ubuntu VM, this is normal and how real enterprises actually function. 
 

Your setup is “fine”. I lost you a bit with where everything is running, but nothing there is the issue. I guarantee the issue is you are not actually direct streaming the 4k media, and that is forcing a transcode, and the 1) hurts quality but 2) that PC likely can’t handle it. 
 

If VLC works, my assumption is the Plex chrome client can’t. Get yourself an nvidia shield tv pro (get the pro, not the cheaper cylindrical stick version, the pro has greater codec support), and use that as your plex playback client plugged into your TV. 

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

The issue here is streaming a movie through Chrome. I'm pretty sure that Plex will 100% transcode for Chrome... no matter the content, native resolution, or whatever. Also, the free version does not use hardware transcoding whatsoever.

 

You could probably remedy this issue by downloading a proper app for Plex on your OS instead of streaming through a browser.

Link to comment
Share on other sites

Link to post
Share on other sites

  

4 minutes ago, LIGISTX said:

If it’s transcoding…. A lot. Transcoding 4k is not what you want to be doing. If it’s not transcoding, it uses effectively no CPU or GPU power. Sounds like you are transcoding, which means your playback device doesn’t support the media your playing (likely a codec issue… tv, or receiver, or chrome Plex client, or multiple) don’t support the file and are forcing a transcode.

It does seem that way. I disabled transcoding in the Plex server settings, and got an error that said "Not enough cpu for conversion of this item", which is a sort of generic error when almost anything goes wrong during the playback when transcoding is disabled. My VM CPU is pinned at 100% when playing content with transcoding enabled - admittedly, it's only 2.3GHz due to it being a bit of an older Xeon.

 

Funnily enough, giving the VM an extra 4 cores, bumping it up to 12, seemed to mostly alleviate the problem, although it's still running at 100%.

 

I don't want to shell out for a Shield Pro. I think my dad has a Chromecast with Google TV or whatever that he doesn't use. Would that work? Worst case - I just use VLC. It's not a huge problem.

3 minutes ago, johnt said:

The issue here is streaming a movie through Chrome. I'm pretty sure that Plex will 100% transcode for Chrome... no matter the content, native resolution, or whatever. Also, the free version does not use hardware transcoding whatsoever.

 

You could probably remedy this issue by downloading a proper app for Plex on your OS instead of streaming through a browser.

Cheers, I'll give it a look.

Desktop : Intel Core i7-7700K 5Ghz - MSI GTX 1080 Gaming X - MSI Z270 Gaming Carbon - Corsair VENGEANCE Cyan 16GB @ 3000Mhz - 2 x Crucial 2TB 2.5" SATA SSD in RAID0 - FSP Raider 650W - Corsair H100i v2 240mm AIO - Thermaltake Chaser A51 - Kogan 35" Ultrawide 2560 x 1080 144Hz - Ducky One2 w/ MX Browns - Logitech G502

 

Media : Intel Pentium G4560 - Gigabyte B250N-Phoenix-WiFi - Crucial 4GB @ 2400MHz - Asus GeForce GT1030 - 120GB SATA SSD - Corsair SF450 - Fractal Design Node 202

 

ITX Server Intel Pentium Gold 5400 - Gigabyte H370 WiFi - Crucial 8GB @ 2400MHz - Crucial 240GB SATA SSD + Seagate IronWolf 8TB -  Cooler Master S Series 400W - Cooler Master RC-110 mITX

 

X99 Server : Intel Xeon E5-2670 v3 (12c/24t 3.1GHz boost) - Huananzhi X99-QD4 - Crucial 32GB @ 2400MHz - nVidia GTX 645 - SiliconPower P34A80 1TB NVMe SSD - SilverStone Fara R1 V2

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, Overloke said:

I think my dad has a Chromecast with Google TV or whatever that he doesn't use.

If it’s the 4k one, yea. 
 

I play back full 4k 80mbps bluray rips, Dolby Atmos, Dolby vision, etc on 6 threads of my e5 3660v4…. And it uses about 5% CPU usage tops. Your issue is transcoding, and that needs to be addressed with either different source media, or a different client device. 
 

If you have an Xbox series, or ps5, maybe either of those would play it back better then the PC is simply because of codec support. Give it a shot. Can try the chromecast as well. 

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

Well, as an update, after my media PC started shitting the bed and power cycling itself (no idea why, reseating the RAM seemed to do the trick, I hate computers), I downloaded the Plex Windows application, and started the same movie.

 

1% CPU usage on the Plex server, no worries. However, now my media PC's paltry GT 1030 was pinned at 100%, my Pentium CPU was at about 60%, and my RAM was at 90% (although, again, I only have 4GB, need to upgrade).

 

I disabled video transcoding in the Plex application settings, and the media PC GPU and CPU usage both dropped to about 40%. RAM was still high, but I think that's just something I'll need to deal with.

 

However, when I went into fullscreen, the Media PC blue-screened with an nVidia driver error. As of right now, the PC is powered on, but nothing is displaying on my TV.

 

Teaching sand to think was literally the worst decision in humanity's history and I despise technology with a fervor that is unmatched in this current day and age.

Desktop : Intel Core i7-7700K 5Ghz - MSI GTX 1080 Gaming X - MSI Z270 Gaming Carbon - Corsair VENGEANCE Cyan 16GB @ 3000Mhz - 2 x Crucial 2TB 2.5" SATA SSD in RAID0 - FSP Raider 650W - Corsair H100i v2 240mm AIO - Thermaltake Chaser A51 - Kogan 35" Ultrawide 2560 x 1080 144Hz - Ducky One2 w/ MX Browns - Logitech G502

 

Media : Intel Pentium G4560 - Gigabyte B250N-Phoenix-WiFi - Crucial 4GB @ 2400MHz - Asus GeForce GT1030 - 120GB SATA SSD - Corsair SF450 - Fractal Design Node 202

 

ITX Server Intel Pentium Gold 5400 - Gigabyte H370 WiFi - Crucial 8GB @ 2400MHz - Crucial 240GB SATA SSD + Seagate IronWolf 8TB -  Cooler Master S Series 400W - Cooler Master RC-110 mITX

 

X99 Server : Intel Xeon E5-2670 v3 (12c/24t 3.1GHz boost) - Huananzhi X99-QD4 - Crucial 32GB @ 2400MHz - nVidia GTX 645 - SiliconPower P34A80 1TB NVMe SSD - SilverStone Fara R1 V2

Link to comment
Share on other sites

Link to post
Share on other sites

I am now getting nvlddmkm.sys bluescreen errors every single time I manage to boot into Windows on my Media PC, which is only about one out of every four attempts. Every other time, the system just locks up on the Gigabyte logo screen, or while the Windows loading spinner is in moving. It even froze on the Windows Advanced Boot options page, before I could boot into Safe Mode with Networking (to try and download a new driver and DDU).

 

Somehow, putting Plex into fullscreen mode has now irreversibly damaged my nVidia GPU driver, and after dealing with about four other computer-related issues today in the space of the last hour and a half, I've come to the conclusion that I no longer care, and will be going back to bed at the ripe old time of 3.25pm. Today is a write-off.

Desktop : Intel Core i7-7700K 5Ghz - MSI GTX 1080 Gaming X - MSI Z270 Gaming Carbon - Corsair VENGEANCE Cyan 16GB @ 3000Mhz - 2 x Crucial 2TB 2.5" SATA SSD in RAID0 - FSP Raider 650W - Corsair H100i v2 240mm AIO - Thermaltake Chaser A51 - Kogan 35" Ultrawide 2560 x 1080 144Hz - Ducky One2 w/ MX Browns - Logitech G502

 

Media : Intel Pentium G4560 - Gigabyte B250N-Phoenix-WiFi - Crucial 4GB @ 2400MHz - Asus GeForce GT1030 - 120GB SATA SSD - Corsair SF450 - Fractal Design Node 202

 

ITX Server Intel Pentium Gold 5400 - Gigabyte H370 WiFi - Crucial 8GB @ 2400MHz - Crucial 240GB SATA SSD + Seagate IronWolf 8TB -  Cooler Master S Series 400W - Cooler Master RC-110 mITX

 

X99 Server : Intel Xeon E5-2670 v3 (12c/24t 3.1GHz boost) - Huananzhi X99-QD4 - Crucial 32GB @ 2400MHz - nVidia GTX 645 - SiliconPower P34A80 1TB NVMe SSD - SilverStone Fara R1 V2

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×