You are not logged in.

#1 2021-01-15 22:30:15

t0ken123
Member
Registered: 2021-01-15
Posts: 1

[Solved] Static noise with ALSA, Pulseaudio and JACK

Hi,

I'm trying to figure out how to set up jack2 correctly. If I play audio via aplay or firefox, I get a static noise. I followed https://wiki.archlinux.org/index.php/JA … ection_Kit and tried to set it up with qjackctl and cadence. My user is in the audio and realtime group.
I have no external sound card connected.

At the moment, the configuration looks like this:

https://i.imgur.com/ASTrRBW.png

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
cat .asoundrc 
pcm.!default {
    type plug
    slave { pcm "pulse" }
}

pcm.pulse {
    type pulse
}

ctl.mixer0 {
    type hw
    card 0
}
cat /etc/security/limits.d/99-realtime-privileges.conf
@realtime - rtprio 98
@realtime - memlock unlimited

If somebody can spot what I did wrong, I'd really much appreciate it! And I can provide further configs/logs if required.

Thanks in advance!

Solution
After fiddling with it for hours, I finally managed it after I posted this question. It seems my soundcard can't handle such a low latency, I set the Frames/Period to 256 and the Periods/Buffer to 4. This configuration works and I don't get any XRUNS anymore!

Last edited by V1del (2021-01-16 00:39:02)

Offline

#2 2022-05-15 22:09:15

alexban011
Member
Registered: 2022-05-15
Posts: 1

Re: [Solved] Static noise with ALSA, Pulseaudio and JACK

Where do you set those settings?

Offline

Board footer

Powered by FluxBB