Subject: Re: problem running ogle
To: None <netbsd-help@netbsd.org>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: netbsd-help
Date: 02/13/2005 11:13:57
"Jeremy C. Reed" <reed@reedmedia.net> writes:

> 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.

Thanks, I should have read the output from pkg_info, which suggests
SHMMAXPGS=32768.  I have recompiled my kernel and that part works now.

>> 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.

Thanks for the help,
-russ