Ogle and ALSA problem

Jernej Zidar <[email protected]> Mon, 03 Jan 2005 11:45:52 +0100
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Hello.
   I'm trying to get Ogle running, but I'm not successful as the program
crashes.
   Here's the description: I can open Ogle, but when I insert a DVD and
try to play it (File-Open disk) it crashes saying:
xscreensaver-command not found.
No accelerated IMDCT transform found
ALSA lib pcm_hw.c:1172:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
Device or resource busy
ERROR[ogle_audio]: Opening alsa pcm device 'default': Device or resource
busy
FATAL[ogle_audio]: failed opening the alsa audio driver at default

   I'm using Gentoo with kernel version 2.6.6. Graphics card is a
GeforceFX 5200. ALSA is otherwise working, I can listen to mp3s, audio
cds, sound is working when watching AC3, mp3 encoded movies. I'm using
xorg-x11 with KDE 3.13.
   Ogle is version 0.91.

   I attach the Ogle output.

thanks in advance,

Jernej Zidar

PS: I would also like to wish you a happy new year 2005!
ogle.log (text/plain, 6.2 KB)
Build: Linux 2.6.6 #4 Sun Jul 18 14:12:31 Local time zone must be set--see zic manu i686 Intel(R) Pentium(R) M processor 1500MHz Mon Dec 27 16:35:14 CET 2004 Xv oss alsa
Runtime: Linux 2.6.6 #4 Sun Jul 18 14:12:31 Local time zone must be set--see zic manu i686 Intel(R) Pentium(R) M processor 1500MHz
cpuinfo:
processor : 0, vendor_id : GenuineIntel, cpu family : 6, model : 9, model name : Intel(R) Pentium(R) M processor 1500MHz, stepping : 5, cpu MHz : 598.537, cache size : 1024 KB, fdiv_bug : no, hlt_bug : no, f00f_bug : no, coma_bug : no, fpu : yes, fpu_exception : yes, cpuid level : 2, wp : yes, flags : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est, bogomips : 1182.92, ,

/dev/dvd -> ide/host0/bus1/target0/lun0/cd
Valid DVD devices: /dev/hdc -> ide/host0/bus1/target0/lun0/cd

hdparm v5.7
DMA is on for /dev/hdc

/dev/hdc:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  1 (on)
 readahead    = 256 (on)
Note[ogle_ctrl]: ogle 0.9.1
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_gui with pid 10092
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with pid 10093
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 10094
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 10095
Debug[ogle_vout]: CLK_TCK: 100
Debug[ogle_nav]: Opening DVD at "/dev/dvd"
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is unscrambled
libdvdcss debug: using CSS key cache dir: /home/zidar/.dvdcss/UNDERGROUND#2004121315270000/
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
Debug[ogle_nav]: play_PGC: first_play_pgc
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending subp demuxstream 31
libdvdcss debug: disc is unscrambled
libdvdcss debug: using CSS key cache dir: /home/zidar/.dvdcss/UNDERGROUND#2004121315270000/

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000171
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x001bcc20
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001c2d58
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001c2d78
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001c2d9d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x001c2db2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x001c6a4d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x001ccfe1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x001d65fa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x001da89f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x001e148e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x001e62a8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x001ef6a0
libdvdread: Elapsed time 0
libdvdread: Found 11 VTS's
libdvdread: Elapsed time 0
Debug[ogle_ctrl]: _new stream bf, 0
Debug[ogle_ctrl]: _new stream e0, 0
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_vs with pid 10097
Debug[ogle_ctrl]: _new stream bd, 80
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_audio with pid 10098
Debug[ogle_mpeg_vs]: ## req cap
Debug[ogle_mpeg_vs]: got cap and stream
Debug[ogle_mpeg_vs]: get ouput buffer
Debug[ogle_ctrl]: got capability video_out
xscreensaver-command not found.
Debug[ogle_mpeg_vs]: horizontal_size: 720, vertical_size: 576
Debug[ogle_mpeg_vs]: padded_width: 720, padded_height: 576
Debug[ogle_mpeg_vs]: frame rate: 25
Debug[ogle_vout]: set_sync_point()
Note[ogle_vout]: using default config for ':0.0'
Note[ogle_vout]: Using 'X11' as source for geometry
Note[ogle_vout]: Xinerama extension not found/active
Note[ogle_vout]: Using 'XF86VidMode' as source for resolution
Note[ogle_vout]: Display w: 332, h: 207, hp: 1280, vp: 800
Note[ogle_vout]: Display sar: 264960/265600 = 0.997590
Note[ogle_vout]: Found 20 matching visuals, using visual id: 21
Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors
Note[ogle_vout]: Xv adaptor "NV17 Video Overlay" port 145 image format 842094169
Debug[ogle_vout]: resize: 766, 576
!!Debug[ogle_vout]: resize: 766, 576
No accelerated IMDCT transform found
Debug[ogle_audio]: decode_a52: found sync
Debug[ogle_audio]: Searching <speakers> for:
Debug[ogle_audio]:  'Left' 'Right'
Debug[ogle_audio]: or for:
Debug[ogle_audio]:  'AC3'
Debug[ogle_audio]: No channel configs found
Note[ogle_audio]: Using audio driver 'alsa'
Debug[ogle_audio]: Opening alsa pcm device: default
ALSA lib pcm_hw.c:1172:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
ERROR[ogle_audio]: Opening alsa pcm device 'default': Device or resource busy
FATAL[ogle_audio]: failed opening the alsa audio driver at default
Debug[ogle_ctrl]: child: 10098 exited with 1 (/usr/lib/ogle/ogle_audio)
Debug[ogle_ctrl]: pid: 10098 exited with status: 1 (/usr/lib/ogle/ogle_audio)
Debug[ogle_ctrl]: child: 10094 killed (/usr/lib/ogle/ogle_mpeg_ps)
Debug[ogle_ctrl]: pid: 10094 terminated on signal: 2 (/usr/lib/ogle/ogle_mpeg_ps)
Debug[ogle_ctrl]: child: 10093 killed (/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: pid: 10093 terminated on signal: 2 (/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: child: 10097 exited with 0 (/usr/lib/ogle/ogle_mpeg_vs)
Debug[ogle_ctrl]: pid: 10097 exited with status: 0 (/usr/lib/ogle/ogle_mpeg_vs)
Debug[ogle_ctrl]: slaying child: 10092 /usr/lib/ogle/ogle_gui
Debug[ogle_ctrl]: slaying child: 10095 /usr/lib/ogle/ogle_vout
Debug[ogle_ctrl]: removing shmid: 1933320
Debug[ogle_ctrl]: removing shmid: 2752522
Debug[ogle_ctrl]: removing shmid: 2785291
Debug[ogle_ctrl]: removing shmid: 2818060
Debug[ogle_ctrl]: removing shmid: 2850829
ctrl: ipc_rmid: Invalid argument
Debug[ogle_ctrl]: removing shmid: 2883598
Debug[ogle_ctrl]: removing shmid: 2916367
Note[ogle_ctrl]: exiting