-
Notifications
You must be signed in to change notification settings - Fork 81
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
Document why this should be used instead of Intel's official DKMS #132
Comments
Have you successfully enabled SRIOV on PVE 8.1.x according to the official documentation? I tried it over a month ago with no success. |
The official backports seem to only support a small handful of LTS enterprise distros. |
What's "PVE"? |
https://www.proxmox.com based on Debian 12 bookworm |
supported = validated on that set. But because we're talking just DKMS, only the kernel is relevant. Because Intel backports repo states same (Ubuntu is basically stabilized Debian testing snapshot with Ubuntu additions, so DKMS package for Ubuntu could work on Debian too, for compatible kernel version.)
Bookwork seems to be running 6.1 kernel: https://packages.debian.org/bookworm-updates/linux-image-amd64 @Diluka What kernel you tried, and was the DKMS package failing to install on that kernel version [1], or were you "just" unable to get SRIOV working when DKMS otherwise worked OK? If latter, what HW you tried this on, and did you see any kernel error messages for your kernel command line SR-IOV parameters? [1] As to DKMS install, I recently tried Intel DKMS with Ubuntu 22.04 on Intel Arc HW (which is lacking SRIOV). Latest 22.04 HWE kernel is currently 6.2. While earlier (Intel "client" repo) DKMS version did not support 6.2 or earlier 6.1 HWE, current one did install / work on 6.2: |
And the supported distros seem to only support fairly old kernels. I could not find a list of supported kernel versions anywhere on the linked Intel pages though, but I doubt 6.5 is supported. |
Supported kernels are listed in the backports DKMS repo main README: https://github.com/intel-gpu/intel-gpu-i915-backports/blob/backport/main/README.md If one wants to know which particular kernel(s) given DKMS package version supports, I guess one can check the matching tag from backports repo, and docs belonging to it, although it's rather inconvenient: https://github.com/intel-gpu/intel-gpu-i915-backports/tags
Not by backport, right. First So for "general GPU use", there may be no need for the backport on newer kernel versions. But backport DKMS indeed does support couple of extra features like SRIOV, that the upstream i915 does not: https://dgpu-docs.intel.com/driver/kernel-driver-types.html EDIT: Sorry, I noticed only now that although both Arc & Flex are "DG2" variants, Flex ones are still behind => maybe README in this repo could point to above 2 docs, as reason for its existence? PS. Because this repo is based on the backport driver, I would guess this not being validated for the other kernel versions either, or is somebody running e.g. kernel i-g-t & Mesa piglit test-suites for the other kernel versions on some HW? |
I think SR-IOV is the only reason anyone would be desperate enough to use a random experimental kernel module from GitHub anyway ;-). Once SR-IOV is upstreamed, this dkms has no reason to exist. |
tried official installation in Ubuntu 22.04 HWE server VM. stuck here
I don't know anything about Linux, hardware, or C language, so there is absolutely nothing I can do about this kind of mistake. update I tried q35 instead of default i440fx (still ubuntu 22.04) and success with the official installation I using ubuntu jammy repo on Debian bookworm. success to install official intel-i915-dkms. but it can't installed on PVE. |
Wow we've got someone working for Intel to comment on this hack! The reason to use this is very simple. Intel Official DKMS doesn't work with Proxmox, and people want to use SRIOV with actual VIRTUAL MACHINES. Does Intel really expects anyone who wants to use DKMS to install vanilla Ubuntu/Debian/RHEL with some very specific kernels and slap KVM/QEMU on it to run VMs? I guess the majority of people would like to use a hypervisor such as Proxmox to make life easier. |
Currently DKMS supports only small set of enterprise distro kernels, but if there's a valid data-center use-case that's not covered by those (and does not require tracking constantly changing latest upstream), I would suggest filing bug against the DKMS project with the relevant details. (I'm myself not related to that project in any way, I'm just another user of it, but if there's a good ticket, I could try finding somebody who could push it forward internally.) |
This is what brought me here. And Proxmox is very aggressive with their kernel versions. This repo is recommended by Wendell at Level1Techs for use with Proxmox, as well. The 6.5 branch was standard on Proxmox 8.1, and Proxmox 8.2 came out this week on kernel 6.8. I had to install the last iteration of the 6.5 kernel to get this module installed. |
Intel's official DKMS sources: https://github.com/intel-gpu/intel-gpu-i915-backports
Available from Intel driver package repositories: https://dgpu-docs.intel.com/driver/installation.html
Already support SR-IOV: https://dgpu-docs.intel.com/driver/kernel-driver-types.html#differences-between-the-out-of-tree-driver-and-the-upstream-kernel
What would be the reasons to use this DKMS instead (please document them in your README)?
The text was updated successfully, but these errors were encountered: