intel-gpu / intel-gpu-i915-backports

Other
88 stars 64 forks source link

support for ubuntu 20.04 #152

Closed cz172638 closed 5 months ago

cz172638 commented 8 months ago

ubuntu 20.04 contains also 5.15 lts kernels, would be great to have supported also this lts distribution.

i use linux-image-5.15.0-91-lowlatency on laptop and there are aother flavors based on 5.15 lts kernel. version of intel-i915-dkms is 1.23.6.42.230425.56+i81-1 it compiles, and loads, but i don't see in lspci additional devices corresponding to number of virtual functions:

[    0.990240] COMPAT BACKPORTED INIT
[    0.990245] Loading modules backported from I915-23.6.42
[    0.990245] Backport generated by backports.git I915_23.6.42_PSB_230425.56
[    1.041259] Setting dangerous option enable_guc - tainting kernel
[    1.041408] [drm] I915 BACKPORTED INIT 
[    1.041614] i915 0000:00:02.0: Running in SR-IOV PF mode
[    1.041694] i915 0000:00:02.0: [drm] GT count: 1, enabled: 1
[    1.042036] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    1.042115] Console: switching to colour dummy device 80x25
[    1.042139] i915 0000:00:02.0: vgaarb: deactivate vga console
[    1.042179] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    1.042489] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    1.043103] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    1.085650] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.9.1.bin version 70.9.1
[    1.085652] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc_7.9.3.bin version 7.9.3
[    1.088554] i915 0000:00:02.0: [drm] GT0: HuC: authenticated!
[    1.089258] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    1.089259] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    1.089602] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    1.090734] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized

lspci

root@localhost:~# lspci -s 00:02.
00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)

kernel parameters are

intel_iommu=on iommu=pt vfio-pci.ids=10de:1fbc rd.driver.pre=vfio-pci i915.enable_guc=3 i915.max_vfs=7 vt.handoff=1
smuqthya commented 5 months ago

Latest DKMS release support 5.15LTS. KMD backport is intended for Discrete platforms only and we do not test igpu with dkms and neither claim to support.