[Sugar-devel] libflashplayer.so and WebCam issue

James Cameron quozl at laptop.org
Fri Jun 12 20:24:32 EDT 2015


G'day Gustavo,

Yes, the problem is isolated to the Flash plugin.

Another option may be to fix HTML5 camera support in Sugar and Fedora.

It does not work for me.  I tested XO-4 with Fedora 20 and Fedora 18
using Sugar Browse activity on this site:

http://davidwalsh.name/demo/camera.php
http://davidwalsh.name/browser-camera

And no image shown.

Also tested with Epiphany on Fedora 18 and Firefox on Fedora 20, and
no image shown.

Also tested on other laptop, not XO-4, with Ubuntu 14.04.2 and 15.04
with Sugar 0.105.2 and no image shown by Browse, no image shown by
Epiphany, but Firefox worked fine.

So at the moment, Browse does not support HTML5 camera.

On Fri, Jun 12, 2015 at 12:15:14PM -0300, Gustavo Duarte wrote:
> Hi James,
> 
> I did the tests on a XO4 with 1G ram and F18, and the behaviour is the
> same, the webcam shows bright pixels purple.
> 
> I guess i understanding your points, just to confirm, so my problem
> now is that the flashplugin isn't working properly ?
> 
> I agree with you, flashplugin isn't a good choice, but unfortunately
> the only option for this kind of web sites that children really likes.
> 
> So the only one thing to do, is try to fix the flashplugin ?
> 
> Thanks Gustavo.
> 
> On Thu, Jun 11, 2015 at 5:12 AM, James Cameron <quozl at laptop.org> wrote:
> > Thanks for the testing.  I've done some more testing.
> >
> > Your new problem where bright pixels are shown as purple:
> >
> > - only occurs with Flash plugin, so it is unique to the plugin,
> >
> > - also occurs with Firefox, so it is not a Sugar Browse problem,
> >
> > - also occurs with the ov7670 camera, so it is independent of camera,
> >
> > - also occurs with Fedora 18,
> >
> > - also occurs with and without vMeta and OpenGL support.
> >
> > The root cause may be a mistake in data conversion of RGB pixel data;
> > or the alignment of bit fields.
> >
> > I recommend not using Flash plugin.  It is out of date and has known
> > security vulnerabilities that will place users at risk.
> >
> >
> > Yesterday's Fedora 20 kernel with the siv121c RGB support fix is the
> > same kernel to use on Fedora 18, and can be found in our Fedora 18
> > rpmdropbox directory:
> >
> > http://rpmdropbox.laptop.org/f18-xo4/kernel-devel-3.5.7_xo4-20150610.0359.olpc.97336f6.armv7hl.rpm
> >
> > To use this kernel on Fedora 18, the firmware must be Q7C05, because
> > the kernel is configured for dual core.
> >
> > Hope that helps!
> >
> > On Wed, Jun 10, 2015 at 09:57:39AM -0300, Gustavo Duarte wrote:
> >> Hi James,
> >>
> >> I replaced the kernel, and after that:
> >>
> >> 1) The gst-launch test worked properly, in both cases, so RGB now is supported
> >> 2) Record Activity, still working fine
> >> 3) flashplugin, although it works better still is showing an ugly
> >> image, as you can see
> >>
> >> https://goo.gl/photos/7JuQta6hJwm4iDjr5
> >>
> >> Any thoughts ?
> >>
> >> On the other hands, we have XO4 1G models with Fedora 18, with the
> >> same problem, is there kernel fixed for these ?
> >>
> >> Thanks
> >>
> >>
> >>
> >> On Wed, Jun 10, 2015 at 1:44 AM, James Cameron <quozl at laptop.org> wrote:
> >> > On Tue, Jun 09, 2015 at 10:48:32AM -0300, Gustavo Duarte wrote:
> >> >> 1) The camera is siv121c
> >> >> 2) Doing the gst-launch tests, both cases works like you mention
> >> >> 3) Record Activity work fine.
> >> >> 4) Fedora version is F20
> >> >> 5) Kernel version is 3.5.7_xo4-20150205.0332.olpc.8a4cfb6
> >> >
> >> > Good data, thanks.
> >> >
> >> >> So if i understood well, my problem is, flashplugin is expected RBG
> >> >> video but the driver is giving YUV video signal, is something like
> >> >> that ?
> >> >
> >> > Yes.
> >> >
> >> >> Is there some fix or workaround for this ?
> >> >
> >> > I hope so.
> >> >
> >> > Please test this kernel:
> >> >
> >> > http://rpmdropbox.laptop.org/f20-xo4/kernel-3.5.7_xo4-20150610.0359.olpc.97336f6.armv7hl.rpm
> >> >
> >> > Please also do a side by side test between two laptops, showing the
> >> > same scene for the camera.
> >> >
> >> > In this new kernel the siv121c driver has been changed to support RGB
> >> > format.  Both gst-launch test cases work properly without green pixel
> >> > corrupt data.
> >> >
> >> > The source code changes are in the arm-3.5 branch of the olpc-kernel
> >> > git repository:
> >> >
> >> > http://dev.laptop.org/git/olpc-kernel/log/?h=arm-3.5
> >> >
> >> > (Kernels for XO-1.75 and XO-1 are to follow, for where the camera is
> >> > used as a spare part.  The camera is not compatible with XO-1.5.)
> >> >
> >> > --
> >> > James Cameron
> >> > http://quozl.linux.org.au/
> >
> > --
> > James Cameron
> > http://quozl.linux.org.au/

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list