Re: Ogle crashes after playing for around 1 minute - solved, I hope

Jesper Holck <[email protected]> Tue, 03 Aug 2004 13:05:17 +0200
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Bj|rn Englund wrote:

>Tue Aug 03 2004, Jesper Holck wrote:
>  
>
>>After two changes, everything seems to work fine.
>>
>>I have replaced my Ogle version from freshrpms with the one
>>mentioned in an earlier post:  ogle-0.9.2-ogle1alsa.i586.rpm
>>
>>Even though hdparm showed DMA to be enabled for the
>>DVD drive, this command has improved performance
>>drastically:
>>
>>#/sbin/hdparm -c1 -u1 -X33 /dev/dvd
>>
>>    
>>
>
>Ok there was a problem in the freshrpms rpm that was audio related.
>But there seems to have been a lot of other errors in your first post.
>Can you confirm that that dvd (simon and garfunkel) works now,
>are there still errors printed ?
>
>/Bj|rn
>  
>
Yes, everything seems to work now. Before running hdparm,
I was able to watch (some of) the Simon and Garfunkel DVD
with Xine, but with lots of noise in the picture - both Ogle
and Mplayer crashed. Now both Ogle and Xine shows beautiful
pictures. I didn't think of running hdparm, because all the
information I could find said that you should just enable DMA
- and hdparm showed DMA to be enabled for the DVD drive.

/Jesper

New ouput from Ogle (same DVD, I stopped Ogle after maybe
5 minutes):

Build: Linux 2.4.20-2.54 #1 Sat Feb 22 08:27:12 EST 2003 i686 unknown 
Tue Nov  4 14:44:50 CET 2003 mmx Xv oss alsa
Runtime: Linux 2.6.7-1.437.1.ll.rhfc2.ccrma #1 Thu Jun 17 10:45:42 PDT 
2004 i686 athlon
cpuinfo:
processor : 0, vendor_id : AuthenticAMD, cpu family : 6, model : 4, 
model name : AMD Athlon(tm) Processor, stepping : 2, cpu MHz : 747.002, 
cache size : 256 KB, fdiv_bug : no, hlt_bug : no, f00f_bug : no, 
coma_bug : no, fpu : yes, fpu_exception : yes, cpuid level : 1, wp : 
yes, flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat 
pse36 mmx fxsr syscall mmxext 3dnowext 3dnow, bogomips : 1474.56, ,
 
/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   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  1 (on)
 readahead    = 256 (on)
Note[ogle_ctrl]: ogle 0.9.2
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_gui with pid 2928
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 2929
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 2930
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 2931
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/holck/.dvdcss/SIMON_AND_GARFUNKEL#2004030922523200/
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
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/holck/.dvdcss/SIMON_AND_GARFUNKEL#2004030922523200/
 
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
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001a3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000003be
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x002100f3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00210140
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 2933
Debug[ogle_mpeg_vs]: Using MMX accelerated media functions
Debug[ogle_mpeg_vs]: ## req cap
Debug[ogle_mpeg_vs]: got cap and stream
Debug[ogle_mpeg_vs]: get ouput buffer
Debug[ogle_ctrl]: _new stream bd, 80
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_audio with pid 2934
Debug[ogle_ctrl]: got capability video_out
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_mpeg_vs]: time offset not valid yet
Debug[ogle_mpeg_vs]: time offset not valid yet
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
Debug[ogle_audio]: Min channels: 1
Debug[ogle_audio]: Max channels: 10000
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
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 -1, size 4096
Debug[ogle_audio]: 2 channels decoded:  Left Right
Note[ogle_audio]: delay resolution better than: 0.004999920, 240 
samples, rate: 48000
Debug[ogle_vout]: Found a running xscreensaver, version "4.14" (>= 3.34).
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: 302, h: 232, hp: 1024, vp: 768
Note[ogle_vout]: Display sar: 237568/231936 = 1.024283
Note[ogle_vout]: Found 12 matching visuals, using visual id: 21
Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors
Note[ogle_vout]: Xv adaptor "NV10 Video Overlay" port 105 image format 
842094169Debug[ogle_vout]: resize: 786, 576
Debug[ogle_vout]: ss disable took 0.000585000 s
###Debug[ogle_vout]: resize: 786, 576
!!#!!#!##!!#!!Debug[ogle_nav]: play_Cell_post: state.cellN (1)
Debug[ogle_nav]: play_Cell: state.cellN (2)
display: frame rate: -0.000 fps
display: frame rate: 25.002 fps
Debug[ogle_nav]: play_Cell_post: state.cellN (2)
Debug[ogle_nav]: last cell in this PGC
Debug[ogle_nav]: play_PGC_post:
Debug[ogle_nav]: play_PGC: state.pgcN (4)
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: play_PGC: state.pgcN (6)
Debug[ogle_nav]: play_PGC: state.pgcN (7)
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 0
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: [20.936940 s]
Debug[ogle_mpeg_ps]: demux: changed to scr_nr: 1
Note[ogle_nav]: Still picture select an item to continue.
Debug[ogle_ctrl]: _new stream bd, 20
Debug[ogle_vout]: set_sync_point()
Debug[ogle_nav]: play_PGC_post:
Debug[ogle_nav]: play_PGC: state.pgcN (2)
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
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: [0.156038 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]: Searching <speakers> for:
Debug[ogle_audio]:  'Left' 'Right' 'Center' 'LeftSurround' 
'RightSurround' 'LFE'Debug[ogle_audio]: or for:
Debug[ogle_audio]:  'AC3'
Debug[ogle_audio]: No channel configs found
Debug[ogle_audio]: alsa reinit
Debug[ogle_audio]: Min channels: 1
Debug[ogle_audio]: Max channels: 10000
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
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 -1, size 4096
Debug[ogle_audio]: 2 channels decoded:  Left Right
Note[ogle_audio]: delay resolution better than: 0.004999920, 240 
samples, rate: 48000
display: frame rate: 17.456 fps
display: frame rate: 25.002 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
Debug[ogle_vout]: ss disable took 0.000696000 s
display: frame rate: 24.999 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
display: frame rate: 24.998 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
Debug[ogle_vout]: ss disable took 0.000698000 s
display: frame rate: 24.999 fps
-display: frame rate: 25.031 fps
display: frame rate: 25.001 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
display: frame rate: 24.999 fps
Debug[ogle_vout]: ss disable took 0.000739000 s
display: frame rate: 25.002 fps
diff: 0.999886
display: frame rate: 24.999 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
display: frame rate: 25.002 fps
display: frame rate: 24.999 fps
-display: frame rate: 25.030 fps
Debug[ogle_vout]: ss disable took 0.000832000 s
display: frame rate: 25.000 fps
display: frame rate: 25.000 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
display: frame rate: 25.002 fps
display: frame rate: 24.999 fps
Debug[ogle_vout]: ss disable took 0.000699000 s
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
display: frame rate: 24.999 fps
display: frame rate: 25.002 fps
-Debug[ogle_vout]: resize: 786, 576
Debug[ogle_vout]: resize: 786, 576
Debug[ogle_vout]: resize: 786, 576
Debug[ogle_vout]: resize: 786, 576
Debug[ogle_vout]: resize: 786, 576
Debug[ogle_vout]: resize: 786, 576
msg close FIX
Debug[ogle_ctrl]: child: 2928 exited with 0 (/usr/lib/ogle/ogle_gui)
Debug[ogle_ctrl]: pid: 2928 exited with status: 0 (/usr/lib/ogle/ogle_gui)
Debug[ogle_ctrl]: child: 2929 killed (/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: pid: 2929 terminated on signal: 2 (/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: slaying child: 2930 /usr/lib/ogle/ogle_mpeg_ps
Debug[ogle_ctrl]: slaying child: 2931 /usr/lib/ogle/ogle_vout
Debug[ogle_ctrl]: slaying child: 2933 /usr/lib/ogle/ogle_mpeg_vs
Debug[ogle_ctrl]: slaying child: 2934 /usr/lib/ogle/ogle_audio
Debug[ogle_ctrl]: removing shmid: 425995
Debug[ogle_ctrl]: removing shmid: 491533
Debug[ogle_ctrl]: removing shmid: 524302
Debug[ogle_ctrl]: removing shmid: 557071
Debug[ogle_ctrl]: removing shmid: 589840
Debug[ogle_ctrl]: removing shmid: 622609
Debug[ogle_ctrl]: removing shmid: 655378
Debug[ogle_ctrl]: removing shmid: 688147
Note[ogle_ctrl]: exiting