osxmidi / LinVst

Linux Windows vst wrapper/bridge
GNU General Public License v3.0
683 stars 41 forks source link

Framerate feels choppy #65

Closed ghost closed 5 years ago

ghost commented 5 years ago

Every plugin I try with LinVst, the framerate of the GUI feels choppy. However, when I run the same plugin inside of Airwave, it feels butter smooth. Do you have any ideas what could cause this? You would think that LinVst should perform better since it is newer.

osxmidi commented 5 years ago

I've never heard about that problem before and that includes LinVst being used with multi distros/various hardware/various distro wine binaries.

If it was a common problem then I would have heard about it by now.

I would guess that it's some sort of hardware/wine/library incompatibility problem.

LinVst just uses X11 (as a lot of Linux apps do) and the wine vst window is a X11 window and that gets connected to the DAW vst plugin window as per usual for vst plugins.

Airwave uses what's called xembed to do the connecting of the wine window to the daw window and that needs to be reworked (patch) in wine as it has problems especially with some systems and Airwave recommended a wine patch to try to fix it https://github.com/psycha0s/airwave/blob/master/fix-xembed-wine-windows.patch

So if you are getting a better display with Airwave than with LinVst then all I can say is that it's probably not a normal thing as it's often the other way around due to wines buggy xembed that Airwave uses.

I tried xembed with LinVst and the results were pretty bad (especially on some systems) so I do not use it and instead I use X11 directly and avoid wines xembed.

What window manager do you have

wmctrl -m

sudo apt-get install wmctrl

ghost commented 5 years ago

I'm running Linux Mint 19, however the same problem persists in any distro I try such as Manjaro, Ubuntu and Fedora. This is the output of wmctrl -m:

Name: Mutter (Muffin)
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: N/A

I've been having graphics issues with my system all over the place. I posted before that I was having trouble getting Serum to run smoothly. But also programs like Blender feel super laggy unless I run it with "env LIBGL_DRI3_DISABLE=1 blender". And Firefox sometimes glitches out while scrolling. Even in Windows 10 with the latest drivers some games don't perform well.

I have an AMD R9 285 graphics card. I've tried putting a friend's RX480 in my system, but it was still the same. I've also tried removing the card and running off of the processor's graphics (i7-4790k).

Something I think I'll try next is downgrading the BIOS firmware on my motherboard (ASUS Z97-A) and see if that fixes the issue. I'm running the latest one for my motherboard.

ghost commented 5 years ago

Downgrading the BIOS firmware didn't help. Something about my computer seems screwy.