NVIDIA hardware acceleration inconsistently working with web streaming

Hard drive recovery finished on-schedule so I was able to test driver and kernel changes today. I installed kernel 5.19.0-0.deb11.2-amd64 and the nvidia-tesla-470-driver group of packages. nvidia-smi confirms driver version 470.161.03 with CUDA 11.4. I also set nvdecExtraFrames to 16 for fun.

Attached are the logs from my attempt. Unfortunately it didn’t work. I see the same behaviour as before - the stream initially works, transcoding the source file to “Max Quality” with associated process visible in nvidia-smi, but upon requesting 1080p 8Mbps, a new process briefly appears in nvidia-smi before both disappear and no activity is seen. You can see in the logs at 16:06:42.095 I requested bitrate 8000, and while it goes through the motions of picking the encoder and decoder, no transcoding actually takes place.

kernel_5.19_driver_470.zip (66.5 KB)

EDIT: Looking more closely, you can see the transcoder process start at 16:06:44.306 with PID 571, and it looks like it does actually transcode from 16:06:44.637 to 16:06:44.677, but then process 571 gets killed at 16:06:45.055, and the web client keeps requesting data from that transcode session 4x96cvx0lm97qv8ks6ku9sdw for the next 5 minutes (I let it sit there to see what happened).

EDIT2: testing with build PMS 1.31.1.6641 from this post still has the same problem.