PMS keeps crashing every 18-20 minutes

Server Version#: 1.41.3.9314
Player Version#: iOS 8.44

My connection to PMS keeps dropping every 18 minutes or so when playing back a 1080p with TrueHD 7.1 audio that is transcoded to Flac. This happens on both iOS and Apple TV, and when it does it takes a minute or so before I can log in to PMS via web.

I can’t manage to tell what is going on when looking through the log files.

I see you have an AlderLake CPU

PMS sees the GPU (Alder Lake-N [UHD Graphics]

When it goes to playback, the hardware can’t be found.

Dec 17, 2024 22:09:30.397 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Dec 17, 2024 22:09:30.397 [126344046324536] INFO - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD] CodecManager: starting EAE at "/tmp/pms-0ff5d9ab-a480-4c2b-a928-20f686aabaa4/EasyAudioEncoder"
Dec 17, 2024 22:09:30.398 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD/JobRunner] Job running: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/EasyAudioEncoder-8f4ca5ead7783c54a4930420-linux-x86_64/EasyAudioEncoder/EasyAudioEncoder"
Dec 17, 2024 22:09:30.398 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD/JobRunner] In directory: "/tmp/pms-0ff5d9ab-a480-4c2b-a928-20f686aabaa4/EasyAudioEncoder"
Dec 17, 2024 22:09:30.401 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD/JobRunner] Jobs: Starting child process with pid 5972
Dec 17, 2024 22:09:30.401 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD] [Universal] Using local file path instead of URL: /mnt/media/movies/The Grinch (2018) {tmdb-360920}/The Grinch (2018) {tmdb-360920} [Bluray-1080p][TrueHD Atmos 7.1][x264]-iFT.mkv
Dec 17, 2024 22:09:30.401 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD] TPU: hardware transcoding: final decoder: , final encoder: 
Dec 17, 2024 22:09:30.401 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD/JobRunner] Job running: EAE_ROOT=/tmp/pms-0ff5d9ab-a480-4c2b-a928-20f686aabaa4/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/e613bce-3d5ad59c62e771ae9cb5738e-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -codec:1 truehd_eae -eae_prefix:1 354755C0-F57C-4E20-AAE6-5BB3C49097FD_ -noaccurate_seek -analyzeduration 20000000 -probesize 20000000 -i "/mnt/media/movies/The Grinch (2018) {tmdb-360920}/The Grinch (2018) {tmdb-360920} [Bluray-1080p][TrueHD Atmos 7.1][x264]-iFT.mkv" -map 0:0 -codec:0 copy -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[0]" -map "[0]" -metadata:s:1 language=eng -codec:1 flac -b:1 2250k -segment_format matroska -f ssegment -individual_header_trailer 0 -flags +global_header -segment_header_filename header -segment_time 10 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/354755C0-F57C-4E20-AAE6-5BB3C49097FD/735b8ff2-759f-4db8-96d4-0211d77e063a/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -segment_format_options output_ts_offset=10 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata:g -1 -map_metadata:c -1 -map_chapters -1 "media-%05d.ts" -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/354755C0-F57C-4E20-AAE6-5BB3C49097FD/735b8ff2-759f-4db8-96d4-0211d77e063a/progress
Dec 17, 2024 22:09:30.401 [126344046324536] DEBUG - [Req#16f/Transcode/354755C0-F57C-4E20-AAE6-5BB3C49097FD/JobRunner] In directory: "/dev/shm/Transcode/Sessions/plex-transcode-354755C0-F57C-4E20-AAE6-5BB3C49097FD-735b8ff2-759f-4db8-96d4-0211d77e063a"

I see where you did a SEEK on the iPhone and it terminated playback.

Can you get playback on other devices ?

Yes, I can playback on iPhone, Apple TV, and web, but PMS crashes if playing back on iPhone and on Apple TV after about 18-20 minutes.

The GPU wouldn’t be leveraged for audio transcoding, right? The video is not being transcoded.

If you’re doing audio – correct, the GPU won’t be used.

My bigger concern is that the GPU can’t be found properly.
It saw it at startup but the scan afterwards didn’t find it.

would you consider stopping Plex,
in the terminal, go into the Plex Media Server/Codecs directory,
and remove everything except the .device_id file ?
Next, go into the “Drivers” directory and remove everything there.

After doing so, restart PMS. It will download both fresh drivers and codecs.