Xorg crashes with [Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported ...] on Intel Penryn/Clarkdale

Bug #1988438 reported by Steve Karg
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Unknown
xorg-server (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Crashes X11 back to login screen typically when running the browser.

I refurbish old laptops, and this older HP Pavilion dvb Core Duo with Intel graphics is probably no longer supported by Mesa 22 from the searching of the core problems that I did.

Please consider some option for those of us that want to prevent these older but like-new machines from ending up in a landfill. We still want a modern up to date secure Gnome2 experience from Ubuntu.

$ grep -nrw error /var/log/Xorg.0.log.old
12: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
483:[ 6900.077] Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
518:Fatal server error:
528:[ 6900.148] (EE) Server terminated with error (1). Closing log file.

I tried to use crocus to by adding the MESA invocation to the .profile but that didn't change the random crashes during Firefox or Chrome browsing.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5json:
 {
   "result": "skip"
 }
CompositorRunning: None
CurrentDesktop: MATE
Date: Thu Sep 1 08:21:55 2022
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Mobile 4 Series Chipset Integrated Graphics Controller [103c:3627]
   Subsystem: Hewlett-Packard Company Mobile 4 Series Chipset Integrated Graphics Controller [103c:3627]
InstallationDate: Installed on 2022-08-15 (16 days ago)
InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: Hewlett-Packard HP Pavilion dv6 Notebook PC
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-46-generic root=UUID=913d711b-e1de-44cf-9ef1-fd32a54a7815 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/21/2009
dmi.bios.release: 15.49
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.31
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3627
dmi.board.vendor: Quanta
dmi.board.version: 18.42
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.ec.firmware.release: 24.66
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.31:bd08/21/2009:br15.49:efr24.66:svnHewlett-Packard:pnHPPaviliondv6NotebookPC:pvrRev1:rvnQuanta:rn3627:rvr18.42:cvnQuanta:ct10:cvrN/A:skuVM222UA#ABA:
dmi.product.family: 103C_5335KV
dmi.product.name: HP Pavilion dv6 Notebook PC
dmi.product.sku: VM222UA#ABA
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Steve Karg (steve-karg) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Thanks for the bug report. I don't think crocus (which we do use automatically in Ubuntu 22.04) can solve this because the GLSL requirements come from the hardware.

Have you tried regular Ubuntu 22.04 with GNOME that defaults to Wayland instead?
https://ubuntu.com/download/desktop

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
summary: - Xorg crash
+ Xorg crashes with [Failed to compile FS: 0:1(10): error: GLSL 1.30 is
+ not supported ...] on Intel Penryn
Revision history for this message
Steve Karg (steve-karg) wrote : Re: Xorg crashes with [Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported ...] on Intel Penryn

I re-installed the HP Pavilion dvb Core Duo with Intel graphics with regular Ubuntu 22.04 with GNOME and Wayland, and didn't have any crashes during a week of regular usage. The regular Ubuntu is actually pretty responsive on this older hardware (using an SSD) and the installation chose an appropriate amount of swap (4G) vs MATE (1G) for 4G of physical RAM.

Prior to re-installing, I had searched for mesa-amber via apt but could not find it, to attempt to use the v21 mesa OpenGL drivers.

Thanks for the suggestion, Daniel!

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

i965 is in libgl1-amber-dri, and should avoid hitting this bug

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

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

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Stéphane Fillod (fillods) wrote :

The same crashes happen here, on a Thinkpad W500. Yes it an Intel Penryn, with a GMA4500MHD GPU. Still present with Mesa 22.2.5-0ubuntu0.1~22.04.1.

This laptop used to work fine (MATE desktop) before Ubuntu 22.04 upgrade, that is with Mesa version prior to 22.0.

I found an upstream bug report : https://gitlab.freedesktop.org/xorg/xserver/-/issues/1336

@tjaalton, can you please explicit how to divert to libgl1-amber-dri in order to workaround this bug ?

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

Please try Ubuntu 22.04's regular GNOME session with Wayland. It will avoid this bug and will also perform better than GNOME sessions of previous Ubuntu releases.

Changed in xorg-server (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
summary: Xorg crashes with [Failed to compile FS: 0:1(10): error: GLSL 1.30 is
- not supported ...] on Intel Penryn
+ not supported ...] on Intel Penryn/Clarkdale
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

To be clear:

* MATE requires Xorg
* Xorg currently requires GLSL 1.3 or it will crash
* GLSL 1.3 requires OpenGL 3.0
* Not all Intel GPUs support OpenGL 3.0:
  https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units

The problem only seems to exist in one location in the Xorg source code so it should be fixable.

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

This looks like it will fix the bug:

https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1066

It just hasn't been released yet.

tags: added: fixed-upstream
Changed in xorg-server:
status: Unknown → New
Revision history for this message
Hamer13 (hamer13) wrote (last edit ):

I've rebuilt the xorg-server package 21.1.4 locally with patch from https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1066 and the issue has been solved.
So I can confirm that proposed patch works.

Tested on my old laptop Lenovo ThinkPad X201 with i7-L620 CPU with integrated Intel HD Graphics (ILK).
I use kubuntu 22.04 with Neon KDE.

Revision history for this message
Stéphane Fillod (fillods) wrote :

Thank you @Hamer13 for the confirmation the patch works for you.

Can you please also post this confirmation to this ticket https://gitlab.freedesktop.org/xorg/xserver/-/issues/1336 ?

It looks like more confirmations are needed by Xserver devs (esp. @airlied) for the patch 1066 to be merged in server-21.1-branch

Revision history for this message
Rostislav (rostislav-kouznetsov) wrote :

I had the same issue on an old Dell laptop with intel video. Vanilla Ubuntu mate crashed on an attempt to start Dosbox. I have applied the proposed patch (with a minor conflict resolved manually) over the latest xserver-xorg available in jammy 21.1.4-2ubuntu1.7~22.04.1, and rebuilt the package.
Works like a charm. I hope it will come out of the box in the next 22.04 update.

Changed in xorg-server:
status: New → Fix Released
tags: added: rls-jj-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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