Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 10:29:52 -0600
From:      Stephen Hilton <nospam@hiltonbsd.com>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG>
Cc:        freebsd-multimedia@FreeBSD.ORG, eta@lclark.edu
Subject:   Re: XFree86 4.3.0 and Ogle problems (SOLVED)
Message-ID:  <20030310102952.4f90bfae.nospam@hiltonbsd.com>
In-Reply-To: <20030309224827.83555.qmail@exxodus.fedaykin.here>
References:  <20030307115331.60e8c169.nospam@hiltonbsd.com> <20030307132513.1daa8d8b.nospam@hiltonbsd.com> <20030308155929.5fc8fb17.nospam@hiltonbsd.com> <20030309161912.5407.qmail@exxodus.fedaykin.here> <20030309142855.4decdf61.nospam@hiltonbsd.com> <20030309224827.83555.qmail@exxodus.fedaykin.here>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Mar 2003 19:48:05 -0300
Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG> wrote:

> Hi,
> 
> 	I worked with Ogle developer Bjrn Englund about this.
> 
> On Sun, Mar 09, 2003 at 02:28:33PM -0600, Stephen Hilton wrote:
> 
> [snip]
> 
> > #!!#!!#!!#!!!display: frame rate: 29.207 fps
> > !display: frame rate: 29.531 fps
> > +SNDCTL_DSP_SETFRAGMENT: Invalid argument
> > SNDCTL_DSP_SETFMT: Invalid argument
> > FATAL[ogle_audio]: ogle_ao_init: ----!#!#!!#!!#!!#!!#-!!#!!#!!#!-!#!!#!-!#!!#!!#!!--#!!#!!-!!#!!#!!#!!-#!!!!#!!-#-!!#!!#!!#!!#!!#!!!-!#!!#!!#!!!!#-!!#!!!!#!!#!-!!!#!!#!!--#!!#!!!!#!!#!!#!!--##!!!!#!!#!!#!!#-!!#!!#!!#!!###!!#!!#!!#!!#!!##!!#-!!#!!#!!-#!!#!-!#-!!#!!#!!#!!#-!!#!!#!!#!!#!!#!!#!!-#!!#!!-#!!#!-!#!!#!-!#!!#!!-###!!#!!#-!!#!!##!!-#!!#!!#!!#-!!#!!#!!-#-!!#!!#!!#--!!#!!#!!-!!#!!#!--!#!!#!!#!!#!!#-!!###!-!-!#!--#---!!##!!#!!#!!#SNDCTL_DSP_SETFRAGMENT: Invalid argument
> 
> [snip]
> 
> 	You were very fortunate (or, unfortunate hehe) that I have
> the exact same audio chipset. I was able to reproduce the problem
> with a DVD. We tracked this down to a audio driver problem from the
> audio/aureal-kmod port. We're blaming the driver since no one else
> complained about this. The audio driver should be the best person
> to let us know what is wrong.
> 
> 	Diagnostic. Both SNDCTL_DSP_SETFRAGMENT and SNDCTL_DSP_SETFMT
> are due to a fail from the aureal audio driver to reinitialize the
> driver after a SNDCTL_DSP_SYNC call. Instead of using that call, I
> replaced it with a workaround: closing then opening again the audio
> device. This fixed it but there are some issues with this approach.
> Therefore, we should investigate if the driver author can work around
> this.
> 
> 	I've attached a patch that should fix this problem temporarily.
> Furthermore, it adds a lot of debug output.
> 
> 	1) copy the ogle port somewhere 
> 
> 	# cp -Rp /usr/ports/multimedia/ogle /tmp
> 
> 	2) copy the patch to this temporary port copy
> 
> 	# cp patch-libogleao::oss_audio.c /tmp/ogle/files
> 
> 	3) uninstall ogle
> 
> 	4) install the temporary ogle port copy
> 
> 	# cd /tmp/ogle && make install
> 
> 
> 	Let me know how this works out.
> 
> 	Regards,
> 
> -- 
> Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
> Computer Science Undergraduate | FreeBSD Committer | CS Developer
> flames to beloved devnull@someotherworldbeloworabove.org
> feature, n: a documented bug | bug, n: an undocumented feature
> 


Mario,

The patch has fixed the problem with my Aureal Vortex 2 audio 
and ogle 9.0  :-)

Thanks to Bjrn Englund and yourself for the help on this!


Regards,

Stephen Hilton
nospam@hiltonbsd.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030310102952.4f90bfae.nospam>