![]() |
SOLVED: Intel Transcoding Crashes - 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: Intel Transcoding Crashes (/t-solved-intel-transcoding-crashes) |
RE: Intel Transcoding Crashes - valthonis_surion - 2024-01-30 (2024-01-30, 12:42 AM)tmsrxzar Wrote:(2024-01-30, 12:38 AM)valthonis_surion Wrote: Might just toss in the Quadro P2000 and leave it be. I haven't pulled the trigger on reinstalling the whole machine with linux yet. Is there any guide on what's needed? Meaning is there any weirdness installing the Intel drivers and do I need the full desktop Ubuntu or can I use the server edition and skip the desktop? RE: Intel Transcoding Crashes - tmsrxzar - 2024-01-30 (2024-01-30, 01:15 AM)valthonis_surion Wrote: Is there any guide on what's needed? Meaning is there any weirdness installing the Intel drivers and do I need the full desktop Ubuntu or can I use the server edition and skip the desktop? my mistake i made an assumption based on your comment that you were already a linux user and familiar with the platform if it's going to be a locate the guides deal then you're probably better with the other card in terms of path of least resistance i try not to recommend windows users "just switch" to linux, the learning curve can be a little bit much for some users and at the end of the day when it concerns jellyfin it won't be much of an advantage, windows will do it just as well RE: Intel Transcoding Crashes - valthonis_surion - 2024-01-30 (2024-01-30, 01:31 AM)tmsrxzar Wrote:(2024-01-30, 01:15 AM)valthonis_surion Wrote: Is there any guide on what's needed? Meaning is there any weirdness installing the Intel drivers and do I need the full desktop Ubuntu or can I use the server edition and skip the desktop? My bad, I wasn't very clear on my linux background. I've been using it for years for work and home, however I have rarely needed to care about video drivers beyond a basic GUI for some application tasks, 99% is always command line. I've read that Intel Arc drivers prefer a specific kernel, Ubuntu 23.10 seems to provide that, but I don't know if Jellyfin needs the full desktop environment or can it work from just a server style / no desktop environment install? Further with Intel drivers, is it literally just install the latest version of ubuntu (server or desktop?) and then install Jellyfin? RE: Intel Transcoding Crashes - tmsrxzar - 2024-01-30 (2024-01-30, 03:19 PM)valthonis_surion Wrote: but I don't know if Jellyfin needs the full desktop environment or can it work from just a server style / no desktop environment install?jellyfin does run completely headless, it has no care about a desktop environment, most people run it this way (2024-01-30, 03:19 PM)valthonis_surion Wrote: Further with Intel drivers, is it literally just install the latest version of ubuntu (server or desktop?) and then install Jellyfin? yes and they have even provided a streamline setup script https://jellyfin.org/docs/general/installation/linux i personally prefer to run it in a docker for portability but that's not to say it is any better or worse than baremetal https://jellyfin.org/docs/general/installation/container re: intel arc i assume so, my hardware is older so i don't have any special kernel requirements everything works under debian bookworm kernel v6.1.0-13-amd64 "out of the box" as in i simply follow instructions and it works as intended intel tends to be much friendlier with linux than other (nvidia) hardware manufacturers RE: Intel Transcoding Crashes - valthonis_surion - 2024-01-30 Cool, install Ubuntu 23.10 as it had a newer kernel and stuck with the server edition so no desktop environment. Installed the OS, updated, installed Jellyfin, configured it for transcoding (only changes is picked Intel QuickSync, enabled tone mapping, and changed the transcode directory which is a dedicated drive with permissions). As soon as I try to playback a video, DVD MPEG2, Bluray H264, or 4K H265 source, I get a "Play Back error, client isnt compatible..." message. (Never had this error on windows with Nvidia GPU or Intel) Intel would play and randomly stop Looking at the logs for ffmpeg, I see this. To me this sounds like the GPU driver isn't installed correctly or something similar...any ideas? Thanks again to all the assistance. ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers built with gcc 13 (Ubuntu 13.2.0-4ubuntu3) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 [AVHWDeviceContext @ 0x55a116328d00] Failed to get number of OpenCL platforms: -1001. Device creation failed: -19. Failed to set value 'opencl=ocl@va' for option 'init_hw_device': No such device Error parsing global options: No such device RE: Intel Transcoding Crashes - valthonis_surion - 2024-01-30 So I turned off the "Enable Tone mapping" and playback is working. Testing for stability like the original issue, but what else is needed for enabling tone mapping? All the H265 4K stuff looks washed out otherwise. Thanks! RE: Intel Transcoding Crashes - valthonis_surion - 2024-01-30 OK, I think I realized a key detail that didn't dawn on me previously. 1. Tone Mapping fixed (had to use "Enable VPP Tone mapping" for the Intel driver rather than "Enable Tone Mapping" option) 2. Transcoding movies is great, however, the part that has the issue (and I didn't realize at first) is the lock ups only occur on Live TV transcoding. With Nvidia or CPU transcoding the OTA Antenna TV playback is perfect, but with Intel QSV the TV transcoding locks up within 30 seconds. I can watch the intel_gpu_top command and watch the details. At some point everything drops to zero and shortly after the Live TV stops. I can exit and back in, repeating the process. So since now I've confirmed windows and linux both do the same thing, I have to guess that its an issue with Intel + HDHomerun as Nvidia runs it just fine. RE: Intel Transcoding Crashes - TheDreadPirate - 2024-01-30 Did you install the Intel OpenCL packages? Code: sudo apt list --installed | grep -i intel What is the output of that command? Also, you can, and should, enable low power encoding since that improves tone mapping performance. But it requires additional setup on Linux. https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#low-power-encoding RE: Intel Transcoding Crashes - valthonis_surion - 2024-01-30 I did not install the OpenCL packages, I saw that was a requirement for tone mapping, but then saw the other tone mapping option that specifically stated for Intel. That one just worked. Enabled the H264 low power and I can see the clock reduction in the intel_gpu_top output, encoding still works good on movies, TV still freezes after a handful of seconds. --Output intel-gpu-tools/mantic,now 1.27.1-1 amd64 [installed] intel-microcode/mantic-updates,mantic-security,now 3.20231114.0ubuntu0.23.10.1 amd64 [installed,automatic] libdrm-intel1/mantic,now 2.4.115-1 amd64 [installed,automatic] RE: Intel Transcoding Crashes - TheDreadPirate - 2024-01-30 Code: sudo apt install intel-media-va-driver-non-free intel-opencl-icd |