Any client is unable to play media if a transcode is needed. Will load with a spinning circle indefinitely. Plays direct play just fine. I notice these two errors in the console when i force the transcode.

Server is running in an ubuntu lxc on proxmox. Attaching Server Media Logs that show the media direct playing then gets stuck loading when i try to transcode it to 1080p. I have verified that transcoder settings are set as they should. Just changed transcode temp directory last night to /dev/shm/ in attempts to help with this since I saw in some threads that it could be due to default transcode temp directory filling up and not clearing in time. Any assistance would greatly be appreciated.
Plex Media Server.log (3.8 MB)
The log you submitted does not contain that time period.
May 01, 2025 18:10:16.088 [123219745422136] DEBUG - WebSocket: client initiated close
May 01, 2025 18:10:16.088 [123219745422136] DEBUG - NotificationStream: Removing because of close
May 01, 2025 18:10:16.113 [123219745422136] DEBUG - Request came in with unrecognized domain / IP 'plex.bautistacinemas.home' in header Referer; treating as non-local
May 01, 2025 18:10:16.113 [123219516730168] DEBUG - Request: [192.168.1.30:52337 (Allowed Network (Subnet))] GET /diagnostics/logs (21 live) #1ae95 TLS GZIP Signed-in Token (BautistaFamily)
May 01, 2025 18:10:16.113 [123219516730168] DEBUG - [Req#1ae95] Diagnostics: Building logfile zip
Just replicated issue. Hereâs new logs. Started direct play at 1919. Forced transcode at 1920.
Plex Media Server.log (240.0 KB)
Do an analysis on the media you are trying to play. Iâve gotten an error similar/identical to yours. It seems that either the video âlostâ the analysis info, or never did it in the first place.
My thoughts: Plex can direct play the file, since it just sends the video in a stream to the client. But a transcode requires info in the file to send to the in-time transcoder, and if that is missing I think the transcoder engine fails.
Analyzed that movie. Played after complete. Now showing these errors. Still just stuck on loading.
Ignore the âunknown media type: folderâ , itâs scanner noise.
Been trying to get it suppressed for a long time.
Did you pass all of /dev/dri into the container and do you have UID/GID matching ? ( PMS runs non-privileged )
In the container, you should see that plex is a member of the group which owns the passed in /dev/dri/renderD128 node
I installed it with tteck script about a year ago. Donât remember messing too much with user permissions. I ran ls-l /dev/dri/renderD128 and got this as a result if it helps. Sorry for the ignorance. Still new to linux and trying to learn as I go.

I also noticed that the plex lxc in proxmox shows Unprivileged: no if that helps.
Knowing you used the tteck script to create it tells me everything.
I used it here and it does work.
The problem I see is something is interfering with passing through the GPU
May 01, 2025 19:19:30.883 [133594032450360] DEBUG - [Req#1c45/Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
May 01, 2025 19:19:30.883 [133594032450360] DEBUG - [Req#1c45/Transcode] [Universal] Using local file path instead of URL: /mnt/nas/Movies/Mufasa The Lion King (2024)/Mufasa - The Lion King (2024) WEBDL-2160p.mkv
May 01, 2025 19:19:30.883 [133594032450360] DEBUG - [Req#1c45/Transcode] TPU: hardware transcoding: final decoder: , final encoder:
You should see the GPU here.
I look further back in the logs and see this:
May 01, 2025 18:49:36.916 [133593855630136] INFO - [Req#151/Transcode] CodecManager: starting EAE at "/tmp/pms-ce73d313-a411-4766-aa2c-03ba2c210350/EasyAudioEncoder"
May 01, 2025 18:49:43.145 [133593851411256] WARN - [Req#248/Transcode] [FFMPEG] - No quality level set; using default (20).
May 01, 2025 18:49:43.347 [133594065820472] INFO - [Req#294/Transcode] Preparing driver icr for GPU Intel CometLake-S GT2 [UHD Graphics 630]
May 01, 2025 18:49:43.354 [133594065820472] INFO - [Req#294/Transcode] Preparing driver imd for GPU Intel CometLake-S GT2 [UHD Graphics 630]
May 01, 2025 18:49:43.493 [133594060147512] ERROR - [Req#2b1/Transcode/kumtym2khptj1ur07qvykp8v/4d08d0ae-a850-47f0-bd07-a628fab78e5e] [AVHWDeviceContext @ 0x76d201d1fb00] No matching devices found.
May 01, 2025 18:50:03.384 [133594065820472] ERROR - [Req#294/Transcode] Unable to create output stream for transcode session, no segments found
If you get into the container, and see /dev/dri is populated correctly, my next thought is something has happened to the codecs.
In /var/lib/plexmediaserver/Library/Application Support/Plex Media Serve/Codecs,
Youâll see at least one subdirectory.
Delete it.
Keep the .device_id file. This is your serverâs license file.
Now restart PMS. It will repopulate when you next transcode (please confirm)
These are the contents of that directory. I do not see a .device_id file. Should I delete all of these?

These are the contents of the 3 folders that arenât the .zip
ls -la would show it.
Go ahead and delete the directory.
PMS will recreate and redownload as it needs to
hereâs what my machine & lxc look like.
Removed all contents from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/1c96867-c7c51eae1050ee8a09ae8dc1-linux-x86_64

Restarted PMS. Same error/issue
Please let me know if i delete the correct contents.
In Linux, to remove a directory and itâs contents:
rm -rf directory_name_or_wildcard
Got it. Thanks. Ran rm -rf /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/
Took a snapshot of the ct before in case I did it for the wrong directory. Restarted pms and forced transcode again. Same error.
I canât read that red line. itâs too small. Same text?
FYI, future ref:
typing
``` (left of the â1â key â far left on keyboard)
Paste text here
```
Looks like this:
Paste text here
Yeah. Same text. And thanks for the tip.
[Req#98c/Transcode/uic1gqg03y9yi6ckzh137gkt/213f86b8-c324-4ff8-b68e-ac049b60be0d] [AVHWDeviceContext @ 0x70062364eac0] No matching devices found.
thank you, MUCH more readable 
I donât know proxmox. I only have it to help with minimal things.
(itâs on a 4x4 mini pc)
Proxmox updates recently ?
I did update just last night in hopes that it would solve this. Now on 8.4.1.
whatâs the kernel version?
These problems have always been linked to bad kernel builds.
When did it last work?
Kernel Version
Linux 6.8.12-10-pve (2025-04-18T07:39Z)
Ngl, it may have been a few weeks. Only got brought to my attention by the wife when she couldnât load a show on our Apple TV this week. After trying on some other devices and starting it without subtitles, realized it was the transcoding that wasnât happening. Then test across all media and noticed it just wasnât transcoding video at all. Our ATV 4K normally direct plays most of what i have, so I canât really tell when it actually started. Just know it was brought to my attention this week.
This got me looking through my Proxmox server and i noticed this being spammed in the system log.