Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2002 20:39:25 -0500
From:      Stephen Hilton <nospam@hiltonbsd.com>
To:        freebsd-questions@freebsd.org
Cc:        <marcus@marcuscom.com>
Subject:   Re: Ogle DVD error in ports
Message-ID:  <20020412203925.0803290d.nospam@hiltonbsd.com>
In-Reply-To: <1018656536.272.7.camel@gyros.marcuscom.com>
References:  <1018568303.360.1.camel@aec-01.aecinc.com> <20020412165520.N42907-100000@alpha.yumyumyum.org> <20020412181032.40e6658b.nospam@hiltonbsd.com> <1018656536.272.7.camel@gyros.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Apr 2002 21:08:56 -0300
Joe Marcus Clarke <marcus@marcuscom.com> wrote:

> On Fri, 2002-04-12 at 20:10, Stephen Hilton wrote:
> > On Fri, 12 Apr 2002 16:55:34 -0400 (EDT)
> > Kenneth Culver <culverk@alpha.yumyumyum.org> wrote:
> > 
> > > This isn't really enough info to find out what went wrong.
> > > 
> > > Ken
> > > 
> > > On 11 Apr 2002, Matt Anderson wrote:
> > > 
> > > > Hi everyone,
> > > > I cvsuped my ports collection this morning. Following is the last bit of
> > > > output when it craps out.  Any ideas?
> > > >
> > > > Thanks!
> > > >
> > > >
> > > > #define HAVE_INTTYPES_H 1
> > > > #define HAVE_UNISTD_H 1
> > > > #define HAVE_DLFCN_H 1
> > > > #define HAVE_XSHM 1
> > > > #define HAVE_XV 1
> > > > #define HAVE_CLOCK_GETTIME 1
> > > > #define HAVE_MADVISE 1
> > > > #define LIBAO_OSS
> > > >
> > > > configure: exit 1
> > > > (end of "config.log")
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/graphics/ogle.
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/graphics/ogle-gui.
> > > >
> > 
> > I have the same problem, thought it might have been just me ;-)
> > 
> > It will start up for me and plays the "laser hitting disk intro 
> > ok along with the audio trumpets ok" but then when loading the 
> > next content the video and audio extremely chops (9+ seconds).
> > 
> > It used to work great :-) but I have been to busy to 
> > watch a DVD for a while.
> > 
> > So figured a portupgrade of ogle might fix the problem,
> > this is where I ran into the same problem as Matt Anderson.
> > 
> > All the nitty-gritty details are posted at:
> > 
> > http://www.hiltonbsd.com/ogle.php
> > 
> > as this is a lot of information to post to the list :-)
> 
> Attached is a patch to fix the problem.  Just stick this in
> /usr/ports/graphics/ogle/files, and you should be set.  I'll run this by
> lioux for his approval.
> 
> Joe
> 
> > 
> > 
> > Regards,
> > 
> > Stephen Hilton
> > nospam@hiltonbsd.com
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> -- 
> PGP Key: http://www.marcuscom.com/pgp.asc
> 

Joe,

The patch applied clean and ogle compilied fine. The ogle-gui 
port also suffers from a similar problem though, never got 
that far before to know there was a problem also.

I still have the chopped video/audio problem :(
Used to run ogle on this box with a previous 4.5-STABLE with 
no problems, but I update via cvsup and portupgrade fairly 
regularly.

Currently my version is:
4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Apr  8 18:10:26 CDT 2002
cvsup'd that day.

The MB is an ASUS P3B-1394 with on-board Votex2 sound chip, 
the video card is a Matrox Marvel (G400 with TV Tuner).

The gui from the old binary still will come up, and I am 
selecting the AC3 stream via the gui, plays the DVD intro 
ad fine, then starts to chop. It will keep playing showing 
valid video and audio for around 2 seconds, then a 9-10 
second pause "rinse lather repeat".

Did my DMA setting seem correct for the CDROM?

# atacontrol list
ATA channel 0:
    Master:  ad0 ATA/ATAPI rev 5
    Slave:       no device present
ATA channel 1:
    Master: acd0 ATA/ATAPI rev 0
    Slave:       no device present

# atacontrol mode 1
Master = WDMA2 
Slave  = ???

When ogle was working properly before, the system 
was not starved for resources at all, could run 
a DVD and do other stuff fairly well.

$ ogle
Note[ogle_ctrl]: ogle 0.8.2
Debug[ogle_ctrl]: Started /usr/X11R6/lib/ogle/ogle_gui with pid 18287
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_nav with pid 18288
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_ps with pid 18289
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_vout with pid 18290
vm: play_PGC: first_play_pgc
JumpTT 2
vm: play_PGC: state.pgcN (1)
play_PG: state.pgN (1)
play_Cell: state.cellN (1)
Debug[ogle_nav]: sending subpicture palette
Debug[ogle_nav]: sending aspect 4:3
Debug[ogle_nav]: sending audio demuxstream 0
Debug[ogle_nav]: sending subp demuxstream 31

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 0x00000123
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000198
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000021d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00227efb
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00227f3d
libdvdread: Elapsed time 2
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 4
Debug[ogle_ctrl]: _new stream bf, 0
vmg: shmid: 4915220
Debug[ogle_ctrl]: _new stream e0, 0
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_vs with pid 18291
## video_stream:req cap
video_dec: shmid: 983061
video_dec: data_buf shmid: 10682387
## video_stream:got cap and stream
vs: get ouput buffer
Debug[ogle_ctrl]: _new stream bd, 80
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_a52 with pid 18292
opening a 2 channel audio driver
No accelerated IMDCT transform found
Debug[ogle_ctrl]: got capability video_out
horizontal_size: 720, vertical_size: 480
padded_width: 720, padded_height: 480
frame rate: 30000/1001 (29.97)
*vs: offset not valid
decode: B-frame before forward ref frame
*vs: offset not valid
decode: B-frame before forward ref frame
*vs: offset not valid
*rt: 1018659368.094595227, last_rt: -1.000000000
 bt: 0.000000000,  tmptime: 1018659368.094595227
 scr: 0.223731096
Sample rate 48000
Note[ogle_vout]: using default config for ':0.0'
Note[ogle_vout]: Using 'X11' as source for geometry
Note[ogle_vout]: Using 'XF86VidMode' as source for resolution
Note[ogle_vout]: Display w: 361, h: 271, hp: 1024, vp: 768
Note[ogle_vout]: Display sar: 277504/277248 = 1.000923
Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors
Note[ogle_vout]: Xv adaptor "Matrox G-Series Backend Scaler" port 58 image format 842094169
Debug[ogle_vout]: resize: 720, 539
Debug[ogle_vout]: resize: 720, 539
!Note[ogle_a52]: resetting offset
!!#display: frame rate: 0.000 fps
display: frame rate: 29.985 fps
display: frame rate: 29.940 fps
display: frame rate: 30.102 fps
display: frame rate: 29.868 fps
Debug[ogle_nav]: FlowCtrlCompleteVideoUnit = 1;
Debug[ogle_nav]: end of cell
play_Cell_post: state.cellN (1)
play_Cell: state.cellN (2)
Debug[ogle_nav]: sending subpicture palette
*** Backward scr discontinuity
system_clock_reference: [0.000000 s]
prev system_clock_reference: [36.063754 s]
demux: changed to scr_nr: 1
Debug[ogle_nav]: FlowCtrlCompleteVideoUnit = 1;
Debug[ogle_nav]: end of cell
play_Cell_post: state.cellN (2)
last cell in this PGC
play_PGC_post:
CallSS_VMGM_PGC 3 resume cell 1
vm: play_PGC: state.pgcN (3)
JumpTT 1
vm: play_PGC: state.pgcN (1)
play_PG: state.pgN (1)
play_Cell: state.cellN (1)
Debug[ogle_nav]: sending subpicture palette
Debug[ogle_vout]: set_sync_point()
*** Backward scr discontinuity
system_clock_reference: [0.000000 s]
prev system_clock_reference: [0.500622 s]
demux: changed to scr_nr: 2
*rt: 1018659405.077675322, last_rt: 1018659404.608369741
 bt: 0.096000000,  tmptime: 1018659404.704369741
 scr: 0.223731096
Note[ogle_a52]: resetting offset
!!Note[ogle_a52]: resetting offset
Note[ogle_a52]: resetting offset
Note[ogle_a52]: resetting offset
display: frame rate: 4.801 fps
Note[ogle_a52]: resetting offset
Note[ogle_a52]: resetting offset
-----snip kill with ctrl-c-----


top when playing intro (sound/video ok):
last pid: 18364;  load averages:  0.24,  0.28,  0.23    up 0+03:32:07  20:24:13
77 processes:  2 running, 75 sleeping
CPU states: 50.4% user,  0.0% nice,  0.0% system,  2.3% interrupt, 47.3% idle
Mem: 95M Active, 54M Inact, 51M Wired, 13M Cache, 35M Buf, 35M Free
Swap: 384M Total, 384M Free

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
18363 stephenh  -4   0  9104K  8064K msgwai   0:05 31.25% 16.50% ogle_mpeg_vs
  208 root       2   0 63996K 44888K select   4:20  5.47%  5.47% XFree86
18361 stephenh  -4   0  6176K  5676K msgwai   0:01  2.65%  1.86% ogle_mpeg_ps
18364 stephenh  10   0  7764K  4636K RUN      0:00  2.03%  1.07% ogle_a52
  255 stephenh   2   0  6932K  4480K poll     3:16  0.05%  0.05% deskguide_appl
  265 stephenh   2   0  8704K  5868K poll     0:14  0.05%  0.05% gnome-terminal
  142 root       2   0   916K   476K select   0:15  0.00%  0.00% moused
  246 stephenh   2   0  8080K  5660K poll     0:12  0.00%  0.00% panel
  241 stephenh   2   0  4620K  3388K select   0:09  0.00%  0.00% sawfish
18140 stephenh  -6   0  6176K  5592K atprq    0:05  0.00%  0.00% ogle_mpeg_ps
  243 stephenh   2   0  3712K  2300K select   0:03  0.00%  0.00% xscreensaver


top when chopping:
last pid: 18332;  load averages:  0.17,  0.32,  0.23    up 0+03:27:31  20:19:37
77 processes:  1 running, 76 sleeping
CPU states:  1.6% user,  0.0% nice,  7.0% system,  2.3% interrupt, 89.1% idle
Mem: 95M Active, 54M Inact, 51M Wired, 13M Cache, 35M Buf, 36M Free
Swap: 384M Total, 384M Free

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
18315 stephenh  -6   0  6176K  5608K physst   0:32  7.71%  7.71% ogle_mpeg_ps
18319 stephenh  -4   0  9104K  7992K msgwai   0:22  2.00%  2.00% ogle_mpeg_vs
  208 root       2   0 64016K 44908K select   4:10  1.51%  1.51% XFree86
  255 stephenh   2   0  6932K  4480K poll     3:13  0.00%  0.00% deskguide_appl
  142 root       2   0   916K   476K select   0:14  0.00%  0.00% moused
  265 stephenh   2   0  8704K  5868K poll     0:12  0.00%  0.00% gnome-terminal
  246 stephenh   2   0  8080K  5660K poll     0:11  0.00%  0.00% panel
  241 stephenh   2   0  4620K  3388K select   0:08  0.00%  0.00% sawfish
18140 stephenh  -6   0  6176K  5592K atprq    0:05  0.00%  0.00% ogle_mpeg_ps
  243 stephenh   2   0  3712K  2300K select   0:03  0.00%  0.00% xscreensaver
18320 stephenh  -4   0  7764K  5948K msgwai   0:02  0.00%  0.00% ogle_a52
  251 stephenh   2   0  6928K  4552K poll     0:02  0.00%  0.00% tasklist_apple


Hardware/Software info at:
http://www.hiltonbsd.com/ogle.php

Thanks for the help Joe :-)

Sincerely,

Stephen Hilton

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020412203925.0803290d.nospam>