Re: OGLE/ALSA problem
H}kan Hjort <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
Sat Aug 30 2003, Jack Topp wrote:
> Okay here is my predicament!
>
> I am helping a friend to migrate to linux. Being a newbie myself
> this can be difficult but i have managed to get graphics (NVidia
> Geforce 5200) and sound (SB Live 5.1) up on his system.
>
> It is possible to play back CD's via the ALSA player so I think the
> sound system should be OK to handle the Ogle ALSA requirements.
>
This really isn't a very good indicator, since CD playback ofthen is
analog, mixing is done directly in the sound card. This is very
unlike pcm playback. Better to try with a mp3 player or such.
> However as soon as I try playing back DVD's the following happens.
>
>
> The DVD splash screen opens (so there is picture) but when I then
> choose which language the CD is to run in OGLE decides I have seen
> enough :o)
>
This is the first time there is any audio to play.
> I checked out the ogle FAQ to see if anyone had encountered similar
> problems but have been unable to see any similar case.
>
> I have tried to implement the following suggested changes in the
> oglerc file in usr/local/shared/ogle, as this was the only sound
> related piece I could find.
>
> FROM FAQ: (43)
> # Change the Alsa device name from 'default' to 'iec958' in the oglerc. (the SP/DIF device migth not be named iec958, you'll have to find out).
>
> <alsa>
> <name>iec958</name>
> </alsa>
>
This is to get S/PDIF, i.e digital out to work.
-snip
> BTW: The ALSA GNOME Mixer both installs and runs - but is after that unable to present me with anything but an empty window... If I choose properties the following error displays:
>
> Application "gnome-alsamixer" (process 7029) has crashed
> due to a fatal error.
> (Segmentation fault)
>
This seems realy bad, are you sure that you are using the ALSA sound system?
Perhaps it's using OSS instead?
-snip-
> I suspect that if I could locate the ALSA driver I would be in the
> clear by putting it into the oglerc configuration file however I
> don't know how to find the ALSA directory where the driver ought to
> be.
>
> I am including the command line output below - If anyone has any
> suggestions on how to get this thing on the road let me know.
>
-snip-
>
> [topp@localhost topp]$ ogle
> libdvdread: Using libdvdcss version 1.2.7 for DVD access
> libdvdread: Attempting to use device /dev/cdrom mounted on /mnt/cdrom for CSS authentication
> libdvdread: Using libdvdcss version 1.2.7 for DVD access
> libdvdread: Attempting to use device /dev/cdrom mounted on /mnt/cdrom for CSS authentication
>
> 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 0x00000139
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000a3d8
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001f82c
> libdvdread: Elapsed time 0
> libdvdread: Found 1 VTS's
> libdvdread: Elapsed time 0
> !!No accelerated IMDCT transform found
> ERROR[ogle_audio]: Opening alsa pcm device 'default': No such file or directory
> FATAL[ogle_audio]: failed opening the alsa audio driver at default
> ctrl: ipc_rmid: Invalid argument
>
So perhaps the proper device isn't 'default' (if you are running ALSA),
try changing the device name to 'pcm'.
<alsa>
<name>default</name>
to
<alsa>
<name>pcm</name>
To try with OSS instead of ALSA change
<audio>
<device>
<driver>alsa</driver>
to
<audio>
<device>
<driver>oss</driver>
Hope this helps. Otherwise you'll have to test so that you have
the sound system working properly before fiddling more with Ogle.
--
Håkan Hjort