Date: Sun, 9 Mar 2003 12:56:59 -0300 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: Paul Pathiakis <paul@pathiakis.com> Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Ogle 0.8.5 and beyond (audio and aRts) Message-ID: <20030309155721.5086.qmail@exxodus.fedaykin.here> In-Reply-To: <200303091023.48004.paul@pathiakis.com> References: <200303091023.48004.paul@pathiakis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Okay, you're running KDE aRts daemon. It uses /dev/dsp to play audio. Unfortunaly, 2 different applications cannot share the same /dev/dsp device. Therefore, ogle cannot use the device since aRts already holds it. There a couple of things we can try though. For instance, the "KDE on FreeBSD" FAQ has a similar response for xmms (which has the same problem): - KDE on FreeBSD http://freebsd.kde.org/faq.shtml ---- 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 aRts to not use the default /dev/dsp one, all other applications can use it since it's no longer being held. To change the default dsp device for aRts, go to KDE Control Center -> Sound & Multimedia -> Sound System -> Sound I/O -> -> Use custom sound device -> [enter something like /dev/dsp0.3] This should "fix" the aRts vs ogle sound conflict. Let me know if you still have problems. Regards, On Sun, Mar 09, 2003 at 10:23:25AM -0500, Paul Pathiakis wrote: > Hi, > > I've searched the archives, gone on the net, I just can't find out what's > wrong. > > I'm running Freebsd 4.7. > > On ogle 0.8.0, I just did a make install from the ports collection and it > just worked after tweaking the kernel to have the required shm and other > parameters. > > Since then, I've upgraded twice and found that it no longer works. > > I used to just type "ogle" at the command prompt. I'd get the console (btw, > most of the buttons have never worked.) and "open disc" and everything would > just run. > > Now, when I type ogle, it initializes: > > ogle > libdvdread: Using libdvdcss version 1.2.5 for DVD access > libdvdread: Using libdvdcss version 1.2.5 for DVD access > > libdvdread: Attempting to retrieve all CSS keys > libdvdread: This can take a _long_ time, please be patient > > libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000013c > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00007d2c > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000bd8f > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0002fea7 > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00033e27 > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0005b82a > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0005f855 > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x000818b5 > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x000858f4 > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x000a6189 > libdvdread: Elapsed time 0 > libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x000adf70 > libdvdread: Elapsed time 0 > libdvdread: Found 5 VTS's > libdvdread: Elapsed time 0 > Using djbfft for IMDCT transform > FATAL[ogle_audio]: failed opening the oss audio driver at /dev/dsp > > > I have a KDE desktop, so I found I can start with: artsdsp ogle > > The sound quality is horrible, the performance is choppy and terrible and the > frame rate, which used to be about 29fps is now 13-14 fps. What have I done > wrong? I'm at a loss. > > Thank you, > > Paul Pathiakis -- 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?20030309155721.5086.qmail>