Add support for Intel DG2

Bug #1971712 reported by Timo Aaltonen
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned
linux-oem-5.17 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Won't Fix
Undecided
Unassigned
linux-oem-6.1 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
mesa (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

Ubuntu 22.04 does not support Intel DG2-based hw which is released later this year.

[Fix]

Mesa: needs a bunch of patches backported to 22.0.x, will be upstream in 22.1 or 22.2
kernel: oem-6.0 plus a bunch of backports from 6.1/drm-tip
firmare: updates to i915 DMC, GuC

[Test case]

Boot a system with a DG2-based GPU, check that native graphics drivers are used.

Test mesa also on gen9-gen12 GPU's to verify that there are no regressions even though the backports are for DG2.

[What could go wrong]

The Mesa patches are only for DG2 support, should not affect other hardware at all. The kernel driver is in a separate package which isn't installed by default except preinstall machines with this hardware. So other users are not affected.

Timo Aaltonen (tjaalton)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Timo, or anyone else affected,

Accepted mesa into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mesa/22.0.1-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in mesa (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: New → Fix Committed
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 22.0.1-1ubuntu3

---------------
mesa (22.0.1-1ubuntu3) kinetic; urgency=medium

  * Add patches to support Intel DG2. (LP: #1971712)

 -- Timo Aaltonen <email address hidden> Mon, 09 May 2022 13:44:31 +0300

Changed in mesa (Ubuntu):
status: New → Fix Released
You-Sheng Yang (vicamo)
Changed in linux-oem-5.17 (Ubuntu):
status: New → Invalid
Timo Aaltonen (tjaalton)
tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

works fine on Dell hybrid with ADL iGPU and DG2 dGPU

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 22.0.1-1ubuntu2.1

---------------
mesa (22.0.1-1ubuntu2.1) jammy; urgency=medium

  * Add patches to support Intel DG2. (LP: #1971712)

 -- Timo Aaltonen <email address hidden> Mon, 09 May 2022 13:44:31 +0300

Changed in mesa (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for mesa has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Timo Aaltonen (tjaalton)
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: Fix Committed → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

kernel support won't happen before oem-5.20

Changed in linux-oem-5.17 (Ubuntu Jammy):
status: Confirmed → Won't Fix
Revision history for this message
Sebastian Heiden (seb-heiden) wrote :

Are there any plans for providing an i915 DKMS Module with DG2 Support for oem-5.17?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

not in ubuntu archive

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

but you'll have an oem-6.0 with support built in later

Timo Aaltonen (tjaalton)
Changed in linux-oem-6.0 (Ubuntu):
status: New → Invalid
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Sebastian Heiden (seb-heiden) wrote :

Looking forward to linux-oem-6.0 support. Got an A380 and A770 here for testing purposes.

It seems like the current proposed build of the linux-oem-6.0 kernel still has some issues in this regard.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

you need to use i915.force_probe until maybe 6.2, but other than that it works quite well for the most part even in 6.0

Timo Aaltonen (tjaalton)
Changed in linux-firmware (Ubuntu):
status: New → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux-firmware (Ubuntu Jammy):
status: New → In Progress
Juerg Haefliger (juergh)
tags: added: kern-4615
Timo Aaltonen (tjaalton)
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: Fix Committed → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Timo, or anyone else affected,

Accepted linux-firmware into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220923.gitf09bebf3-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in linux-firmware (Ubuntu Kinetic):
status: New → Fix Committed
Changed in linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Timo, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Sebastian Heiden (seb-heiden) wrote :

The new firmware package works fine with the 6.0 kernel, it loads the GuC and HuC Firmware, as seen below:
[ 4.691687] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_06.bin (v2.6)
[ 4.702309] i915 0000:03:00.0: [drm] GuC firmware i915/dg2_guc_70.1.2.bin version 70.

I presume the firmware updates are a preparation for the i915/drm backports to the 6.0-oem kernel?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

well not exactly, oem-6.0 will not get DG2 support..

Revision history for this message
Sebastian Heiden (seb-heiden) wrote :

Is this not going to happen?
> kernel: oem-6.0 plus a bunch of backports from 6.1/drm-tip

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

no, plans have changed I'm afraid, but there might be something else which I can't disclose right now

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220329.git681281e4-0ubuntu3.7

---------------
linux-firmware (20220329.git681281e4-0ubuntu3.7) jammy; urgency=medium

  * Add support for Intel DG2 (LP: #1971712)
    - i915: Add DMC v2.07 for DG2
    - i915: Add GuC v70.4.1 for DG2
    - i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P
  * MIssing GPU firmware for AMD Ryzen 7000 desktop on Jammy 22.04 (LP: #1993223)
    - amdgpu: add firmware for DCN 3.1.5 IP block
    - amdgpu: add firmware for GC 10.3.6 IP block
    - amdgpu: add firmware for PSP 13.0.5 IP block
    - amdgpu: add firmware for SDMA 5.2.6 IP block
    - amdgpu: add firmware for VCN 3.1.2 IP block
  * Support Intel IPU6 MIPI camera (LP: #1987595)
    - SAUCE: intel-ipu6: update ipu6ep firmware
    - SAUCE: intel-ivsc: support more sensors
    - SAUCE: intel-ivsc: add more firmware
  * Realtek 8852c WiFi/BT firmware support (LP: #1995046)
    - rtw89: 8852c: add new firmware v0.27.20.0 for RTL8852C
    - rtw89: 8852c: update fw to v0.27.36.0
    - rtw89: 8852c: update fw to v0.27.42.0
    - rtw89: 8852c: update fw to v0.27.56.0
    - rtw89: 8852c: update fw to v0.27.56.1
    - rtl_bt: Add firmware and config files for RTL8852C
    - rtl_bt: Update RTL8852C BT USB firmware to 0xDFB8_5A33
    - rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
  * Add cs35l41 firmware loading support (LP: #1995957)
    - linux-firmware: Add firmware for Cirrus CS35L41
    - linux-firmware: Add firmware for Cirrus CS35L41 on HP Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on Lenovo Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on ASUS Laptops

 -- Juerg Haefliger <email address hidden> Wed, 16 Nov 2022 15:59:19 +0100

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
tags: added: verification-done-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220923.gitf09bebf3-0ubuntu1.1

---------------
linux-firmware (20220923.gitf09bebf3-0ubuntu1.1) kinetic; urgency=medium

  * Add support for Intel DG2 (LP: #1971712)
    - i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P
  * Miscellaneous Ubuntu changes
    - Initial dummy SRU release
  * Support Intel IPU6 MIPI camera (LP: #1987595)
    - SAUCE: intel-ipu6: update ipu6ep firmware
    - SAUCE: intel-ivsc: support more sensors
    - SAUCE: intel-ivsc: add more firmware
  * Realtek 8852c WiFi/BT firmware support (LP: #1995046)
    - rtw89: 8852c: update fw to v0.27.56.0
    - rtw89: 8852c: update fw to v0.27.56.1
    - rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
  * Add cs35l41 firmware loading support (LP: #1995957)
    - linux-firmware: Add firmware for Cirrus CS35L41 on HP Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on Lenovo Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on ASUS Laptops

 -- Juerg Haefliger <email address hidden> Wed, 16 Nov 2022 16:12:23 +0100

Changed in linux-firmware (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

oem-6.1 is now in jammy-proposed

affects: linux-oem-6.0 (Ubuntu) → linux-oem-6.1 (Ubuntu)
Changed in linux-oem-6.1 (Ubuntu Jammy):
status: Confirmed → Fix Committed
Revision history for this message
Sebastian Heiden (seb-heiden) wrote :

It seems like there is no more force-probe required for oem-6.1, works fine out-of-the-box now.

When is the 22.2 mesa from ppa:canonical-x/x-staging going to be released, currently using the linux-oem-6.1 kernel together with the 23.0 mesa from the Intel Arc package sources.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

mesa backport will get in proposed soon

Changed in linux-oem-6.1 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

and is there now

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.