Forums/Version 2/Beta testing support area

Answered

Reinstalled - same problems

Casey
asked this on September 25, 2011 20:38

I have reinstalled Ubuntu Server 10.04 LTS 64-bit, with all updates. I chose to install DNS, LAMP, and OpenSSH only. I did a quick config on networking then added your repo and did the apt-get install bluecherry solo610-dkms.

I still have: poor motion detection, recorded motion events almost always 1 second, and in continuous mode only records 1 sec events. Events cannot be played back (empty window as described elsewhere).

I have a new Asus P8H67-M LX motherboard, Intel Pentium 620 (lowest Sandy Bridge), a Realtek 8169 card in one PCI slot and your BC-H16480A card in the PCIe x4 slot.

These are the errors from the log that seem to be commonly repeating:

Sep 25 19:28:05 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:28:05 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:28:05 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:28:05 bluecherry bc-server[1037]: [avlib]: no frame!

Repeating many times per second that is! (camera is set at 10 fps right now).

I switched the camera to 2 FPS and ran it in continuous for a few seconds, here is the log:

Sep 25 19:35:39 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:40 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:40 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:40 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:40 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:40 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:40 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:40 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:40 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:40 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:41 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:42 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:42 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:42 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:42 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:42 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:42 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:42 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:42 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:42 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:43 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:44 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:44 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:44 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:44 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:44 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:44 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:44 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:44 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:44 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:45 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:46 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:46 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:46 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:46 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:46 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:46 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:46 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:46 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:46 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:47 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:48 bluecherry bc-server[1037]: [avlib]: non-existing PPS referenced
Sep 25 19:35:48 bluecherry bc-server[1037]: [avlib]: decode_slice_header error
Sep 25 19:35:48 bluecherry bc-server[1037]: [avlib]: no frame!
Sep 25 19:35:48 bluecherry bc-server[1037]: E(1/Port 1 on Card 0): Error opening avcodec
Sep 25 19:35:49 bluecherry bc-server[1037]: I(1/Port 1 on Card 0): Switching to new schedule 'stopped'

I'm a little bummed out here! What do you think is going on?

Thanks.

 

Comments

User photo
Casey

output of lspci:

00:00.0 Host bridge: Intel Corporation Device 0100 (rev 09)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Device 1c4a (rev 05)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
02:00.0 PCI bridge: Tundra Semiconductor Corp. Device 8113
03:05.0 Multimedia video controller: Bluecherry Device 5310
04:00.0 PCI bridge: Device 1b21:1080 (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)

September 25, 2011 20:39.
User photo
Casey

/proc/interrupts:

CPU0 CPU1
0: 32 0 IO-APIC-edge timer
1: 4 0 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 6 0 IO-APIC-edge i8042
17: 22411 195981 IO-APIC-fasteoi solo6x10
22: 202 0 IO-APIC-fasteoi HDA Intel
23: 125 0 IO-APIC-fasteoi ehci_hcd:usb1, ehci_hcd:usb2
29: 2249 3425 PCI-MSI-edge ahci
30: 238853 0 PCI-MSI-edge eth1
NMI: 0 0 Non-maskable interrupts
LOC: 49444 53614 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 38383 40057 Rescheduling interrupts
CAL: 6089 3232 Function call interrupts
TLB: 5137 3902 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 8 8 Machine check polls
ERR: 0
MIS: 0

 

your card looks happy on IRQ 17.

September 25, 2011 20:41.
User photo
Casey

dmesg lines containing solo:

[ 5.917999] solo6x10 0000:03:05.0: Probing Softlogic 6110
[ 5.918007] solo6x10 0000:03:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17

/var/log/messages lines containing solo:

Sep 25 19:09:03 bluecherry kernel: [ 5.917999] solo6x10 0000:03:05.0: Probing Softlogic 6110
Sep 25 19:09:03 bluecherry kernel: [ 5.918007] solo6x10 0000:03:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Sep 25 19:09:13 bluecherry kernel: [ 12.261094] solo6x10 0000:03:05.0: Display as /dev/video0 with 16 inputs (5 extended)
Sep 25 19:09:13 bluecherry kernel: [ 12.313507] solo6x10 0000:03:05.0: Encoders as /dev/video1-16
Sep 25 19:09:13 bluecherry kernel: [ 12.313694] solo6x10 0000:03:05.0: Alsa sound card as Softlogic0

September 25, 2011 20:46.
User photo
John Brooks
Bluecherry

Casey,

I'm sorry you're having so many problems; I know how frustrating it can be. Thanks for your patience, and hopefully we can get it solved quickly.

The 1-second events (continuous and motion) that cannot be played are a bad reaction to certain recording errors. This particular case is one I haven't seen before. Are you able to see these cameras properly in the live view, and do the images look correct (no corruption or flickering)? You should also make sure that you have space available on all partitions, especially for /var/lib/bluecherry, by looking at the output of 'df -h'. I'd also like to see what 'sudo ls -l /var/lib/bluecherry/recordings' returns; it should start with "drwxr-x--- 4 bluecherry bluecherry".

If none of that helps, it could be a missing libavcodec package, or a driver problem on 64bit machines. If you create a support ticket with SSH credentials for this machine, we'd be happy to check it out and see if we can find the problem.

- John

September 26, 2011 04:27.
User photo
Casey

Thanks John.

Installed to a new 1TB drive, partitioned whole drive with default partitioning, so space should not be an issue.

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/bluecherry-root
906G 1.2G 859G 1% /
none 2.0G 288K 2.0G 1% /dev
none 2.0G 0 2.0G 0% /dev/shm
none 2.0G 44K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
none 2.0G 0 2.0G 0% /lib/init/rw
/dev/sda1 228M 17M 199M 8% /boot

 

The camera can be live-viewed. It does not flicker, but the frame-rate is not steady - it will show a fast framerate then it will pause then go again. That's more noticeable at high frame rate settings, but I've tried low and high rates and it is the same.

'sudo ls -l /var/lib/bluecherry/recordings' returns:

drwxr-x--- 3 bluecherry bluecherry 4096 2011-09-25 19:10 2011

I'll consider letting you ssh in, but prefer not to if we can get it somehow.

 

Thanks.

-Casey

September 26, 2011 10:51.
User photo
Casey

Hi John: Is there anything else you'd like me to try at this point? Should I try the 32 bit Ubuntu 10.04 LTS instead? This week I need to figure out if "bluecherry dvr" software is for me, and if not either get Zoneminder working with your card, or return your card and figure something else out. So, just let me know how we can make some progress.

 

Thanks!

September 26, 2011 23:03.
User photo
John Brooks
Bluecherry

Casey,

At this point, I'm mostly just guessing without being able to see the system myself. 64bit is one possibility, since I'm not sure how well tested the driver is on 64bit. You could also check "dpkg --get-selections | grep libav" to see if libavcodec-extra-52, libavcodec52, libavformat-extra-52, libavformat52, libavutil-extra-49, and libavutil49 are all installed. My suspicion is that this is caused either by 64bit, or by a missing package because you're using a minimal server-only install. Most of our servers are clients as well, so they have the full GUI system, which may bring in some other dependency.

I'm going to find out today what we have for internal 64bit testing and look into that angle. Again, we're happy to debug the system directly as well, if you don't have any luck.

Thanks for your patience!

- John

September 27, 2011 06:19.
User photo
John Brooks
Bluecherry

Casey,

We have systems internally and externally that are running without problems on 64bit, so that is probably not related. Please check the packages as I noted in the last message, and if that doesn't help, we may need access to the system to debug it further.

- John

September 27, 2011 06:48.
User photo
Casey

output of dpkg --get-selections | grep libav:

 

libavcodec52 install
libavformat52 install
libavutil49 install

Bingo? Should I then just apt-get install those others you listed?

September 27, 2011 08:36.
User photo
John Brooks
Bluecherry

Yes, please install the -extra packages for all three and restart the server. If that is the problem, it's refreshingly easy for us to fix :)

- John

September 27, 2011 08:43.
User photo
Casey

Is there some meta-package I should install, or just those individually? I'll try it later today. Thanks.

September 27, 2011 09:02.
User photo
Curtis Hall
Bluecherry

There isn't a meta package that I'm aware of.  It would be best to install each separately.

Thanks 

September 27, 2011 09:07.
User photo
Casey

When I install those 'extras' and I get complaints that the other ones need to be removed. So then when I do:

dpkg --get-selections | grep libav


libavcodec-extra-52 install
libavcodec52 deinstall
libavformat-extra-52 install
libavformat52 deinstall
libavutil-extra-49 install
libavutil49 deinstall

I'm not a master of apt-get, but should I now remove those three that say 'deinstall'?

-Casey

September 27, 2011 16:47.
User photo
Curtis Hall
Bluecherry

I don't believe that you need to remove these.

September 27, 2011 16:48.
User photo
Casey

I did not remove them. So, now it works! Yeah. Well, now you have something to add to the dependency list -- perhaps it is true that when you put the ones with 'extra' in there you don't need to install the regular version. You can mark this one solved.

September 27, 2011 22:19.
User photo
John Brooks
Bluecherry
Ajax_loader_small Answer

Great! I'll figure out which packages it specifically needs and add those as a dependency in beta9. Thanks for testing this out for us!

- John

September 28, 2011 08:42.
User photo
paul gysler

I have the server and client installed but my playback also does not work. When I run the command

dpkg --get-selections | grep libav

I get this output:

libavahi-client3                install
libavahi-common-data                install
libavahi-common3                install
libavahi-core6                    install
libavahi-glib1                    install
libavahi-gobject0                install
libavahi-ui0                    install
libavc1394-0                    install
libavcodec-extra-52                install
libavcodec52                    deinstall
libavformat-extra-52                install
libavformat52                    deinstall
libavutil-extra-49                install
libavutil49                    deinstall

Should I manually install these?

December 02, 2011 17:04.
User photo
Curtis Hall
Bluecherry

No, you don't need to install anything else.  Everything is automatically installed for you during installation.

What version of the server are you using?  The latest is 8.3.

Please provide more information in a *new* thread, not this one, providing more details about "does not work".  Does *any* video show?  Does the client play video on another operating system?

December 02, 2011 17:15.