lukelu
Posts: 12
Joined: Fri Jul 24, 2020 9:28 pm
Location: SF Bay Area
Contact: Website

Raspberry Pi CSI camera v2 module capture issue (almost gray pixels and fragile colors)

Fri Jul 24, 2020 9:41 pm

Dear Raspberry Pi friends,

I setup camera v2 module up and use raspistill -o test.jpg to capture an image.
The preview looks great and works fine when image width and height is smaller than ~300. However, the saved image becomes crappy as width and height goes up to full resolution -- containing almost gray pixels and fragile rows as shown below. I tried two camera v2 but got the same issues.

Image

I am using:
Raspberry Pi 4 8G
Sensor: 8 megapixel IMX219, Max. resolution: 3280 (H) x 2464 (V)
Camera v2 module details https://www.amazon.com/gp/product/B07W6 ... UTF8&psc=1

Hope to find someone who had the same issue with me. And hope to hear your expertise.

-- Luke

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8926
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Raspberry Pi CSI camera v2 module capture issue (almost gray pixels and fragile colors)

Sun Jul 26, 2020 6:10 am

Please update your system (kernel and firmware). There was an issue with the recent bump to the 5.4 kernel that particularly showed on 8GB Pi4's over transfers from the GPU (eg the JPEG).
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

lukelu
Posts: 12
Joined: Fri Jul 24, 2020 9:28 pm
Location: SF Bay Area
Contact: Website

Re: Raspberry Pi CSI camera v2 module capture issue (almost gray pixels and fragile colors)

Sun Jul 26, 2020 11:06 pm

This thread has solution: viewtopic.php?f=43&t=280664&p=1702011#p1702011

1) temp solution: add total_mem=4096 in /boot/firmware/config.txt

2) better solution: update to the latest rp firmware (Linux raspberrypi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux), however, it's hard to do it for running Ubuntu on Raspberry Pi.

Return to “Camera board”