!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

122 Members
28 Servers

Load older messages


SenderMessageTime
1 Apr 2024
@technicus:matrix.orgMiles Dysonhttps://discourse.nixos.org/t/github-strategies-for-configuration-nix/198307:33:16
@technicus:matrix.orgMiles DysonFor now, I just want the simplest way of doing things.07:33:59
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
I have a Sonic-pi loop running, and it clicks from time to time, same when I play any other media with audio.
This kind of problem is not usually easy to troubleshoot over matrix. There really are a lot of different things that could be causing it, but it's probably not your NixOS config. It's more likely to be an issue with the audio routing in JACK.
07:34:23
@fractivore:cyberia.club@fractivore:cyberia.clubWAIT, actually though, it could be caused by using JACK without a Realtime kernel.07:34:44
@technicus:matrix.orgMiles Dyson I do have security.rtkit.enable = true;. 07:35:26
@fractivore:cyberia.club@fractivore:cyberia.clubBut really the possibilities are just too numerous... You'll have to do some troubleshooting on your end. Check your audio routing for rogue input from microphones and that sort of thing.07:35:29
@fractivore:cyberia.club@fractivore:cyberia.clubWith JACK it's really easy to get signal going to the wrong places.07:35:58
@technicus:matrix.orgMiles DysonDoes jack and or pipewire require realtime?07:36:10
@fractivore:cyberia.club@fractivore:cyberia.clubWith sonic-pi it's easy to code up something that has artifacts.07:36:18
@technicus:matrix.orgMiles DysonThe clicks happen when youtube videos play as well.07:36:50
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
Does jack and or pipewire require realtime?
No, but anytime I try to do audio stuff using my usual stack without the realtime kernel, the audio sounds like trash in some way shape or form. It seems like the system can't keep up.
07:37:47
@technicus:matrix.orgMiles DysonWhat is the process for installing and selecting a realtime kernel?07:39:08
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
The clicks happen when youtube videos play as well.
IDK, could you have set the sample rate to something extreme? Can you check your CPU load using e.g. htop and see if it's related? I get clicks sometimes when I'm getting a lot of xruns, but just youtube shouldn't cause that.
07:39:40
@fractivore:cyberia.club@fractivore:cyberia.clubWhat's your hardware?07:39:50
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
I do have security.rtkit.enable = true;.
I think this is all you need to do to enable the realtime kernel.
07:40:05
@technicus:matrix.orgMiles Dyson $ uname -a Linux samus 6.1.81 #1-NixOS SMP PREEMPT_DYNAMIC Wed Mar 6 14:45:20 UTC 2024 x86_64 GNU/Linux 07:41:07
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @fractivore:cyberia.club
I think this is all you need to do to enable the realtime kernel.
Wait, maybe not, this just gives realtime scheduling priority to various processes....
07:42:33
@fractivore:cyberia.club@fractivore:cyberia.clubUse musnix probably: https://github.com/musnix/musnix07:43:00
@technicus:matrix.orgMiles Dyson
CPU: 8-Core AMD Ryzen 7 7730U with Radeon Graphics (-MT MCP-) 
speed/min/max: 2000/1600/2000 MHz Kernel: 6.1.81 x86_64 Up: 4h 43m 
Mem: 13935.4/63729.1 MiB (21.9%) Storage: 1.93 TiB (18.5% used) Procs: 364 
Shell: Bash inxi: 3.3.04 
07:48:26
@technicus:matrix.orgMiles DysonDamn . . . audio still scratches.08:10:00
@ckie:ckie.devckie (they/them)that memory clock looks awfully low for a modern Zen12:34:26
@ckie:ckie.devckie (they/them)oh I guess it's cpu clock and it's sleeping12:37:43
@bandithedoge:matrix.org@bandithedoge:matrix.org joined the room.15:42:52
@technicus:matrix.orgMiles DysonThe audio was clicking because of a codec.17:10:29
@technicus:matrix.orgMiles Dysonimage.png
Download image.png
17:10:39
@technicus:matrix.orgMiles DysonRedacted or Malformed Event17:11:19
@technicus:matrix.orgMiles Dysonimage.png
Download image.png
17:26:21
@technicus:matrix.orgMiles Dyson the SBC-XQ codec causes audio problems. 17:27:09
@technicus:matrix.orgMiles DysonIt is a JBL bluetooth speaker.17:27:40
2 Apr 2024
@technicus:matrix.orgMiles DysonDoes anyone know of a live music coding chat channel?02:52:16

Show newer messages


Back to Room ListRoom Version: 9