Mesa 21.3.1 causes stuttering and glitching in Blender on Intel graphics
System information
I have two systems and both are affected by this.
Dell XPS 13 laptop "lillun":
System:
Host: lillun Kernel: 5.15.11-arch2-1 x86_64 bits: 64 compiler: gcc
v: 11.1.0 Desktop: GNOME 41.2 tk: GTK 3.24.31 wm: gnome-shell dm: GDM
Distro: Arch Linux
CPU:
Info: dual core model: Intel Core i5-7200U bits: 64 type: MT MCP
arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB
L3: 3 MiB
Speed (MHz): avg: 747 high: 786 min/max: 400/3100 cores: 1: 786 2: 784
3: 721 4: 700 bogomips: 21607
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics 620 vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:5916
Device-2: Microdia Integrated Webcam HD type: USB driver: uvcvideo
bus-ID: 1-5:5 chip-ID: 0c45:670c
Display: wayland server: X.org 1.21.1.2 compositor: gnome-shell driver:
loaded: modesetting alternate: fbdev,intel,vesa
resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.3.2
direct render: Yes
Dell Precision 5520 laptop "biggun":
System:
Host: biggun Kernel: 5.15.11-arch2-1 x86_64 bits: 64 compiler: gcc
v: 11.1.0 Desktop: GNOME 41.2 tk: GTK 3.24.31 wm: gnome-shell dm: GDM
Distro: Arch Linux
CPU:
Info: quad core model: Intel Xeon E3-1505M v6 bits: 64 type: MT MCP
arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 859 high: 900 min/max: 800/4000 cores: 1: 897 2: 900
3: 898 4: 899 5: 885 6: 800 7: 800 8: 800 bogomips: 48016
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics P630 vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:591d
Device-2: NVIDIA GM107GLM [Quadro M1200 Mobile] vendor: Dell
driver: nvidia v: 495.46 bus-ID: 01:00.0 chip-ID: 10de:13b6
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-12:4 chip-ID: 0c45:6713
Display: x11 server: X.org 1.21.1.2 compositor: gnome-shell driver:
loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa
resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel HD Graphics P630 (KBL GT2)
v: 4.6 Mesa 21.3.2 direct render: Yes
Describe the issue
To reproduce
- Open Blender. I've seen the issue on at least Blender 3.0.0 and 2.93.6.
- Click "General" under the "New File" heading.
- Hold down the middle mouse button over the gray cube and move the mouse.
Expected behavior
Scene smoothly pans.
Actual behavior
The panning is jerky and laggy, and objects pop in and out of view. Another person named June (lilapplecritter) uploaded a video of the problem here on the Blender bugtracker at https://developer.blender.org/T94209, and I've re-attached that video to this issue: Blender_Mesa_21.3.1_issue_demo_by_June_lilapplecritter
How often does it happen?
This issue occurs 100% of the time.
Regression
This worked in Mesa 21.2.5 and is broken in 21.3.1 and 21.3.2 (which is the latest version available in Arch Linux). I confirmed that downgrading the "mesa" package to 21.2.5 and making no other changes causes the issue to go away.
Log files as attachment
I've attached the dmesg output for my "lillun" machine (the Dell XPS 13): lillun_dmesg.txt
Screenshots/video files (if applicable)
I've re-attached a video by June (lilapplecritter) that was uploaded on the Blender bugtracker at https://developer.blender.org/T94209 showing the issue: Blender_Mesa_21.3.1_issue_demo_by_June_lilapplecritter
Any extra information would be greatly appreciated
To whomever is reading this: you are an awesome person! :) Happy Holidays!