![]() |
Hardware Acceleration Issue on N150 Processor - 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: Hardware Acceleration Issue on N150 Processor (/t-hardware-acceleration-issue-on-n150-processor) |
Hardware Acceleration Issue on N150 Processor - Unstirred6783 - 2025-07-26 I'm using a Beelink S13 Mini PC Intel N150 Processor. I installed Debian 12 on the PC and also Jellyfin via the Jellyfin website's official instructions. I then made sure the Kernel was up to date, the Intel drivers were installed etc via the non-free backport repository. I installed Mesa, Intel Graphics, Linux Firwmare, etc. Then I went into my Jellyfin dashboard and enabled Transcoding Hardware Acceleration via Intel QuickSync (QSV) My settings look like this: QSV Device: /dev/dri/renderD128 Enable hardware decoding for H264 HEVC MPEG2 VC1 VP8 VP9 AV1 HEVC 10bit (The only one unchecked, as this is the only one that caused me issues) VP9 10bit HEVC RExt 8/10bit HEVC RExt 12bit Prefer OS native DXVA or VA-API hardware decoders Hardware Encoding Options: Enable Intel Low-Power H.264 hardware encoder Enable Intel Low-Power HEVC hardware encoder My problem is: If I check the "Enable Hardware Encoding" option, it causes me to get a "Fatal Playback Error" that states the following: "Playback Error Playback failed due to a fatal player error." If I go and uncheck the "Enable Hardware Encoding" option, then my playback works but I suspect it's not using QuickSync and it takes forever to seek etc. Has anyone had this issue before, what can I do to troubleshoot this / fix it? Thanks! RE: Hardware Acceleration Issue on N150 Processor - nyanmisaka - 2025-07-26 Please share the output of sudo dmesg | grep i915 and the FFmpeg logs containing the transcoding errors.
RE: Hardware Acceleration Issue on N150 Processor - Unstirred6783 - 2025-07-26 (Yesterday, 02:02 PM)nyanmisaka Wrote: Please share the output of output of sudo dmesg | grep i915: [ 2.141855] i915 0000:00:02.0: [drm] Found ALDERLAKE_P/ADL-N (device ID 46d4) display version 13.00 stepping D0 [ 2.142347] i915 0000:00:02.0: [drm] VT-d active for gfx access [ 2.142451] i915 0000:00:02.0: vgaarb: deactivate vga console [ 2.142495] i915 0000:00:02.0: [drm] Using Transparent Hugepages [ 2.142640] i915 0000:00:02.0: [drm] Port B asks to use VBT vswing/preemph tables [ 2.142656] WARNING: CPU: 3 PID: 194 at drivers/gpu/drm/i915/display/intel_bios.c:2698 intel_bios_init+0xe78/0x19d0 [i915] [ 2.142841] Modules linked in: i915(+) drm_buddy i2c_algo_bit drm_display_helper spi_pxa2xx_platform dw_dmac sd_mod cec dw_dmac_core rc_core spi_pxa2xx_core xhci_pci ttm ahci libahci xhci_hcd r8169 drm_kms_helper realtek usbcore libata mdio_devres crc32_pclmul drm scsi_mod crc32c_intel libphy i2c_i801 scsi_common i2c_smbus intel_lpss_pci intel_lpss idma64 usb_common fan video wmi pinctrl_alderlake button [ 2.142866] RIP: 0010:intel_bios_init+0xe78/0x19d0 [i915] [ 2.143026] intel_display_driver_probe_noirq+0x42/0x240 [i915] [ 2.143175] i915_driver_probe+0x648/0xc50 [i915] [ 2.143336] i915_init+0x22/0xc0 [i915] [ 2.143436] ? __pfx_i915_init+0x10/0x10 [i915] [ 2.143580] i915 0000:00:02.0: [drm] Port A asks to use VBT vswing/preemph tables [ 2.143589] WARNING: CPU: 3 PID: 194 at drivers/gpu/drm/i915/display/intel_bios.c:2698 intel_bios_init+0xe78/0x19d0 [i915] [ 2.143729] Modules linked in: i915(+) drm_buddy i2c_algo_bit drm_display_helper spi_pxa2xx_platform dw_dmac sd_mod cec dw_dmac_core rc_core spi_pxa2xx_core xhci_pci ttm ahci libahci xhci_hcd r8169 drm_kms_helper realtek usbcore libata mdio_devres crc32_pclmul drm scsi_mod crc32c_intel libphy i2c_i801 scsi_common i2c_smbus intel_lpss_pci intel_lpss idma64 usb_common fan video wmi pinctrl_alderlake button [ 2.143747] RIP: 0010:intel_bios_init+0xe78/0x19d0 [i915] [ 2.143895] intel_display_driver_probe_noirq+0x42/0x240 [i915] [ 2.144037] i915_driver_probe+0x648/0xc50 [i915] [ 2.144185] i915_init+0x22/0xc0 [i915] [ 2.144283] ? __pfx_i915_init+0x10/0x10 [i915] [ 2.144665] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem ![]() [ 2.149343] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20) [ 2.154808] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.36.0 [ 2.154815] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3 [ 2.159426] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads [ 2.159933] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled [ 2.159935] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled [ 2.160270] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled [ 2.160971] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized [ 2.196030] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 0 [ 2.238082] fbcon: i915drmfb (fb0) is primary device [ 2.328251] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 3.726439] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 7.119905] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. FFMPEG Logs: {"Protocol":0,"Id":"0b4ff1aac5e96437f5169f1454407d5c","Path":"/media/beelink/New Volume/TV Shows/Test Show/Season 01/testshowepisode01.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":658259769,"Name":"testshowepisode01)","IsRemote":false,"ETag":"804bc27b345380b79db72b014961cd6a","RunTimeTicks":12870600000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":4091556,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"ReferenceFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":120,"IsAnamorphic":false},{"Codec":"aac","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":291535,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":4383091,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false} /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va ![]() ffmpeg version 7.1.1-Jellyfin Copyright © 2000-2025 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14+deb12u1) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --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-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.101 / 61. 19.101 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 libva info: VA-API version 1.22.0 libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 libva info: VA-API version 1.22.0 libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 Input #0, matroska,webm, from 'file ![]() Metadata: encoder : libebml v1.3.5 + libmatroska v1.4.8 creation_time : 2020-09-25T20:39:35.000000Z Writing frontend: StaxRip v1.7.0.6 Duration: 00:21:27.06, start: 0.000000, bitrate: 4091 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: BPS : 3797370 BPS-eng : 3797370 DURATION : 00:21:26.994000000 DURATION-eng : 00:21:26.994000000 NUMBER_OF_FRAMES: 30857 NUMBER_OF_FRAMES-eng: 30857 NUMBER_OF_BYTES : 610899136 NUMBER_OF_BYTES-eng: 610899136 _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_DATE_UTC: 2020-09-25 20:39:35 _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-25 20:39:35 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default) Metadata: BPS : 291535 BPS-eng : 291535 DURATION : 00:21:27.040000000 DURATION-eng : 00:21:27.040000000 NUMBER_OF_FRAMES: 60330 NUMBER_OF_FRAMES-eng: 60330 NUMBER_OF_BYTES : 46902212 NUMBER_OF_BYTES-eng: 46902212 _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_DATE_UTC: 2020-09-25 20:39:35 _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-25 20:39:35 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip (srt) Metadata: BPS : 110 BPS-eng : 110 DURATION : 00:20:55.298000000 DURATION-eng : 00:20:55.298000000 NUMBER_OF_FRAMES: 566 NUMBER_OF_FRAMES-eng: 566 NUMBER_OF_BYTES : 17372 NUMBER_OF_BYTES-eng: 17372 _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_DATE_UTC: 2020-09-25 20:39:35 _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-25 20:39:35 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (srt) Metadata: BPS : 116 BPS-eng : 116 DURATION : 00:21:17.102000000 DURATION-eng : 00:21:17.102000000 NUMBER_OF_FRAMES: 607 NUMBER_OF_FRAMES-eng: 607 NUMBER_OF_BYTES : 18618 NUMBER_OF_BYTES-eng: 18618 _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit _STATISTICS_WRITING_DATE_UTC: 2020-09-25 20:39:35 _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-25 20:39:35 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_qsv)) Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [av1_qsv @ 0x5650b38e3440] Current profile is unsupported [av1_qsv @ 0x5650b38e3440] Selected ratecontrol mode is unsupported [av1_qsv @ 0x5650b38e3440] Current frame rate is unsupported [av1_qsv @ 0x5650b38e3440] Current picture structure is unsupported [av1_qsv @ 0x5650b38e3440] Current resolution is unsupported [av1_qsv @ 0x5650b38e3440] Current pixel format is unsupported [av1_qsv @ 0x5650b38e3440] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters. [vost#0:0/av1_qsv @ 0x5650b38ef580] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. [vf#0:0 @ 0x5650b3584000] Error sending frames to consumers: Function not implemented [vf#0:0 @ 0x5650b3584000] Task finished with error code: -38 (Function not implemented) [vf#0:0 @ 0x5650b3584000] Terminating thread with return code -38 (Function not implemented) [vost#0:0/av1_qsv @ 0x5650b38ef580] Could not open encoder before EOF [vost#0:0/av1_qsv @ 0x5650b38ef580] Task finished with error code: -22 (Invalid argument) [vost#0:0/av1_qsv @ 0x5650b38ef580] Terminating thread with return code -22 (Invalid argument) [out#0/hls @ 0x5650b38e6dc0] Nothing was written into output file, because at least one of its streams received no packets. frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A Conversion failed! RE: Hardware Acceleration Issue on N150 Processor - theguymadmax - 2025-07-26 (Yesterday, 05:35 PM)Unstirred6783 Wrote: Stream mapping: Your processor does not support Encoding in AV1, turn that off. RE: Hardware Acceleration Issue on N150 Processor - Unstirred6783 - 2025-07-26 (Yesterday, 06:03 PM)theguymadmax Wrote:(Yesterday, 05:35 PM)Unstirred6783 Wrote: Stream mapping: This fixed it! Thank you so much ![]() |