Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2020 04:42:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252063] audio/virtual_oss does not stop when required
Message-ID:  <bug-252063-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252063

            Bug ID: 252063
           Summary: audio/virtual_oss does not stop when required
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hselasky@FreeBSD.org
          Reporter: grahamperrin@gmail.com
             Flags: maintainer-feedback?(hselasky@FreeBSD.org)
          Assignee: hselasky@FreeBSD.org

Tested with Firefox about:config media.cubeb.backend oss

1. Before the first 'service virtual_oss onestart',=20
   sound from Firefox is audible and controllable with=20
   pavucontrol

2. after the first 'service virtual_oss onestart',=20
   sound from Firefox is audible and controllable with=20
   virtual_oss_ctl

3. after the first 'service virtual_oss onestop',=20
   virtual_oss continues to run (pid 28341)

4. after the _second_ `service virtual_oss onestart`,=20

   virtual_oss: Could not create CUSE DSP device

   =E2=80=93 presumably a result of the non-stop of the=20
     first start of the service

5. after the _second_ `service virtual_oss onestop`,=20
   sound from the first instance of Firefox is _inaudible_

   =E2=80=93 and whilst I can not easily restore sound=20
     for the first instance (without quitting), I=20
     can get sound by starting a second instance of=20
     Firefox with its profile preset to _not_ have a=20
     preference for media.cubeb.backend

----

# date ; uptime ; uname -v
Wed Dec 23 04:09:43 GMT 2020
 4:09AM  up  4:53, 5 users, load averages: 3.23, 2.44, 1.73
FreeBSD 13.0-CURRENT #74 r368589: Sun Dec 13 07:55:46 GMT 2020=20=20=20=20
root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG=20
# service virtual_oss onestatus
virtual_oss is not running.
# service webcamd status
webcamd is running as pid 1045.
# service webcamd stop
Stopping webcamd.
Waiting for PIDs: 1045
# service webcamd status
webcamd is not running.
# service virtual_oss onestart
Starting Virtual OSS config dsp ...hw.snd.basename_clone: 1 -> 0
 done
# service virtual_oss onestop
Stopping Virtual OSS config dsp ... done
# service virtual_oss onestatus
virtual_oss is running as pid 28341.
# service virtual_oss onestatus
virtual_oss is running as pid 28341.
# service virtual_oss onestart
Starting Virtual OSS config dsp ...hw.snd.basename_clone: 0 -> 0
virtual_oss: Could not create CUSE DSP device
 done
# service virtual_oss onestop
# service virtual_oss onestatus
virtual_oss is not running.
# service virtual_oss onestatus
virtual_oss is not running.
# cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play)
pcm1: <IDT 92HD81B1X (Analog 2.0+HP/2.0)> (play/rec) default
pcm2: <IDT 92HD81B1X (Analog)> (play/rec)
No devices installed from userspace.
# tail -n 18 /etc/rc.conf

webcamd_enable=3D"YES"
# <https://www.freshports.org/net-im/zoom/>;
webcamd_flags=3D"-H"
virtual_oss_enable=3D"NO"
virtual_oss_default_args=3D"\
  -T /dev/sndstat \
  -S \
  -i 8 \
  -C 2 -c 2 \
  -r 48000 \
  -b 24 \
  -s 8.0ms \
  -f /dev/dsp1 \
  -c 2 \
  -d dsp \
  -t vdsp.ctl"
sndiod_enable=3D"YES"
#

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252063-7788>