Re: Problem running ogle (SNDCTL_DSP_GETCHANNELMASK: Invalid argument)

Clive Long <[email protected]> Mon, 5 Jul 2004 16:25:01 +0100 (BST)
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
--- Bj|rn Englund <[email protected]> wrote: > 
> Can you post the result from 'ogle --debug >&
> ogle.log' from the 0.9.2d version so I can see why
>  the normal version crashes?
> 
> There is a lot of extra debug infromation in this
> version and a temporary workaround that prevents
> resizing to 0,0 but I want to know why it tries to
> resize to 0,0.
> 

See following:

Build: Linux 2.4.20-2.54 #1 Sat Feb 22 08:27:12 EST
2003 i686 unknown Sat Jul  3 20:28:03 CEST 2004 mmx Xv
oss
Runtime: Linux 2.6.6-1.435 #1 Mon Jun 14 09:09:07 EDT
2004 i686 i686
cpuinfo:
processor : 0, vendor_id : GenuineIntel, cpu family :
15, model : 2, model name : Intel(R) Pentium(R) 4 CPU
2.80GHz, stepping : 7, cpu MHz : 2800.027, 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 mtrr pge mca cmov pat pse36 clflush dts
acpi mmx fxsr sse sse2 ss ht tm pbe cid, bogomips :
5537.79, ,

/dev/dvd -> cdrom
/dev/cdrom -> /dev/hdc
Valid DVD devices: /dev/hdc
hdparm v5.5
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     =  0 (off)
 readahead    = 256 (on)
Note[ogle_ctrl]: ogle 0.9.2d
WARNING[dvd_gui]: add_keybinding(): No such action:
'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action:
'SaveScreenshotWithSPU'
WARNING[dvd_gui]: add_keybinding(): No such action:
'AudioStreamChange'
WARNING[dvd_gui]: add_keybinding(): No such action:
'SubtitleStreamChange'
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_gui with
pid 3253
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with
pid 3254
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps
with pid 3255
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with
pid 3256
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 scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 14:e7:e2:25:b8
libdvdcss debug: using CSS key cache dir:
/root/.dvdcss/JIRI_KYLIAN#2001021313235000/
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]: PGC pre commands didn't do a Jump,
Link or Call
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 scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 14:e7:e2:25:b8
libdvdcss debug: using CSS key cache dir:
/root/.dvdcss/JIRI_KYLIAN#2001021313235000/

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
0x0000012a
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at
0x000001a3
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at
0x000001dd
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at
0x001f449e
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at
0x001f44ec
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Found 2 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 3258
Debug[ogle_mpeg_vs]: Using MMX accelerated media
functions
Debug[ogle_ctrl]: _new stream bd, 80
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_audio
with pid 3259
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_mpeg_vs]: horizontal_size: 720,
vertical_size: 480
Debug[ogle_mpeg_vs]: padded_width: 720, padded_height:
480
Debug[ogle_mpeg_vs]: frame rate: 30000/1001 (29.97)
Debug[ogle_mpeg_vs]: time offset not valid yet
WARNING[ogle_mpeg_vs]: B-frame before forward ref
frame
Debug[ogle_mpeg_vs]: time offset not valid yet
Xscreensaver not running.
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: 433, h: 347, hp: 1280, vp:
1024
Note[ogle_vout]: Display sar: 444160/443392 = 1.001732
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 69 image format 842094169
Debug[ogle_vout]: das: srcVM
Debug[ogle_vout]: DAS: am: 0 anfd: 3, anfn: 4, hs:
720, vs: 480, sfn: 2160, sfd: 1920
Debug[ogle_vout]: vo: sar: 2160/1920, dpy_sar
444160/443392, scale: 852787200, 957726720
Debug[ogle_vout]: base 720 x 539
Debug[ogle_vout]: max 1280 x 1024
Debug[ogle_vout]: using zoom 1 / 1
Debug[ogle_vout]: new1 720 x 539
Debug[ogle_vout]: new2 720 x 539
Debug[ogle_vout]: zoom2 539 / 539
Debug[ogle_vout]: nw: 720, nh: 539
Debug[ogle_vout]: resize: 720, 539
WARNING[ogle_mpeg_vs]: B-frame before forward ref
frame
Debug[ogle_mpeg_vs]: time offset not valid yet
Debug[ogle_vout]: das: configure 720, 539
Debug[ogle_vout]: DAS: am: 0 anfd: 3, anfn: 4, hs:
720, vs: 480, sfn: 2160, sfd: 1920
Debug[ogle_vout]: vo: sar: 2160/1920, dpy_sar
444160/443392, scale: 852787200, 957726720
Debug[ogle_vout]: base 720 x 539
Debug[ogle_vout]: max 720 x 539
Debug[ogle_vout]: new1 720 x 539
Debug[ogle_vout]: new2 720 x 539
Debug[ogle_vout]: zoom2 539 / 539
Debug[ogle_vout]: nw: 720, nh: 539
Debug[ogle_vout]: resize: 720, 539
Debug[ogle_mpeg_vs]: time offset not valid yet
Debug[ogle_vout]: set_sync_point()
No accelerated IMDCT transform found
Debug[ogle_audio]: decode_a52: found sync
Debug[ogle_audio]: Searching <speakers> for:
Debug[ogle_audio]:  'Mono'
Debug[ogle_audio]: or for:
Debug[ogle_audio]:  'AC3'
Debug[ogle_audio]: No channel configs found
Note[ogle_audio]: Using audio driver 'oss'
SNDCTL_DSP_GETCHANNELMASK: Invalid argument
Note[ogle_audio]: wanted 0 channels, got 2
Debug[ogle_audio]: channels 2, encoding 1, resolution
16
Debug[ogle_audio]: byte order 1, rate 48000
Debug[ogle_audio]: fragments 16, size 4096
Debug[ogle_audio]: 2 channels decoded:  Left Right
Note[ogle_audio]: delay resolution: 0.010874826, 522
samples, rate: 48000
Note[ogle_audio]: delay resolution: 0.010770661, 517
samples, rate: 48000
Debug[ogle_audio]: 0.+132645459 s off, resyncing
Note[ogle_audio]: delay resolution: 0.010749828, 516
samples, rate: 48000
display: frame rate: -0.000 fps
display: frame rate: 29.965 fps
display: frame rate: 29.974 fps
display: frame rate: 29.970 fps
display: frame rate: 29.970 fps
Debug[ogle_nav]: play_Cell_post: state.cellN (1)
Debug[ogle_nav]: last cell in this PGC
Debug[ogle_nav]: play_PGC_post:
Debug[ogle_nav]: play_PGC: state.pgcN (8)
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 (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_vout]: das: srcVM
Debug[ogle_vout]: DAS: am: 0 anfd: 9, anfn: 16, hs:
720, vs: 480, sfn: 2160, sfd: 1920
Debug[ogle_vout]: vo: sar: 6480/7680, dpy_sar
444160/443392, scale: 3411148800, 2873180160
Debug[ogle_vout]: base 854 x 480
Debug[ogle_vout]: max 1280 x 1024
Debug[ogle_vout]: using zoom 539 / 539
Debug[ogle_vout]: new1 854 x 480
Debug[ogle_vout]: new2 854 x 480
Debug[ogle_vout]: zoom2 480 / 480
Debug[ogle_vout]: nw: 854, nh: 480
Debug[ogle_vout]: resize: 854, 480
Debug[ogle_vout]: das: configure 854, 480
Debug[ogle_vout]: DAS: am: 0 anfd: 9, anfn: 16, hs:
720, vs: 480, sfn: 2160, sfd: 1920
Debug[ogle_vout]: vo: sar: 6480/7680, dpy_sar
444160/443392, scale: 3411148800, 2873180160
Debug[ogle_vout]: base 854 x 480
Debug[ogle_vout]: max 854 x 480
Debug[ogle_vout]: new1 854 x 480
Debug[ogle_vout]: new2 854 x 480
Debug[ogle_vout]: zoom2 480 / 480
Debug[ogle_vout]: nw: 854, nh: 480
Debug[ogle_vout]: resize: 854, 480
Debug[ogle_mpeg_ps]: Backward scr discontinuity
Debug[ogle_mpeg_ps]: system_clock_reference: [0.000000
s]
Debug[ogle_mpeg_ps]: prev system_clock_reference:
[35.339071 s]
Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 1
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
Debug[ogle_mpeg_vs]: time offset not valid yet
Debug[ogle_mpeg_vs]: time offset not valid yet
Debug[ogle_mpeg_vs]: time offset not valid yet
Debug[ogle_mpeg_vs]: time offset not valid yet
Debug[ogle_vout]: set_sync_point()
SNDCTL_DSP_GETCHANNELMASK: Invalid argument
Note[ogle_audio]: wanted 0 channels, got 2
Debug[ogle_audio]: channels 2, encoding 1, resolution
16
Debug[ogle_audio]: byte order 1, rate 48000
Debug[ogle_audio]: fragments 16, size 4096
Debug[ogle_audio]: 2 channels decoded:  Left Right
Note[ogle_audio]: delay resolution: 0.010937325, 525
samples, rate: 48000
Note[ogle_audio]: delay resolution: 0.010812327, 519
samples, rate: 48000
+Note[ogle_audio]: delay resolution better than:
0.004999920, 240 samples, rate: 48000
+-+-+-+-+-+-+-display: frame rate: 30.001 fps
+-+-+-+-+-+-+-+-+-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 (2)
Debug[ogle_nav]: play_Cell: state.cellN (2)
+Debug[ogle_mpeg_ps]: Forward scr discontinuity
Debug[ogle_mpeg_ps]: system_clock_reference:
[830.830000 s]
Debug[ogle_mpeg_ps]: prev system_clock_reference:
[10.510500 s]
Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 2
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
-+!Debug[ogle_audio]: 0.+164231253 s off, resyncing
-!!###!!!!!!###!!!!#+-+display: frame rate: 26.870 fps
-+-+-+-+-+-+-+Debug[ogle_vout]: wm_name: Metacity
Debug[ogle_vout]: x_ret: 15, y_ret: 66
Debug[ogle_vout]: normal_state_geometry: x: 5, y: 22,
w: 854, h: 480, bw: 0, d: 24
Debug[ogle_vout]: das: configure 1280, 1024
Debug[ogle_vout]: DAS: am: 0 anfd: 9, anfn: 16, hs:
720, vs: 480, sfn: 6480, sfd: 7680
Debug[ogle_vout]: vo: sar: 6480/7680, dpy_sar
444160/443392, scale: 3411148800, 2873180160
Debug[ogle_vout]: base 854 x 480
Debug[ogle_vout]: max 1280 x 1024
Debug[ogle_vout]: new1 1280 x 719
Debug[ogle_vout]: new2 1280 x 719
Debug[ogle_vout]: nw: 1280, nh: 719
Debug[ogle_vout]: resize: 1280, 719
-+-+-+-+-+display: frame rate: 30.019 fps
-+-+-+-+-+-+-+-+-+-+-+-display: frame rate: 29.970 fps
+-+-+-+-+-+-+-+-+-+-+-+display: frame rate: 29.925 fps
-+-+-+-+-+-+-+-+-+-+-+-display: frame rate: 30.019 fps
+-+-+-+-+-+-+-+-+-+-+-+display: frame rate: 29.925 fps
-+-+-+-+-+-+-+-+-+-+-+-display: frame rate: 30.024 fps
+-+-+-+-+-+-+-+-+-+-+-+-display: frame rate: 29.921
fps
+-+-+-+-+-+-+-+-+-+-+-+display: frame rate: 29.974 fps
-+-+-+-+-+-+-+-+-+-+-+-display: frame rate: 30.019 fps
+-+-+-+-+-+-+-+-+-+-+-+display: frame rate: 29.925 fps
-+-+-+-+-+-+-+-+-+-+-+-display: frame rate: 30.019 fps
+-+-+-+-+-+-+-+-+-+Debug[ogle_vout]: wm_name: Metacity
Debug[ogle_vout]: das: configure 854, 480
Debug[ogle_vout]: DAS: am: 0 anfd: 9, anfn: 16, hs:
720, vs: 480, sfn: 6480, sfd: 7680
Debug[ogle_vout]: vo: sar: 6480/7680, dpy_sar
444160/443392, scale: 3411148800, 2873180160
Debug[ogle_vout]: base 854 x 480
Debug[ogle_vout]: max 854 x 480
Debug[ogle_vout]: new1 854 x 480
Debug[ogle_vout]: new2 854 x 480
Debug[ogle_vout]: zoom2 480 / 480
Debug[ogle_vout]: nw: 854, nh: 480
Debug[ogle_vout]: resize: 854, 480
-+-+display: frame rate: 29.925 fps
-+-+-+-+-+-+-+-+-+-+-+msg close FIX
Debug[ogle_ctrl]: child: 3253 exited with 0
(/usr/lib/ogle/ogle_gui)
Debug[ogle_ctrl]: pid: 3253 exited with status: 0
(/usr/lib/ogle/ogle_gui)
Debug[ogle_ctrl]: child: 3254 killed
(/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: pid: 3254 terminated on signal: 2
(/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: child: 3256 exited with 0
(/usr/lib/ogle/ogle_vout)
Debug[ogle_ctrl]: pid: 3256 exited with status: 0
(/usr/lib/ogle/ogle_vout)
Debug[ogle_ctrl]: slaying child: 3255
/usr/lib/ogle/ogle_mpeg_ps
Debug[ogle_ctrl]: slaying child: 3258
/usr/lib/ogle/ogle_mpeg_vs
Debug[ogle_ctrl]: slaying child: 3259
/usr/lib/ogle/ogle_audio
Debug[ogle_ctrl]: removing shmid: 983058
Debug[ogle_ctrl]: removing shmid: 1048596
Debug[ogle_ctrl]: removing shmid: 1081365
Debug[ogle_ctrl]: removing shmid: 1114134
Debug[ogle_ctrl]: removing shmid: 1146903
ctrl: ipc_rmid: Invalid argument
Debug[ogle_ctrl]: removing shmid: 1179672
Debug[ogle_ctrl]: removing shmid: 1212441
Note[ogle_ctrl]: exiting


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com