Go to advanced search

by Realizator
Wed Aug 19, 2020 10:39 am
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

We have a repeatable bug with the magenta coloring of the very bright image parts on the slave camera in the stereoscopic setup. This bug is repeatable with: 1. V2 official camera, HQ official camera, IMX219-based cameras from other manufacturers. 2. This bug exists for both old firmware (old AWB al...
by Realizator
Fri May 01, 2020 1:20 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

As for the brand new Raspberry Pi High Quality Camera - if it has some caveats for the stereoscopic mode? If RPi's GPU will allow us to capture 2x12 = 24 Mpix stereoscopic images? Do we need to fix dt-blob? Also one more question - if "LED" line on CSI-2 still unused? (or on this module it is possi...
by Realizator
Thu Apr 30, 2020 3:02 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

... With stereo mode off it works at all resolutions. With side-by-side and works at all widths that are multiples of 32 (as noted in the rules at start of thread even if not 32 aligned generates frame with garbage) and any height. .... Sorry, not really got time to test things out at present. Does...
by Realizator
Thu Apr 30, 2020 1:31 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

As for the brand new Raspberry Pi High Quality Camera - if it has some caveats for the stereoscopic mode? If RPi's GPU will allow us to capture 2x12 = 24 Mpix stereoscopic images? Do we need to fix dt-blob? Also one more question - if "LED" line on CSI-2 still unused? (or on this module it is possib...
by Realizator
Fri Apr 17, 2020 5:17 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

Are you using both 5V pins (and two grounds) as power inputs, or just one? I'm fairly sure -- as in, I'm sure I've seen something to this effect around here before -- that one is not quite enough, especially if the conductors are thin. You get enough of a voltage drop to cause trouble. No idea why ...
by Realizator
Fri Apr 17, 2020 5:01 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

Maybe you have also other parameters set that are not default and under-clock your rpi; try this script and see all: no3rpi, thank you for your advice! You see, we always got for old and new firmware: root@cosmostreamer:~# vcgencmd get_throttled throttled=0x50005 Tested with several power sources, ...
by Realizator
Fri Apr 17, 2020 3:58 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

Ok, we dig this out and try to set frequency manually, using config.txt. "h264_freq=500" does not change anything. But with "gpu_freq=600" we have: root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=240007328 root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=500000992 We se...
by Realizator
Fri Apr 17, 2020 3:42 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

This system works without GUI as embedded device, and main load is h264 encode/decode. May be this is a reason of this low core frequency. Still on your old test firmware, h264 freq it is high compared with test on new firmware. Hmmm... You a right. The frequencies are vice-versa for h264 and core....
by Realizator
Fri Apr 17, 2020 3:32 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

no3rpi wrote:
Fri Apr 17, 2020 3:13 pm
Excuse my intervention but your h264 freq look low; is your RPI on stand by when you run the command ?
This system works without GUI as embedded device, and main load is h264 encode/decode. May be this is a reason of this low core frequency.
by Realizator
Fri Apr 17, 2020 3:18 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

We have a stable behavior with this: root@cosmostreamer:/# vcgencmd version Sep 24 2019 17:36:31 Copyright (c) 2012 Broadcom version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start_x) root@cosmostreamer:/boot# uname -a Linux cosmostreamer 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 ...
by Realizator
Fri Apr 17, 2020 1:59 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

...and the tests for the old firmware: root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=200008304 root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=199995120 root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=199995120 root@cosmostreamer:~# vcgencmd measure_clo...
by Realizator
Fri Apr 17, 2020 1:38 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

With the new firmware: root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=200008304 root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=199995120 root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=200008304 root@cosmostreamer:~# vcgencmd measure_clock h264 frequ...
by Realizator
Fri Apr 17, 2020 11:46 am
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

We noticed a dramatic performance drop while H264 decode/encode with the new firmware on RPi 4. For example, on old firmware we were able to do a real-time transcoding: we receive H264 1280x720@30 FPS with 7 Mbit bitrate stream over network, decode it and encode to 3 Mbit (aim is to decrease a bitra...
by Realizator
Wed Apr 15, 2020 1:55 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

dom wrote:
Wed Apr 15, 2020 1:47 pm
I think that is fine. I believe we try allocating framebuffer from cma first and if it fails fall back to allocating from gpu memory.
You could add, say cma=16M to cmdline.txt and it would avoid the warning, but it should be safe without.
Ok, got it. Thank you!
by Realizator
Wed Apr 15, 2020 1:37 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

Can you post output of "dmesg | grep cma" pi@raspberrypi:~ $ dmesg | grep cma [ 0.000000] cma: Reserved 8 MiB at 0x37800000 [ 0.000000] Memory: 887112K/917504K available (8192K kernel code, 673K rwdata, 2476K rodata, 1024K init, 824K bss, 22200K reserved, 8192K cma-reserved) [ 1.295169] cma: cma_al...
by Realizator
Wed Apr 15, 2020 12:59 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

No, the changes haven't been merged as yet. I'll nudge people after the bank holidays. With the latest updates, stereoscopic capture now works out of the box (tested on both "old" and "common" firmware, and both 4.19.114-v7+ and 5.4.29-v7+ kernels). Thank you! By the way, new AWB algorithm dramatic...
by Realizator
Wed Apr 15, 2020 12:05 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

Could you try latest update? I don't have CM3+ to hand, but based on your report I've pushed something that may be the fix. Just did it, and with the latest update I have: 1. System boots with both CM3 and CM3+ editions - i.e. issue is fixed. 2. Now I have only one warning while boot: cma: cma_allo...
by Realizator
Tue Apr 14, 2020 3:30 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 7358

Re: Common firmware testing

Following this post from 6by9 on common firmware test with the CM3+ based system (StereoPi), I have one fact which can help. After update to the common firmware, system is not booting with CM3 + Lite. But it boots if I use CM3 Lite (not CM3+, non-plus). And I see a couple of warnings: "cma: cma_allo...
by Realizator
Sat Apr 11, 2020 3:49 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

I've finally found time to get a stereo rig set up again and tested. It seems to be all happy now with the new AWB algorithm, so you should be able to use the next rpi-update with it. I've tested on both a CMIO and StereoPi setup. After rpi-update I got 4.19.114-v7+, but problem remains. That is I ...
by Realizator
Sat Mar 14, 2020 12:59 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

6by9 wrote:
Sat Mar 14, 2020 10:48 am
And I do have potential changes to the new AWB algorithm that may solve the issue, but I haven't had a stereoscopic rig setup to test.
I can send you a stereoscopic kit to test this. Please contact Gordon (I'm talking with him by Twitter DM) to discuss delivery details.
by Realizator
Tue Mar 10, 2020 9:54 am
Forum: Camera board
Topic: Connect IMX219-160 to Raspberry Pi
Replies: 3
Views: 1782

Re: Connect IMX219-160 to Raspberry Pi

jamesh wrote:
Wed Oct 02, 2019 9:14 am
... Should work on a Compute module as that does not require the crypto chip.
...
I confirm, these IMX219-160 works fine with the CM3-based StereoPi. The same thing for the IMX219-200 (with 200 degree FOV).
by Realizator
Thu Mar 05, 2020 4:02 pm
Forum: General discussion
Topic: So, what's the big new thing for this year's Pi Day (8th anniversary) ?
Replies: 130
Views: 9576

Re: So, what's the big new thing for this year's Pi Day (8th anniversary) ?

As for hardware news, besides the price cut for the 2GB, Eben did confirm the Compute Module 4 (CM4) is under way in conjunction with NEC. The Pi Foundation normally does not announce upcoming hardware but he said NEC leaked the news. If you're curious, Google shows this part of the NEC announce: "...
by Realizator
Tue Dec 03, 2019 11:09 am
Forum: Camera board
Topic: Cfx Colour Fix
Replies: 5
Views: 679

Re: Cfx Colour Fix

6by9 thank you for your U and V settings clarification! I tried to play with AWB settings, and looks like it is a right way. Am I right understand, that GREEN component suggested to 1.0 all the time? Or it can vary according to light conditions? Here are my results on playing with WB settings: Auto ...
by Realizator
Tue Dec 03, 2019 8:23 am
Forum: Camera board
Topic: Cfx Colour Fix
Replies: 5
Views: 679

Re: Cfx Colour Fix

6by9 wrote:
Mon Dec 02, 2019 9:51 am
Yes, -cfx just sets the U & V to the specified values - it's a pure memset (although as part of the image processing, not a separate operation).
If it is possible to set not exact values (like 128:128), but a range (like 0-255:0-128)?
by Realizator
Tue Sep 10, 2019 6:27 am
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 196
Views: 83229

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

@6by9, looks like stereoscopic support has been broken in the latest kernels update. If it take Buster image (Raspbian Buster with desktop, 2019-07-10, kernel 4.19.57 ), both raspistill and raspivid works with -3d option. I mean that after running these commands I have one stereoscopic image and one...

Go to advanced search