Go to advanced search

by 6by9
Tue Aug 21, 2018 5:03 pm
Forum: General discussion
Topic: Seeking strategies for failing kernel updates
Replies: 6
Views: 132

Re: Seeking strategies for failing kernel updates

Boot is failing in my case means: The rainbow screen and nothing more. Assuming you're not using the kernel GL driver (dtoverlay=vc4-kms-v3d in config.txt) that narrows it down to stuff in /boot then. Check config.txt is sane (no weird kernel= line, nor devicetree= line). Verify that kernel.img and...
by 6by9
Tue Aug 21, 2018 4:30 pm
Forum: Camera board
Topic: running raspiraw with v2.1 camera
Replies: 6
Views: 160

Re: running raspiraw with v2.1 camera

Hi 6x9, many thanks for looking into this. I'm excited to use this for our application. Do you have a ETA? My recommendation would be to use the V4L2 driver rather than rawcam, but doing so requires a bit more know-how to set up the sensor driver. The V4L2 driver is the one that will get more suppo...
by 6by9
Tue Aug 21, 2018 12:45 pm
Forum: General discussion
Topic: RPI POE hat and 40 pin header access
Replies: 5
Views: 173

Re: RPI POE hat and 40 pin header access

(I think technically it isn't a HAT as it hasn't got the ID EEPROM) If you want access to the GPIOs then use an extra tall header such as https://thepihut.com/products/stacking-header-for-raspberry-pi-2x20-extra-tall-header,. The longer pins stick out through the holes of the PoE PCB. You'll need to...
by 6by9
Tue Aug 21, 2018 9:53 am
Forum: General discussion
Topic: Seeking strategies for failing kernel updates
Replies: 6
Views: 132

Re: Seeking strategies for failing kernel updates

A heck of a lot has changed in the kernel since 4.1 (we're now on 4.14). You don't give any details on how the boot is failing? Stalling part way? No keyboard/network? Something else? Connect a serial console cable to the Pi and you should get early boot information via that. What version of Pi is i...
by 6by9
Tue Aug 21, 2018 9:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiplexing CSI for two cameras
Replies: 8
Views: 2408

Re: Multiplexing CSI for two cameras

Found the typical corruption - https://www.youtube.com/watch?v=w4JZN7Y0d2o, 1min11 you get a frame with a part of two different images, and the bottom half all purple. One line of the Bayer frame has been dropped, therefore the Bayer ordering is off for the rest of the frame. It also shows how AE is...
by 6by9
Tue Aug 21, 2018 9:39 am
Forum: Compute Module
Topic: Is CM3 best way to get stereo camera?
Replies: 2
Views: 51

Re: Is CM3 best way to get stereo camera?

You've effectively asked the same question at https://www.raspberrypi.org/forums/view ... 0#p1355587.
Please don't duplicate posts.
by 6by9
Tue Aug 21, 2018 9:38 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiplexing CSI for two cameras
Replies: 8
Views: 2408

Re: Multiplexing CSI for two cameras

Which one would have better performance in terms of grabbing images as close together as possible as well as FPS, CM3 or multiplexing the CSI port? CM3 (or original CM) is the only sensible way to do it. The multiplexers have no knowledge of where in the image frame the CSI2 bus is, therefore when ...
by 6by9
Mon Aug 20, 2018 5:07 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 504
Views: 99776

Re: Raw sensor access / CSI-2 receiver peripheral

There appears to be a further issue with rawcam in the latest firmwares (since the July 30th release) where it is even more prone to getting buffers out of step. I am investigating. If people want to play, then I have done a significant hack around with raspiraw to optionally run a very simple grey ...
by 6by9
Mon Aug 20, 2018 9:56 am
Forum: Advanced users
Topic: Question about brcmjpeg implementation in a program.
Replies: 7
Views: 180

Re: Question about brcmjpeg implementation in a program.

0x000000 in YUV space is green. 0x000000 in RGB space is black. Something is looking at memory that has been memset to 0. I'm not going to try and run that program as it has dependencies on avcodec and others. It's only from reading the code that I see you are connecting video_decode to image_encode...
by 6by9
Mon Aug 20, 2018 9:20 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 411
Views: 100055

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

For UV4L, follow the instructions on their website (as RpiName says). Do NOT add any extra settings to /boot/config.txt other than those mentioned on their website (definitely do NOT add anything referencing tc358743). For the kernel drivers, follow the steps in https://www.raspberrypi.org/forums/vi...
by 6by9
Mon Aug 20, 2018 9:12 am
Forum: Advanced users
Topic: I am getting MMAL_EIO (Error 7) when trying to construct a H264 decoder.
Replies: 5
Views: 152

Re: I am getting MMAL_EIO (Error 7) when trying to construct a H264 decoder.

I thought that bit with video_encode was documented in the IL component docs (https://github.com/raspberrypi/firmware/tree/master/documentation/ilcomponents, or hosted at http://www.jvcref.com/files/PI/documentation/ilcomponents/. I'm trying to get a copy hosted on the Pi website at the moment. He a...
by 6by9
Mon Aug 20, 2018 8:58 am
Forum: Camera board
Topic: ADV7282 Analogue video to CSI chip with interlaced modes
Replies: 77
Views: 1447

Re: ADV7282 Analogue video to CSI chip with interlaced modes

I totally understand about the low-level functionality, to be honest, I am not sure really how one would handle this through a driver. Reason being, there are tons of options for things like noise reduction, or turning off AGC, or setting the no-signal image, that are really not a one size fits all...
by 6by9
Mon Aug 20, 2018 8:47 am
Forum: Camera board
Topic: Custom lens shading tables
Replies: 53
Views: 5932

Re: Custom lens shading tables

My program has written in Python, and I'm using the Picamera class to show the preview of the camera, take pictures, record video, change the settings of the camera. Is it possible to overwrite the lens shading table if I'm using the picamera this way? Could you give me some hint how should I start...
by 6by9
Sat Aug 18, 2018 5:28 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 411
Views: 100055

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

Those are instructions for the Pi camera v4l2 driver, not for the tc358743.
by 6by9
Fri Aug 17, 2018 8:20 pm
Forum: Camera board
Topic: running raspiraw with v2.1 camera
Replies: 6
Views: 160

Re: running raspiraw with v2.1 camera

There is a known issue with rawcam that under some conditions it ends up trying to return a buffer twice which results in the firmware deliberately aborting. I'm looking at it at the moment in the office - it's almost certainly a race condition hiding in there, but it's not obvious where at the mome...
by 6by9
Fri Aug 17, 2018 3:32 pm
Forum: General discussion
Topic: Connect to Logitech BRIO Webcam
Replies: 2
Views: 75

Re: Connect to Logitech BRIO Webcam

"vcgencmd get_camera" is ONLY relevant for the Pi camera modules, not USB ones. Most USB webcams use the uvcvideo driver built in to the kernel, and should show up as /dev/video0 or similar. You need to use the V4L2 API to access it (raspivid/still will NOT work). If /dev/video0 isn't there, then ch...
by 6by9
Fri Aug 17, 2018 3:27 pm
Forum: Advanced users
Topic: sudo vcdbg log msg not working
Replies: 3
Views: 67

Re: sudo vcdbg log msg not working

Looking at that message I would guess that your gpu_mem setting is too low. No, it's an ARM side allocation failing, so nothing to do with gpu_mem. TBH I don't know how you've got the system into that state. vcdbg reads some debug symbols from memory to find the logging FIFO, and allocates a buffer...
by 6by9
Fri Aug 17, 2018 2:41 pm
Forum: Camera board
Topic: Picamera with custom lens, color issue
Replies: 7
Views: 253

Re: Picamera with custom lens, color issue

Sorry, you aren't going to get much support when you have so completely stripped down the sensor. The sensor and lens assembly are designed to work together. In particular there will be some compensation within the micro-lens array to adjust for the chief ray angle and lens vignetting. That is a lik...
by 6by9
Fri Aug 17, 2018 7:31 am
Forum: Advanced users
Topic: Question about brcmjpeg implementation in a program.
Replies: 7
Views: 180

Re: Question about brcmjpeg implementation in a program.

Are there other components that are limited similarly like the JPEG encoder where we might not expect a performance boost by running processes in parallel? I am using vc.ril.isp to replace swscale when converting I420 to RGB. Each monitor instance has a H264 decoder (via h264_mmal in libavcodec), H...
by 6by9
Fri Aug 17, 2018 7:09 am
Forum: Camera board
Topic: running raspiraw with v2.1 camera
Replies: 6
Views: 160

Re: running raspiraw with v2.1 camera

A bug had crept in to the firmware which resulted in the buffer sizes being incorrectly computed. First affected release was 30th July, fixed in the 8th Aug release. That probably explains the incorrectly sized buffers. The data certainly appears to be raw 10 where you get the 8 most significant bit...
by 6by9
Thu Aug 16, 2018 8:24 pm
Forum: Advanced users
Topic: Question about brcmjpeg implementation in a program.
Replies: 7
Views: 180

Re: Question about brcmjpeg implementation in a program.

You do really love finding all the old obscure code! I thought it was something you guys had around the corner yet to publish. :D So that's why I had to manually copy over the library and the include file. I think the first simple question is are you aiming to run on a 0/0W/A/B I will be running it...
by 6by9
Thu Aug 16, 2018 3:35 pm
Forum: Troubleshooting
Topic: Ethernet RX packet loss on the 3B+
Replies: 6
Views: 195

Re: Ethernet RX packet loss on the 3B+

Do you have flow control enabled on your switch? If not then you will have problems. Gigabit ethernet can deliver frames at 1000Mbit/s. USB2 can deliver frames through at an absolute max of 480Mbit/s, but more realistically around 250Mbit/s. The ethernet adapters never have much buffering, therefore...
by 6by9
Thu Aug 16, 2018 2:00 pm
Forum: Camera board
Topic: TC358743 and interlaced HDMI modes
Replies: 17
Views: 722

Re: TC358743 and interlaced HDMI modes

There were a couple of patches to rawcam that were merged 24th July as part of https://github.com/raspberrypi/firmware/commit/83146e2ec7fec863fdd6dcaa1b5129c43a5b3699 to address race condition when swapping buffers. I haven't tried it against TC358743 other than via your app and 1080i50. Can you try...
by 6by9
Thu Aug 16, 2018 12:18 pm
Forum: Camera board
Topic: Reliable RCA (NTSC) Camera input (custom camera)??
Replies: 5
Views: 128

Re: Reliable RCA (NTSC) Camera input (custom camera)??

The Analog Devices ADV7280-MA and ADV7282-MA chips are analogue video to CSI2 bridge chips (PAL/NTSC/SECAM), and they're now supported. Those two variants both include deinterlacing, which makes life significantly simpler. AFAIK no one is making a standard add-on board wth either as yet, but a coupl...
by 6by9
Thu Aug 16, 2018 11:37 am
Forum: Advanced users
Topic: Question about brcmjpeg implementation in a program.
Replies: 7
Views: 180

Re: Question about brcmjpeg implementation in a program.

You do really love finding all the old obscure code! brcmjpeg was there as a simple library for use by a Broadcom customer who wanted hardware JPEG acceleration. I think the first simple question is are you aiming to run on a 0/0W/A/B, because if not then libjpeg is probably going to be almost as fa...

Go to advanced search