Black Picture after installation of 1.24.2
Posted: Fri Jul 10, 2009 11:59 am
Hello,
I updated my zoneminder installation to 1.24.2 today. I installed it from source on Ubuntu 9.04 using the guide in the wiki.
Everything worked out fine but now I can’t get a picture on any of my cameras anymore. They just stay black. All of the sources (/dev/video*) in ZM also show up as red for some reason.
I’ve tried "chmod 777 /dev/video*" for debugging purposes but that changes nothing. Everything worked fine with the older version (I believe it was 1.23.3 or so).
Here are the logs:
/var/log/messages:
Backtrace:
/tmp/zmdc.log:
ipcs -l
//edit:
maybe this helps (I’ve enabled debug for zmc):
Why does it fail to set the video format?
It is set to PAL and RGB24 which is also what the old installation was set to and worked just fine.
I updated my zoneminder installation to 1.24.2 today. I installed it from source on Ubuntu 9.04 using the guide in the wiki.
Everything worked out fine but now I can’t get a picture on any of my cameras anymore. They just stay black. All of the sources (/dev/video*) in ZM also show up as red for some reason.
I’ve tried "chmod 777 /dev/video*" for debugging purposes but that changes nothing. Everything worked fine with the older version (I believe it was 1.23.3 or so).
Here are the logs:
Code: Select all
zmu -d /dev/video0 -q -v
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:08:04.0
Version: 0.9.17
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Code: Select all
Jul 10 13:45:12 hsrzm zmc_dvideo1[14810]: INF [Debug Level = 0, Debug Log = <none>]
Jul 10 13:45:12 hsrzm zmc_dvideo0[14808]: INF [Starting Capture]
Jul 10 13:45:12 hsrzm zmc_dvideo0[14808]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 10 13:45:12 hsrzm zmc_dvideo0[14808]: INF [Backtrace complete, please execute the following command for more information]
Jul 10 13:45:12 hsrzm zmc_dvideo0[14808]: INF [addr2line -e /usr/local/bin/zmc 0xb8026424 0xb8026424 0xb7b396d0 0xb7b3b098 0x805584d 0x80688cf 0x80691a4 0x804c4db 0xb7b24775 0x804c041]
Jul 10 13:45:12 hsrzm zmc_dvideo3[14809]: INF [Starting Capture]
Jul 10 13:45:12 hsrzm zmc_dvideo3[14809]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 10 13:45:12 hsrzm zmc_dvideo3[14809]: INF [Backtrace complete, please execute the following command for more information]
Jul 10 13:45:12 hsrzm zmc_dvideo3[14809]: INF [addr2line -e /usr/local/bin/zmc 0xb7f27424 0xb7f27424 0xb7a3a6d0 0xb7a3c098 0x805584d 0x80688cf 0x80691a4 0x804c4db 0xb7a25775 0x804c041]
Jul 10 13:45:12 hsrzm zmc_dvideo7[14811]: INF [Starting Capture]
Jul 10 13:45:12 hsrzm zmc_dvideo7[14811]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 10 13:45:12 hsrzm zmc_dvideo7[14811]: INF [Backtrace complete, please execute the following command for more information]
Jul 10 13:45:12 hsrzm zmc_dvideo7[14811]: INF [addr2line -e /usr/local/bin/zmc 0xb7f40424 0xb7f40424 0xb7a536d0 0xb7a55098 0x805584d 0x80688cf 0x80691a4 0x804c4db 0xb7a3e775 0x804c041]
Jul 10 13:45:12 hsrzm zmc_dvideo1[14810]: INF [Starting Capture]
Jul 10 13:45:12 hsrzm zmc_dvideo1[14810]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 10 13:45:12 hsrzm zmc_dvideo1[14810]: INF [Backtrace complete, please execute the following command for more information]
Jul 10 13:45:12 hsrzm zmc_dvideo1[14810]: INF [addr2line -e /usr/local/bin/zmc 0xb7f40424 0xb7f40424 0xb7a536d0 0xb7a55098 0x805584d 0x80688cf 0x80691a4 0x804c4db 0xb7a3e775 0x804c041]
Code: Select all
addr2line -e /usr/local/bin/zmc 0xb7f40424 0xb7f40424 0xb7a536d0 0xb7a55098 0x805584d 0x80688cf 0x80691a4 0x804c4db 0xb7a3e775 0x804c041
??:0
??:0
??:0
??:0
??:0
/usr/src/ZoneMinder-1.24.2/src/zm_local_camera.cpp:386
/usr/src/ZoneMinder-1.24.2/src/zm_local_camera.cpp:1439
/usr/src/ZoneMinder-1.24.2/src/zmc.cpp:199
??:0
/build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122
Code: Select all
07/10/09 13:45:12.065848 zmdc[13409].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
07/10/09 13:45:12.071852 zmdc[13409].ERR ['zmc -d /dev/video3' exited abnormally, exit status 6]
07/10/09 13:45:12.072185 zmdc[13409].ERR ['zmc -d /dev/video7' exited abnormally, exit status 6]
07/10/09 13:45:12.079844 zmdc[13409].ERR ['zmc -d /dev/video1' exited abnormally, exit status 6]
Code: Select all
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 131072
max total shared memory (kbytes) = 536870912
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 1731
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
maybe this helps (I’ve enabled debug for zmc):
Code: Select all
07/10/09 14:52:48.204120 zmc_dvideo1[4051].INF-zmc.cpp/188 [Starting Capture]
07/10/09 14:52:48.204250 zmc_dvideo1[4051].DB3-zm_local_camera.cpp/349 [Opening video device /dev/video1]
07/10/09 14:52:48.204309 zmc_dvideo1[4051].DB2-zm_local_camera.cpp/355 [V4L2 support enabled, using V4L2 api]
07/10/09 14:52:48.204329 zmc_dvideo1[4051].DB3-zm_local_camera.cpp/360 [Checking video device capabilities]
07/10/09 14:52:48.204352 zmc_dvideo1[4051].DB3-zm_local_camera.cpp/370 [Setting up video format]
07/10/09 14:52:48.204382 zmc_dvideo1[4051].FAT-zm_local_camera.cpp/386 [Failed to set video format: Invalid argument]
07/10/09 14:52:48.204526 zmc_dvideo1[4051].INF-zm_signal.cpp/64 [Got signal 6 (Aborted), exiting and forcing backtrace]
07/10/09 14:52:48.204608 zmc_dvideo1[4051].ERR-zm_signal.cpp/84 [Signal address is (nil), from 0xb7f32424]
It is set to PAL and RGB24 which is also what the old installation was set to and worked just fine.