GUI crashed after installed proposed package libegl-mesa0

Bug #2051068 reported by Lee Sheng Hung
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-oem-6.1 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Won't Fix
Undecided
Unassigned
mesa (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
Timo Aaltonen

Bug Description

[Impact]

OEM-6.1 kernel is missing support for minimum page size of 64k on DG2 (gfx12.5). Mesa 23.2 started using that, so it broke initializing the gpu on boot, causing a blank screen with no GDM running (with wayland, and fallback to X failed too).

[Fix]

Revert the commit that allows using 64k page size, since that's what the current version in jammy-updates is using. OEM-6.1 kernel is going away, no need to patch that anymore. No other kernel is affected, >6.2 works fine and thus this revert is not necessary in mantic or noble.

[Test case]

Install the update, boot up a machine with DG2 (iGPU or dGPU, doesn't matter). The login screen should appear.

[Where things could go wrong]
Hard to see how this could regress anything, as it just restores the limits for intel gfx12.5 as they were in the current mesa version in jammy.

---

[Summary]
After installed proposed package libegl-mesa0, reboot system.

GUI crashed but still able to access system by ssh.

[Steps to reproduce]
1. Boot into OS
2. sudo apt update
3. sudo apt upgrade
4. After upgrade process finished, reboot system.
5. GUI crashed.

[Expected result]
GUI displayed normally

[Actual result]
GUI crashed

[Failure rate]
100%

Tester comments
---------------
if we don't upgrade libegl-mesa0, GUI will be fine.

[Additional information]
CID: 202303-31429
SKU: MYBY-DVT2-C5
Image: dell-bto-jammy-jellyfish-muk-X105-20231026-26_A02.iso
system-manufacturer: Dell Inc.
system-product-name: Precision 5680
CPU: Intel(R) Core(TM) i7-13700H
kernel-version: 6.1.0-1028-oem

[Stage]
Issue reported.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
Kevin Yeh (kevinyeh)
tags: added: cert-sru
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

thanks for the bug, could you attach /var/log/kern.log which should contain the dmesg from the failing boot?

Changed in mesa (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Lee Sheng Hung (jameslee20240115) wrote :
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.1 (Ubuntu):
status: New → Invalid
Changed in mesa (Ubuntu Jammy):
status: New → Confirmed
Changed in mesa (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Okay, this is caused by

commit 9c67dde401ea0ceb0c159428d0775948108343fb (HEAD)
Author: Lionel Landwerlin <email address hidden>
Date: Tue May 23 10:00:20 2023 +0300

    intel: reduce minimum memory alignment on Gfx12.5

as we're missing kernel support for it in oem 6.1:

commit 8133a6daad4e72748e239a02775a853ca7ed798b
Author: Matthew Auld <email address hidden>
Date: Tue Oct 4 12:49:14 2022 +0100

    drm/i915: enable PS64 support for DG2

but since oem-6.1 is going away, it's best to just revert the commit from mesa.

Changed in mesa (Ubuntu Jammy):
assignee: nobody → Timo Aaltonen (tjaalton)
status: Confirmed → Triaged
Changed in linux-oem-6.1 (Ubuntu Jammy):
status: New → Won't Fix
Timo Aaltonen (tjaalton)
description: updated
description: updated
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Please amend the test case to test with both the GA and the (affected) 6.1 OEM kernels.

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Lee, or anyone else affected,

Accepted mesa into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mesa/23.2.1-1ubuntu3.1~22.04.2 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: Triaged → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

GA kernel doesn't support DG2, oem-6.1 was the first one, hwe-6.2 does too and works more or less fine (doesn't suffer from this issue)

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 :

tested on my hw, works as planned

Revision history for this message
Lee Sheng Hung (jameslee20240115) wrote :

Sorry for the late reply. Proposed package 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic], GUI displayed normally, thank you for the help!

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

This bug was fixed in the package mesa - 23.2.1-1ubuntu3.1~22.04.2

---------------
mesa (23.2.1-1ubuntu3.1~22.04.2) jammy; urgency=medium

  * patches: Revert a patch that caused GUI fail with OEM-6.1 kernel on
    Intel DG2. (LP: #2051068)

mesa (23.2.1-1ubuntu3.1~22.04.1) jammy; urgency=medium

  * Backport to 22.04. (LP: #2037604)
  * rules: Disable rusticl, FTBFS on jammy.

 -- Timo Aaltonen <email address hidden> Wed, 24 Jan 2024 14:01:34 +0200

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.

Revision history for this message
drouineau (elfunesto) wrote :

Dear all, after the upgrade of mesa packages on monday (23.2.1-1ubuntu3.1~22.04.2 from repo jammy-updates), I suffer similar symptoms at startup (causing a blank screen with no GDM running and message "something went wrong). I am using 22.04.3 LTS "Jammy Jellyfish" with kernel 6.1.0-1034-oem but the issue remains with kernel 6.2.0-26-generic). I have a Dell precision 5480. The issue occurs if I use the nouveau driver or the proprietary nvidia driver (535) with profile "on-demand". The problem is solved with proprietary driver and profile "nvidia" (but costs a lot to the battery lifetime).
I enclose the syslog around the crash which mentions an issue with mesa drivers.

Is this the same issue or should I open a new issue?

Revision history for this message
drouineau (elfunesto) wrote :

I also enclose the apt log describing the dist-upgrade that causes the issue

information type: Public → Public Security
information type: Public Security → Private Security
information type: Private Security → Public
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.