Intel 13th Gen IGPU not detected on host

dennisvdb

New Member
Jun 13, 2024
2
0
1
Hi,

I'm fairly new to linux and proxmox (read: I have set up a ubuntu server with docker and a bunch of self hosted services), I'm trying to set up igpu passthrough in LXC containers (jellyfin, immich). But for some reason I can't seem to be able to get it working, I can't even get the host to use the i915 driver for the igpu (the /dev/dri folder is not even there).
I have allready followed countless tutorials online about how to set it up but it doesn't work. If someone could guide me in the right direction that would be awesome.
Some extra information:
CPU: intel core i5 13500 with UHD770 graphics

lspci:
Bash:
00:00.0 Host bridge: Intel Corporation Device 4640 (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
00:14.0 USB controller: Intel Corporation Raptor Lake USB 3.2 Gen 2x2 (20 Gb/s) XHCI Host Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Raptor Lake-S PCH Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Raptor Lake Serial IO I2C Host Controller #0 (rev 11)
00:16.0 Communication controller: Intel Corporation Raptor Lake CSME HECI #1 (rev 11)
00:17.0 SATA controller: Intel Corporation Raptor Lake SATA AHCI Controller (rev 11)
00:1a.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #25 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #1 (rev 11)
00:1c.7 PCI bridge: Intel Corporation Device 7a3f (rev 11)
00:1d.0 PCI bridge: Intel Corporation Device 7a36 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a06 (rev 11)
00:1f.3 Audio device: Intel Corporation Raptor Lake High Definition Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Raptor Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Raptor Lake SPI (flash) Controller (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation AD107 [GeForce RTX 4060] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

lspci -k | grep -A 3 -i vga
As you can see here, no drivers are in use

Code:
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
        DeviceName: Onboard IGD
        Subsystem: ASUSTeK Computer Inc. AlderLake-S GT1
        Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation AD107 [GeForce RTX 4060] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] AD107 [GeForce RTX 4060]
        Kernel driver in use: vfio-pci
        Kernel modules: nvidiafb, nouveau

I have also ran a command before that told me to force the xe driver for the igpu (i915.force_probe=!4680 xe.force_probe=4680). Can't recall what the command was, when i did that in the grub configuration the /dev/dri folder was present, but when i tried to use the igpu in the immich LXC i got quite a few errors saying:
Code:
[AVHWDeviceContext @ 0x2842c030300] Ignoring device 0 with non-matching kernel driver (xe).
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 1.
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 2.
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 3.
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 4.
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 5.
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 6.
[AVHWDeviceContext @ 0x2842c030300] Cannot open DRM render node for device 7.
[AVHWDeviceContext @ 0x2842c030300] No VA display found for any default device.

If any more information is needed, i'm happy to provide :)
 
Does your motherboard BIOS have any options that affect initializing video when both igpu and a discrete graphics card are installed?
 
@keeka
These are the settings in my motherboard BIOS:
Intel VMX virualization technology : enabled
vt-d: enabled
IOMMU: enabled
primary display: CPU graphics
IGPU multi-monitor: enabled
SR-IOV support: enabled
DVMT Pre-Allocated: 64M
RC6: enabled
 
There doesn't seem to be anything amiss there. As you're aiming to 'pass through' to an LXC, any IOMMU config is not needed at this point. I have a much older intel cpu/igpu (vaapi). I can pass the dri device node through to multiple unprivileged lxc and they then successfully use the renderer simultaneously. I am not sure what's causing your issue. But you're correct in checking the device nodes appear and work on the host before moving to troubleshooting their visibility/funtion in an lxc.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!