Rack 2 Pro crackling?

nope, checked that as well funny story though I just ran Windows update, there was one waiting All is fine now stupid PCs

1 Like

In case anyone else comes here searching for a similar topic, I also get audio crackling when running VCV Rack 2.

I’m using a MacMini running macOs v12.6 with 3GHz Intel 6-Core, 8GB Ram and VCV Rack v2.1.2

After reading the manual on performance tuning, I tried adjusting the thread count. The manual suggests increasing the thread count for better performance, however I only seem to be able to get rid of the audio crackling by selecting one thread only. My VCV Rack 2 CPU usage rarely goes above 25%, so I find it strange that this is necessary!

Does anyone else have this problem as well?

1 Like

Have you tried bumping up the “Block size” in the VCV AUDIO module?

2 Likes

@john_rose ah yes, that does the trick! I can run with multiple threads without crackling now, many thanks :slight_smile:

BTW Start with one thread and when the crackling starts, add another. Don’t start with as many threads as you can. And indeed try different block-sizes.

3 Likes

Well, that’s good news. :tada:

I picked a block size of 512 and did a Preset > Save default so I wouldn’t forget it for new patches.

1 Like

It’s crazy. I always had a lot of glitches when playing with VCV Rack 2 (Apple M1 Max). I could never fix it until today. I got into more advanced software development as of late, and that gave me an idea. What If it has something to do with multithreaded behavior? Indeed, if I lower the number of threads used, glitches go away! 1 thread sounds hugely better.

Some extra info. When I use the recorder module in video output mode, everything slows down and glitches like hell but the output videos aren’t corrupted, and the audio sounds fine.

Is there any explanation for this and hopefully a fix?

From the VCV manual:

Audio/video recording:

Use VCV Recorder to record audio or video. Unlike non-Rack-specific screen recording software, it operates in Rack engine “time”, not real-time, and therefore does not record real-time audio hiccups/stuttering. This means that any hiccups/stuttering you hear in real-time will not be present when the recording is played back.

I’m sorry Auret, but what does it have to do with one threaded mode not having glitches compared to multithreaded mode?

I want Rack to be playable as an instrument.

Your question was a little confusing ?

1 Like

Yep. I guess it was. Thanks for the answer!

you asked two or three questions, he only answered one.

Everyone says this so it must be true. I have to say most other multi-threaded software I use “just works”, and you don’t have to set all this thread stuff by hand.

Also - so many reports recently what just two threads makes crackle city - did something regress? Or just hearing more reports…

Another report here of lots of glitching on the M1 Max. Works great on a single thread, but I haven’t been able to get a usable result above that. It’s led to some interesting creativity with my patches to keep CPU usage within the capabilities of a single core, but I’m finding it quite limiting overall.

I’ve been in touch with VCV support and I know they’re working on it. If you’re having similar issues, I’d recommend sending them a quick email so they can get a few more data points.

2 Likes

I’m getting the cracking as well on both the Pro and free versions of Rack. My CPU usage isn’t maxing out and I’m not sure what the cause is yet. I really like VCV Rack but it seems impossible to work around this.

Check the performance meters anyway. I had Surge XT String Osc recently in a patch and with some modulation it would suddenly spike dramatically and even though I was technically not over CPU for the whole patch, it was causing intermittent crackles. Once replaced with another osc, no crackles. You never know what module might fight back sometimes. The curse of a constantly updating constantly evolving open source software jam like VCV.

I think some of my crackling issue was solved by changing the USB connection from my ES-9 to a different hub. Upping the block size in the audio out module also seemed to help.

A few months ago I heard a tiny crackling in my one of my very complex patches. Over a short period of time it got progressively worse. After checking all of the usual suspects, I opened up a very simple patch with low CPU usage, and the crackling was nust as severe Yes. After a day or so of not being able to find a solution, I trashed the settings.json file and it went away completely.

Happened again a few days ago and I trashed the prefs again and it worked.

2 Likes