Now with On 13/09/2020 10:24, Hans Petter Selasky wrote: > On 2020-09-13 11:21, Graham Perrin wrote: >> >> 1. Chromium simply does not play AV content e.g. >> <https://www.ted.com/talks/james_geary_metaphorically_speaking> – >> after a click to play, there's a moment of visual motion but no playback >> >> 2. if Firefox media.cubeb.backend set to oss then behaviour is the >> same as Chromium >> >> 3. if Firefox media.cubeb.backend is not set (audio backend defaults >> to pulse-rust) then playback occurs through IDT 92HD81B1X (Analog) – >> not USB. > > Try to configure a smaller audio buffer size in virtual_oss . > Sometimes devices request a very small audio buffer . > > --HPS Now with virtual_oss and sndiod disabled (starting them when required with onestart), with the buffer size reduced from 1024 to 256, ---- root_at_momh167-gjp4-8570p:~ # head -n 55 /usr/local/etc/rc.d/virtual_oss | grep -v \# . /etc/rc.subr name=virtual_oss desc="Virtual OSS device manager" rcvar=${name}_enable start_precmd="${name}_precmd" start_cmd="${name}_start" stop_cmd="${name}_stop" virtual_oss_default_args="\ -T /dev/sndstat \ -S \ -i 8 \ -C 2 -c 2 \ -r 48000 \ -b 24 \ -s 256 \ -f /dev/dsp0 \ -c 2 \ -d dsp \ -t dsp.ctl" configs= load_rc_config $name root_at_momh167-gjp4-8570p:~ # service virtual_oss onestart ; service sndiod onestart ; service virtual_oss onestatus ; service sndiod onestatus ; cat /dev/sndstat Starting Virtual OSS config dsp ... done Starting sndiod. virtual_oss is running as pid 5990. sndiod is running as pid 6006. Installed devices: pcm0: <ATI R6xx (HDMI)> (play) default pcm1: <IDT 92HD81B1X (Analog 2.0+HP/2.0)> (play/rec) pcm2: <IDT 92HD81B1X (Analog)> (play/rec) pcm3: <USB audio> (rec) pcm4: <USB audio> (play/rec) No devices installed from userspace. root_at_momh167-gjp4-8570p:~ # ---- I get visual playback but nothing audible at the USB headset or analogue loudspeakers. I see device buffer sizes below but I don't know how to use those to determine a usable setting for -s in /usr/local/etc/rc.d/virtual_oss From dmesg : ---- ugen0.5: <Alctron USB700 Alctron USB700> at usbus0 uhid1 on uhub2 uhid1: <Alctron USB700 Alctron USB700, class 0/0, rev 1.10/1.00, addr 4> on usbus0 uaudio0 on uhub2 uaudio0: <Alctron USB700 Alctron USB700, class 0/0, rev 1.10/1.00, addr 4> on usbus0 uaudio0: No playback. uaudio0: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 44100 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 32000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 22050 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 11025 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 8000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm3: <USB audio> on uaudio0 uaudio0: No HID volume keys found. ugen0.6: <vendor 0x0424 product 0x2514> at usbus0 uhub8 on uhub2 uhub8: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/b.b3, addr 5> on usbus0 uhub8: MTT enabled uhub8: 4 ports with 4 removable, self powered ugen0.7: <SteelSeries SteelSeries Siberia 350> at usbus0 uaudio1 on uhub8 uaudio1: <SteelSeries SteelSeries Siberia 350, class 0/0, rev 1.10/2.08, addr 6> on usbus0 uaudio1: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: No MIDI sequencer. pcm4: <USB audio> on uaudio1 uaudio1: HID volume keys found.Received on Sun Sep 13 2020 - 12:13:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC