Scarlett 18i20 gen 3 Linux - Crackling Audio

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: khz, MattKingUSA

tmsmr
Established Member
Posts: 4
Joined: Wed May 27, 2020 5:45 am

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by tmsmr »

Some quirks for other interfaces broke the patch around 5.8. I updated it for 5.8.5:
0001-ALSA-usb-audio-Add-implicit-feedback-quirk-for-Scarl.patch.txt
You do not have the required permissions to view the files attached to this post.

ezemtsov
Posts: 2
Joined: Tue Aug 11, 2020 7:00 pm

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by ezemtsov »

@tmsmr That solved jack2 for me, thanks for the update.
After some testing there're no issues noticed, would be happy to have it in the upstream.

tmsmr
Established Member
Posts: 4
Joined: Wed May 27, 2020 5:45 am

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by tmsmr »

@ezemtsov I don't hink the updated patch fixed it. I simply reapplied the changes from @puleglot. There were some other changes in ALSA, probably it's working now because of them...
I would be happy to have the changes merged in upstream as well, but @puleglot mentioned open issues with that change. I don't have the experience with that whole Audio topic to do whatever has to be done to get it accepted.

User avatar
skobkin
Established Member
Posts: 12
Joined: Mon Apr 13, 2020 6:58 pm
Location: Arkhangelsk, Russia
Contact:

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by skobkin »

As far as I understood for the changes to be merged they shouldn't break duplex on ALSA like they're doing it now. To be able to achieve that some usb_audio changes are needed too.
So currently this patch is a workaround and not a fix because it breaks "normal" workflow on ALSA/PulseAudio.

lapsio
Established Member
Posts: 38
Joined: Thu Sep 01, 2016 7:34 am

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by lapsio »

I just bought Steinberg UR22C (because UR12 worked just fine) but it seems C series ALSO has implicit feedback and crackles just like Scarlett...

I have really bad luck with interfaces choice...

User avatar
sadko4u
Established Member
Posts: 797
Joined: Mon Sep 28, 2015 9:03 pm

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by sadko4u »

There is a change coming to Scarlett 18i20 driver which will allow to load the state of internal mixer!

But to test the compatibility with other devices, I need help from people who have their other gen3 devices and some time to compile kernel module or take the USB protocol dump from Windows.
This is important since I really need these dumps.
LSP (Linux Studio Plugins) Developer and Maintainer.

lapsio
Established Member
Posts: 38
Joined: Thu Sep 01, 2016 7:34 am

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by lapsio »

Is there any info regarding implicit feedback support on upstream Linux? Because it seems to slightly get out of hand. Motu, Scarlett, now Steinberg... Soon Behringer will make the only audio interfaces that actually work on Linux and that's probably only because they use last decade tech... I wasn't aware that so many interfaces suffer from this issue on Linux and that probably like half of soundcards released after 2019 don't work properly and crackle.

tmsmr
Established Member
Posts: 4
Joined: Wed May 27, 2020 5:45 am

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by tmsmr »

Hey @lapsio , seems like there is a fix for the UR22C in 5.8.8 (https://cdn.kernel.org/pub/linux/kernel ... eLog-5.8.8, https://lkml.org/lkml/2020/9/8/1304). Are you on an older kernel? Could you check if there are problems with >= 5.8.8? My Scarlett Gen 3i3 just broke (Weird USB-errors and then it vanished completely). Now i'm considering getting a UR22C...
@sadko4u As soon as i get the replacement for my broken 4i4, i'll test your changes...

User avatar
sadko4u
Established Member
Posts: 797
Joined: Mon Sep 28, 2015 9:03 pm

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by sadko4u »

tmsmr wrote:
Sat Oct 17, 2020 3:50 pm
@sadko4u As soon as i get the replacement for my broken 4i4, i'll test your changes...
It would be nice to check since I'm currently working on 18i20 gen3 interface and can not check other models.
LSP (Linux Studio Plugins) Developer and Maintainer.

DneieSVb
Established Member
Posts: 5
Joined: Mon Sep 07, 2020 8:29 am

Re: Scarlett 18i20 gen 3 Linux - Crackling Audio

Post by DneieSVb »

tmsmr wrote:
Tue Sep 01, 2020 9:03 am
Some quirks for other interfaces broke the patch around 5.8. I updated it for 5.8.5:
0001-ALSA-usb-audio-Add-implicit-feedback-quirk-for-Scarl.patch.txt
For me the patch works in Jack2 without problems. Also I can successfully use the standalone version of Pianoteq with alsa directly for incredible low latencies and no crackling at all (only thing cracking is my neck...). I just now tested with pulse directly, teamspeak can playback and record audio, also no crackling.

Thanks a lot for the patch :D

Post Reply