intel / intel/mainline-tracking
Tried SR-IOV on XE driver in 265H, problems in Windows 11 and ubuntu 24.04 guests.
- Dominant language
- Roff
- Stars
- 56
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
I tried to enable SR-IOV patching https://github.com/intel/mainline-tracking/blob/linux/v6.15/drivers/gpu/drm/xe/xe_pci.c
I created a new
```
static const struct xe_device_desc arl_desc = {
/* .graphics and .media determined via GMD_ID */
.require_force_probe = true,
PLATFORM(METEORLAKE),
.dma_mask_size = 46,
.has_display = true,
.has_sriov = true,
.has_pxp = true,
};
```
Modified
```
INTEL_ARL_IDS(INTEL_VGA_DEVICE, &arl_desc),
```
Due intel in https://www.intel.com/content/www/us/en/support/articles/000093216/graphics/processor-graphics.html Meteor Lake (similar to Arrow Lake) is not supported, but Arrow Lake yes.
```
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.15.0-adv-intel+ root=UUID=5380ae05-b99d-475b-9258-17d1f32e9f77 ro quiet splash intel_iommu=on iommu=pt i915.force_probe=!7d51 xe.force_probe=7d51 xe.guc_log_level=5 xe.max_vfs=3 pci=realloc pcie_acs_override=downstream,multifunction vt.handoff=7
```
```
[marco@marcoHPLaptop][~]$ sudo dmesg |grep drm
[ 0.781923] ACPI: bus type drm_connector registered
[ 0.818007] [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
[ 0.819370] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 5.407397] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[ 5.412436] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 5.412486] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[ 5.709763] intel_vpu 0000:00:0b.0: [drm] Firmware: intel/vpu/vpu_37xx_v0.0.bin, version: 20230726*MTL_CLIENT_SILICON-release*2101*ci_tag_mtl_pv_vpu_rc_20230726_2101*648a666b8b9
[ 5.709767] intel_vpu 0000:00:0b.0: [drm] Scheduler mode: OS
[ 5.839876] [drm] Initialized intel_vpu 1.0.0 for 0000:00:0b.0 on minor 0
[ 7.389751] xe 0000:00:02.0: [drm] Running in SR-IOV PF mode
[ 7.389807] xe 0000:00:02.0: [drm] Found meteorlake (device ID 7d51) integrated display version 14.00 stepping D0
[ 7.391340] xe 0000:00:02.0: [drm] Using GuC firmware from i915/mtl_guc_70.bin version 70.44.1
[ 7.403558] xe 0000:00:02.0: [drm] Using GuC firmware from i915/mtl_guc_70.bin version 70.44.1
[ 7.408351] xe 0000:00:02.0: [drm] Using HuC firmware from i915/mtl_huc_gsc.bin version 8.5.4
[ 7.410149] xe 0000:00:02.0: [drm] Using GSC firmware from i915/mtl_gsc_1.bin version 102.1.15.1926
[ 7.445298] xe 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.23)
[ 7.669365] xe 0000:00:02.0: [drm] vcs1 fused off
[ 7.669370] xe 0000:00:02.0: [drm] vcs3 fused off
[ 7.669372] xe 0000:00:02.0: [drm] vcs4 fused off
[ 7.669373] xe 0000:00:02.0: [drm] vcs5 fused off
[ 7.669374] xe 0000:00:02.0: [drm] vcs6 fused off
[ 7.669375] xe 0000:00:02.0: [drm] vcs7 fused off
[ 7.669376] xe 0000:00:02.0: [drm] vecs1 fused off
[ 7.669377] xe 0000:00:02.0: [drm] vecs2 fused off
[ 7.669378] xe 0000:00:02.0: [drm] vecs3 fused off
[ 7.739138] [drm] Initialized xe 1.1.0 for 0000:00:02.0 on minor 0
[ 7.778979] xe 0000:00:02.0: [drm] Allocated fbdev into stolen
[ 7.780384] fbcon: xedrmfb (fb0) is primary device
[ 7.780389] xe 0000:00:02.0: [drm] fb0: xedrmfb frame buffer device
[ 7.864086] xe 0000:00:02.0: [drm] GT1: found GSC cv102.1.0
[ 8.206509] xe 0000:00:02.0: [drm] GT0: PF: VF1..VF3 provisioned with 1389010944 (1.29 GiB) GGTT
[ 8.206716] xe 0000:00:02.0: [drm] GT0: PF: VF1..VF3 provisioned with 21759 GuC context IDs
[ 8.207270] xe 0000:00:02.0: [drm] GT0: PF: VF1..VF3 provisioned with 85 GuC doorbell IDs
[ 8.207489] xe 0000:00:02.0: [drm] GT1: PF: VF1..VF3 provisioned with 21758 GuC context IDs
[ 8.207831] xe 0000:00:02.0: [drm] GT1: PF: VF1..VF3 provisioned with 85 GuC doorbell IDs
[ 8.315939] xe 0000:00:02.0: [drm] PF: Enabled 3 of 3 VFs
```
It is accepted by qemu, but I cannot remove ErrorCode 43 from Windows11. Also spooffing all host IDs!
```
Win11Codesys
4bf3d3f4-55b0-11f0-8d6b-37770ad72080
8388608
8388608
8
1
Dell Inc.
1.2.0
03/21/2025
Dell Inc.
Dell Pro Max 16 MC16250
Not Specified
FB9JW94
4bf3d3f4-55b0-11f0-8d6b-37770ad72080
0CF1
Dell Pro Max Laptops
Dell Inc.
0YHD6M
A00
/FB9JW94/CNWSC0055200YF/
Dell Inc.
FB9JW94
Notebook
hvm
/usr/share/OVMF/OVMF_CODE_4M.secboot.fd
/var/lib/libvirt/qemu/nvram/Windows11Codesys.fd
destroy
restart
destroy
/usr/bin/qemu-system-x86_64
```
i915 in VM Linux crash.
xe in VM Linux reports:
```
xe 0000:00:02.0: [drm] ERROR Hardware reports unknown graphics version 0.0
```
I extracted IntelGOPDriver.efi from my BIOS Update.
Every Windows driver tested bring me to Error 43.
Contributor guide
Assessment
This issue has not been assessed yet.