Skip to main content.

2002-May-16

Tried T. Klausner's patch to make ogle work under 1.5x. The binutils-NetBSD-diff-20020418.patch.bz2 was unavailable from the FreeBSD MASTER_SITE_BACKUP and the ftp.netbsd.org was unavailable so I used ftp://archive.progeny.com/NetBSD/packages/distfiles/.

ogle and ogle_gui built successfully. As a regular user, the first thing I tried was "File -> Open Disc" and it crashed:

libdvdread: Can't open libdvdcss: Shared object "libdvdcss.so.0" not
found.
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open file VIDEO_TS.IFO.
vm: faild to read VIDEO_TS.IFO
Debug[ogle_ctrl]: pid: 26381 exited with status: 1
Debug[ogle_ctrl]: pid: 26383 terminated on signal: 2
Debug[ogle_ctrl]: slaying child: 26380
Debug[ogle_ctrl]: slaying child: 26382
Debug[ogle_ctrl]: removing shmid: 181272578
Note[ogle_ctrl]: exiting
(I'll need to install libdvdcss.)

So I manually opened the cd drawer and put in a DVD. And ran ogle again. I clicked "Play" and it said:

*vmg: unhandled dvdctrl event type (4)
"Move cursor up":
*vmg: unhandled dvdctrl event type (16777219)
"Stop":
*vmg: unhandled dvdctrl event type (16)
"Skip Backwards:"
*vmg: unhandled dvdctrl event type (7)
"Edit -> Properties" does nothing. So then I looked at ogle and oglerc manual pages. I have no idea. My drive:
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 1: 
type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
I see ogle is a shell script; it uses ogle_gui library if installed. It was suggested that I try witjout ogle_gui so I pkg_delete'd it. A few seconds after starting ogle, my screen flashed and then ogle exited. Some of the messages:
Note[ogle_vout]: Display w: 347, h: 260, hp: 1024, vp: 768
Note[ogle_vout]: Display sar: 266240/266496 = 0.999039
FATAL[ogle_vout]: display_init_xshm
shmget: Cannot allocate memory
Debug[ogle_ctrl]: pid: 26693 exited with status: 1
My memory:
$ free  # parses vmstat -s
total       used       free    buffers
Mem:        126072     110332      15740          0
Swap:       197564     148672      4889
top(1) says:
Memory: 69M Act, 18M Inact, 376K Wired, 15M Free, 145M Swp, 48M Swp free

I was told that I needed a bigger SHMMAXPGS in your kernel. "options SHMMAXPGS=16384" should be big enough.

So I am doing cvs update in /usr/src to get recent kernel and source before doing this.

Reinstalled sylpheed and vnc server. They were uninstalled, but not reinstalled when I did my update last week. I should have made a list of packages before and after and compared.

The "cvs update -d -P" under /usr/src just hung. After a couple hours, I killed it and started again. It finished 138 minutes later.