strongtz / i915-sriov-dkms

dkms module of Linux i915 driver with SR-IOV support
1.12k stars 136 forks source link

Proxmox 8.3 Support? #224

Open johntdavis84 opened 4 days ago

johntdavis84 commented 4 days ago

Proxmox 8.3 dropped this week.

Does the current release of the DKMS driver (the one that downloads from a git clone command) work with Proxmox 8.3? Has anyone tested it yet? Either with kernel 6.8.12-4 or 6.11?

EDIT: I should specify that I've already got everything working just fine host-side and in Linux and Windows client VMs in the latest version of Proxmox 8.2.

Specifically, I wanted to confirm that the DKMS driver continues to work as expected on the host and in VMs after upgrading an existing PVE node.

My plan is to uninstall the DKMS driver on the node, reboot the node, and then fresh install the DKMS driver on the node before reactivating the VMs that use it.

Has anyone tried that yet?

Fredzer commented 4 days ago

Proxmox 8.3 dropped this week.

Does the current release of the DKMS driver (the one that downloads from a git clone command) work with Proxmox 8.3? Has anyone tested it yet? Either with kernel 6.8.12-4 or 6.11?

I came across this guide a few days ago setup on my latest node fresh install- pve-manager 8.3.0 + Linux 6.8.12-4-pve (2024-11-06T15:04Z) CPU with on-board GPU - 13th Gen Intel(R) Core(TM) i9-13900H After some fiddling it was reasonably smooth in the end and I now have the devices below to assign eventually to cluster map

`00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) DeviceName: Onboard - Video Kernel driver in use: i915

00:02.1 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) Kernel driver in use: i915 Kernel modules: xe, i915

00:02.2 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) Kernel driver in use: vfio-pci Kernel modules: xe, i915 ... ... ... ...

00:02.7 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) Kernel driver in use: i915 Kernel modules: xe, i915

`

I have a Windows 2022 guest that worked right out of the box. Ran benchmarks, latest drivers etc it was dream. intel_gpu_top -d was showing me usage on the host side too. The same has unfortunately, not applied to my attempts at Linux Ubuntu guests with days of trying various things to get working.

For your question though, yes it was rather smooth for me with fresh install :)

johntdavis84 commented 4 days ago

I didn't see a link to a guide. I don't think it came through. :(

What did you mean by "reasonably smooth?" Ideally, it should just be buildable and installable using the same iprocedure as before.

Are your Linux guests still not working? I've got working Linux guests with iGPU passthrough now in Proxmox 8.2, so I'd not consider the DKMS driver working under Proxmox 8.3 if that's the case.

qqshfox commented 4 days ago

Just upgraded to 8.3 and 6.11.

root@pve:~# uname -a
Linux pve 6.11.0-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.11.0-1 (2024-10-23T15:32Z) x86_64 GNU/Linux
root@pve:~# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.1 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.2 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.3 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.4 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.5 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.6 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.7 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)

PF passthrough to LXC works just fine. Didn't test VF tho.

Tested VF in a Windows VM and it works well too.

johntdavis84 commented 2 days ago

Just upgraded to 8.3 and 6.11.

root@pve:~# uname -a
Linux pve 6.11.0-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.11.0-1 (2024-10-23T15:32Z) x86_64 GNU/Linux
root@pve:~# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.1 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.2 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.3 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.4 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.5 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.6 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:02.7 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)

PF passthrough to LXC works just fine. ~Didn't test VF tho.~

Tested VF in a Windows VM and it works well too.

Great news. :)

I'm curious if there's specific reason you went with the 6.11 kernel. Does it have better support for the DKMS module? (I know that Intel's been iterating their Xe-based iGPU drivers through the last few kernel releases, but I wasn't sure if that had performance/stability implications for the i915 driver (or the modified one we're using here).

lichao0223 commented 1 day ago

I have tested and everything work fine with Proxmox 8.3 and kernel 6.11