Subject: xine and SHMMAXPGS and shmget() failed
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 05/28/2004 18:55:20
I am running NetBSD/i386 1.6.2_STABLE with default:
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=1024 # 1024 pages is the default
xine (from pkgsrc xine-ui-0.99.1) sporadically works and only briefly. For
example:
IMLIB ERROR: SHM can't get SHM Identifier for Shared Pixmap Wrapper
Falling back on Shared XImages
IMLIB ERROR: SHM can't get SHM Identifier for Shared XImage
Falling back on XImages
xiTK WARNING(xitk_image_create_xitk_pixmap_with_depth:214): shmget() failed.
xiTK WARNING(xitk_image_create_xitk_pixmap_with_depth:214): shmget() failed.
(above repeats)
xine in free(): warning: chunk is already free.
XInitThreads failed - looks like you don't have a thread-safe xlib.
ipcs -M shows:
shminfo:
shmmax: 8388608 (max shared memory segment size)
shmmin: 1 (min shared memory segment size)
shmmni: 128 (max number of shared memory identifiers)
shmseg: 128 (max shared memory segments per process)
shmall: 2048 (max amount of shared memory in pages)
I read a few postings about mplayer and ogle suggesting:
options SHMMAXPGS=32768
or
16384 (which is what I used with ogle two years ago)
Does anyone know if xine can me made to work with the default (1024)?
What SHMMAXPGS works best for you and xine?
Or is there any way to increase without rebooting with new kernel?
I will probably add a MESSAGE.NetBSD for pkgsrc/multimedia/xine-ui (or
maybe xine-lib) about this.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/