From nobody Mon Jan 12 13:57:32 2026 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dqYq124L3z6NdLH for ; Mon, 12 Jan 2026 13:57:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dqYq06g3nz3TYY for ; Mon, 12 Jan 2026 13:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768226253; 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=yyG0SGbynjm9x2MZv9gjalG76bGr+eQuI+EdZvqBWaY=; b=VfZt9DwgedKnui+24hxjVUcCdVzf/udZkVwYtnokNvGh40hzHhQRKuPYuLTLuGWclgVYTw MW3lTj8AYhw+VQkyCBk/Si0BbTtDUxHdZX4CSjkB/TWSFbMinQP5djevKjJdggZMKBjKQw Pku8j2Ng1rw84Ggzd73GUxx/aTTDgW8EYNVCIV8vb8X9ItUDqZ6L3cgFNYQ3kx6qaBVKpK eR+ga6YCa+y0powplH2mS43YHzREQ6cMa7rFL6Ph8+gYuHu23MMsG5w0W18dEOlh4C6c21 uCRTsszPhYy+N8uqPBCgaTk1mA/yt9dO7ze5ZKku0YNolFD2EgjhDBzgR4T/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768226252; 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=yyG0SGbynjm9x2MZv9gjalG76bGr+eQuI+EdZvqBWaY=; b=lzDKVeuraePWSsvhVJFfLU6T06Cz139jbWXrHofmOGTG8ys8qnRoaimDBg8Ca+ysMqdtTv FVLdBSJkp6vxUIvLlj77jJSoUIGyS7oF5gMyrL0sa43BhnsVqrDZKt5LETVp2O4hnSkNel Ml7TV9Azip9xMPssthXh5ewezq0LeXJCmf61pvuF9jPN9uvY5yamVNtkpkakIAMkjh70Y6 pC7fD02SpwtpxVqu6BQy+n1gJRuW87xLz+68NQ9NjDnesIUooWACEfGf+cMz9a3ss1WcyR 7kh6kGo4v3K/cdBOftK4U/VADu/84A9MZW8QaSYeAhgrPoElJ/ltzId76/xQSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768226252; a=rsa-sha256; cv=none; b=pHflm0IaKTRMXvw+e6NAN+zu0d5fnl7eaMxcuj3nZcKsgu4Cyye+H7c19SlU7vv+L6FLJG chi4Mt2hoHpk04RzUGnp4WcZB64Qmd75MRyUrp3CMN4wYr/csEMqNiND4sRcyTkajNYumq cw+9ofUP7oFsOy5dvWKy8TD8xEhtT+l2Eg8RvfoaSaEpHZM6gi/MROvYfWO8Th+O2hMqtU ObL4MdBF07sxMLIb41Ve6zf4VA5unQQNegNgbqxSJfBEirKSZ2PZynvSz6L1HPtdBWpsFt rEi0z9jdksNDeAVgPXEf9Hyopo6xlmW9WwXGs+//nQGKqSmmkSNMip0vkl+UIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dqYq062HZzDCn for ; Mon, 12 Jan 2026 13:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 60CDvWMs064584 for ; Mon, 12 Jan 2026 13:57:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60CDvWDt064583 for ports-bugs@FreeBSD.org; Mon, 12 Jan 2026 13:57:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 292403] multimedia/vlc: AFMT_FLOAT breaks OSS backend with virtual_oss Date: Mon, 12 Jan 2026 13:57:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: walker.thompson@urz.uni-heidelberg.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292403 Bug ID: 292403 Summary: multimedia/vlc: AFMT_FLOAT breaks OSS backend with virtual_oss Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: walker.thompson@urz.uni-heidelberg.de Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org Created attachment 267080 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D267080&action= =3Dedit Working patch for VLC with virtual_oss When trying to play back audio files in VLC with the OSS backend, there is = no audio output to virtual_oss devices. I have tested the latest VLC port on 3 different systems with virtual_oss and noticed the same bug on all of them.= If virtual_oss is disabled, playback on physical sound devices works as usual. The following errors occur in an infinite loop: [0000000800c259e0] oss audio output error: cannot set audio format 0x100000= 00: Invalid argument [0000000800c259e0] main audio output error: module not functional [000000081da6f3e0] main decoder error: failed to create audio output On little-endian architectures, 0x10000000 corresponds to AFMT_FLOAT. Suppo= rt for AFMT_FLOAT was introduced in a recent commit (https://cgit.freebsd.org/src/commit/?id=3D1728d26682c65cb878971f55b4e87e24= d0050524). EINVAL is being returned by an ioctl() on /dev/dsp with request SNDCTL_DSP_SETFMT. In the following kdump extract, /dev/dsp is the device created by virtual_oss: 58222 vlc CALL openat(AT_FDCWD,0x8091f3bcf,0x100001) 58222 vlc NAMI "/dev/dsp" 58222 vlc RET openat 58/0x3a 58222 vlc CALL ioctl(0x3a,SNDCTL_DSP_SETFMT,0x7fffddbe5c98) 58222 vlc RET ioctl -1 errno 22 Invalid argument Frankly, I am not sure whether to view this as a VLC bug or a virtual_oss o= ne; if it is the latter, I lack the competency to investigate it fully. Either = way, I have not encountered any other applications that are affected (audio in Firefox is fine, for instance). If we limit the scope to VLC, two solutions have worked for me: 1) building with Pulse backend (not entirely satisfactory, as OSS is still broken and Pulse is not a default option...); 2) the attached patch. What is the best way to proceed? --=20 You are receiving this mail because: You are the assignee for the bug.=