snd_hda UAA patch second preview

swell.k at gmail.com swell.k at gmail.com
Thu Aug 28 05:49:59 UTC 2008


Alexander Motin <mav at FreeBSD.org> writes:

% sysctl dev.hdac.0.polling=1
% mplayer /path/to/someFile
(quit or kill it)
% mplayer /path/to/someFile
(quit)
% sysctl dev.hdac.0.polling=0
dev.hdac.0.polling: 1
sysctl: dev.hdac.0.polling: Device busy
% fstat /dev/dsp*
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME

The second invocation of mplayer gives no sound and eats up all cpu at start
throttling to nothing (100% idle). After that the only way I know to restore
sound is reboot. Can someone reproduce? Is it known problem? Haven't tested
without the patch, but IIRC es137x doesn't exhibit such a behavior.

On the console I have nothing useful:
hdac0: PCMDIR_PLAY: Stream setup fmt=10000010 speed=48000
hdac0: PCMDIR_PLAY: Stream setup nid=2: fmt=0x0011, dfmt=0x0001
hdac0: hdac_stream_start: pollticks 1000000 -> 1
hdac0: PCMDIR_PLAY: Stream setup fmt=10000010 speed=48000
hdac0: PCMDIR_PLAY: Stream setup nid=2: fmt=0x0011, dfmt=0x0001

Yep, I'm using latest hda.20080827.patch, the problem also exists
in previous patch.

BTW, this latest patch gives me [GIANT] in /dev/sndstat. dmesg is
here http://pastebin.com/m7cb8b669 if it's of any interest.
Is it expected to have it?


More information about the freebsd-multimedia mailing list