Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxmox 8.3 Support? #224

Open
johntdavis84 opened this issue Nov 22, 2024 · 15 comments
Open

Proxmox 8.3 Support? #224

johntdavis84 opened this issue Nov 22, 2024 · 15 comments

Comments

@johntdavis84
Copy link

johntdavis84 commented Nov 22, 2024

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
Copy link

Fredzer commented Nov 22, 2024

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
Copy link
Author

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
Copy link

qqshfox commented Nov 22, 2024

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
Copy link
Author

johntdavis84 commented Nov 25, 2024

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
Copy link

lichao0223 commented Nov 25, 2024

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

@feerlessleadr
Copy link

For anyone that has upgraded, can you advise on the best way to upgrade to 8.3 and preserve this patch?

@qqshfox
Copy link

qqshfox commented Nov 29, 2024

@johntdavis84 I don't have any specific reason. Just wanted to stay up to date. So far I haven't seen any differences between 6.11 and 6.8.

@feerlessleadr I use this to force install the module when installing new kernel.

echo "i915-sriov-dkms" > /usr/share/dkms/modules_to_force_install/i915

@feerlessleadr
Copy link

@feerlessleadr I use this to force install the module when installing new kernel.

echo "i915-sriov-dkms" > /usr/share/dkms/modules_to_force_install/i915

Thanks, and apologies in advance, I think all of the turkey yesterday is making my brain not work.

This is the guide I followed to get the module installed on my current kernel:

https://www.derekseaman.com/2024/07/proxmox-ve-8-2-windows-11-vgpu-vt-d-passthrough-with-intel-alder-lake.html

So the procedure I would do is unpin my current kernel (6.8.12-3-pve) and update proxmox to 8.3.

Once updated, I would run what you suggested:

echo "i915-sriov-dkms" > /usr/share/dkms/modules_to_force_install/i915

And that would be it?

@qqshfox
Copy link

qqshfox commented Nov 29, 2024

Thanks for sharing the guide which is well written.

For upgrading to 6.8, what I did is just apt upgrade. It installed all the latest packages and the latest kernel 6.8. Since I was on the latest version 2024.09.21 of this repo, it's already supported kernel 6.11 so I didn't do any specific before upgrading kernel to 6.11.

Having echo "i915-sriov-dkms" > /usr/share/dkms/modules_to_force_install/i915 just saves you one step after installing a new kernel. Otherwise, you'll have to force install the module and reboot again after you upgrade the kernel and reboot. It should still boot even if this module is not installed.

@feerlessleadr
Copy link

Oh ok, so I would run that command before I upgrade everything, and then the module will auto reinstall once the kernel is upgraded.

@qqshfox
Copy link

qqshfox commented Nov 29, 2024

Yea. It should boot even if the module is not successfully installed. You can always reinstall it after it boots up.

If the kernel didn't boot up, you should still be able to switch back to the previous kernel as long as you haven't removed it. And please backup important data before you proceed just in case anything unexpected happens.

@feerlessleadr
Copy link

Thank you! I'm going to give this a shot tonight when my family is sleeping

@RobertoCMCosta
Copy link

RobertoCMCosta commented Nov 29, 2024

Guys, I've been struggling to make this work with the alder lake igpu to no avail.
My latest attempt was on proxmox 8.2 with kernel 6.8.12. (I'd failed with kernel 6.5 too.)
I'm reading this thread with reports of success with 13th Gen intel processors and the latest version 8.3 with upgraded kernels.
I've followed Derek's guide as well as Upinel's and a bunch of reddit posts.
I just wanted to pass the on-board intel vgpu to windows 10 vm running alongside a windows 11 vm with a passed thru amd gpu. :(
Do you guys have any suggestions?

Ps: mine is a 12th generation i5 12500

@qqshfox
Copy link

qqshfox commented Nov 30, 2024

@RobertoCMCosta I'd suggest you to follow Derek's guide, (start over if you can) and document the steps and the result for each step. Can't really give any useful suggestions without seeing what went wrong on your machine. And also would suggest to start a new thread as this thread mainly focuses on 8.3.

@Ch3ck3rM0n
Copy link

There seems to be an issue with new kernel 6.8.12-5, so please stay at 6.8.12-4 till it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants