Subject: Re: problem running ogle
To: Russell McManus <russell_mcmanus@yahoo.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/11/2005 21:34:35
On Fri, 11 Feb 2005, Russell McManus wrote:

> Any ideas what might be causing shmget to fail?
>
> cl-user.org:/var/tmp [17] # ogle
> libdvdread: Encrypted DVD support unavailable.
> libdvdread: Encrypted DVD support unavailable.
> Xscreensaver not running.
> *ctrl: get_buffer, shmget failed: Cannot allocate memory

When I had similar problem in 2002 with ogle, I was told that I needed a
bigger SHMMAXPGS in your kernel. "options SHMMAXPGS=16384" should be big
enough. And when I had problem in 2003 with ogle, I read the suggested fix
is to build new kernel with: options SHMMAXPGS=32768. And in 2004 when I
had similar problem with xine, I increased my kernel options
SHMMAXPGS=16384 and xine worked but I still got shmget() failed errors.

I don't know why there is not a sysctl. I don't know why the defaults are
so low.

> ERROR[ogle_mpeg_vs]: couldn't get buffer
> No accelerated IMDCT transform found

That error is from liba52 (A/52 audio streaming). If your audio will work,
I'd ignore it.


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/