Is there any plan on kernel upgarde?

FZerolight

Cadet
Joined
Mar 4, 2023
Messages
2
Hi there, I'm new to FreeNAS SCALE and I got myself a Intel N5105 minipc recent days. I found description for hardware accelaration in jellyfin docs:
For Jasper Lake and Elkhart Lake chips (such as N5095, N6005 and J6412), Low-Power encoding must be enabled. There's a known kernel issue on these chips in linux 5.15 that comes with Ubuntu 22.04 LTS preventing you from using Low-Power. You may need to upgrade kernel for this. The linux-firmware support is not included in Ubuntu 20.04.3 LTS. Any Ubuntu from 21.10 does include the required drivers.
It seems that Linux Kernel 5.15, which is currently used by FreeNAS SCALE bluefin, is not working well on N5105's iGPU. So I'm wondering if there is anly plan on upgrading Linux Kernel for bluefin or for next major release? Or is there any other way that I could get rid of this limitation?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Hi there, I'm new to FreeNAS SCALE and I got myself a Intel N5105 minipc recent days. I found description for hardware accelaration in jellyfin docs:

It seems that Linux Kernel 5.15, which is currently used by FreeNAS SCALE bluefin, is not working well on N5105's iGPU. So I'm wondering if there is anly plan on upgrading Linux Kernel for bluefin or for next major release? Or is there any other way that I could get rid of this limitation?
Please confirm it doesn't work.. we may have patched it.
 

whero

Cadet
Joined
Mar 9, 2023
Messages
2
Not using Jellyfin but Plex. I have a N5105 as well. Plex app starts just fine, device permissions are correct. Installing vainfo in the pod for debugging shows that it should work. But Plex does not recognize anything. Should try Jellifin just for fun.

Output in the pod:

Code:
$ ls -la /dev/dri
total 0
drwxr-xr-x 2 root root         80 Mar  9 14:12 .
drwxr-xr-x 6 root root        380 Mar  9 14:12 ..
crw-rw---- 1 root video  226,   0 Mar  9 14:12 card0
crw-rw---- 1 root video1 226, 128 Mar  9 14:12 renderD128
$ getent group video
video:x:44:plex
$ getent group video1
video1:x:107:plex
$ vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      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


And Plex log output:
Code:
Mar 08, 2023 10:53:51.001 [0x7f03dc1d7b38] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: 
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
From what I can see the N5105 requires linux kernel 5.19 or later


Bluefin is based on 5.15 LTS and is unlikely to change. Its the foundation of the release.

Cobia will be based on 6.1 LTS or later.. so will have support.
Nightlies during Q2
BETA expected in Q3
 

whero

Cadet
Joined
Mar 9, 2023
Messages
2
Thank you for a good answer :) Then it's just a long wait to get a nice-to-have feature enabled. Won't venture into running alpha or beta software on the NAS. Stability is a lot more important for me.
 

FZerolight

Cadet
Joined
Mar 4, 2023
Messages
2
From what I can see the N5105 requires linux kernel 5.19 or later


Bluefin is based on 5.15 LTS and is unlikely to change. Its the foundation of the release.

Cobia will be based on 6.1 LTS or later.. so will have support.
Nightlies during Q2
BETA expected in Q3
Thanks for the reply, and looking forward to having a stable version late this year :wink:
BTW, is it possible to transfer all the current harddrives to another system that installed the same version of TrueNAS SCALE without losing any data? I was wondering if I could go get a older minipc as a temporary solution before Cobia is out
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Thanks for the reply, and looking forward to having a stable version late this year :wink:
BTW, is it possible to transfer all the current harddrives to another system that installed the same version of TrueNAS SCALE without losing any data? I was wondering if I could go get a older minipc as a temporary solution before Cobia is out

Yes you can .. just export and reimport a pool.
 

a.dresner

Explorer
Joined
Dec 10, 2022
Messages
75
From what I can see the N5105 requires linux kernel 5.19 or later


Bluefin is based on 5.15 LTS and is unlikely to change. Its the foundation of the release.

Cobia will be based on 6.1 LTS or later.. so will have support.
Nightlies during Q2
BETA expected in Q3
Hope its 6.2 says my 13th gen cpu
 

jace92

Dabbler
Joined
Dec 14, 2021
Messages
46
Hope its 6.2 says my 13th gen cpu
Is 6.2 what's needed for 13th gen? I just found out the hard way that's newest isn't always the greatest...
 

a.dresner

Explorer
Joined
Dec 10, 2022
Messages
75
Is 6.2 what's needed for 13th gen? I just found out the hard way that's newest isn't always the greatest...
You are right and I think 6.1 might do the trick? Need to read up on that one.
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
I just found out the hard way that's newest isn't always the greatest...
This is the reason why you won't see TrueNAS keep up with the jonses on the bleeding edge.
TrueNAS SCALE Bluefin is based on Debian 11 Bullseye, which is where the kernel being in the 5.1 family is coming from. 5.10 was replaced by 5.15 as LTS, so that's how Bluefin got it over Angelfish.

Debian 12 Bookworm was JUST RELEASED last month with kernel 6.1, and to the best of my knowledge and understanding that is what TrueNAS SCALE Cobia will be based on.

As for the Linux Kernel story in general?
So, If I were you, I wouldn't wait around for anything newer than 6.1 on TrueNAS until 2024
 
Top