J3455 CPU (Intel HD 500 GPU) segfault in _mesa_update_shader_textures_used
System information
Host: REDACTED Kernel: 6.1.35-gentoo-x86_64 arch: x86_64 bits: 64
compiler: gcc v: 12.3.1 Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.38 wm: xfwm
dm: LXDM Distro: Gentoo Base System release 2.13
CPU:
Info: quad core model: Intel Celeron J3455 bits: 64 type: MCP arch: Goldmont
rev: A cache: L1: 224 KiB L2: 2 MiB
Speed (MHz): avg: 2248 high: 2300 min/max: 800/2300 cores: 1: 2300 2: 2197
3: 2196 4: 2300 bogomips: 11984
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics 500 driver: i915 v: kernel arch: Gen-9 ports:
active: DP-1,HDMI-A-1 empty: HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5a85
Display: server: X.org v: 1.21.1.11 compositor: xfwm v: 4.18.0 driver: X:
loaded: intel unloaded: fbdev,modesetting alternate: vesa dri: i965
gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 5120x2160
Monitor-1: DP-1 mapped: DP1 pos: primary,left model: ASUS VP28U
res: 3840x2160 dpi: 157 diag: 708mm (27.9")
Monitor-2: HDMI-A-1 mapped: HDMI1 pos: right model: Asus VB195
res: 1280x1024 dpi: 86 diag: 482mm (19")
API: OpenGL v: 4.6 Mesa 24.0.1 renderer: Mesa Intel HD Graphics 500 (APL
2) direct-render: Yes
Describe the issue
Qt-based video application crashes in iris_dri.so on this system with latest Mesa. Installing mesa-amber and setting MESA_LOADER_DRIVER_OVERRIDE=i915 avoids the crash, but performance is abysmal.
Regression
Worked fine with mesa 21.3.7. Failed with 23.3.5 and 24.0.1. Can test with any additional versions that would be useful.
Log files as attachment
Stack trace:
#1 0x00007fc99256a2f1 in _mesa_uniform (location=<optimized out>, count=1, values=0x7fc8f17f35ac, ctx=<optimized out>, shProg=0x7fc9057c8230, basicType=<optimized out>, src_components=1)
at ../mesa-24.0.1/src/mesa/main/uniform_query.cpp:1576
#2 0x00007fc99256bb2d in _mesa_Uniform1i (location=<optimized out>, v0=<optimized out>) at ../mesa-24.0.1/src/mesa/main/uniforms.c:231
#3 0x00000000004cfc19 in openeye::OpenglPlainFrameRenderer::draw(unsigned int, unsigned int, unsigned int, int, bool) ()
#4 0x00000000004d4cfc in openeye::OpenglRenderPane::render(bool) ()
#5 0x00000000004da9c0 in openeye::OpenglSurface::render() ()
#6 0x00000000004e3273 in openeye::QtNativeSurface::paint() ()
#7 0x00007fc997990ec0 in ?? () from /opt/nvr/qt5/lib/libQt6Core.so.6
#8 0x00007fc9992a362e in QSGBatchRenderer::Renderer::render() () from /opt/nvr/qt5/lib/libQt6Quick.so.6
#9 0x00007fc9992b9762 in QSGRenderer::renderScene() () from /opt/nvr/qt5/lib/libQt6Quick.so.6
#10 0x00007fc999266d65 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () from /opt/nvr/qt5/lib/libQt6Quick.so.6
#11 0x00007fc9994128f6 in ?? () from /opt/nvr/qt5/lib/libQt6Quick.so.6
#12 0x00007fc999413b97 in ?? () from /opt/nvr/qt5/lib/libQt6Quick.so.6
#13 0x00007fc997ac1aaf in ?? () from /opt/nvr/qt5/lib/libQt6Core.so.6
#14 0x00007fc9972a37c4 in ?? () from /lib64/libc.so.6
#15 0x00007fc997325510 in ?? () from /lib64/libc.so.6
Any extra information would be greatly appreciated
System is running Gentoo, so adjusting compile options and software versions for testing is trivial. Can provide remote access to testing system as required. Can test with whichever versions of software might be useful.