Hi Hermann,
On 06/11/2025 20:11, ichthyo wrote:
On 04/11/2025 16:27, ichthyo wrote:
- the crash happens under Wayland / Gnome, immediately at the point
when the main UI is created (the splash screen still displays)
On 06/11/2025 18:52, Lorenzo Sutton wrote:
Not sure if this is helpful...
Hello Lorenzo,
yes, such a test is indeed very helpful,
as there are some differences in the usage of Wayland
under KDE Plasma vs Gnome.
On Manjaro with KDE Plasma running a Wayland session I am able to
start and play with Yoshimi (just compiled from git), albeit with the
slider issue reported a while back [1]
just to confirm: can you try to start yoshimi from the terminal
and explicitly request that yoshimi uses the Wayland backend?
This can be done with the following command line:
FLTK_BACKEND=wayland yoshimi
Running that command in a Wayland does start yoshimi correctly, but... I
was suspicious and followed the advice in the Arch Wiki and it seems
that even in that case actually yoshimi might be running via xwayland.
I tested this by installing extramaus and as far as I understand if the
red cursor moves in the window it is running as xwayland [1]. I also
tested using xprop which does spit out stuff when clicking on the
yoshimi window:
https://wiki.archlinux.org/title/Wayland#Detect_Xwayland_applications
So it seems on my system (or KDE Plasma in general?) yoshimi is running
with Xwayland even if FLTK_BACKEND is set to wayland? :/
I also tested wayland-only applications and they do run in the wayland
session.
I also found this post from more than one year ago which mentions
FLTK_BACKEND and Kde/plasma, but I haven't figured out if / what this is
relevant.
https://www.fltk.org/newsgroups.php?s0+gfltk.coredev+v22172+T
Unfortunately I don't think we can prove that wayland works on KDE, well
at least not strictly, as for some reason it is using xwayland under KDE
even when in a wayland session. :-(
Let me know if I could test something else.
Lorenzo
The point is: this forces FTLK to use the wayland backend.
If this is not possible, then yoshimi will abort with an error message
like "Error: no Wayland connection available, FLTK_BACKEND='wayland'"
Otherwise, if it starts and you see the GUI, then we can be sure
that the problem does not manifest itself on KDE Plasma, which
would be certainly a very valuable information to for the FLTK folks.
-- Hermann
_______________________________________________
Yoshimi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel
_______________________________________________
Yoshimi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel