On 04/11/2025 16:27, ichthyo wrote:
Will and myself just discussed some options per mail.
We both agree that we should try to narrow down the surface of the problem.
So the first idea would be to create a striped-down variant of Yoshimi.
On 05/11/2025 17:51, Will Godfrey wrote:
I've been trying to produce a slimmed down but runnable Master window.
It's proving to be surprisingly difficult, and could take some time :(
On 06/11/2025 22:06, ichthyo wrote:
The code of the UI is quite large, and so I am asking myself
what would be a good approach to strip it down, without requiring
a massive amount of work on our side.
We know that the sound output is not involved, because the crash
also happens when Yoshimi was started with --null
Furthermore, the crash happens before any sound was produced.
Thus, in theory, we could take the whole synth engine out of the picture.
But the practical problem is that the UI code gets the synth pointer.
When looking through the code of MasterUI::make_window()
I noticed that a lot of the buttons and controls do set an
initial value, and trigger some communication for that.
Do you think it might be feasible to go through make_window()
and just comment all those calls out. And we might also go
through all cb_*() functions in MasterUI.fl and remove any
code from the body of those callbacks.
Hi Will and the other Yoshimi-devs,
This approach looks promising indeed.
* First I removed the open() of MusicClient, so the synth backend
does no longer start up
* In one big swell, I then went through MasterUI::make_window()
and removed all callbacks.
* this allowed me already to get rid of the retuns-Code
* and I was already able to remove VectorUI altogether,
and to leave bankUI and partUI uninitialised.
Yoshimi still starts, and presents now only the main window,
which is completely passive and does not react on interactions.
And the most important thing: it still crashes with Wayland.
This was quite some nasty chainsaw surgery,
and there is still a lot ahead, but at least we're getting anywhere!
I'll now call it a night ...
You can see my first steps on the "stripdown" branch in my Github-Repo
-- Hermann
_______________________________________________
Yoshimi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel