Server Version#: 1.27.1.5916
Player Version#: 9.4.1.33413 (Plex app on Samsung S21)
Hey there,
I have plex pass and a Nvidia 1050ti in my server, running on Ubuntu. Hardware transcoding worked perfectly for a very long time. However, it now suddenly doesn’t anymore. Transcoding in general doesn’t work anymore! No hardware, but also software doesn’t work anymore. See the settings here (easier than typing and translating everything over):
I looked into the logs of plex and every time I start a stream that requires transcoding, the stream buffers and then exists. In the logs the following is found:
[Transcode] [FFMPEG] - No VA display found for device 300.
[Transcode] [FFMPEG] - No VA display found for device 300.
[Transcode] [FFMPEG] - No VA display found for device 300.
[Transcode] [FFMPEG] - No VA display found for device 300.
[Transcode] Got a request to stop a transcode session without a valid session GUID.
On my phone, I get the message (translated): Something went wrong. Check your connection and try again.
A display is plugged into the video card. When I play the media (the new doctor strange movie) in a setup that doesn’t need transcoding (4k HEVC, AAC stereo, SRT subs), it plays perfectly fine. When I start streaming with a setup that requires transcoding (4k HEVC, AAC 5.1, ASS subs), it fails. Normally I have an idea and know my way around plex but this time I really don’t know what happened that it suddenly doesn’t work anymore. This problem is not only on my phone, but on every client so it’s not a problem with my phone.
P.S. I was working on plex_exporter_importer.py to add a new feature where the user can export and import server settings. During my testing, I might’ve accidentally set some (hidden) setting that broke transcoding?
Now that I’m making a nice list of it, what’s up with the value of TranscoderH264Preset ?? Maybe that’s what making it wrong: there is no “setting” defined for ffmpeg to use when transcoding so it fails? What’s the default value for you and I’ll copy it over…
Have you thought about comparing with a default Preferences.xml?
You could delete yours, so Plex will make a fresh one.
Or stand up another Plex instance in a container, and compare with that.
Maybe?
I agree that setting looks wrong and breaky. I’m wondering if your script has an off-by-one or a failure-to-initialize and has scrambled some settings.
Plex will tell you the defaults and valid options for many settings if you ask it:
In the pref file I see the setting VaapiKernelDriver="veryfast" (relating to hw transcoding I think). The value looks a lot like the ffmpeg preset. Does this hidden setting define the preset used for hw transcoding? Because if so, I would like to set it to something like “medium”. I have at max one transcode session at the same time so no need to “spare” my 1050ti with the veryfast preset. Rather have better video quality then…
But I also have the problem that, for example, MachineIdentifier is set to 0. So maybe it’s a better plan to rename the broken pref file, restart plex and thus let it generate a new one and then only copy over the settings that actually are needed (or just do it via the web-ui).