Flatcar icon indicating copy to clipboard operation
Flatcar copied to clipboard

[RFE] Intel GPU (iGPU) support

Open tardich opened this issue 6 months ago • 9 comments

Current situation

iGPU is enabled on the BIOS. But I can't seem to find a way to enable it in the kernel so I can use it

Impact

Workloads that can make use of GPU's aren't able to interact with the integrated GPU

Ideal future situation

iGPU becomes available to use

tardich avatar Jun 05 '25 01:06 tardich

This is present in Flatcar release >=4284, currently in the alpha channel. What's your usecase, if I may ask?

See also previous discussions in: https://github.com/flatcar/Flatcar/issues/1306.

jepio avatar Jun 05 '25 10:06 jepio

I'm working with Frigate from a docker container, I have a Coral TPU installed, but would also make use of the iGPU feature of my board to help out.

tardich avatar Jul 02 '25 17:07 tardich

I am setting up Flatcar on an older Intel NUC to run various self-hosted services and was going to move my media server to it, but found I am unable to take advantage of hardware assisted transcoding without the integrated GPU support, so I would add another upvote to this issue getting addressed sooner.

leefr avatar Aug 08 '25 10:08 leefr

I need Intel gpu too for my media server , for example for jellyfin

leon-ITA avatar Aug 20 '25 13:08 leon-ITA

This support is available in the Flatcar beta channel since June with 4344.1.0.

jepio avatar Aug 20 '25 13:08 jepio

Yes I know, I think it would have become stable with the August stable release.

leon-ITA avatar Aug 20 '25 16:08 leon-ITA

I'm running version beta 4372.1.0, followed this link: https://3os.org/infrastructure/proxmox/gpu-passthrough/igpu-split-passthrough/

Still not getting the /dev/dri folder in the flatcar vm. Running Proxmox 8.4.11 and a i7 7700T. Did anyone got this to work? @leon-ITA

mikekuzak avatar Aug 27 '25 20:08 mikekuzak

I use flat car in bare metal installation, if you run flatcar into a virtual machine the dev/dri folder is void, this is my experience!

For instance, if I run flatcar into oracle virtual machine dev/dri is void, While if I install flatcar on the server (miniPC) dev/dri exist and it is populated

leon-ITA avatar Aug 27 '25 20:08 leon-ITA

I got it to work finally on Flatcar 4426.1.0 (beta) running on Proxmox 8.1.4. Should work with the earlier versions in Beta too. Got a Lenovo tiny with HD graphics 630

Followed the instructions: https://3os.org/infrastructure/proxmox/gpu-passthrough/igpu-split-passthrough/#proxmox-configuration-for-gvt-g-split-passthrough

Then the missing bits:

  1. On the proxmox host
On Proxmox:
uuidgen

echo ee014424-f7ef-43f2-877b-1a44aa1ccc16 > /sys/bus/pci/devices/0000:00:02.0/mdev_supported_types/i915-GVTg_V5_8/create
ls /sys/bus/mdev/devices/
Image

Before adding to the VM this should show '1'

  1. Inside of Flatcar
#module is not loaded by default
lsmod | grep i915 
modprobe i915
sudo tee /etc/modules-load.d/i915.conf <<< "i915"
reboot

Result:

hoto-server /dev/dri # ls -l
total 0
drwxr-xr-x. 2 root root         80 Sep 27 10:14 by-path
crw-rw----. 1 root video  226,   0 Sep 27 10:14 card0
crw-rw-rw-. 1 root render 226, 128 Sep 27 10:14 renderD128
photo-server /dev/dri #

mikekuzak avatar Sep 27 '25 13:09 mikekuzak