Graphics acceleration in PcbNew causes segfault on Wayland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Application: kicad
Version: (5.0.0-rc1), release build
Libraries:
wxWidgets 3.0.3
libcurl/7.55.1 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.3) libssh2/1.8.0 nghttp2/1.25.0
Platform: Linux 4.15.6-
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.64.0
Curl: 7.55.1
Compiler: GCC 7.3.1 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=ON
When attempting to enable graphics acceleration mode while on Wayland, PcbNew segfaults with the attached coredump.
The segfault is triggered when `XQueryExtension` invokes the `LockDisplay` macro, which attempts to dereference `Display-
The issue is discussed in further detail https:/
Obviously, Wayland support in wxWidgets would be ideal, but in the meantime it might be a good idea to disable accelerated graphics mode when not running on X.
description: | updated |
tags: | added: wayland |
Changed in kicad: | |
milestone: | none → 5.0.0-rc2 |
importance: | Undecided → Critical |
Changed in kicad: | |
milestone: | 5.0.0-rc2 → none |
importance: | Critical → Undecided |
status: | New → Triaged |
I have just tried out KiCad on Wayland. I confirm that the accelerated rendering backend does not work, as Wayland does not support GLX, but I do not see a crash either (weston 3.0.0-2 + wayland 1.14.0-1).