Shared memory not initialised by capture daemon

Support and queries relating to all previous versions of ZoneMinder
Locked
johnpaul76
Posts: 20
Joined: Mon Nov 10, 2003 4:05 pm

Shared memory not initialised by capture daemon

Post by johnpaul76 »

I installed zm on SuSE 8.2.

It installed, but my device shows up in red. (It is a Pinnicle PCTV Rave (BT878.))

When I bring up the preview window (streaming) it shows a broken picture.

The card works with KWinTV.

Below is from /var/logs/messages

Any ideas?

Thanks

Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: INF [Debug Level = 0, Debug Log = ]
Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: INF [Got 1 monitors]
Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: INF [X:64]
Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: INF [Y:76]
Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: INF [W:400]
Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: INF [H:284]
Nov 19 01:50:56 linux-udp144085uds zmc-d0[19753]: ERR [Failed to set window attributes: Invalid argument]
Nov 19 01:50:58 linux-udp144085uds zma-m1[19755]: INF [Debug Level = 0, Debug Log = ]
Nov 19 01:50:58 linux-udp144085uds zma-m1[19755]: INF [Got 1 monitors]
Nov 19 01:50:58 linux-udp144085uds zma-m1[19755]: INF [monitor purpose=2]
Nov 19 01:50:58 linux-udp144085uds zma-m1[19755]: INF [shm.size=11480448]
Nov 19 01:50:58 linux-udp144085uds zma-m1[19755]: ERR [Shared memory not initialised by capture daemon]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Shared memory not initialised by capture daemon

Post by zoneminder »

Hi

There are a couple of things here. Firstly some drivers appear to reject perfectly valid settings for window parameters etc but the parameters are actually applied. For these circumstances it is recommended to set the STRICT_VIDEO_CONFIG option to 'off' which will cause it to ignore errors and carry on anyway.

However, in your case I notice a slightly strange window size, 400x284. You should make sure that this is supported by your card or camera as it could be a genuine error that relates to that and which otherwise would no occur. If you're not sure try more common sizes like 320x240 or 352x288 first.

Phil,
johnpaul76
Posts: 20
Joined: Mon Nov 10, 2003 4:05 pm

Re: Shared memory not initialised by capture daemon

Post by johnpaul76 »

thanks, that cleared it up.
Locked