🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #54

[Bug 299277] Recording monitor broken (monitor as in audio out)

#54
From: bugzilla-noreply
Date: Sat, 10 Oct 2026 17:36
73 lines
4628 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299277

            Bug ID: 299277
           Summary: Recording monitor broken (monitor as in audio out)
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dave@daveg.ca

Let's get terms out of the way first.  I'm trying to record what I would
otherwise hear.  This is the monitor audio.

When I try to use the obvious tools, like audacity or sox, it fails.  In an
interesting contrast, OBS works.  It works in it's default configuration and it
works specifying my /dev/dsp1 (which is an output-only optical out).

My setup: FreeBSD-15.1p4, amd64.  64G ram.

[1:98:398]root@hit:~> grep pcm /var/run/dmesg.boot 
pcm0: <Realtek ALC1220 (Analog 5.1+HP/2.0)> at nid 20,22,21,27 and 24,26 on
hdaa0
pcm1: <Realtek ALC1220 (Rear Digital)> at nid 30 on hdaa0
pcm2: <Realtek ALC1220 (Front Analog Mic)> at nid 25 on hdaa0
pcm3: <NVIDIA (0x009a) (HDMI/DP 8ch)> at nid 4 on hdaa1
pcm4: <NVIDIA (0x009a) (HDMI/DP 8ch)> at nid 5 on hdaa1
pcm5: <NVIDIA (0x009a) (HDMI/DP 8ch)> at nid 6 on hdaa1
pcm6: <NVIDIA (0x009a) (HDMI/DP 8ch)> at nid 7 on hdaa1
pcm7 on uaudio0
[1:99:399]root@hit:~> cat /dev/sndstat 
Installed devices:
pcm0: <Realtek ALC1220 (Analog 5.1+HP/2.0)> (play/rec)
pcm1: <Realtek ALC1220 (Rear Digital)> (play) default
pcm2: <Realtek ALC1220 (Front Analog Mic)> (rec)
pcm3: <NVIDIA (0x009a) (HDMI/DP 8ch)> (play)
pcm4: <NVIDIA (0x009a) (HDMI/DP 8ch)> (play)
pcm5: <NVIDIA (0x009a) (HDMI/DP 8ch)> (play)
pcm6: <NVIDIA (0x009a) (HDMI/DP 8ch)> (play)
pcm7: <HP, Inc HyperX Cloud Alpha Wireless> (play/rec)
No devices installed from userspace.
[1:106:406]root@hit:~> mixer -f /dev/mixer1
pcm1:mixer: <Realtek ALC1220 (Rear Digital)> on hdaa0 (play) (default)
    vol       = 0.36:0.36     pbk
    pcm       = 1.00:1.00     pbk
[1:107:407]root@hit:~> 

... so recording from /dev/dsp1 works from OBS, fails from sox and audacity.

[1:14:314]dgilbert@hit:~/aircheck> sox -r 48k -b 16 -v 0.99 -t oss /dev/dsp1 -t
wav out.wav
sox FAIL formats: can't open input  `/dev/dsp1': open failed for device:
/dev/dsp1

I try virtual_oss with the following and I get a file of 0 values.
virtual_oss -Q 0 -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/dsp1 -R /dev/null -w
vdsp.wav -l dsp

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-299277-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 299277] Recording monitor broken (monitor as in audio out)
Date: Sat, 10 Oct 2026 17:36:10 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-299277-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="90763"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1791653770;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=rNefWPpJNe+ST03y5kTxjp9Sd2ZjX2D/EQm4Oo16UDU=;
	b=CymvC7TMVspsVtbv7LNnz5xVSGkH+5s26V1dMVATu/BFKn/0Y0HW/R5YkEJUJAO5Emg0R9
	pHqrs8jcy8KLcANc1kvwIRqxlMigukP9bPSb9bYxWAPdQNApvYK7CUoYvrxtTl4Dm7EA7X
	viWs/emU+U3O6Uh73fv1n5WNOW/7CyDQT/SOlL5yukeE3Bi2wVYXCymNNJejpsMelf8AEe
	d1VIgWuRtdv17rWE01wHBO6U6ZLvqE7wShN1mJvsnwhx5usO7GMft3ak1vvUmGA21S5qQh
	166o7DvFV1rKAULqN7mmZ84cKy52QKT0sn4kcuUll65JEAzTP/G578OgYzN1HA==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes