Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSTs freeze the LMMS GUI (Linux+XEmbed, master) #4885

Open
karmux opened this issue Mar 10, 2019 · 9 comments
Open

VSTs freeze the LMMS GUI (Linux+XEmbed, master) #4885

karmux opened this issue Mar 10, 2019 · 9 comments
Milestone

Comments

@karmux
Copy link
Contributor

karmux commented Mar 10, 2019

I can load all of my VST instruments and effects without problems.
After loading they work as expected.
But all of them are freezing LMMS after minute or two. For example massTURBOtar and TAL NoiseMaker are free plugins that I have. Doesn't matter if 32 or 64 bit plugin.
This happens every time when VST window is visible and I click around.
If VST window is not open then LMMS may not freeze at all or it takes significally longer time to freeze.
During freeze there is no related console output that could hint about the problem even not in Valgrind.
Interesting that after LMMS main window and it's subwindows have frozen the VST stays usable. I can turn knobs etc and sound reacts to UI changes.
As a master branch user, I've had this issue for several months if not even longer.
Doesn't happen in 1.2 branch.
I'm using Manjaro Linux with Wine 4.2 from Manjaro repo.

@tresf tresf added the bug label Mar 11, 2019
@tresf tresf added this to the 1.3.0 milestone Mar 11, 2019
@karmux
Copy link
Contributor Author

karmux commented Mar 12, 2019

This happens only when using XEmbed plugin embedding protocol. When embed using Qt API or using no embedding then LMMS does not freeze. Also CPU usage seem to get higher with XEmbed protocol and playback starts to have glitches while CPU usage stays lower for other embedding options.

@ThyQueen
Copy link

I have the same problem.

My system is Linux Mint Cinnamon 18.3 (64 bit)
Wine 3.4
LMMS 1.2.0 - rc7.
Laptop MSI 7 Rex Leopard Pro
(No midi controller or other external gears plugged in)

I've noticed that if I keep saving, it works longer than expected but if I pause for a moment by, for example, checking the net or opening other programs, then when I get back to it, it's very likely to be frozen.

I've tried to test the same software and settings on my little
Lenovo Ideapad 100s 11IBY
Lubuntu 18.4 Desktop (64 bit)
and it doesn't crash at all but of course the CPU is too limited here to use it for music production.

Interestingly, also windows games that do not work in Linux Mint with the same version of Wine, work flawlessly in Lubuntu.

I hope this information can help you discover the bug.
Thank you

@josh-audio
Copy link
Member

Thanks for the extra info @ThyQueen!

@Spekular Spekular mentioned this issue Mar 31, 2020
35 tasks
@healingdrawing
Copy link

similar issue when XEmbed protocol used. Switching to qt protocol fix the freezing.
os: kubuntu 18.04
wine: wine-4.0-rc2
lmms: Version 1.2.1 (Linux/x86_64, Qt 5.9.7, GCC 4.8.4) appImage

@PhysSong PhysSong changed the title All VSTs are freezing LMMS in a minute or two (Linux, master) VSTs are freezing LMMS in a minute or two (Linux+XEmbed, master) Apr 26, 2020
@PhysSong PhysSong changed the title VSTs are freezing LMMS in a minute or two (Linux+XEmbed, master) VSTs freeze the LMMS GUI (Linux+XEmbed, master) Apr 26, 2020
@PhysSong
Copy link
Member

See also: #5104

@FeralBytes
Copy link

Same as the others. @healingdrawing 's fix worked for me on
OS: Linux Mint 20.2
Wine: wine-5.0
LMMS 1.3.0a.1

@PhysSong
Copy link
Member

@FeralBytes
Copy link

I think this issue is fixed and resolved, can any one still reproduce on current master? If not then it should be closed.

@consolegrl
Copy link
Contributor

consolegrl commented Aug 25, 2023

Tested this on my old laptop (circa 2013):

  • Linux gentoo 5.15.4
  • Xorg 21.1.8-r2
  • qt 5.15.10-r1
  • wine 8.13
  • lmms master
  • TAP NoiseMaker (the linux version 5.0.6 VST2 from their website)

Could not reproduce. Will do testing with a heavier file, but it worked fine.

Edit: 32-bit windows-built plugins mostly work with master (window open but no interface on Xembed, Qt window sorta works for a time but stops updating and the controls don't seem to work, but audio and presets work fine)
64-bit windows-built plugins don't work at all on my machine (no sound or interface; tried TAP NoiseMaker windows build and BPB Cassette Drums), and it's just a standard gentoo install of wine-vanilla and Xorg.
The whole time however LMMS gui remained responsive and playing audio.

Will look into getting 64-bit plugins working unless that is a known issue.
The freezing of LMMS gui, however, seems to be gone.

@Rossmaxx Rossmaxx modified the milestones: 1.3, 1.3+ Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants