Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 13:18:50 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Stephen Hilton <nospam@hiltonbsd.com>
Cc:        freebsd-multimedia@FreeBSD.ORG, eta@lclark.edu
Subject:   Re: XFree86 4.3.0 and Ogle problems (long)
Message-ID:  <20030309161912.5407.qmail@exxodus.fedaykin.here>
In-Reply-To: <20030308155929.5fc8fb17.nospam@hiltonbsd.com>
References:  <20030307115331.60e8c169.nospam@hiltonbsd.com> <20030307132513.1daa8d8b.nospam@hiltonbsd.com> <20030308155929.5fc8fb17.nospam@hiltonbsd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

	I have a similar setup:

	- Matrox G450
	- Audio Aureal Vortex2
	- XFree86 4.2.1 instead of 4.3 though

	Okay, lets begin with the basic information:

	1) Video works for you
	2) You have problems with audio

	Questions:

	1) Do you have audio at all?
	2) Is it corrupted?
	3) Or, is it just not synced with the video output? I mean,
does the audio comes before/after the scenes?

	I need to know further information.

	1) If you do not have any audio, ogle might be have
been having problems accessing your audio device /dev/dsp.

	Do you run either KDE or GNOME? I see you run GNOME. If you
are running the esound esd sound daemon, ogle might be having problems
accessing the device.

	The following "KDE on FreeBSD" FAQ entry might be helpful.

- KDE on FreeBSD
http://freebsd.kde.org/faq.shtml

Check Question 9.

----

Q9: How can I make arts play nicely with xmms (or any other sound
application)?
 
A9.1: Let's start with ls /dev/dsp*. If you get a list like this
(and you probably will, most modern sound cards will be auto set
up this way) you're already good to go:

/dev/dsp /dev/dsp0.0 /dev/dsp0.2 /dev/dsp0 /dev/dsp0.1 /dev/dsp0.3
 
If you only have dsp + dsp0, or possibly dsp0.0, you need to set
some things up by hand. Put the following two lines into
/etc/sysctrl.conf:

hw.snd.pcm0.vchans=4
hw.snd.maxautovchans=4

In the KDE Control Center, tell arts to use /dev/dsp0.1. If you use
esd, tell it to use /dev/dsp0.2 (just don't ask me how to do that,
I don't use esd). Applications like XMMS and others will continue
to use the defaults (/dev/dsp0 or /dev/dsp0.0) and you will still
have /dev/dsp0.3 if you come up with anything else that still 
clashes.

----

	You see? It's a way to have 4 different dsp devices. If you
tell esound esd daemon to not use the default /dev/dsp one, all
other applications can use it since it's no longer being held.
	However, I do not recall how to tell esound how to access
an alterante dsp device. Check the GNOME Control Center Audio
tabs for that.

	2) If the audio is being corrupted, there might
be some problems with the new audio core for ogle. Although they
have only added new audio formats decoding (i.e., did not change
the pre-existing decoding engine), the DVD you're playing might
have triggered a yet not found bug. Could you try using ogle with
different DVDs? Make sure to use AC3 audio DVDs 1st (and select AC3
output within the DVD audio menus). Let me know what happens.

	3) If it is an audio syncing problem, you might want to try
something like the following.  Create a ~/.oglerc file with the
following contents:

<ogle_conf>
  <audio>
    <sync>
      <type>odelay</type>
    </sync>
  </audio>
</ogle_conf>

then try with

<ogle_conf>
  <audio>
    <sync>
      <type>clock</type>
    </sync>
  </audio>
</ogle_conf>

as well. Do any of these make any difference? Check the manual page
oglerc(5) for more information on oglerc options.

	Well, I hope this fixes it for you. If we still
cannot find a solution, we might need to resort to ogle developers.

	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

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?20030309161912.5407.qmail>