SUMMARY Spectacle segfaults on NVK when the env var NOUVEAU_USE_ZINK=1 is set STEPS TO REPRODUCE 1. set NOUVEAU_USE_ZINK=1 2. launch spectacle OBSERVED RESULT Pops up a window for a bit, then segfaults EXPECTED RESULT Spectacle works as on any GPU SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 Kernel Version: 6.12.0-rc1-1-mainline (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7600 6-Core Processor Memory: 30.9 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3070 Mesa version: Mesa git built on commit 065b45e4dcd ADDITIONAL INFORMATION backtrace: ``` (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007fcdfd43bd98 in vl_codec_supported (screen=screen@entry=0x7fcdbc00e000, profile=profile@entry=PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE, encode=encode@entry=true) at ../mesa/src/gallium/auxiliary/vl/vl_codec.c:74 #2 0x00007fcdfce2606a in vlVaGetConfigAttributes (ctx=<optimized out>, profile=VAProfileH264ConstrainedBaseline, entrypoint=VAEntrypointEncSlice, attrib_list=<optimized out>, num_attribs=<optimized out>) at ../mesa/src/gallium/frontends/va/config.c:261 #3 0x00007fce1471f30c in vaGetConfigAttributes () from /usr/lib/libva.so.2 #4 0x00007fce1a3f4426 in VaapiUtils::rateControlForProfile(VAProfile, VAEntrypoint, void*, QByteArray const&) () from /usr/lib/libKPipeWire.so.6 #5 0x00007fce1a3f44da in VaapiUtils::supportsProfile(VAProfile, void*, QByteArray const&) () from /usr/lib/libKPipeWire.so.6 #6 0x00007fce1a3f4798 in VaapiUtils::supportsH264(QByteArray const&) const () from /usr/lib/libKPipeWire.so.6 #7 0x00007fce1a3f4915 in VaapiUtils::VaapiUtils(VaapiUtils::Private) () from /usr/lib/libKPipeWire.so.6 #8 0x00007fce1a3f4ad8 in VaapiUtils::instance() () from /usr/lib/libKPipeWire.so.6 #9 0x00007fce1f02c45f in PipeWireBaseEncodedStream::suggestedEncoders() const () from /usr/lib/libKPipeWireRecord.so.6 #10 0x00007fce1f02cbec in PipeWireBaseEncodedStream::PipeWireBaseEncodedStream(QObject*) () from /usr/lib/libKPipeWireRecord.so.6 #11 0x00007fce1f02fe36 in PipeWireRecord::PipeWireRecord(QObject*) () from /usr/lib/libKPipeWireRecord.so.6 #12 0x000055f3ce726311 in ?? () #13 0x000055f3ce72a26b in ?? () #14 0x00007fce19acbc65 in ?? () from /usr/lib/libQt6Core.so.6 #15 0x00007fce19ac53f7 in ?? () from /usr/lib/libQt6Core.so.6 #16 0x00007fce192a339d in ?? () from /usr/lib/libc.so.6 #17 0x00007fce1932849c in ?? () from /usr/lib/libc.so.6 ```
This is a mesa bug, as seen in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31517 and will be resolved when that, or https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31528 will be merged