On Tue, 5 Jun 2012 08:23:39 +0200 Alexandre Ratchov <[email protected]> wrote:
> Hey, > > could you try the following: > > aucat -dd -frsnd/0 -i whatever.wav > > and send me the output. If you don't have a .wav file, just use any > large bonary file (ex /bsd) it will produce noise. > > If it hangs, while above process is still running, could you run: > > audioctl; sleep 1; audioctl > > and send me the output as well. This is to test whether the DMA > engine works; mplayer freezing suggests DMA doesn't start. > > thanks. > > -- Alexandre Hi Alexandre, I played utopia.wav on the problem machine, but got no sound from it. The file was not an issue because I checked it on my normal OpenBSD computer beforehand and it played fine. >From aucat (utopia is an 8 minute track. I left the machine for about 15 >minutes after running this and then the audioctl commands, when I came back >nothing had changed on the terminal window): $ aucat -dd -frsnd/0 -i utopia.wav wav(utopia.wav|): created utopia.wav: playing s16le,0:1,44100 44..87828524 snd0: device requested sio(rsnd/0|): created snd0: playing s16le,0:1,48000 mix(play): newout, will use 9432 fr snd0: block size is 1048 frames, using 9 blocks wav0: overwritten slot 0 wav(wav0)/sta: allocating buffers wav0(127)/stp: not ready, server delayed utopia.wav: read 69324 bytes in 24539us midi(midi): mtc full frame at 0, 24 fps wav(wav0)/run: attaching resamp(utopia.wav): new 963/1048 resamp(utopia.wav)->mix(play): setmaster: 32768/32768 snd0: syncing device, mix(play): todo = 0: lat = 0 rwav(utopia.wav)->resamp(utopia.wav): setting volume to 32768 starting device sio(rsnd/0|): started === $ audioctl; sleep 1; audioctl name=VIA VT8233 version= config=auvia encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1*,slinear_le:16:2:1,ulinear_le:16:2:1*,slinear_be:16:2:1*,ulinear_be:16:2:1* properties=full_duplex,mmap,independent full_duplex=0 fullduplex=0 blocksize=4192 hiwat=9 lowat=8 output_muted=0 monitor_gain=0 mode=play play.rate=48000 play.sample_rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=199 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=37728 play.samples=62880 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=1 play.active=1 play.buffer_size=65536 play.block_size=4192 play.errors=0 record.rate=48000 record.sample_rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=191 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=9600 record.errors=0 name=VIA VT8233 version= config=auvia encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1*,slinear_le:16:2:1,ulinear_le:16:2:1*,slinear_be:16:2:1*,ulinear_be:16:2:1* properties=full_duplex,mmap,independent full_duplex=0 fullduplex=0 blocksize=4192 hiwat=9 lowat=8 output_muted=0 monitor_gain=0 mode=play play.rate=48000 play.sample_rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=199 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=37728 play.samples=62880 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=1 play.active=1 play.buffer_size=65536 play.block_size=4192 play.errors=0 record.rate=48000 record.sample_rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=191 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=9600 record.errors=0 $ Let me know if you want me to try something else. Brett.

