I am having an issue with jack2dbus and my two sound cards. My setup is the following:
Code: Select all
$ cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe300000 irq 16
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe080000 irq 46
2 [USB ]: USB-Audio - Scarlett 2i2 USB
Focusrite Scarlett 2i2 USB at usb-0000:00:12.2-2.4.4.4, high speed
the SB card is connected to my 5.1 speakers for movies and games while the USB (Scarlett 2i2) is the mic in my recording booth.
I only run jack2dbus and qjackctl while I record and edit my voiceovers, and in qjackctl-->settings-->advanced I have the following set:
Audio: Duplex
Output device: (default) and I also tried hw:SB
Input device: USB
This appears to work, however after a few minutes I start receivig XRuns and the audio on playback starts to crack and pop.
After messing around with Sample Rate, Frames/Period and Periods/Buffer I could not get the Xruns to stop or the cracking in the audio. I then changed Audio to Capture Only and selected hw:USB all seemed fine except I didn't have any audio on playback while jack2dbus was running.
I then changed Audio to Playback Only and selected hw:SB, I received the proper result, no recording but playback worked.
With the audio set to Playback Only or Capture Only the Xrun's were drastically reduced to 1 about every hour.
Here is my lsmod:
Code: Select all
$ lsmod |grep snd
snd_seq_dummy 16384 0
snd_seq 81920 1 snd_seq_dummy
snd_usb_audio 225280 0
snd_usbmidi_lib 32768 1 snd_usb_audio
snd_rawmidi 36864 1 snd_usbmidi_lib
snd_seq_device 16384 2 snd_seq,snd_rawmidi
snd_hda_codec_hdmi 57344 1
snd_hda_codec_realtek 110592 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
snd_hda_intel 45056 2
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 135168 5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 36864 2 snd_seq,snd_pcm
snd 98304 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
usbcore 294912 9 xhci_hcd,ohci_hcd,ehci_pci,snd_usb_audio,usbhid,snd_usbmidi_lib,ehci_hcd,xhci_pci,ohci_pci
Code: Select all
jack_control start
Code: Select all
<?xml version="1.0"?>
<!--
JACK settings, as persisted by D-Bus object.
You probably don't want to edit this because
it will be overwritten next time jackdbus saves.
-->
<!-- Sat Jun 30 14:52:34 2018 -->
<jack>
<engine>
<option name="driver">alsa</option>
<option name="realtime">true</option>
<option name="verbose">false</option>
</engine>
<drivers>
<driver name="netone">
</driver>
<driver name="firewire">
</driver>
<driver name="proxy">
</driver>
<driver name="dummy">
</driver>
<driver name="alsarawmidi">
</driver>
<driver name="loopback">
</driver>
<driver name="alsa">
<option name="device">hw:0</option>
<option name="capture">hw:USB</option>
<option name="playback">hw:SB</option>
<option name="rate">48000</option>
<option name="period">128</option>
<option name="nperiods">3</option>
<option name="hwmon">false</option>
<option name="hwmeter">false</option>
<option name="duplex">true</option>
<option name="softmode">false</option>
<option name="monitor">false</option>
<option name="dither">n</option>
<option name="shorts">false</option>
</driver>
<driver name="net">
</driver>
</drivers>
<internals>
<internal name="netadapter">
</internal>
<internal name="profiler">
</internal>
<internal name="netmanager">
</internal>
<internal name="audioadapter">
</internal>
</internals>
</jack>
I am on a fresh install of arch linux with only alsa installed, I have not installed PulseAudio, and if that will help resolve that's even better for me.
let me know if there is any other info I can supply for troubleshooting.
--nixIT
EDIT:
my solution can be found in my last post located here: viewtopic.php?f=27&t=18694&p=94808#p94808