On Mon, 04 Dec 2023 17:00:57 +0100 Sebastian Reichel <[email protected]> wrote:
Package: kicad
Version: 7.0.9+dfsg-1
Severity: normal
Dear Maintainer,
Without EGL, KiCAD experience on Wayland can be quite bad even when
using XWayland. At least on AMD GPU based systems, there are ~10 second
lags when switching between PCB and Schematics windows on two different
Wayland workspaces.
I've seen commit 5a3af461df6fc6e4be868399277ea4134e703773 ("Revert
"d/rules: Turn option KICAD_USE_EGL on" ), but I think it would be
better to enable EGL support in libglew, libwxwidgets and KiCAD
instead of disabling it everywhere.
At the moment GLX is used on XWayland and that is missing some
workarounds for SwapBuffers(). For EGL wxwidgets already has the
necessary code to disable vsync. See also upstream bugs:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10235
https://github.com/wxWidgets/wxWidgets/issues/23512
I asked for the workaround to also be implemented for the GLX API,
but I believe it's a good idea to enable EGL in Debian even if that
happens.
P.S.: If anyone runs into the lag issue and finds this bug: You can
run KiCAD like this as a workaround: `vblank_mode=0 /usr/bin/kicad`.
Hi,
I wanted to ask if there are any blockers regarding this. Using KiCad
under sway defaults to xwayland now and this results in a quite blurry
interface which is not nice.
best,
werdahias