SIGABRT in _iris_batch_flush on swapBuffers()
Description
SIGABRT on swapBuffers() in _iris_batch_flush after approx 5 to 45 minutes on avg
with Ubuntu 21.10 using stock mesa-dri 21.2.2
also happens on mesa-dri 22.0~git2111040600.0913ac ( using oibaf ppa )
replacing only the iris_dri.so with the one from stock Ubuntu 21.04 (mesa 21.0.3) and the problem goes away
Stack Trace
- 4 0x00007ffff4a087b7 in __GI_abort () at abort.c:79
- 5 0x00007fffe35314ee in _iris_batch_flush (batch=, file=, line=)
at ../src/gallium/drivers/iris/iris_batch.c:776 - 6 0x00007fffe4063bdc in iris_fence_flush (ctx=0x7fffd27b79b0, out_fence=0x7fffcb5fc068, flags=)
at ../src/gallium/drivers/iris/iris_fence.c:248 - 7 0x00007fffe35bd828 in st_flush (flags=1, fence=0x7fffcb5fc068, st=0x7fffdbbcb000) at ../src/mesa/state_tracker/st_cb_flush.c:61
- 8 st_context_flush (stctxi=0x7fffdbbcb000, flags=3, fence=0x7fffcb5fc068, before_flush_cb=0x7fffe3546950 <notify_before_flush_cb(void*)>, args=) at ../src/mesa/state_tracker/st_manager.c:676
- 9 0x00007fffe3546485 in dri_flush (cPriv=, dPriv=, flags=, reason=)
at ../src/gallium/frontends/dri/dri_drawable.c:522 - 10 0x00007fffe70b163c in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
- 11 0x00007fffe4df1e92 in QGLXContext::swapBuffers(QPlatformSurface*) ()
from /opt/install/qgsd/plugins/xcbglintegrations/libqxcb-glx-integration.so - 12 0x00007ffff64d42ac in QOpenGLContext::swapBuffers(QSurface*) () from /opt/install/qgsd/lib/libQt5Gui.so.5
Notes
also happens without Qt5 using only SDL2 or X11_GL_SwapWindow() directly
only happens when rendering from a shared context in a different thread to a FBO while using glFence/WaitSync
System information
System: Host: svr-muc9-ntr-gsdmix002 Kernel: 5.13.0-20-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Console: tty pts/1
Distro: Ubuntu 21.10 (Impish Indri)
CPU: Info: 6-Core model: Intel Xeon W-1250 bits: 64 type: MT MCP arch: Comet Lake rev: 3 cache: L1: 384 KiB L2: 12 MiB
L3: 12 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 79199
Speed: 3300 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 3300 2: 3300 3: 3300 4: 3300 5: 3300 6: 3300 7: 3300
8: 3300 9: 3300 10: 3300 11: 3300 12: 3300
Graphics: Device-1: Intel vendor: Super Micro driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9be6
Device-2: Blackmagic Design Decklink SDI 4K driver: blackmagic-io v: 12.1a9 bus-ID: 01:00.0 chip-ID: bdbd:a138
Device-3: ASPEED Graphics Family vendor: Super Micro driver: ast v: kernel bus-ID: 05:00.0 chip-ID: 1a03:2000
Display: server: X.Org 1.20.13 driver: loaded: intel resolution: 1280x720 s-dpi: 96
OpenGL: renderer: Mesa Intel UHD Graphics P630 (CML GT2) v: 4.6 Mesa 21.0.3 direct render: Yes