Crackling without xruns with RT PREEMPT kernel

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

puleglot wrote: Sat Apr 18, 2020 2:36 pm So this might be a Renoise+Jack specific issue indeed.
Yes, that's my assumption. But it also works with another interface in Renoise (ESI DAC nano). :mrgreen: So it's only one configuration that's not working: Renoise / Jack / Zoom R8.

That's the ESI DAC

Code: Select all

Bus 002 Device 002: ID 0a92:0054 EGO SYStems, Inc. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0a92 EGO SYStems, Inc.
  idProduct          0x0054 
  bcdDevice            0.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x00f2
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      58
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0012  1x 18 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              3 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0028
        bInCollection           1
        baInterfaceNr(0)        3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             9
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0605 SPDIF interface
        bAssocTerminal          0
        bSourceID              16
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                16
        bSourceID               9
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        iFeature                0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           9
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            6 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        16000
        tSamFreq[ 2]        32000
        tSamFreq[ 3]        44100
        tSamFreq[ 4]        48000
        tSamFreq[ 5]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0184  1x 388 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0002
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           9
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
        tSamFreq[ 2]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0246  1x 582 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0002
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           9
        bDelay                  0 frames
        wFormatTag         0x2001 IEC1937_AC-3
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             3 (FORMAT_TYPE_III)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0002
and that's the Zoom

Code: Select all

Bus 002 Device 003: ID 1686:014f ZOOM Corporation 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x1686 ZOOM Corporation
  idProduct          0x014f 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0151
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         3
      bFunctionClass          1 Audio
      bFunctionSubClass       0 
      bFunctionProtocol      32 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol     32 
      iInterface              4 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               2.00
        bCategory               8
        wTotalLength       0x0065
        bmControls           0x00
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype     10 (CLOCK_SOURCE)
        bClockID               41
        bmAttributes            3 Internal programmable clock 
        bmControls           0x07
          Clock Frequency Control (read/write)
          Clock Validity Control (read-only)
        bAssocTerminal          0
        iClockSource            0 
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype     11 (CLOCK_SELECTOR)
        bClockID               40
        bNrInPins               1
        baCSourceID(0)         41
        bmControls           0x03
          Clock Selector Control (read/write)
        iClockSelector          0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bCSourceID             40
        bNrChannels             2
        bmChannelConfig    0x00000000
        iChannelNames           0 
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                10
        bSourceID               2
        bmaControls(0)     0x0000000f
          Mute Control (read/write)
          Volume Control (read/write)
        bmaControls(1)     0x0000000f
          Mute Control (read/write)
          Volume Control (read/write)
        bmaControls(2)     0x0000000f
          Mute Control (read/write)
          Volume Control (read/write)
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            20
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID              10
        bCSourceID             40
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bCSourceID             40
        bNrChannels             2
        bmChannelConfig    0x00000000
        iChannelNames           0 
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            21
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               3
        bCSourceID             40
        bmControls         0x0000
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              4 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              4 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           2
        bmControls           0x00
        bFormatType             1
        bmFormats          0x00000001
          PCM
        bNrChannels             2
        bmChannelConfig    0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0100  1x 256 bytes
        bInterval               1
        AudioStreaming Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0008
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              4 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              4 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          21
        bmControls           0x00
        bFormatType             1
        bmFormats          0x00000001
          PCM
        bNrChannels             2
        bmChannelConfig    0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0100  1x 256 bytes
        bInterval               1
        AudioStreaming Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0008
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         3
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       0 
      bFunctionProtocol       0 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0009
        bInCollection           1
        baInterfaceNr(0)        4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      3 MIDI Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      MIDIStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0025
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                10
        iJack                   0 
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                30
        iJack                   0 
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                20
        bNrInputPins            1
        baSourceID( 0)         30
        BaSourcePin( 0)         1
        iJack                   0 
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                40
        bNrInputPins            1
        baSourceID( 0)         10
        BaSourcePin( 0)         1
        iJack                   0 
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        bRefresh                0
        bSynchAddress           0
        MIDIStreaming Endpoint Descriptor:
          bLength                 5
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         1
          baAssocJackID( 0)      10
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        bRefresh                0
        bSynchAddress           0
        MIDIStreaming Endpoint Descriptor:
          bLength                 5
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         1
          baAssocJackID( 0)      20
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Crackling without xruns.. worse with large buffers

Post by puleglot »

lilith wrote: Sat Apr 18, 2020 2:41 pm But it also works with another interface in Renoise (ESI DAC nano).
It has Adaptive endpoints. Adaptive endpoints are usually tolerant to a larger packet rate drifts than Synchronous ones. So maybe Renoise with jack causes some specific load on the system that affects mostly devices with Synchronous endpoints. In this case my suggestion to decrease MAX_PACKS value or even try to apply implicit feedback quirk still stands.
User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

puleglot wrote: Sat Apr 18, 2020 2:59 pm
lilith wrote: Sat Apr 18, 2020 2:41 pm But it also works with another interface in Renoise (ESI DAC nano).
It has Adaptive endpoints. Adaptive endpoints are usually tolerant to a larger packet rate drifts than Synchronous ones. So maybe Renoise with jack causes some specific load on the system that affects mostly devices with Synchronous endpoints. In this case my suggestion to decrease MAX_PACKS value or even try to apply implicit feedback quirk still stands.
Ok, thank you, I'll think about it. Then I likely have this issue for years and only now realized it :lol: What about the Behringer U-Phoria USB Interfaces? Do they have a better compatibility or which interface would you recommend?
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Crackling without xruns.. worse with large buffers

Post by puleglot »

lilith wrote: Sat Apr 18, 2020 3:05 pm What about the Behringer U-Phoria USB Interfaces? Do they have a better compatibility or which interface would you recommend?
For the best compatibility with linux you should get an USB audio class compliant interface with Asynchronous endpoints and explicit feedback. So basically any XMOS-based interface excluding Scarlett 3rd Gen and MOTU M2/M4 should work. :) I think Behringer U-Phoria meets this criteria. I have Roland Rubix24 that works without any problems. 2nd Gen Scarlett should be fine (but you can only find them used I think) and a lot of other interfaces in the same generation.
User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

puleglot wrote: Sat Apr 18, 2020 3:23 pm
lilith wrote: Sat Apr 18, 2020 3:05 pm What about the Behringer U-Phoria USB Interfaces? Do they have a better compatibility or which interface would you recommend?
For the best compatibility with linux you should get an USB audio class compliant interface with Asynchronous endpoints and explicit feedback. So basically any XMOS-based interface excluding Scarlett 3rd Gen and MOTU M2/M4 should work. :) I think Behringer U-Phoria meets this criteria. I have Roland Rubix24 that works without any problems. 2nd Gen Scarlett should be fine (but you can only find them used I think) and a lot of other interfaces in the same generation.
Also stumbled over the Roland yesterday, cause you mentioned it. Is it better built than the Behringer and can you recommend it?
So all of these can make problems? https://focusrite.com/en/scarlett I thought the Focusrites are fine. Good that I asked.
User avatar
funkmuscle
Established Member
Posts: 2811
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 132 times
Been thanked: 34 times

Re: Crackling without xruns.. worse with large buffers

Post by funkmuscle »

lilith wrote: Sat Apr 18, 2020 3:45 pm
puleglot wrote: Sat Apr 18, 2020 3:23 pm
lilith wrote: Sat Apr 18, 2020 3:05 pm What about the Behringer U-Phoria USB Interfaces? Do they have a better compatibility or which interface would you recommend?
For the best compatibility with linux you should get an USB audio class compliant interface with Asynchronous endpoints and explicit feedback. So basically any XMOS-based interface excluding Scarlett 3rd Gen and MOTU M2/M4 should work. :) I think Behringer U-Phoria meets this criteria. I have Roland Rubix24 that works without any problems. 2nd Gen Scarlett should be fine (but you can only find them used I think) and a lot of other interfaces in the same generation.
Also stumbled over the Roland yesterday, cause you mentioned it. Is it better built than the Behringer and can you recommend it?
So all of these can make problems? https://focusrite.com/en/scarlett I thought the Focusrites are fine. Good that I asked.
Nope, I've got a Scarlett 2i2 2nd gen and this popping and crackling and audio slowdown and robotic sounds are driving me sick ass crazy!! It's really pissing me off as I can't work. Edirol UA-25 has the same issue. This all started a few week ago.
User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

funkmuscle wrote: Sat Apr 18, 2020 5:46 pm
lilith wrote: Sat Apr 18, 2020 3:45 pm
puleglot wrote: Sat Apr 18, 2020 3:23 pm
For the best compatibility with linux you should get an USB audio class compliant interface with Asynchronous endpoints and explicit feedback. So basically any XMOS-based interface excluding Scarlett 3rd Gen and MOTU M2/M4 should work. :) I think Behringer U-Phoria meets this criteria. I have Roland Rubix24 that works without any problems. 2nd Gen Scarlett should be fine (but you can only find them used I think) and a lot of other interfaces in the same generation.
Also stumbled over the Roland yesterday, cause you mentioned it. Is it better built than the Behringer and can you recommend it?
So all of these can make problems? https://focusrite.com/en/scarlett I thought the Focusrites are fine. Good that I asked.
Nope, I've got a Scarlett 2i2 2nd gen and this popping and crackling and audio slowdown and robotic sounds are driving me sick ass crazy!! It's really pissing me off as I can't work. Edirol UA-25 has the same issue. This all started a few week ago.
Yes, but I guess that's something different in your case. Can't you go back or try an older kernel?
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Crackling without xruns.. worse with large buffers

Post by puleglot »

lilith wrote: Sat Apr 18, 2020 3:45 pm Also stumbled over the Roland yesterday, cause you mentioned it. Is it better built than the Behringer and can you recommend it?
I don't know. :) I can't compare device that I have with device that I've never had.
lilith wrote: Sat Apr 18, 2020 3:45 pm So all of these can make problems? https://focusrite.com/en/scarlett I thought the Focusrites are fine. Good that I asked.
Yes. Scarlett 3rd gen needs patches for implicit feedback support.
User avatar
funkmuscle
Established Member
Posts: 2811
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 132 times
Been thanked: 34 times

Re: Crackling without xruns.. worse with large buffers

Post by funkmuscle »

Hey, look at my htop results. Could this be the reason I'm getting all that popping and crackling? It says Mixbus is using a lot of cpu. No xruns as the topic says.
htop.png
htop.png (105.64 KiB) Viewed 1868 times
User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

funkmuscle wrote: Sun Apr 19, 2020 4:18 pm Hey, look at my htop results. Could this be the reason I'm getting all that popping and crackling? It says Mixbus is using a lot of cpu. No xruns as the topic says.
htop.png
I don't know if that's a problem. The RT priority of this thread is low. Maybe there's another instance of Mixbus running which crashed?
User avatar
funkmuscle
Established Member
Posts: 2811
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 132 times
Been thanked: 34 times

Re: Crackling without xruns.. worse with large buffers

Post by funkmuscle »

lilith wrote: Sun Apr 19, 2020 4:30 pm
funkmuscle wrote: Sun Apr 19, 2020 4:18 pm Hey, look at my htop results. Could this be the reason I'm getting all that popping and crackling? It says Mixbus is using a lot of cpu. No xruns as the topic says.
htop.png
I don't know if that's a problem. The RT priority of this thread is low. Maybe there's another instance of Mixbus running which crashed?
the weird thing is that the song I'm working on that gave the htop results the Master buss says "Master 1"
Tried other sessions and they all say 'Master"
I'm beginning to think it's Mixbus32C the latest 6.06. Not getting the pops and crackles from Ardour and Reaper as I thought. Ran them for a while without issues.
The other weird thing not being able to set governor which was set before to performance.
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Crackling without xruns.. worse with large buffers

Post by puleglot »

funkmuscle wrote: Sat Apr 18, 2020 5:46 pm Nope, I've got a Scarlett 2i2 2nd gen and this popping and crackling and audio slowdown and robotic sounds are driving me sick ass crazy!!
And you're right! Turned out 2i2 2nd gen and 2i4 2nd gen requires quirks in the driver. Someone sent patch for 2i2 2nd gen today:
https://mailman.alsa-project.org/piperm ... 66479.html
User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

"This also seems to prevent regular clicks when playing at 44100Hz"

I have this too with my interface. So -> new interface or kernel compilation. It's working at 48khz though more or less.

Why are they changeing these things in the kernel??
User avatar
lilith
Established Member
Posts: 1706
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 122 times
Been thanked: 57 times
Contact:

Re: Crackling without xruns.. worse with large buffers

Post by lilith »

Did someone delete something here??
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Crackling without xruns.. worse with large buffers

Post by puleglot »

lilith wrote: Mon Apr 20, 2020 9:11 pm Did someone delete something here??
Yes, that was me. :)
lilith wrote: Mon Apr 20, 2020 9:03 pm Why are they changeing these things in the kernel??
I didn't understand this question.
Post Reply