Jellyfin Forum
Intel QSV A580 FFMPEG Transcoding Errors - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Intel QSV A580 FFMPEG Transcoding Errors (/t-intel-qsv-a580-ffmpeg-transcoding-errors)



Intel QSV A580 FFMPEG Transcoding Errors - acoffman - 2025-02-17

I have a new Jellyfin server running on a Windows 11 PC and I am having an issue where blu rays I ripped and encoded into AV1 via Handbrake are failing to stream unless I disable hardware transcoding.  This was working yesterday, but for some reason it has stopped and I'm not sure why.  Looking in the logs, I see this:

Quote:ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
  built with clang version 19.1.7
  configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      59.  8.100 / 59.  8.100
  libavcodec    61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample  5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
[AVHWDeviceContext @ 000001e5dd454140] Using device 1414:008c (Microsoft Basic Render Driver).
[AVHWDeviceContext @ 000001e5dd454140] Failed to create Direct3D device (887a0004)
Device creation failed: -1313558101.
Failed to set value 'd3d11va=dx11:0' for option 'init_hw_device': Unknown error occurred
Error parsing global options: Unknown error occurred

I have an Intel Arc A580 GPU and I have it selected (device 0) in the settings.  The GPU definitely works as I can use it to encode blu rays in Handbrake still.


RE: Intel QSV A580 FFMPEG Transcoding Errors - TheDreadPirate - 2025-02-17

Can you redo the steps listed here and reboot?

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#configure-on-windows-host

This line is indicating it isn't actually using the Arc GPU. It's using the Microsoft virtual render device.

Code:
[AVHWDeviceContext @ 000001e5dd454140] Using device 1414:008c (Microsoft Basic Render Driver).



RE: Intel QSV A580 FFMPEG Transcoding Errors - nyanmisaka - 2025-02-17

Downgrade to the last WHQL driver 32.0.101.6458/32.0.101.6257 and try again.

https://www.intel.com/content/www/us/en/download/785597/844741/intel-arc-iris-xe-graphics-windows.html

Also leave the "QSV device" option blank. Do not fill it with 0.


RE: Intel QSV A580 FFMPEG Transcoding Errors - acoffman - 2025-02-17

I tried downgrading, but that ended up blue screening my computer. I believe the driver must have just been corrupted, because after I did DDU and reinstalled the latest ARC driver, it appears to be working. This is what I see in the FFMPEG logs now:

ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
built with clang version 19.1.7
configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
[AVHWDeviceContext @ 000001ffaafcce00] Using device 8086:56a2 (Intel® Arc™ A580 Graphics).
Sun Feb 16 23:51:26 2025: IGSC: (D:\qb\workspace\31779\source\igsc-master\lib\igsc_lib.c:gsc_driver_init():21Nerd-face Error in HECI init (3)
Sun Feb 16 23:51:26 2025: IGSC: (D:\qb\workspace\31779\source\igsc-master\lib\igsc_lib.c:igsc_device_subsystem_ids():1597) Failed to init HECI driver

Thanks so much!


RE: Intel QSV A580 FFMPEG Transcoding Errors - nyanmisaka - 2025-02-17


Sun Feb 16 23:51:26 2025: IGSC: (D:\qb\workspace\31779\source\igsc-master\lib\igsc_lib.c:gsc_driver_init():21) Error in HECI init (3)
Sun Feb 16 23:51:26 2025: IGSC: (D:\qb\workspace\31779\source\igsc-master\lib\igsc_lib.c:igsc_device_subsystem_ids():1597) Failed to init HECI driver

That warning is introduced in the latest intel driver, it should not affect our use case and will be fixed soon.