aaronp wrote:It's bizarre because as far as I can tell, timidity isn't actually referenced anywhere in the code. From a glance, it looks like this is actually an error message from SDL. Why the heck is SDL trying to open a file from timidity? I'm too tired try and figure that one out.
Yes, it is an error message from SDL. Yes, it is super crazy.
aaronp wrote:Anyway, that's actually unrelated to the segfault. This is another case of setvsync having a return value in the type signature that isn't ever actually returned. setting the return type to void fixes the dosbox segfault
Thank you, fixed in the patch.
At which point loading dosbox with openglepp causes gnome-shell (my desktop environment) to segfault. :lol: I think amdgpu doesn't like something you're doing with openglepp, but I don't know much about opengl.
You shall have to help me with resolving this error because I don't have a Linux installation. Does
openglnb work with the patch? Does it work in stock DOSBox?
Edit: Did you try with
fullborderless both
true and
false?
As an aside, if you're going to support borderless fullscreen (awesome!) would you be willing add a cfg option to set the _NET_WM_BYPASS_COMPOSITOR window hint in x11 (I believe Windows as a similar option)? Obviously this negates the whole v-sync thing, but hopefully that would allow people to alt-tab dosbox without having to constantly switch between windowed and fullscreen, without sacrificing performance from compositing.
If that is going to introduce OS-specific conditional compilation then I would rather not, because I really should like to keep the footprint of the patch to a minimum. It is already larger than I want and I am considering a simplification because I hope that one day I am allowed to include it into official SVN. Another reason is that a small patch is easier to keep in sync with the latest SVN trunk.