Re: RME Digiface USB support now in kernel 6.12

I just changed sync to input 4 (in alsamixer) and attached the output of a HDSP9652 to it, but that didn't change anything.

Re: RME Digiface USB support now in kernel 6.12

chatnick-spirou wrote:

Does anybody use the digiface on linux yet? Here it works out of the box theoretically, but I get a lot of crackling noise after some time. This has nothing to do with buffer underruns or things like that, it seems to happen "inside the box". I had that on different machines (though all with Manjaro / Arch).

How long is "after some time"? And Does it also happen at higher latency settings? Just to really rule out it's not a buffer issue.

Re: RME Digiface USB support now in kernel 6.12

It is totally random. Sometimes the noise...distortion...dropout, I don't really know how to describe...occurs with the very first sound played, sometimes it happens after a few minutes. The DAW doesn't show any xruns. Strangely enuogh I just realized that I am not able to change the buffer size. I use Ardour, where you can set the buffer size at startup. It is set to 1024 samples. I can change that, but it seems to be completely ignored.

Re: RME Digiface USB support now in kernel 6.12

And which Audio System are you using with Ardour? I basically only use ALSA myself and then the Digiface USB respects the buffer size I select in Ardour.

Re: RME Digiface USB support now in kernel 6.12

After a long time it seems to work now, but still not 100% reliable.

First thing, there was a headphone amp involved, which digital input seems to have problems with syncing via SPDIF. I tried 2 different ones and both had the same problem. Never encountered this with the HDSP before. Funny thing is, that I get distortion even on the internal headphone amp if the external one is connected.

The other thing was pipewire (my I say, as always? wink).
Though I have set Ardour to use ALSA, it seems pipewire doesn't let the Digiface go...I had to disable the Digiface in the KDE sound settings completely, then the Ardour settings finally applied. At least the crackling is gone, but from time to time there is still a kind of distortion and some weird phasing. This is much less frequent than before, but not 100% gone.
Another funny thing is that xruns increase if I set the Digiface to higher buffersizes than 1024 Samples. It seems that nothing else works, it has to be exactly 1024. With 512 load gets too high, with 2048 it stutters massively.

Re: RME Digiface USB support now in kernel 6.12

Some improvement, nice! So with 512 load gets too high? You mean DSP load? How many tracks/busses are you using? And what kind of effects? What kind of hardware do you have (CPU, memory)? I mainly use 128 or 256 buffer sizes when recording and mixing and rarely run into load issues.

Re: RME Digiface USB support now in kernel 6.12

Depends. The particular project I was testing with is quiet plugin-heavy. I have about 30 mono audio tracks and 18 or so groups and auxes in stereo. There also are a lot of MIDI tracks and unused audio tracks, but those are inactive and not visible. I use quiet a lot compressors, eqs and a few multiband compressors, mostly LSP stuff. I usually don't care about latency, because I do not do recording in this setup. The hardware is nothing fancy, just an old Core i5, 16 GB RAM and a TB M.2 SSD.

What is special is the old HDSP 9652 PCI on a PCI - PCIe bridge. I had to cut holes in the case to be able to fit it in big_smile. But it works very well and I am a bit dissapointed that the "clean" solution with the Digiface doesn't work so well.

I am still experimenting a bit. Now I did the following:
I set the HDSP to active so pipewire can use it.
The Digiface is not visible for pw.
I fed the ADAT output 4 from the digiface to input 1 of the HDSP.
HDSPConf shows stable sync on ADAT 1.
When I play Audio through the Digiface (again Ardour), it woks for some time, then crackles and ditortion come, sometimes just short, sometimes longer. HDSPConf shows stable sync all the time. Sometimes if I change the outputs in Ardour the crackle goes away, but not always.

As far as I can tell the same behaviour happens if I connect the Digiface to another computer (also with Manjaro though).

58 (edited by AutoStatic 2025-10-18 18:48:03)

Re: RME Digiface USB support now in kernel 6.12

Thanks! But would it be possible to leave the HDSP 9652 and Pipewire out of the equation? Does the Digiface USB work with ALSA in Ardour? If so, do you have any issues then after a while with a simpler Ardour session?

Re: RME Digiface USB support now in kernel 6.12

After nearly fucking up my system (as expected wink) by removing pipewire the conclusion for me is:

1. As far as I can tell it works as long I use only the internal headphone amp.
2. If I connect anything to the digital output the crackling, distortion an phasing on that connection, no matter what I connect. This happens randomly, I wasn't able to find anything to trigger that. This also happens if I only play e.g. a youtube video or so, it's not related to Ardour.

I checked the other devices with the HDSP, too, so I am sure they work and it's not a cable issue. I even set up another machine with Ubuntu Studio, but the problems persisted.
I am quiet sure that it's some kind of sync problem, but I can't find out what causes it. I even changed cables and ports several times.

What I could not check is if works with Windows. I do not have a Windows machine atm.

60 (edited by ramses 2025-10-20 08:40:49)

Re: RME Digiface USB support now in kernel 6.12

chatnick-spirou wrote:

What I could not check is if works with Windows. I do not have a Windows machine atm.

Get a cheap Sata6 or USB3 disk and perform a parallel installation.
You do not need to activate Windows.

BR Ramses - HDSPe MADI FX, M-1620 Pro D, 12Mic, UFX III, ADI-2/4 Pro EX, Nuendo15, Win10 IoT Ent.

61 (edited by AutoStatic 2025-10-20 18:02:55)

Re: RME Digiface USB support now in kernel 6.12

With alsamixer you can monitor the current input sync, input format, device rate and system rate settings and adjust the sync source and output format settings. Select your Digiface USB with F6 and then the output format and sync source settings are at the end, just before the System Rate setting.

https://autostatic.com/wp-content/uploads/2025/10/image.png

62 (edited by chatnick-spirou 2025-10-24 04:55:40)

Re: RME Digiface USB support now in kernel 6.12

So I finally could test with Windows, where everything worked as expected. No crackles or phasing. So I am pretty sure that it's not a hardware issue.
Which brings me back to my initial question if anybody out there is actually using the digiface on Linux?

For me it's not possible to connect any device to the outputs. All is fine as long as I only use the internal headphone amp.

EDIT: Sadly it isn't OK with the internal HP. I was in a project and after 2-3 minutes phasing and crackles started.

Re: RME Digiface USB support now in kernel 6.12

Where do you configure sync settings? Possibly that's not set up correctly.

Regards
Daniel Fuchs
RME

Re: RME Digiface USB support now in kernel 6.12

Alsamixer. All outputs are set to ADAT. The Digiface is master. The buffer size is set in Ardour. Wouldn't the distortion happen immediately if those settings were wrong? It can work well for 2 or 3 minutes, then randomly distortion and a strange kind of phaseshifting occurs.

Re: RME Digiface USB support now in kernel 6.12

chatnick-spirou wrote:

Alsamixer. All outputs are set to ADAT. The Digiface is master. The buffer size is set in Ardour. Wouldn't the distortion happen immediately if those settings were wrong? It can work well for 2 or 3 minutes, then randomly distortion and a strange kind of phaseshifting occurs.

Depending on DAW and plugins architecture the buffer get overstressed more and more until the system breaks down and you receive crickle crackle, try Reaper instead of Ardour.

M1-GoldenGate, Madiface Pro, Digiface USB, Babyface silver and blue

Re: RME Digiface USB support now in kernel 6.12

No, it happens always, not just in Ardour. I will try with Reaper, but i don't believe this will change anything. So far I still don't know if the problem exist only here.

Re: RME Digiface USB support now in kernel 6.12

Can the mixer application configure sync settings? Maybe it can, must admit I'm not familiar with it. Which device is master? Make sure one syncs to the other, they can't both run on internal clock.

Regards
Daniel Fuchs
RME

Re: RME Digiface USB support now in kernel 6.12

Yeah, same with Reaper. Even without any plugin. Just audio.

Re: RME Digiface USB support now in kernel 6.12

RME Support wrote:

Can the mixer application configure sync settings? Maybe it can, must admit I'm not familiar with it. Which device is master? Make sure one syncs to the other, they can't both run on internal clock.

The current setup is Digiface as master, connected are 3 Behringer ADA-8000 as slaves. But it doesn't matter if there is anything connected, the distortion always happens sooner or later. I tried the exact same setup with Windows and ther were no problems. The only thing that was different was the USB cable, which I swapped, too.
Yes, alsamixer can change the sync settings.

I believe the kernel support/driver is faulty.

70 (edited by AutoStatic 2025-10-24 13:30:04)

Re: RME Digiface USB support now in kernel 6.12

Maybe try a different kernel? I have the same issues with distorted and phased sound on a laptop with a standard 6.14 kernel. When I switch to a 6.17 Liquorix kernel sound is clean: https://liquorix.net/

Re: RME Digiface USB support now in kernel 6.12

Thank you, I just tried liquorix, but sadly that didn't change anything. I think I give up and stick with my HDSP for now. Maybe I'll try some time in the future.

Re: RME Digiface USB support now in kernel 6.12

You're welcome. And bummer it doesn't work. It could also be a matter of trying different USB ports as USB ports can be attached to USB buses that share devices that might interfere. With lsusb you could check which is the least crowded USB bus.

73 (edited by sandroid 2025-10-24 17:18:12)

Re: RME Digiface USB support now in kernel 6.12

I've been trying something similar for the past week and just gave up.

Essentially i just switched my all-day setup to CachyOS and wanted to use my Digiface USB for all Desktop audio.

But i also encounter weird audio issues that happen randomly and require restarting the audio stack.
I would describe the audio as becoming metallic/robotic sounding like there is a sample-rate mismatch happening.

Once that starts, that "effect goes in and out but won't go away until you restart the stack (sometimes multiple times are required as well).

I've tried a variety of things to no avail:

  • Enabled RT, set RTPrio / nice.levels and changed memlock to unlimited

  • clock sample-rate, allowed rates and force rate to  48000 (including locking)

  • tried various quantum variations with and without forcing them

  • checked pw-top for any possible issues, but i don‘t have any errors at all v

  • dmseg hasn‘t shown anything out of the ordinary as well

  • check cpu load, but my system is usually bored and uses around 5 - 10% overall while testing this.

  • disabled usb autosuspend just in case

At this point i'm out of ideas and just decided to not use it on Linux and just keep dual booting into Windows if i need to do creative work.

Re: RME Digiface USB support now in kernel 6.12

Thanks a lot, at least it's good to know I'm not alone wink

Re: RME Digiface USB support now in kernel 6.12

As they say - a problem shared is a problem halved. wink

76 (edited by AutoStatic 2025-10-25 11:02:00)

Re: RME Digiface USB support now in kernel 6.12

If the Digiface USB sits alone on a USB bus audio stays clean:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 007: ID 2a39:3fa0 RME Digiface USB (23800125)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

If it shares the bus with other devices it goes wrong after a while. I also raise the real-time priority of the IRQ of the USB bus the RME sits on. Fwiw, I wrote a tool to do that automatically for me: https://codeberg.org/autostatic/rtcirqus
Maybe that might help a bit also.

77 (edited by sandroid 2025-10-24 19:35:37)

Re: RME Digiface USB support now in kernel 6.12

Oh interesting! Thank you for sharing.

Yeah my device shares the same bus with one other device (Corsair H150i Platinum AIO cooler).
I‘ll definitely give your suggestion and tool a try to see if that helps and will report back.

Re: RME Digiface USB support now in kernel 6.12

I'm taking back my claims about crowded USB buses. Despite the Digiface USB being the only device on the bus It still starts outputting distorted sound after a random period of time. I'm going to dig further because this is a pretty annoying issue.

Re: RME Digiface USB support now in kernel 6.12

I just discovered that the issue seems to dissapear if one sets the sampling rate higher than 48 kHz. I made 2 identical projects in Ardour, one with 48 kHz and one with 96 kHz. Almost instantly crackling and distortion starts with 48 kHz, none at all at 96 kHz so far.

Re: RME Digiface USB support now in kernel 6.12

Good to know! I have a similar experience but then with buffer sizes. If I change the buffer size the garbled sound is gone. If I set the buffer size lower than 64 it doesn't seem to come back.

Re: RME Digiface USB support now in kernel 6.12

The Digiface is too proud to work with high latency big_smile

Re: RME Digiface USB support now in kernel 6.12

Ha ha, guess so! With a 64 buffer size I don't have any issues anymore. Just put a playlist on and after about half an hour still no phasing sound.

AutoStatic wrote:

When I switch to a 6.17 Liquorix kernel sound is clean: https://liquorix.net/

I take that back also, a different, newer kernel did not help either.

Re: RME Digiface USB support now in kernel 6.12

Hi,
I confirm RMEDigiface USB works great, I performed 3 days on a 32 channels acousmonium and some ADAT inputs with no xrun.

BUT: doe's anyone know hot to set the Digiface in WordClock slave mode? I can set the mixer as slave, but when connected to Dante it is a really bad idea...

84

Re: RME Digiface USB support now in kernel 6.12

Where is the Word Clock input on the Digiface USB?

Regards
Matthias Carstens
RME

Re: RME Digiface USB support now in kernel 6.12

that is the point, there isn't, it use ADAT

Re: RME Digiface USB support now in kernel 6.12

You can set the mixer as master and in the Fireface USB Settings of the Digiface USB make clock-mode external optical number (the one where the mixer is connected)
Also let Dante be follower of the mixer.

M1-GoldenGate, Madiface Pro, Digiface USB, Babyface silver and blue

87 (edited by Blindekiner 2025-11-13 15:50:19)

Re: RME Digiface USB support now in kernel 6.12

waedi wrote:

You can set the mixer as master and in the Fireface USB Settings of the Digiface USB make clock-mode external optical number (the one where the mixer is connected)
Also let Dante be follower of the mixer.

actually Dante is the master of everything. I don't really get what you mean by "Fireface USB settings of the Digiface"

Anyway, the answer is in Alsamixer, there is a Sync Source option where you can choose any ADAT input or Internal.

Thank you!

88

Re: RME Digiface USB support now in kernel 6.12

hi,
using debian 12 with jackd here.
i'm currently having the same problem of audio crackling / bitcrushing (typical clock problems) after a while (sometimes days, sometimes 10 minutes).
It happens with the clock set by USB as well as being externally set from an RME ADI192-DD.
In my setup, i think the culprit is the motherboard/USB bus. Going to do more extensive tests soon, like replacing it temporarly with a babyface pro, which i know works fine on my other computers, then using the digiface in the same setup just replacing the computer. Will report back if i can isolate a clear source to my problem.

Re: RME Digiface USB support now in kernel 6.12

AutoStatic wrote:

Good to know! I have a similar experience but then with buffer sizes. If I change the buffer size the garbled sound is gone. If I set the buffer size lower than 64 it doesn't seem to come back.

Amazing! Been running this now for a week now, without issues thanks to your post.

Lowest i’ve tried to set quantum / buffer size was 128 and didn’t even consider going lower.
After setting it to 64 - the issue has never come back!

Re: RME Digiface USB support now in kernel 6.12

Hi

Have same issues… crackling after random time.

How can I change the buffer down to 64?

Thanks Christian

Re: RME Digiface USB support now in kernel 6.12

actually I have the same issue (the hour before the show). I changed the USB cable and it seemed to solve the issue. Then I made some test in my workshop,with the suspect cable the problem reappeared after some time, I changed again and let it run on a DM1000 with an ADAT IGDAY card the whole afternoon with no problem. Maybe the USB connection of the device is a bit touchy?

Re: RME Digiface USB support now in kernel 6.12

Hi guys,
I have the same issue on multiple Linux machines and kernels, while the same setup plugged into my M1 Mac works fine.
I did quite some digging and with an LLM was able to maybe find a cause in the kernel xHCI scheduling implementation which could sometimes add scheduling gaps that could throw isochronous transfers off.
There has been a fix applied in August 26 here https://github.com/torvalds/linux/commit/add8469b3e00 but it is not shipped as a stable kernel, yet.
I will try kernel 7.30-rc6 and report back if this fixes things.

Re: RME Digiface USB support now in kernel 6.12

Ok I am running the 7.3.0-rc6-2-cachyos-rc kernel for a couple of hours with no issues. Looks like my issues are gone at last!

94 (edited by raven.white 2026-10-25 14:48:17)

Re: RME Digiface USB support now in kernel 6.12

**RME Digiface USB on Linux — Intermittent Crackling and Warbling Distortion: Clock Configuration Solution**

**System Configuration**

- Computer: HP EliteDesk 800 G4
- Operating system: Xubuntu 24.04
- Kernel: Linux 6.17.0-35-generic
- Audio server: PipeWire 1.0.5
- Audio interface: RME Digiface USB
- Digital mixer: Yamaha DM2000 V2
- Expansion cards: Two 16-channel ADAT cards
- DAW: Harrison Mixbus 11
- Sample rate: 48 kHz
- Digital audio channels: 32 via ADAT

**Original Problem**

I successfully configured all 32 ADAT playback channels between the RME Digiface USB and Yamaha DM2000.

However, playback exhibited intermittent crackling, popping, and unusual sweeping or warbling distortion lasting approximately 3–5 seconds.

The problem occurred during playback from both Harrison Mixbus and Firefox/YouTube, indicating that it was not specific to the DAW.

**Troubleshooting Performed**

Several potential causes were investigated:

1. Confirmed PipeWire was operating at 48 kHz.
2. Monitored PipeWire processing and found no obvious processing overload or reported errors during observation.
3. Changed the CPU governor from powersave to performance without resolving the distortion.
4. Confirmed that the Digiface was connected directly to a USB port rather than an external hub.
5. Verified that the RME's ADAT Input 1 reported stable synchronization.
6. Routed Firefox audio directly to the Digiface USB headphone outputs using PipeWire.
7. Compared playback through the HP internal sound card, RME headphones, and Yamaha DM2000.

The HP and RME headphone outputs were clean. The audible distortion occurred through the Yamaha playback path.

**Original Clock Configuration**

- RME Digiface USB: Internal clock, 48 kHz
- Yamaha DM2000: External clock from SLOT 1 ADAT channels 1/2
Despite this configuration and apparently stable synchronization indications, distortion persisted.

**Revised Clock Configuration**

The clock relationship was reversed:

- Yamaha DM2000: **Internal 48 kHz — Master**
- RME Digiface USB: **ADAT Input 1 — Slave**

On Linux, the RME clock source can be selected using:

```bash
amixer -c 1 cset name='Sync Source' 1
```
On this system, ALSA card 1 is the Digiface USB, and source value 1 corresponds to ADAT Input 1.
The current clock source can be checked using:
```bash
amixer -c 1 cget name='Current Sync Source'
```

**Initial Result**

After selecting INT 48k on the Yamaha and changing the RME to follow ADAT Input 1, the audible distortion disappeared during initial listening.
Playback also sounded noticeably fuller and more consistent with the direct RME headphone output. This suggests that the original clock-master relationship was contributing to the problem, although the precise cause has not been established.

**Conclusion**

For this particular Linux/RME/Yamaha configuration, operating the Yamaha DM2000 as the master clock and the Digiface USB as the ADAT-synchronized slave appears to resolve the intermittent playback distortion.

I hope these findings help anyone experiencing similar problems with the Digiface USB, Linux, PipeWire, and external ADAT-equipped digital mixers.