HDR tonemapping causes GPU hang and transcoder crash

Server Version#: 1.41.0.8992
Player Version#: 4.138.0
Debian 12, tried with multiple kernels: 6.1, 6.9 and 6.10
The CPU is a Celeron J3455, HD Graphics 500

Here is the error that pops up in the syslog every time I try to play a media in HDR with tone mapping enabled:

[ 1729.462094] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[ 1729.462185] i915 0000:00:02.0: [drm] Plex Transcoder[14548] context reset due to GPU hang
[ 1729.468880] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:e757fefe, in Plex Transcoder [14548]

Doesn’t matter with algo is set, it always crash and fallback on the CPU after some tries

vainfo:

vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD

Already tried to disable the hang check on the linux args but it doesn’t help.

GRUB_CMDLINE_LINUX_DEFAULT="quiet mitigations=off i915.mitigations=off i915.enable_hangcheck=0"

Of course, hardware transcoding works fine when tonemapping is disabled.
Any idea how to fix this problem?
Thanks in advance

On the J3455,

  1. You don’t need more than 5.15. The CPU generation is too old for anything newer. Given the issues with the newer kernels (e.g. 6.x+) they might be causing the problem.

  2. You don’t need any of the grub specialties either.

  3. PMS does not use ANY of the libva which you’ve installed at the system level. PMS brings what it needs with it.

Installing an old 5.10 kernel from the previous Debian release did the trick, thanks!

I tested with newer kernels since debian 12 comes with linux 6.1 by default, and since it was broken, I tested newer kernels to see if they fixed the problem.
For the grub boot options, there are some workarounds you can find by googling that specific error :person_shrugging:
Will test maybe compiling the 5.15 lts by myself to at least be on a supported version of some sort.

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