alsa problem with ogle
Max <[email protected]> Thu, 09 Jun 2005 15:18:59 +0200
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
hi all ;-)
i'm having problem with alsa
i can't use oss because /dev/dsp is used by the gnome esound daemon.
in attachment you can find my ogle --debug output
my audio device is a intel 810 sound chip integrated in the motherboard
alsa works without problem in all other application (totem-xine, xmms,
rhytmbox, vlc ecc.)
i'm not a programmer but watching the log it seems that ogle recognize
the device, and then it find some other problems...
this is the debug log audio-related output:
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_audio with pid 7175
No accelerated IMDCT transform found
Debug[ogle_audio]: decode_a52: found sync
Debug[ogle_audio]: Searching <speakers> for:
Debug[ogle_audio]: 'Left' 'Right' 'Center' 'LeftSurround'
'RightSurround' 'LFE'
Debug[ogle_audio]: or for:
Debug[ogle_audio]: 'AC3'
Debug[ogle_audio]: <channel_config>
Debug[ogle_audio]: <chtype>AC3</chtype>
Debug[ogle_audio]: </channel_config>
Debug[ogle_audio]: Found matching channel_config
Note[ogle_audio]: Using audio driver 'alsa'
Debug[ogle_audio]: Opening alsa pcm device: iec958
Debug[ogle_audio]: device: 4, subdevice: 0
ERROR[ogle_audio]: Unable to update the IEC958 control: No such file or
directory
let me know if there are other information i can supply...
following my oglerc audio section:
<audio>
<device>
<driver>alsa</driver>
<!-- <path></path> -->
<alsa>
<name>iec958</name>
</alsa>
</device>
<!-- if you have a multichannel card or spdif, uncomment/edit this part -->
<speakers>
<channel_config>
<chtype>AC3</chtype>
</channel_config>
<channel_config>
<chtype>DTS</chtype>
</channel_config>
<channel_config>
<chtype>MPEG</chtype>
</channel_config>
<channel_config>
<chtype>LPCM</chtype>
</channel_config>
<channel_config>
<chtype>Left</chtype>
<chtype>Right</chtype>
</channel_config>
<channel_config>
<chtype>Left</chtype>
<chtype>Right</chtype>
<chtype>RearLeft</chtype>
<chtype>RearRight</chtype>
<chtype>Center</chtype>
<chtype>LFE</chtype>
</channel_config>
</speakers>
<liba52>
<downmix_level>1.0</downmix_level>
<drc>no</drc>
<stereo_mode>dolby</stereo_mode>
</liba52>
<sync>
<type>odelay</type>
<resample>no</resample>
<offset>0</offset>
</sync>
</audio>
many thanks
Max
ogle.log
(text/x-log, 7.2 KB)
Build: Linux 2.4.24 #1 tor jan 15 15:13:38 CET 2004 i686 Fri Jan 16 17:29:10 CET 2004 mmx Xv oss alsa Runtime: Linux 2.6.11-1-686 #1 Fri May 20 07:34:54 UTC 2005 i686 cpuinfo: processor : 0, vendor_id : GenuineIntel, cpu family : 15, model : 2, model name : Intel(R) Pentium(R) 4 CPU 2.66GHz, stepping : 9, cpu MHz : 2661.099, cache size : 512 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 pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr, bogomips : 5275.64, , /dev/dvd -> hdd Valid DVD devices: /dev/sr0 /dev/hdd hdparm v6.1 DMA is on for /dev/hdd /dev/hdd: IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) Note[ogle_ctrl]: ogle 0.9.2 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_gui with pid 7169 WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot' WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU' Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with pid 7170 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 7171 Debug[ogle_vout]: CLK_TCK: 100 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 7172 Debug[ogle_nav]: Opening DVD at "/media/usbdisk/Dune.iso" libdvdread: Using libdvdcss version 1.2.8 for DVD access libdvdcss debug: opening target `/media/usbdisk/Dune.iso' libdvdcss debug: using libc for access libdvdcss debug: using CSS key cache dir: /root/.dvdcss/DUNE#2005042200173300/ 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 libdvdread: Using libdvdcss version 1.2.8 for DVD access libdvdcss debug: opening target `/media/usbdisk/Dune.iso' libdvdcss debug: using libc for access libdvdcss debug: using CSS key cache dir: /root/.dvdcss/DUNE#2005042200173300/ 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 0x00000129 libdvdcss debug: key found in cache libdvdread: Elapsed time 1 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000181 libdvdcss debug: key found in cache libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000020b libdvdcss debug: key found in cache libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0022bbb1 libdvdcss debug: key found in cache libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0022d55b libdvdcss debug: key found in cache libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0022d5d8 libdvdcss debug: key found in cache libdvdread: Elapsed time 0 libdvdread: Found 3 VTS's libdvdread: Elapsed time 1 Debug[ogle_ctrl]: _new stream bf, 0 Debug[ogle_ctrl]: _new stream e0, 0 Debug[ogle_mpeg_vs]: Using MMX accelerated media functions Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_vs with pid 7174 Debug[ogle_ctrl]: _new stream bd, 80 Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_audio with pid 7175 No accelerated IMDCT transform found Debug[ogle_audio]: decode_a52: found sync Debug[ogle_audio]: Searching <speakers> for: Debug[ogle_audio]: 'Left' 'Right' 'Center' 'LeftSurround' 'RightSurround' 'LFE' Debug[ogle_audio]: or for: Debug[ogle_audio]: 'AC3' Debug[ogle_audio]: <channel_config> Debug[ogle_audio]: <chtype>AC3</chtype> Debug[ogle_audio]: </channel_config> Debug[ogle_audio]: Found matching channel_config Note[ogle_audio]: Using audio driver 'alsa' Debug[ogle_audio]: Opening alsa pcm device: iec958 Debug[ogle_audio]: device: 4, subdevice: 0 ERROR[ogle_audio]: Unable to update the IEC958 control: No such file or directory Debug[ogle_audio]: Min channels: 2 Debug[ogle_audio]: Max channels: 2 Debug[ogle_audio]: Channels: 2 Debug[ogle_audio]: Wanted buffer time 500000, got 341333 Debug[ogle_audio]: Buffer size 16384 frames Debug[ogle_audio]: Period time: 10666 us Debug[ogle_audio]: Period size: 512 frames Debug[ogle_audio]: Stream parameters are 48000 Hz, S16_LE, 2 channels, sample size: 4 Debug[ogle_audio]: channels 2, encoding 2, resolution 16 Debug[ogle_audio]: byte order 1, rate 48000 Debug[ogle_audio]: fragments -1, size 4096 Note[ogle_audio]: delay resolution better than: 0.004999920, 240 samples, rate: 48000 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 Debug[ogle_vout]: Found a running xscreensaver, version "4.21" (>= 3.34). 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 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: 321, h: 241, hp: 1024, vp: 768 Note[ogle_vout]: Display sar: 246784/246528 = 1.001038 Note[ogle_vout]: Found 8 matching visuals, using visual id: 23 Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors Note[ogle_vout]: Xv adaptor "ATI Radeon Video Overlay" port 67 image format 842094169 Debug[ogle_vout]: resize: 768, 576 Debug[ogle_vout]: resize: 768, 576 !Debug[ogle_vout]: ss disable took 0.003532000 s Debug[ogle_nav]: play_PGC: state.pgcN (1) Debug[ogle_nav]: PGC pre commands didn't do a Jump, Link or Call Debug[ogle_nav]: play_PG: state.pgN (3) Debug[ogle_nav]: play_Cell: state.cellN (3) Debug[ogle_vout]: resize: 1024, 575 Debug[ogle_mpeg_ps]: Forward scr discontinuity Debug[ogle_mpeg_ps]: system_clock_reference: [1236.984325 s] Debug[ogle_mpeg_ps]: prev system_clock_reference: [8.767425 s] Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 1 Debug[ogle_audio]: flushing audio driver Debug[ogle_audio]: flushed audio Debug[ogle_audio]: decode_a52: lost sync Debug[ogle_audio]: decode_a52: found sync Note[ogle_audio]: xrun_recovery: File descriptor in bad state -Debug[ogle_vout]: resize: 1024, 575 !!##!!#!!#!!#Note[ogle_audio]: xrun_recovery: Broken pipe Debug[ogle_audio]: 0.+574539567 s off, resyncing #!!#!!#!!#!!##!!#!!#!!!display: frame rate: 0.000 fps msg close FIX Debug[ogle_ctrl]: child: 7169 exited with 0 (/usr/lib/ogle/ogle_gui) Debug[ogle_ctrl]: pid: 7169 exited with status: 0 (/usr/lib/ogle/ogle_gui) Debug[ogle_ctrl]: child: 7170 killed (/usr/lib/ogle/ogle_nav) Debug[ogle_ctrl]: pid: 7170 terminated on signal: 2 (/usr/lib/ogle/ogle_nav) Debug[ogle_ctrl]: slaying child: 7171 /usr/lib/ogle/ogle_mpeg_ps Debug[ogle_ctrl]: slaying child: 7172 /usr/lib/ogle/ogle_vout Debug[ogle_ctrl]: slaying child: 7174 /usr/lib/ogle/ogle_mpeg_vs Debug[ogle_ctrl]: slaying child: 7175 /usr/lib/ogle/ogle_audio Debug[ogle_ctrl]: removing shmid: 3014679 Debug[ogle_ctrl]: removing shmid: 3866650 Debug[ogle_ctrl]: removing shmid: 3899419 Debug[ogle_ctrl]: removing shmid: 3932188 Debug[ogle_ctrl]: removing shmid: 3964957 Debug[ogle_ctrl]: removing shmid: 3997726 ctrl: ipc_rmid: Invalid argument Debug[ogle_ctrl]: removing shmid: 4030495 Note[ogle_ctrl]: exiting