AuviPal 5 Megapixels Raspberry Pi Camera Module 1080p OV5647 Sensor
** Control tab of OctoPrint is black with 'Webcam Stream loading...' message.**
Enabled camera with Raspi-config
Checked the GPU memory was at least 128 MB (it is)
Rebooted Raspberry PI
Verified that cable is plugged in to the appropriate port and was in straight.
Ran raspistill and raspivid and both functioned perfectly.
Shortly after the tests, the video appeard on the Control Tab of OctoPrint.
By the time I had created my gcode and uploaded it, the black screen was back.
When I re-ran raspipic , this time I received an error similar to:
"failed to enable component: ENOSPC"
Rebooted, and the problem disappeared.
I ran:
sudo vcdbg log assert
and the response was:
No messages available
Made sure I am running latest version of OctoPrint
Ran in Safe mode.
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
The following logs are provided:
dmesg
daemon.log
debug
failog
kern.log
lastlog
syslog
messages
octoprint.log
plugin_bedlevelvisualizer_debug.log
plugin_softwareupdate_console.log
serial.log
There is no /var/log/webcamd.log (I ran sudo updatedb and then locate webcamd.log)
Additional information about your setup (OctoPrint version, OctoPi version, ...)
Versions:
OctoPrint 1.5.2
Python 2.7.16
OctoPi 0.17.0
debian_version 10.7
pi@octopi:~/.octoprint/logs $ uname -a
Linux octopi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
Model : Raspberry Pi 4 Model B Rev 1.1
pi@octopi:~/.octoprint/logs $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
pi@octopi:~/.octoprint/logs $ ls /dev/vid*
/dev/video0 /dev/video10 /dev/video11 /dev/video12 /dev/video13 /dev/video14 /dev/video15 /dev/video16
pi@octopi:~/.octoprint/logs $ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2711
Revision : b03111
Serial : 10000000276e4154
Model : Raspberry Pi 4 Model B Rev 1.1daemon.log (107.7 KB) kern.log (80.4 KB) octoprint.log (795.0 KB) plugin_bedlevelvisualizer_debug.log (14.6 KB) plugin_softwareupdate_console.log (95.6 KB) serial.log (148 Bytes)
Python2 and 3 are installed
I have a single Web Cam installed, and a WiFi dongle in a USB port.
sudo apt-get update --fix-missing, and full-upgrade have been run.
I noted that /boot/octopi.txt has all options commented out leaving first usb VIDEO device to be used. WOndering if this should be the raspi cam option.
Noted these entries in syslog:
an 16 10:44:26 octopi kernel: [ 5.156034] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
Jan 16 10:44:26 octopi kernel: [ 5.377610] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:01:00.0-1.3/input2
Jan 16 10:44:26 octopi kernel: [ 5.380927] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Jan 16 10:44:26 octopi kernel: [ 5.388698] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
Jan 16 10:44:26 octopi kernel: [ 5.389207] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
Jan 16 10:44:26 octopi kernel: [ 5.389806] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
Jan 16 10:44:26 octopi kernel: [ 5.389847] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
Jan 16 10:44:26 octopi kernel: [ 5.390292] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
Jan 16 10:44:26 octopi kernel: [ 5.390314] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
Jan 16 10:44:26 octopi kernel: [ 5.390334] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
Jan 16 10:44:26 octopi kernel: [ 5.390353] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
Jan 16 10:44:26 octopi kernel: [ 5.390372] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
Jan 16 10:44:26 octopi kernel: [ 5.390623] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
Jan 16 10:44:26 octopi kernel: [ 5.398764] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
Jan 16 10:44:26 octopi kernel: [ 5.398805] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
Jan 16 10:44:26 octopi kernel: [ 5.403288] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 2 2020 23:30:41 version 7.45.202 (r724630 CY) FWID 01-72f6ece2
Jan 16 10:44:26 octopi kernel: [ 5.407320] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
Jan 16 10:44:26 octopi kernel: [ 5.407476] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
Jan 16 10:44:26 octopi kernel: [ 5.417934] bcm2835-v4l2: scene mode selected 0, was 0
Jan 16 10:44:26 octopi kernel: [ 5.418283] bcm2835-v4l2: V4L2 device registered as video0 - stills mode > 1280x720
Jan 16 10:44:26 octopi kernel: [ 5.428845] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded.