Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2008 09:18:18 +0400
From:      swell.k@gmail.com
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Re: snd_hda UAA patch second preview
Message-ID:  <86iqtlra3p.fsf@gmail.com>
In-Reply-To: <48B2DD7E.6030700@FreeBSD.org> (Alexander Motin's message of "Mon, 25 Aug 2008 19:27:42 %2B0300")
References:  <48B2DD7E.6030700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin <mav@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iqtlra3p.fsf>