gkreidl
Posts: 6053
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

New firmware bug in latest (Pixel) release

Mon Oct 10, 2016 7:32 am

HW accelerated video in chromium-browser required some firmware changes. Unfortunately these changes have also introduced new bugs.

I discovered it in my transcoding software and it always happens, when I transcode an original 720x576 video (576i, MPEG2 or H264) to a H264 stream of 384x288 pixels (half size). If I transcode to another (working) output size it doesn't happen. The second image below shows the corruption at the left side.

Epiphany (or kweb3) are also affected and show a similar bug, when a HTML5 web video of a certain size is displayed, as shown in the first image.

In both cases "sudo vcdbg reloc" reports "heap corruption detected", usually some entries like the following:
0x3c85bf00: corrupt trailer (space 165952 != 165953)

I have created a test package for the developers which will reproduce the bugs without needing any other software (or live TV streams). Link available via PM.
Attachments
tcbug2.jpg
tcbug2.jpg (50.55 KiB) Viewed 1064 times
tcbug.jpg
tcbug.jpg (30.52 KiB) Viewed 1064 times
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: New firmware bug in latest (Pixel) release

Mon Oct 10, 2016 4:57 pm


gkreidl
Posts: 6053
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: New firmware bug in latest (Pixel) release

Mon Oct 10, 2016 7:55 pm

dom wrote:Can you test with this firmware:
https://www.dropbox.com/s/tjyn2ewx0pz0j ... 3.zip?dl=0
Wow! That was a fast response.
And both bugs I've described above are fixed.
Thanks a lot!
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: New firmware bug in latest (Pixel) release

Tue Oct 11, 2016 12:13 pm

Thanks for the detailed bug report.
Fix is in latest rpi-update firmware.

Return to “Raspbian”