Page 1 of 1
No Video after Fedora 11 Upgrade
Posted: Tue Sep 15, 2009 11:49 pm
by jduda
I upgraded from Fedora 10 to Fedora 11.
With FC11, I move from ZM 1.23.3 to 1.24.2
All of my video streams are empty.
The camera works fine using xawtv with my video device.
I have very little messaging in my logs.
Below are dumps from zmdc.log and zmu.
What else can I look for?
I enabled more debug EXTRA_DEBUG_LEVEL=9, however, no new info.
zmdc.log has:
09/15/2009 19:42:07.019640 zmdc[31922].INF [Starting pending process, zmc -d /dev/bttv_camera]
09/15/2009 19:42:07.021605 zmdc[31922].INF ['zmc -d /dev/bttv_camera' starting at 09/09/15 19:42:07, pid = 32356]
09/15/2009 19:42:07.146579 zmdc[31922].ERR ['zmc -d /dev/bttv_camera' exited abnormally, exit status 255]
linux#
zmu has good information:
linux# zmu -lqv -d /dev/bttv_camera -U admin -P admin
Video Device: /dev/bttv_camera
General Capabilities
Driver: bttv
Card: BT878 video (GrandTec Multi Cap
Bus: PCI:0000:01:0b.0
Version: 0.9.18
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: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 4
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
Input 2
Name: Composite2
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 3
Name: Composite3
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
linux#
Posted: Wed Sep 16, 2009 3:03 am
by cgutierrez
I upgraded as well to Fedora 11 and had problems with the PAE kernel and black video streams in Zoneminder with 8 bttv devices...
So this is what I did:
In Zoneminder set the sources to use Video For Linux 1, NTSC, and RGB24.
reboot the machine...
When zoneminder comes up again you will still get black screens... with one mysterious line in the first row. Disregard that, go into the shell and just restart zoneminder:
service zm restart
You should be able then to see all the monitors.
This is what I did and it is working, consistently.
Every time that I reboot, I have to restart zm manually once to get all the monitors to work. Why? I haven't reached that answer yet...
Posted: Wed Sep 16, 2009 6:33 pm
by jduda
Unfortunately, not the same for me.
I have all of my sources in Video For Linux 1, NTSC, and RGB24.
All of my monitors are white, not black.
All of the monitors are marked in "red" for their device names.
I've tried your recipe, but no joy for me.
I tried this.
1) Dumped my SQL settings.
2) Uninstalled zm
3) Reinstalled zm
4) Reloaded SQL settings.
5) Verified the database was up-to-date from 1.23.3 to 1.24.2
I was hoping maybe I had some permissions issue, which should have
been resolved with uninstall, install.
Anybody got any good debugging tricks, recommendations?
Thanks,
Jim
Posted: Wed Sep 16, 2009 10:18 pm
by cgutierrez
Do you get any error messages at all in /var/log/messages? Did you compile Zoneminder to use mmap or shared memory?
Posted: Wed Sep 16, 2009 11:58 pm
by jduda
No messages in /var/log/messages.
I have zoneminder setup to send all messages to /var/log/zoneminder.
I only get messages in zmdc.log
09/16/2009 19:51:27.077529 zmdc[31922].INF ['zmc -d /dev/bttv_camera' starting at 09/09/16 19:51:27, pid = 24180]
09/16/2009 19:51:27.207584 zmdc[31922].ERR ['zmc -d /dev/bttv_camera' exited abnormally, exit status 255]
I'm not building zoneminder from source.
Simply fedora yum install zoneminder.
I could try from source.
Jim
Posted: Thu Sep 17, 2009 1:30 am
by jduda
I turned on more debug. At the end of the debug log, I get a device or resource busy message.
I don't think it's unix permission thing, cuz I opened up the video device to 777.
crw------- 1 root video 10, 175 2009-09-07 23:03 agpgart
lrwxrwxrwx 1 root root 6 2009-09-07 23:03 bttv_camera -> video0
lrwxrwxrwx 1 root root 6 2009-09-07 23:03 pcHDTV -> video1
crw-rw---- 1 root video 81, 1 2009-09-07 23:03 vbi0
crw-rw---- 1 root video 81, 3 2009-09-07 23:03 vbi1
crwxrwxrwx 1 root video 81, 0 2009-09-14 22:46 video0
crw-rw---- 1 root video 81, 2 2009-09-07 23:03 video1
09/16/09 21:23:17.328359 zmc_dbttv_camera[26624].INF-zmc.cpp/188 [Starting Capture]
09/16/09 21:23:17.328545 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/349 [Opening video device /dev/bttv_camera]
09/16/09 21:23:17.328684 zmc_dbttv_camera[26624].DB2-zm_local_camera.cpp/355 [V4L2 support enabled, using V4L1 api]
09/16/09 21:23:17.328716 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/502 [Configuring picture attributes]
09/16/09 21:23:17.328760 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/509 [Old P:4]
09/16/09 21:23:17.328774 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/510 [Old D:24]
09/16/09 21:23:17.328787 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/511 [Old B:39044]
09/16/09 21:23:17.328799 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/512 [Old h:32768]
09/16/09 21:23:17.328811 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/513 [Old Cl:32768]
09/16/09 21:23:17.328823 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/514 [Old Cn:32768]
09/16/09 21:23:17.328846 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/551 [Configuring window attributes]
09/16/09 21:23:17.328861 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/560 [Old X:0]
09/16/09 21:23:17.328873 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/561 [Old Y:0]
09/16/09 21:23:17.328885 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/562 [Old W:480]
09/16/09 21:23:17.328897 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/563 [Old H:240]
09/16/09 21:23:17.328919 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/578 [Setting up request buffers]
09/16/09 21:23:17.328941 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/584 [vmb.frames = 8]
09/16/09 21:23:17.328960 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/585 [vmb.size = 17039360]
09/16/09 21:23:17.328973 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/587 [Setting up 8 frame buffers]
09/16/09 21:23:17.329002 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/612 [Configuring video source]
09/16/09 21:23:17.329022 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/620 [Old C:0]
09/16/09 21:23:17.329035 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/621 [Old F:1]
09/16/09 21:23:17.329047 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/622 [Old Fl:0]
09/16/09 21:23:17.329059 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/623 [Old T:2]
09/16/09 21:23:17.329085 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/638 [New X:0]
09/16/09 21:23:17.329097 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/639 [New Y:0]
09/16/09 21:23:17.329110 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/640 [New W:480]
09/16/09 21:23:17.329122 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/641 [New H:240]
09/16/09 21:23:17.329138 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/646 [New P:4]
09/16/09 21:23:17.329150 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/647 [New D:24]
09/16/09 21:23:17.329162 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/648 [New B:39045]
09/16/09 21:23:17.329174 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/649 [New h:32768]
09/16/09 21:23:17.329186 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/650 [New Cl:32768]
09/16/09 21:23:17.329209 zmc_dbttv_camera[26624].DB4-zm_local_camera.cpp/651 [New Cn:32768]
09/16/09 21:23:17.329221 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/654 [Setting up static colour tables]
09/16/09 21:23:17.329246 zmc_dbttv_camera[26624].DB2-zm_local_camera.cpp/1439 [Priming capture]
09/16/09 21:23:17.329258 zmc_dbttv_camera[26624].DB3-zm_local_camera.cpp/1471 [Queueing frame 0]
09/16/09 21:23:17.329297 zmc_dbttv_camera[26624].ERR-zm_local_camera.cpp/1474 [Capture failure for frame 0: Device or resource busy]
09/16/09 21:23:17.329358 zmc_dbttv_camera[26624].ERR-zmc.cpp/201 [Failed to prime capture of initial monitor]
linux#
Posted: Thu Sep 17, 2009 1:35 am
by jduda
I do now see these messaegs in /var/log/messages.
Sep 16 21:12:55 linux zms[23257]: Libgcrypt warning: missing initialization - please fix the application
Sep 16 21:13:03 linux zmu[23307]: Libgcrypt warning: missing initialization - please fix the application
Sep 16 21:13:25 linux zmu[23419]: Libgcrypt warning: missing initialization - please fix the application
Sep 16 21:14:07 linux zms[23656]: Libgcrypt warning: missing initialization - please fix the application
Sep 16 21:14:15 linux zms[23699]: Libgcrypt warning: missing initialization - please fix the application
Sep 16 21:14:16 linux zms[23706]: Libgcrypt warning: missing initialization - please fix the application
Sep 16 21:15:11 linux zms[23979]: Libgcrypt warning: missing initialization - please fix the application
S
Posted: Thu Sep 17, 2009 2:04 am
by jduda
I see these messages in /var/log/httpd/ssl_error.log
[Tue Sep 15 19:53:07 2009] [error] [client 192.168.1.10] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n 'line' => 55,\n 'function
' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-912999s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'fil
e' => '/usr/share/zoneminder/www/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/www/ajax/stream.php',\n ),\n 'function' =>
'require_once',\n ),\n), referer:
https://duda.tzo.com/zm/index.php?view=watch&mid=1
Posted: Tue Sep 22, 2009 10:08 pm
by jduda
I resolved this by building release 1.24.2 from source. I didn't make any other changes to database, etc.
So, I can only conclude there is something wrong with the package created for fedora 11.
Posted: Wed Sep 23, 2009 4:39 am
by cgutierrez
I am sorry for the delay in getting back to you...
All I can say is that I also built 1.24.2 from source!