Not able to passthrough iGPU to docker apps (N150)

Hi All,

I’m trying to pass my GPU to my Jellyfin and Plex dockers through the built-in app store. I tried it with a custom Docker YAML, but I keep getting the same error log pasted below. It looks like my TrueNAS Scale (ElectricEel-24.10.1) isn’t detecting my iGPU. Maybe the drivers are missing. Also, the directory /dev/dri is missing from the system.

The kernel version is 6.6.44 (checked using ‘uname -r’ command), and I found online that this version already includes the driver for my iGPU. I marked alwasy ON GPU in the BIOS settings, but I still can’t get it to work. Please help.

Syetem: Beelink Mini PC, EQ14 Intel N150


Can you detect the GPU via CLI?

Try

lspci | grep -i vga
or
dmesg | grep -i drm

Also can you post that app life cycle log that error log is referring to

Ran “lspci | grep -i vga” and got below output.
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [Intel Graphics]

That’s good at least, it can see it.

I found this post that 12th Gen Alder Lake iGPUs don’t work easily out of the box, this link should take you to a comment by Lipsum Ipsum on Aug 31, 2023 with a guide on how he got it working on the same generation.

And like he says, run at your own risk and have a backup of your truenas config.

Thank you very much for checking. I tried that soluton but still same error after reboot.

Slightly different scenario, probably same solution:
I have a Beelink S13, also N150. I tried everything with Proxmox Kernel 6.8, it simply did not work, i915 drivers did not attach to the vga adapter. Upgraded to kernel 6.11 and everything worked. I read on the net that 6.9 is the lowest working version, but 6.11 definitely works.

# lspci -nnk | grep -A3 -E "VGA|Display"
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [Intel Graphics] [8086:46d4]
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Alder Lake-N [Intel Graphics] [8086:7270]
        Kernel driver in use: i915

If the last line is missing, your kernel is too old.

@psavan, post the complete output of:
dmesg | grep i915

I have jellyfin running fine under ElectricEel-24.10.2 as a custom yaml app, using quicksync through my 13th gen cpu.

Hi Brobert.

You are right. Kernel for TrueNAS Scale 24.10.2 does not support my cpu.
Maybe Fangtooth updated kernel will resolve this.

1 Like

Hi @LipsumIpsum.

Maybe my cpu is not supported then. Waiting for stable release of fangtooth now.

@psavan I don’t know how truenas works in detail, but i see there is also a 6.12 version of the kernel available on github:
github dot com /truenas/linux/tree/truenas/linux-6.12
Unless you can pull it through an experimental channel, you could always just compile it yourself.