LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2020, 03:07 AM   #1
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 135

Rep: Reputation: 15
Question Focusrite Scarlett 4i4 3rd gen: periodic click on playback


Hello,

I recently purchased a Focusrite Scarlett 4i4 external USB audio card. I am very happy about the audio quality, and recordings are very noiseless.

Unfortunately, during playback, I have a very annoying random click (a sound similar to a elecrostatic discharge, very short and high pitch) every second or so.
That happens :
  • with every output, both headphone and speakers,
  • on both audio recorded on disk (SSD and HDD) and on live input,
  • with either PulseAudio and Jack.
  • sometimes louder than others, and sometimes more to the left or to the right
I do not have that issue with my other devices (internal soundcard or graphic card HDMI). I also don't have the issue on Windows. The card is dead silent with no audio playback.

I tried a few things including increasing buffer and periods in Jack, or booting with usbcore.autosuspend=-1, but I can't seem to solve the issue on my own.

I have no idea what to try next (except maybe boot a live CD of some other Linux distro dedicated to music creation). Do you have some?

Thanks.

Last edited by djib; 04-12-2020 at 03:09 AM.
 
Old 04-12-2020, 03:12 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,004

Rep: Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891
I would contact the official support.
 
Old 04-12-2020, 07:09 AM   #3
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pan64 View Post
I would contact the official support.
Thanks. I might end up doing that, but the card is not officially supported on Linux. I have read multiple comments of people who got it working though.


I just tried Ubuntu Studio 19.10 and I have the same issue :S
 
Old 04-12-2020, 07:30 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,004

Rep: Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891Reputation: 7891
I guess it is hardware related (power supply), that's why I told you to contact the official support. But obviously it is just a thought.
 
Old 04-13-2020, 06:10 PM   #5
clook
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Rep: Reputation: Disabled
Hi djib,

I have the same device Focusrite Scarlett 4i4 3rd gen and I have the same issue: random, slightly clicks during playback on Linux.
From my tests:
- it happens on Linux regardless of the machine, kernel 4 or 5, even 5.6 (1)
- no issue with a native Windows running official drivers (2)
- the issue happens also with a Windows running official drivers as a Vagrant libvirt guest of a Linux machine (3)

I started checking the USB URB isosynchronous frames. From what I see, native Windows (2) has shorter URB frames than (1) and (3):
at 48 kHz:
(2) each URB is composed of 16 packets of 6 samples of 4 channels with 32 bits resolution
(1) and (3) each URB is composed of 32 packets of 6 samples of 4 channels with 32 bits resolution

Unfortunately, the current Alsa driver does not allow to change the number of packets (was the case with nrpacks option before implementing automatic length guess that works well most of the time).

I'm not a USB Guru, just learning from what I see and some resources.
Not sure, if the URB length that is too large can affect the audio on the sound device, may be a really short buffer that does not support packets of this length?

=> I will check if I can limit the packet number with a quirck on the USB audio driver and tell you if it improves things.

Cheers,
 
Old 04-14-2020, 01:50 AM   #6
clook
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I guess it is hardware related (power supply), that's why I told you to contact the official support. But obviously it is just a thought.
Hi pan64,
Thanks for you suggestion.
The device is self powered by USB 3 (no external power supply possible on this model) and works well with Windows on the same machine so it would be quite difficult to make the official support understand that since Linux is not supported but the intended OS Windows works.
 
Old 04-18-2020, 06:30 AM   #7
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by clook View Post
Hi djib,

I have the same device Focusrite Scarlett 4i4 3rd gen and I have the same issue: random, slightly clicks during playback on Linux.
From my tests:
- it happens on Linux regardless of the machine, kernel 4 or 5, even 5.6 (1)
- no issue with a native Windows running official drivers (2)
- the issue happens also with a Windows running official drivers as a Vagrant libvirt guest of a Linux machine (3)

Thanks for the feedback.

I ended up sending the device back Too bad because I really liked the sound.
I am considering purchasing a ConnectAUDIO2/4 which seems to be one of the only USB cards with official linux support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to configure external USB soundcard (Focusrite Scarlett Solo) to play sound in Linux? Letrix Linux - Hardware 8 07-13-2018 04:23 PM
Computer detecting right-click as left-click, left-click as left-click and middle with 2 fingers pressed as right-click Festerdam Linux - Newbie 5 06-19-2017 05:41 PM
3rd gen CPU in a 2nd Gen Laptop Motherboard benifits are? BW-userx Linux - Hardware 4 05-18-2016 01:56 PM
[SOLVED] Focusrite Scarlett Solo (USB) latency and getting it recognized by ALSA hokkupi Linux - Hardware 1 07-31-2015 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration