Can't get max resolution *solved*

Support and queries relating to all previous versions of ZoneMinder
Locked
cdavis
Posts: 6
Joined: Sat Jun 24, 2006 4:09 pm

Can't get max resolution *solved*

Post by cdavis »

I have a Sony IK-6400A and a PV150 with Fedora 4. My camera seems to allow for 768x480 but I cannot seem to get it work work. My IP cams work at this resolution. When I enabled it I get shared memory errors:

May 1 09:21:17 localhost zmwatch[27719]: INF ['zmc -d /dev/video0' started at 07/05/01 09:21:17]
May 1 09:21:17 localhost zmc_dvideo0[19327]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
May 1 09:21:17 localhost zmdc[2197]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

However, I believe I have this set correctly already.

[root@localhost log]# cat /proc/sys/kernel/shmall && cat /proc/sys/kernel/shmmax
1344283136
1344283136

sudo zmu -d /dev/video0 -q -v
Video Capabilities
Name: BT878 video (ProVideo PV150)
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 2
Audio Channels: 0
Maximum Width: 768
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32767
Hue: 32767
Colour :32767
Contrast: 32767
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Last edited by cdavis on Tue May 01, 2007 3:52 pm, edited 1 time in total.
cdavis
Posts: 6
Joined: Sat Jun 24, 2006 4:09 pm

Solved

Post by cdavis »

I increased the shared memory even more, (4 gig I think) and it is working.
wilso027
Posts: 90
Joined: Wed Feb 21, 2007 10:38 pm

Post by wilso027 »

Is shared memory coming from RAM or the hard drive?

Allan
Locked