Audio Glitching when using Windows VST

Discuss running non-Linux applications and plugins on Linux, for example via wine

Moderators: MattKingUSA, khz

Post Reply
User avatar
nasedase
Established Member
Posts: 9
Joined: Tue Jun 02, 2020 2:53 am

Audio Glitching when using Windows VST

Post by nasedase »

I've managed to get the VST2 of Helix Native guitar sim working in Manjaro using Linvstmanager. When I use a high latency buffer size like 512 and above there's no notable glitched audio that I can hear, but any less latency and I get a lot of glitched sounds. I'm fairly new to linux audio so I'm wondering if there's anything I can do to have both low latency and run the windows vst? I'm using Carla to test the VST. I also used Ardour and got the same glitched sounds.
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Audio Glitching when using Windows VST

Post by khz »

Welcome,

test with https://github.com/raboof/realtimeconfigquickscan and post the output here.
In my signature you will find some information @Linux^audio.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Audio Glitching when using Windows VST

Post by ubuntuuser »

nasedase wrote: Tue Jun 02, 2020 2:57 am I've managed to get the VST2 of Helix Native guitar sim working in Manjaro using Linvstmanager. When I use a high latency buffer size like 512 and above there's no notable glitched audio that I can hear, but any less latency and I get a lot of glitched sounds. I'm fairly new to linux audio so I'm wondering if there's anything I can do to have both low latency and run the windows vst? I'm using Carla to test the VST. I also used Ardour and got the same glitched sounds.
I wouldn't recommend using LinVst with Carla (if that's what you are doing) as LinVst is meant for Linux Daws.

It should be possible to get it lower depending on real time setup and the kernel (low latency, real time).

The script in the above post will help in what to do and there are some basic things in the Linvst Realtime-Audio-Config section.

At https://line6.com/support/topic/30662-h ... ded-linux/ they are using Helix with Linux Reaper and LinVst with 88.2khz 192spls 6.6ms (using QjackCtl Sample Rate 88200, Frames/Period 196, Periods/Buffer 3)
User avatar
nasedase
Established Member
Posts: 9
Joined: Tue Jun 02, 2020 2:53 am

Re: Audio Glitching when using Windows VST

Post by nasedase »

khz wrote: Tue Jun 02, 2020 4:19 am Welcome,

test with https://github.com/raboof/realtimeconfigquickscan and post the output here.
In my signature you will find some information @Linux^audio.
Already ahead of you. Image
I'm using all Linux DAWs btw. The only windows program I'm using is Helix. I've been using the RT kernel the entire time. Perhaps it's just Helix's dll that has trouble processing efficiently? when I run it at a low buffer it has xruns in the thousands.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Audio Glitching when using Windows VST

Post by ubuntuuser »

nasedase wrote: Wed Jun 03, 2020 12:58 am
khz wrote: Tue Jun 02, 2020 4:19 am Welcome,

test with https://github.com/raboof/realtimeconfigquickscan and post the output here.
In my signature you will find some information @Linux^audio.
Already ahead of you. Image
I'm using all Linux DAWs btw. The only windows program I'm using is Helix. I've been using the RT kernel the entire time. Perhaps it's just Helix's dll that has trouble processing efficiently? when I run it at a low buffer it has xruns in the thousands.
It could be your audio hardware priorities or whatever, apparently there are usb edits that can be done for some usb audio devices (if you are using a usb audio device), I'm not up on all the details but they are on the Reaper Linux forum somewhere https://forum.cockos.com/showthread.php?t=221887 and https://forum.cockos.com/showthread.php?t=222259

When I was testing Line6 Helix with LinVst and Reaper, the cpu use was pretty low and the latency wasn't an issue either on inbuilt audio hardware.

Try LinVst just with Reaper and see how that goes.

I've just updated LinVst-X, so if you are using that then I'd suggest to install the update.

I think that a lot of Amp Sims run ok, Mercurial Spark, Emissary, Guitar Rig, Line6 Helix etc.
User avatar
nasedase
Established Member
Posts: 9
Joined: Tue Jun 02, 2020 2:53 am

Re: Audio Glitching when using Windows VST

Post by nasedase »

ubuntuuser wrote: Thu Jun 04, 2020 8:14 am
nasedase wrote: Wed Jun 03, 2020 12:58 am
khz wrote: Tue Jun 02, 2020 4:19 am Welcome,

test with https://github.com/raboof/realtimeconfigquickscan and post the output here.
In my signature you will find some information @Linux^audio.
Already ahead of you. Image
I'm using all Linux DAWs btw. The only windows program I'm using is Helix. I've been using the RT kernel the entire time. Perhaps it's just Helix's dll that has trouble processing efficiently? when I run it at a low buffer it has xruns in the thousands.
It could be your audio hardware priorities or whatever, apparently there are usb edits that can be done for some usb audio devices (if you are using a usb audio device), I'm not up on all the details but they are on the Reaper Linux forum somewhere https://forum.cockos.com/showthread.php?t=221887 and https://forum.cockos.com/showthread.php?t=222259

When I was testing Line6 Helix with LinVst and Reaper, the cpu use was pretty low and the latency wasn't an issue either on inbuilt audio hardware.

Try LinVst just with Reaper and see how that goes.

I've just updated LinVst-X, so if you are using that then I'd suggest to install the update.

I think that a lot of Amp Sims run ok, Mercurial Spark, Emissary, Guitar Rig, Line6 Helix etc.
Glad to hear it at least works with someone. What were your Jack settings for your hardware? I'm using focusrite 6i6 gen 1 and try to do 48000 sample rate with 32 buffer size. I'll attempt the usb priority. Also if it's any consideration I'm using Manjaro running XFCE with picom / compton as my compositor.

Edit: What version of Helix Native are you using? I'm using the .dll VST2 version 1.9. I also have the option to use VST3 but I've heard that doesn't play as nicely with linux.
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Audio Glitching when using Windows VST

Post by ubuntuuser »

I'm using the latest Helix vst2, and I previously tested the first Helix vst2 version.

When I said low cpu, I was thinking i7.

On a fast Core 2 Duo the Helix amp models are hitting 40% cpu, so low latency on a Core 2 Duo is not going to happen but around 10ms is probably ok.

On a i5 the 40% might reduce down to 20% depending on the i5.

On a i7 it might get down to 10% depending on the i7.

When the cpu use starts hitting around 30%, then something has to give for the system to keep up and higher latency setting are usually needed.

Earlier versions of Mercurial Spark run at around 20% cpu on a fast Core 2 Duo (and around 3% cpu on a quad i7) but the most recent versions run at around 10% cpu, so it looks like the author speeded something up.

Emissary and Guitar Rig tend to have moderate cpu usage on a fast core 2 Duo.
Post Reply