From owner-freebsd-multimedia Sun Mar 9 11: 3:17 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFCB237B401; Sun, 9 Mar 2003 11:03:12 -0800 (PST) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8776543F93; Sun, 9 Mar 2003 11:03:11 -0800 (PST) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.35.157] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 18s64e-00042j-00; Sun, 09 Mar 2003 13:03:05 -0600 Date: Sun, 9 Mar 2003 13:02:40 -0600 From: Stephen Hilton To: Mario Sergio Fujikawa Ferreira Cc: freebsd-multimedia@FreeBSD.org, eta@lclark.edu Subject: Re: XFree86 4.3.0 and Ogle problems Message-Id: <20030309130240.0ad08373.nospam@hiltonbsd.com> In-Reply-To: <20030309161912.5407.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> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 9 Mar 2003 13:18:50 -0300 Mario Sergio Fujikawa Ferreira wrote: > 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 With X4.3 and ogle 9.0 video and audio work during the intro to the DVD menu, then selecting 'play movie' video becomes very choppy and audio output stops. > Questions: > > 1) Do you have audio at all? no, have audio during the main menu, then play movie -no- audio > 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. I deinstall the ogle 9.0 and hack ports back to 8.5 version, except for the: ---hack to ogle port Makefile--------- LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \ dvdread.3:${PORTSDIR}/multimedia/libdvdread \ ^^^^^^^^^ instead of dvdread.2 -------------------------------------- Then ogle works fine, audio and video. I hacked the dvdread from .2 to .3 to make sure that dvdread was not causing the problem. > 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. Gnome 2.2 with: hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 1 hw.snd.maxautovchans: 4 hw.snd.pcm0.buffersize: 0 hw.snd.pcm0.vchans: 4 Xmms and GStreamer Player 0.5.0 both handle audio files fine. I am not sure if I am using esound, find no reference to esd or esound in my 'ps -wuax' output while playing an mp3. Also in Gnome Applications > Desktop Preferences > Sound I do _not_ have 'Enable sound server startup' checked on. While playing an mp3 wit Gstreamer an lsof shows this: daggar># lsof | grep dsp gst-playe 23125 stephen 19w VCHR 30,3 0t77541560 722 /dev/dsp0.0 > 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: > > > > > > then try with > > > > > > 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. I am certainly willing to help troubleshoot this, thanks for your help. Regards, Stepehn Hilton nospam@hiltonbsd.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message