ronb127
Posts: 7
Joined: Fri Jun 23, 2017 10:23 pm

White stripe artifact in firmware >= 4.14.58

Sun Nov 25, 2018 7:25 pm

Hi everybody,

Starting at firmware 4.14.58 (f1eab5a34dda932ca1ad447bdb35edb0cb55263c) there appears to be a white stripe of 2-3 pixels at the right side of the output image (see attached).
I'm using Pi Zero with v1 camera, capturing video using raspivid (for example: raspivid -w 1280 -h 960 -o test.h264).
The problem occurs in video mode with all resolutions, still images taken with raspistill are just fine.

Anyone knows what's going on?

Thanks,
Ron
Attachments
white_strip.jpg
white_strip.jpg (144.71 KiB) Viewed 1864 times
Last edited by ronb127 on Tue Nov 27, 2018 5:43 am, edited 1 time in total.

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

Re: White strip artifact in firmware >= 4.14.58

Mon Nov 26, 2018 2:17 pm

Curious. I can reproduce it.
It appears to be something to do with the 1296x972 mode, selected automatically with that output resolution/aspect ratio, or can be forced by setting "-md 4" on the command line. All the other modes don't show that stripe.
I can't find any firmware commits in your identified time frame that are likely to have affected that, but I'll have a bit more of a dig.

Checking the raw image data, it looks like the sensor isn't actually providing the specified number of pixels, leaving some uninitialised stuff in memory that is being interpreted as image data.
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.

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

Re: White strip artifact in firmware >= 4.14.58

Mon Nov 26, 2018 3:09 pm

So I've found the cause - thanks for the accurate report.
Part of the image stabilisation code was previously incorrectly enabled at all times, and that release included a fix to disabled it. Barring rounding errors, it should have done nothing, though I'd need to study the code some more to confirm that.

Capturing a raw in mode 5 (1296x730) also shows the weird effect on the right hand edge, so there is something off in the register settings or other configuration. Getting these numbers right is a real faff though, so finding the correct answer is unlikely to be a 5 minute job.
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.

ronb127
Posts: 7
Joined: Fri Jun 23, 2017 10:23 pm

Re: White strip artifact in firmware >= 4.14.58

Mon Nov 26, 2018 8:30 pm

Glad to assist, I'll wait patiently for the fix.
In the meanwhile we can just use one version below.
Thanks!

ronb127
Posts: 7
Joined: Fri Jun 23, 2017 10:23 pm

Re: White stripe artifact in firmware >= 4.14.58

Wed Mar 13, 2019 10:38 pm

Any update on this issue?

ronb127
Posts: 7
Joined: Fri Jun 23, 2017 10:23 pm

Re: White stripe artifact in firmware >= 4.14.58

Sun May 19, 2019 8:23 am

I've checked with the recent firmware and this problem is still present.
Is there any expected date for a fix?
This problem forces us to use an older version firmware without many other good fixes.
Would appreciate any update on this issue. Thanks.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22224
Joined: Sat Jul 30, 2011 7:41 pm

Re: White stripe artifact in firmware >= 4.14.58

Sun May 19, 2019 10:11 am

We cannot really say when specific fixes are likely to be released, aswehave a long list of stuff that needs to be done so itdepends on priority. I'll flag it up to 6by9 tomorrow to see if he has a gap in his schedule, which is busy at the moment.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Return to “Camera board”