From nobody Mon Jan 12 13:57:32 2026 X-Original-To: multimedia@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 4dqYq124X3z6NdGf 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 4dqYq06g1Rz3TZn 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=EMIEmiK+7gs2ZPpotRHKhV0mBydsdlUhnh9mGw63h2OETCvOTzDDNvUdr20AMIte9OD2uF UI5k1b+tbO/i3Sbrgydk6qsoWyosJKO4zfScIcg3Z5hIhaw/JL+jk7orNDneR4o64uDbKg BZ4HE92tdu6zOZcjnLxI83KQ7Gr+AqeokA+O+SZg9QlcC/QIHEDglNEMwiMDzW9JCojmgg HQ7YIaobdgbR82aFjKF2J5pSFiXV6rhgEa2mxjGjW0TeBynzXIo6JfE+GhlNJcw8Ja6I3p 5o3R0K7AOdeLe7Wc4xLXh/pfDWtrzHF4u/UgdKuls/4UMYGKkf97X0X4K4amxQ== ARC-Message-Signature: i=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=mdJ4aSFq9k+zt/T+xwj6Rvpex9Z5pAUwwb4XLD2hcj8+5sCF9EJmQxn5vhWUzTdZFo7trv 1WBNmYm0zWa9HJS5IrIWjpZM/xv0XCEkrvDYLSH3drUllKoFjQxpanGgTHVWNhQsRfTaeR Ph/19tupPv0S7r4ZKRa9I1269yMOreepgkxQxTSW+M6pKdofuXGeaSQWH98ZZu3cHoVG+w o9eem3L4C2Cxh7IIjcj8a0u4b42XReJykaZrj7zR/Gkp4t8M6w4Wm9xtzliqNpQvH6MJLa qcGn/U6dzIgm6VKtgFYaO21r/ZwHyKkUNr7R+078AMakgt/QIPASt3xlopGRkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768226253; a=rsa-sha256; cv=none; b=N4DAlxynT01TmHNOKirLuBKtQTUSFlJgiiOe9I8ZypfV07FqtMRpfzIzCURkqTN+wOWPk6 MW2ErfcbuKxZTBRhYWUkdNK9/XmVaVZSF0AQIcj1yWtN+KfBT6o8dtAxtvKKLC4XEDHOka GAv2Mp3v103Z0Zt3G0M2Fe3n22Zqu1zEnUjzbbNo4N01HLPbsw6acpoTsLlj5Q9CFvBTty RD/5uMRoPEpxPP7nJDYvanw+HlGCSLWz666W793JEUqtTpt39l2IyH3q2hsLyqx3CXCLZw M20LGvsuuY8Ks6qeztqfNBKoRDBgmvT/Eql1x6//ncUs/D687YquAtW8oMjmBA== 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 4dqYq05NV1zDVL 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 60CDvWOU064580 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 60CDvWdS064579 for multimedia@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: multimedia@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: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@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.=