Mesa 23.3.X causing glitches with Gnome apps on Intel cards
System information
System:
Host: calculate Kernel: 6.6.12-calculate arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 Desktop: GNOME v: 45.2 tk: GTK v: 3.24.39 wm: gnome-shell dm: GDM
Distro: Calculate Linux Desktop GNOME Adrien 23
CPU:
Info: dual core model: Intel Core2 Duo T5670 bits: 64 type: MCP
arch: Core2 Merom rev: D cache: L1: 128 KiB L2: 2 MiB
Speed (MHz): avg: 1197 min/max: 800/1801 boost: enabled cores: 1: 1197
2: 1197 bogomips: 7184
Flags: ht lm nx pae sse sse2 sse3 ssse3
Graphics:
Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Dell
driver: i915 v: kernel arch: Gen-4 ports: active: LVDS-1
empty: SVIDEO-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:2a02
Device-2: Microdia Sonix Integrated Webcam driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 4-3:3 chip-ID: 0c45:63e0
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
compositor: gnome-shell driver: X: loaded: intel dri: crocus gpu: i915
display-ID: :1 screens: 1
Screen-1: 0 s-res: 1280x800 s-dpi: 96
Monitor-1: LVDS-1 mapped: LVDS1 model: LG Philips res: 1280x800 dpi: 99
diag: 390mm (15.4")
API: EGL v: 1.5 platforms: device: 0 drv: crocus device: 1 drv: swrast
gbm: drv: crocus surfaceless: drv: crocus x11: drv: crocus inactive: wayland
API: OpenGL v: 2.1 vendor: intel mesa v: 23.3.2 glx-v: 1.4 es-v: 2.0
direct-render: yes renderer: Mesa Intel 965GM (CL) device-ID: 8086:2a02
Describe the issue
Upon updating the system through emerge @world, and changing from Mesa 23.1.9 up to 23.3.1, the whole system started glitching out as soon as the login finished (though if I pressed on the Settings cog for GDM it froze).
Once inside Gnome Desktop, the whole desktop environment started to corrupt, with the panels having odd black boxes, black flickers all around, and every time I tried to click on anything, the screen flickered and froze for around 10 seconds, and that's if the desktop didn't crash and logged me out.
I tried also testing out Mesa 23.3.2, and while the issue is mitigated in this instance, there's still flickering happening when opening certain apps and windows, like with Nautilus, Gnome Settings, Gnome Console, etc.
Regression
The graphical glitches are not present in Mesa version 23.1.9 at all, it wasn't until the update through emerge @world on Gentoo that it got updated and stopped working altogether. Rolling back to 23.1.9 from both 23.3.1 or 23.3.2 fixes the glitches.
Log files as attachment
Screenshots/video files (if applicable)
Here's a video showcasing the graphical issue with Mesa 23.3.2: https://youtu.be/eQZCkaGlNQw
With Mesa 23.3.1 the issue is even worse, the whole Gnome desktop is glitched with black boxes around everything, constant flickering and not even being able to click on any option or the system would crash. I couldn't get a video for this since Mesa takes a while to compile and install on the tested machine (around 2 hours or so).
Any extra information would be greatly appreciated
I have confirmed the issue also happens on another Dell Laptop I have access to, a Dell Latitude E5510. Same behaviour as with the Vostro 1510, only rolling back to Mesa 23.1.9 fixes the glitches for both computers.
I'm not sure if the forced installation of the package intel_clc
for Gentoo-based systems could be related to the problem.