Transcoder using Hardware Acceleration Problems, Ubuntu System Freezes

Server Version#: plexmediaserver_1.19.3.2852-219a9974e_amd64.deb
I’ve struggled with Ubuntu System freezes for months. Thought it was hardware problems. Replaced motherboard, graphics card, keyboard, mouse, hard drives, drive cables, software bare metal reloads, software version upgrades, was ready to replace the CPU. Found no clues in PMS logs or Ubuntu logs. Was driving me nuts.

Isolated the problem to PMS transcoder settings which caused video/mouse/keyboard freezes requiring hard reboot.

When transcoder hardware acceleration is DISABLED, my system is completely stable.

I tried AMD RX-460 and NVIDIA RTX-2070 video cards, with a variety of drivers, which work perfectly for hardware acceleration employed by other software, but both current generation video cards produced system freezes using PMS transcoder hardware acceleration.

This was true in both Ubuntu 18.04 LTS and Ubunto 20.04 LTS builds.

RX-460 isn’t used by Plex under Linux, the RTX-2070 needs a 418 or higher driver and most people have difficulty properly installing the driver.

You didn’t say what the CPU is, pairing RTX-2070 with a weak cpu still leaves you with a weak CPU.

The CPU in this instance is a Ryzen 7 1700 with 8 Cores + 8 virtual cores. I kept a running log of CPU activity at time of freeze, and none of the cores were ever near 100%, so it didn’t look like a CPU loading problem, although CPU hardware faults are difficult to trace from logs. The CPU seems to perform really well under heavy AI loads, with no freezing using other softwares, so I think it’s ok.

Same with RAM. System load never went about 10%, and RAM checks were GOOD on every test.

Thanks for the note on the RX-460. Do you mean that PMS doesn’t use it for hardware acceleration by choice? It seems to be a capable, but not muscular hardware accelerator. It works perfectly doing Python Neural Network calculations, so I thought it would be a good candidate for PMS hardware acceleration. Guess not.

The RTX-2070 is indeed a chore to install drivers on, although I tried several different recent drivers to try to stop the random machine freezes. Again, the hardware acceleration worked for other demanding AI Neural Network softwares, so I was running PMS with transcoder hardware acceleration ENABLED, and the machine was freezing randomly.

Right now, my machine has the RX-460 installed, with transcoder hardware acceleration DISABLED, and for the first time in a long while, the system is stable using two Silicon Dust units (4 tuners total) that frequently have three tuners active simultaneously.

I haven’t tried reinstalling the RTX-2070 under Ubuntu 20.04 LTS running PMS with transcoder hardware acceleration ENABLED, because I don’t have confidence in the hardware acceleration feature as of yet. For now, system stability is good with the RX-460 doing CPU transcoding, so I’m staying with it.

Have been a PLEX user since inception, and it’s frankly my go-to media platform. It’s been running 24/7 in my house for years now.

I would stick with how you have the system now. Plex hasn’t rebuilt their transcoder to work with AMD GPU’s under Linux yet. It also doesn’t like sharing the GPU with other programs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.