LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
8.16k stars 1.01k forks source link

VST plugins don't load on Linux through Wine #7373

Closed antieksi closed 4 months ago

antieksi commented 4 months ago

System Information

EndeavourOS w/ niri compositor (Wayland)

LMMS Version(s)

1.2.2 (Linux/x86_64, Qt 5.15.14, GCC 14.1.1 20240522)

Most Recent Working Version

No response

Bug Summary

VST .dlls fail to load. If this can be helpful, I use xwayland-satellite to use XWayland apps in niri compositor. After starting it I launch LMMS with environment variable DISPLAY set to :0, and I don't really know, if this is the reason.

Expected Behaviour

With Wine installed from official repositories, any plugin should start and show its window

Steps To Reproduce

Logs

Click to expand
0088:err:hid:udev_bus_init UDEV monitor creation failed
Starting using Qt-native embedding.
malloc(): unsorted double linked list corrupted
wine: Assertion failed at address EFEA6579 (thread 0024), starting debugger...
malloc(): unsorted double linked list corrupted
0024:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.

Screenshots / Minimum Reproducible Project

No response

Please search the issue tracker for existing bug reports before submitting your own.

musikBear commented 4 months ago

Do you use wine9? If so dont use wine9 OR you need Nightly -'Current' Nightly should support wine9, but sure im' not

Rossmaxx commented 4 months ago

Yeah nightly supports wine 9. But it's not backwards compat with wine < 6.0

0hStormy commented 4 months ago

You're on an Arch based distro, so you probably have Wine 9, you have to download the latest Nightly build for it to work.

antieksi commented 4 months ago

I've installed lmms-git package just now which should have installed me a bleeding-edge LMMS version. VST plugins load, but I've stumbled upon other problem: I can't open VST plugins' GUI.

Rossmaxx commented 4 months ago

You need libxcb-0 or whatever is the arch name too installed. It's a new dependency for vst, since we added wine 9 support.

antieksi commented 4 months ago

It looks like I already have them installed (both x86 and x64). Could it be that libxcb and libxcb-0 are a little different?

antieksi commented 4 months ago

It seems like this was because of me not setting X11 properly for the VST plugin to show its window. Though I still have one minor issue, that one of plugin's contents appearing not inside LMMS itself, but that's an issue of the compositor. Aside from this, everything seems to work now. Thanks!