SOLVED: OpenCL tonemapping stopped working - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: OpenCL tonemapping stopped working (/t-solved-opencl-tonemapping-stopped-working) |
OpenCL tonemapping stopped working - caius - 2024-10-03 I have a jellyfin server which used to do opencl tonemapping OK. I've noticed now that it gives an error when trying to transcode a file which requires tone mapping and playback does not start. The server is a Celeron J4105 with UHD 600 graphics. Quicksync hardware acceleration works OK, as does VPP tone mapping. It's running on Ubuntu 24.04 LTS directly (ie not in docker). Jellyfin version is 10.9.11. Code: uname -a: Code: /usr/lib/jellyfin-ffmpeg/vainfo Code: apt policy intel-opencl-icd Code: sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va It looks like some problem with the opencl driver but I'm not sure how to troubleshoot it. If I run clinfo that also crashes with the same error message. I'm not sure if this is a configuration error somewhere or if there's an issue with the driver itself. I'd be grateful if anyone has any ideas. RE: OpenCL tonemapping stopped working - TheDreadPirate - 2024-10-03 vainfo requires additional parameters Code: sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128 But to the actual problem, try just reinstalling the opencl package. Code: sudo apt purge intel-opencl-icd RE: OpenCL tonemapping stopped working - caius - 2024-10-03 I tried removing the package and running clinfo gives the expected response without crashing: Code: Number of platforms 0 After reinstalling it, the crash returns. RE: OpenCL tonemapping stopped working - TheDreadPirate - 2024-10-03 What is the output of this command? Code: sudo apt list --installed | egrep -i "igc|intel|opencl" RE: OpenCL tonemapping stopped working - caius - 2024-10-04 It seems to have been a problem either with the specific package ubuntu was installing or some dependency. I went to the Intel compute runtime github and installed the latest packages from there after purging the ubuntu version. Transcoding with ffmpeg now works correctly and clinfo no longer crashes. Ubuntu was installing version 23.43.27642.40-1ubuntu3 and the latest intel release is 24.35.30872.22. Link for reference if anyone else comes across this issue: https://github.com/intel/compute-runtime/releases Quote:What is the output of this command? This was run after I'd installed the intel packages, so not really needed but I'll put it for reference anyway: Code: intel-gmmlib/now 20.3.2 amd64 [installed,local] Thanks for your help. |