Voodoo3 3500

Support and queries relating to all previous versions of ZoneMinder
Locked
dreadlocks
Posts: 16
Joined: Tue Nov 30, 2004 9:53 am
Contact:

Voodoo3 3500

Post by dreadlocks »

Ive got a Voodoo3 3500 on a Debian machine, after a bunch of fighting I got the tv capture working great.. works fine in xawtv..

However I cant view any images, they are all broken..
here is my log outputs
Nov 30 03:54:22 localhost zmc-d0[1038]: INF [Debug Level = 0, Debug Log = ]
Nov 30 03:54:22 localhost kernel: v3tv: palette: VIDEO_PALETTE_RGB24 = 24 bpp
Nov 30 03:54:22 localhost kernel: vpx3225d[0]: DECODER_SET_PICTURE
Nov 30 03:54:22 localhost kernel: vpx3225d[0]:vpx reg-> brightness: 0x000 hue: 0x000 contrast: 0x020 colour: 0x800
Nov 30 03:54:22 localhost kernel: vpx3225d[0]: DECODER_ENABLE_OUTPUT: Enable
Nov 30 03:54:22 localhost kernel: vpx3225d[0]: Write reg: oena 0xf2; value: 0xf
Nov 30 03:54:22 localhost kernel: v3tv: video device opened.
Nov 30 03:54:22 localhost kernel: v3tv: VIDIOCGPICT
Nov 30 03:54:22 localhost kernel: v3tv: VIDIOCGPICT, video_picture-> brightness: 0x8000 hue: 0x8000 contrast: 0x8000 colour: 0x8000 w: 0x8000
Nov 30 03:54:22 localhost kernel: v3tv: VIDIOCGPICT, depth = 24, palette = 4 RGB24
Nov 30 03:54:22 localhost kernel: v3tv: VIDIOCSPICT, video_picture-> brightness: 0x8000 hue: 0x8000 contrast: 0x8000 colour: 0x8000 w: 0x8000
Nov 30 03:54:22 localhost kernel: v3tv: VIDIOCSPICT, depth = 24, palette = 4 RGB24
Nov 30 03:54:22 localhost kernel: vpx3225d[0]: DECODER_SET_PICTURE
Nov 30 03:54:22 localhost kernel: vpx3225d[0]:vpx reg-> brightness: 0x000 hue: 0x000 contrast: 0x020 colour: 0x800
Nov 30 03:54:22 localhost kernel: v3tv: VIDIOCGWIN: 0, 0, 640, 240
Nov 30 03:54:22 localhost kernel: v3tv: Frame buffer width is 0! divide by zero in VIDIOCSWINv3tv: VIDIOCMBUF not implemented.
Nov 30 03:54:22 localhost kernel: vpx3225d[0]: DECODER_ENABLE_OUTPUT: Disable
Nov 30 03:54:22 localhost kernel: vpx3225d[0]: Write reg: oena 0xf2; value: 0x0
Nov 30 03:54:22 localhost kernel: v3tv: video device closed
If I try to run zmc manually w/debug this is what I get:
11/30/04 03:58:08.592775 zmc-d0[1051].INF-zm_debug.c/189 [Debug Level = 0, Debug Log = ]
11/30/04 03:58:08.601639 zmc-d0[1051].ERR-zm_local_camera.cpp/140 [Failed to set window attributes: Invalid argument]
11/30/04 03:58:08.602188 zmc-d0[1051].ERR-zm_local_camera.cpp/146 [Failed to setup memory: Bad address]
zmdc.log
Starting pending process, zmc -d 0
'zmc -d 0' starting at 04/11/30 03:57:02, pid = 1049
'zmc -d 0' started at 04/11/30 03:57:02
'zmc -d 0' crashed at 04/11/30 03:57:02, exit status 255
==> /tmp/zmwatch.log <==
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
Can't get shared memory id '2053971973': No such file or directory
I am sure it has something to do with this line in my message log:
Nov 30 03:54:22 localhost kernel: v3tv: Frame buffer width is 0! divide by zero in VIDIOCSWINv3tv: VIDIOCMBUF not implemented.

but I dont have any idea how to fix it..

any suggestions?
-Ryan
dreadlocks
Posts: 16
Joined: Tue Nov 30, 2004 9:53 am
Contact:

Post by dreadlocks »

ok, so I opened it up in xawtv then got the proper demetions and it got rid of failed to set window attributes error

here are the new log files..
Nov 30 04:09:57 localhost zmc-d0[1287]: INF [Debug Level = 0, Debug Log = ]
Nov 30 04:09:57 localhost kernel: v3tv: palette: VIDEO_PALETTE_RGB24 = 24 bpp
Nov 30 04:09:57 localhost kernel: vpx3225d[0]: DECODER_SET_PICTURE
Nov 30 04:09:57 localhost kernel: vpx3225d[0]:vpx reg-> brightness: 0x000 hue: 0x000 contrast: 0x020 colour: 0x800
Nov 30 04:09:57 localhost kernel: vpx3225d[0]: DECODER_ENABLE_OUTPUT: Enable
Nov 30 04:09:57 localhost kernel: vpx3225d[0]: Write reg: oena 0xf2; value: 0xf
Nov 30 04:09:57 localhost kernel: v3tv: video device opened.
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCGPICT
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCGPICT, video_picture-> brightness: 0x8000 hue: 0x8000 contrast: 0x8000 colour: 0x8000 w: 0x8000
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCGPICT, depth = 24, palette = 4 RGB24
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCSPICT, video_picture-> brightness: 0x8000 hue: 0x8000 contrast: 0x8000 colour: 0x8000 w: 0x8000
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCSPICT, depth = 24, palette = 4 RGB24
Nov 30 04:09:57 localhost kernel: vpx3225d[0]: DECODER_SET_PICTURE
Nov 30 04:09:57 localhost kernel: vpx3225d[0]:vpx reg-> brightness: 0x000 hue: 0x000 contrast: 0x020 colour: 0x800
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCGWIN: 0, 0, 384, 288
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCSWIN: 0, 0, 384, 288
Nov 30 04:09:57 localhost kernel: v3tv: Horizontal Decimation 16777600
Nov 30 04:09:57 localhost kernel: v3tv: Vertical Magnification 873813
Nov 30 04:09:57 localhost kernel: v3tv: overlay start x: 0 y: 0 end x: 384 y: 288 (W: 384 H: 288)
Nov 30 04:09:57 localhost kernel: v3tv: Overlay Stride: 768 vidInStride: 768 Bytes: 1280
Nov 30 04:09:57 localhost kernel: v3tv: VIDIOCMBUF not implemented.
Nov 30 04:09:57 localhost kernel: vpx3225d[0]: DECODER_ENABLE_OUTPUT: Disable
Nov 30 04:09:57 localhost kernel: vpx3225d[0]: Write reg: oena 0xf2; value: 0x0
Nov 30 04:09:57 localhost kernel: v3tv: video device closed
11/30/04 04:11:04.946924 zmc-d0[1292].INF-zm_debug.c/189 [Debug Level = 0, Debug Log = ]
11/30/04 04:11:04.956411 zmc-d0[1292].ERR-zm_local_camera.cpp/146 [Failed to setup memory: Bad address]
why??

**EDIT**
I am able to capture a mpg video from xawtv, but ZM still refuses to work with that "Bad address" segfault above..
dreadlocks
Posts: 16
Joined: Tue Nov 30, 2004 9:53 am
Contact:

Post by dreadlocks »

I talked to the author of the v3l kernel module (Voodoo3 TV) and we concluded that the driver is currently not robust enough to work with ZoneMinder..

So for anyone in the future, unless some people assist with the module development this card most likely wont ever work with ZM.
Locked