i915 didn't work after dist upgrade until linux-firmware was manually reinstalled

Bug #2067374 reported by s.illes79
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Few days ago upgraded from 23.10 to 24.04

After upgrade nvidia drivers broke I couldn't even log in. I fixed that by purging and reinstall.

Now I can only log in to XOrg, cannot to Wayland is just black screen.

gnome-shell is using 200-800 % cpu, when doing anything ... like opening gnome settings, using spottily

System temperature is very high because of this, laptop is hardly usable.

Everything was normal in 23.10.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell 46.0-0ubuntu5.1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 28 13:42:17 2024
DisplayManager: gdm3
InstallationDate: Installed on 2022-12-08 (537 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
RelatedPackageVersions: mutter-common 46.0-1ubuntu9
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to noble on 2024-05-22 (6 days ago)

Revision history for this message
s.illes79 (s-illes79-gmail) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try uninstalling:

'<email address hidden>', 'freon@UshakovVasilii_Github.yahoo.com', '<email address hidden>', '<email address hidden>', '<email address hidden>'

Or more simply:

  cd ~/.local/share/gnome-shell/
  rm -rf extensions

and then log in again.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh actually it sounds like the problem might be that hardware acceleration isn't working:

[ 35.899866] tuxedo org.gnome.Shell.desktop[3332]: error: Kernel is too old (4.16+ required) or unusable for Iris.
[ 35.899866] tuxedo org.gnome.Shell.desktop[3332]: Check your dmesg logs for loading failures.
[ 36.085749] tuxedo org.gnome.Shell.desktop[3332]: error: Kernel is too old (4.16+ required) or unusable for Iris.
[ 36.085749] tuxedo org.gnome.Shell.desktop[3332]: Check your dmesg logs for loading failures.
[ 36.085749] tuxedo org.gnome.Shell.desktop[3332]: libEGL warning: egl: failed to create dri2 screen
[ 36.088736] tuxedo org.gnome.Shell.desktop[3332]: error: Kernel is too old (4.16+ required) or unusable for Iris.
[ 36.088736] tuxedo org.gnome.Shell.desktop[3332]: Check your dmesg logs for loading failures.
[ 36.088736] tuxedo org.gnome.Shell.desktop[3332]: libEGL warning: egl: failed to create dri2 screen
[ 36.091930] tuxedo org.gnome.Shell.desktop[3332]: error: Kernel is too old (4.16+ required) or unusable for Iris.
[ 36.091930] tuxedo org.gnome.Shell.desktop[3332]: Check your dmesg logs for loading failures.
[ 36.091930] tuxedo org.gnome.Shell.desktop[3332]: libEGL warning: egl: failed to create dri2 screen

So either something went wrong with the dist upgrade or the Nvidia drivers (which are not present now) somehow broke the Intel drivers.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please run:

  journalctl -b0 > journal.txt

and attach the resulting file here.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
s.illes79 (s-illes79-gmail) wrote :
Revision history for this message
s.illes79 (s-illes79-gmail) wrote :

tried intel, on-demand and nvidia prime mode. None works correct
Loads of firmware is missing. see nvidia.txt

Revision history for this message
s.illes79 (s-illes79-gmail) wrote :

Same issue reported here: https://askubuntu.com/questions/1514352/ubuntu-24-04-with-nvidia-driver-libegl-warning-egl-failed-to-create-dri2-scre

Looks like the solution/hack might be to copy drivers from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

I noticed:
|W: Possible missing firmware /lib/firmware/i915/mtl_gsc_1.bin for module i915

ls -l /lib/firmware/i915/mtl_huc_gsc.bin*
-rw-r--r-- 1 root root 143249 Apr 10 00:14 /lib/firmware/i915/mtl_huc_gsc.bin.zst

files are there but zipped.

Revision history for this message
s.illes79 (s-illes79-gmail) wrote (last edit ):

I can confirm that manually copying the i915 firmware
from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
to /lib/firmware/i915

regenerate initramfs and reboot.

All normal.

So upgrade broke the 915 firmware package.

summary: - gnome-shell very high cpu usage
+ i915 didn't work after dist upgrade until linux-firmware was manually
+ reinstalled
affects: gnome-shell (Ubuntu) → linux-firmware (Ubuntu)
Changed in linux-firmware (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux-firmware (Ubuntu):
status: New → Confirmed
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.