Jellyfin Forum
Hardware Acceleration not working N5095 - 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 not working N5095 (/t-hardware-acceleration-not-working-n5095)



Hardware Acceleration not working N5095 - Margin4369 - 2024-02-05

I'm unable to get hardware acceleration working on my Celeron N5095. When I try to play a video I get "Playback Error: This client isn't compatible with the media and the server isn't sending a compatible media format." Any suggestions?


RE: Hardware Acceleration not working N5095 - LinuxGeek28 - 2024-02-06

I had a similar error recently. In my case, I had HW transcoding enabled, but it urns out in my case, I had checked a codec that my GPU couldn't transcode. If you are running linux, you can use vainfo to see which codecs are supported by your cpu then double check that only those are ticked as HW transcode in the admin interface.

If not the codec type, it may be a bitrate issue. Do other files of the same codec work?
from your log:
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264_qsv @ 0x557897ba5200] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x557897ba5200] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x557897ba0980] 2 frames left in the queue on closing
Conversion failed!


RE: Hardware Acceleration not working N5095 - TheDreadPirate - 2024-02-06

What distro? Which kernel is your system running. Did you enable low power encoding? It is required for Jasper Lake CPUs.


RE: Hardware Acceleration not working N5095 - Margin4369 - 2024-02-06

(2024-02-06, 01:31 AM)LinuxGeek28 Wrote: I had a similar error recently.  In my case, I had HW transcoding enabled, but it urns out in my case, I had checked a codec that my GPU couldn't transcode.  If you are running linux, you can use vainfo to see which codecs are supported by your cpu then double check that only those are ticked as HW transcode in the admin interface.

If not the codec type, it may be a bitrate issue.  Do other files of the same codec work?
from your log:
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264_qsv @ 0x557897ba5200] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x557897ba5200] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x557897ba0980] 2 frames left in the queue on closing
Conversion failed!

(2024-02-06, 01:43 AM)TheDreadPirate Wrote: What distro?  Which kernel is your system running.  Did you enable low power encoding?  It is required for Jasper Lake CPUs.

None of my files work. the output of "docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo" is 
Code:
Trying display: drm
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.4.0 (05e4d0d)
vainfo: Supported profile and entrypoints
      VAProfileNone                  : VAEntrypointVideoProc
      VAProfileNone                  : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointEncSliceLP
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointEncSliceLP
      VAProfileHEVCMain10            : VAEntrypointVLD
      VAProfileHEVCMain10            : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileHEVCMain422_10        : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10        : VAEntrypointVLD
      VAProfileHEVCMain444_10        : VAEntrypointEncSliceLP

I'm running Debian 12, kernel 6.1.0-17-amd64.


RE: Hardware Acceleration not working N5095 - TheDreadPirate - 2024-02-06

Can you share screenshots of Dashboard > Playback in the Jellyfin UI?


RE: Hardware Acceleration not working N5095 - Margin4369 - 2024-02-07

   


RE: Hardware Acceleration not working N5095 - TheDreadPirate - 2024-02-07

Run this command

Code:
sudo apt list --installed | grep header

If it returns nothing, run this.

Code:
sudo apt install linux-headers-amd64



RE: Hardware Acceleration not working N5095 - Margin4369 - 2024-02-12

(2024-02-07, 12:40 AM)TheDreadPirate Wrote: Run this command

Code:
sudo apt list --installed | grep header

If it returns nothing, run this.

Code:
sudo apt install linux-headers-amd64

Code:
linux-headers-amd64 is already the newest version (6.1.69-1).

Already installed.


RE: Hardware Acceleration not working N5095 - TheDreadPirate - 2024-02-12

Did you setup low power encoding. It is required for Jasper Lake.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#low-power-encoding