Fwd: Video problem in Fedora 20 ARM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Video problem in Fedora 20 ARM

Gustavo Duarte-2
---------- Forwarded message ----------
From: Gustavo Duarte <[hidden email]>
Date: Wed, Mar 4, 2015 at 8:39 AM
Subject: Re: Video problem in Fedora 20 ARM
To: Squeak Virtual Machine Development Discussion
<[hidden email]>


The squeak version is
squeak-vm-4.10.2.2614-9.fc20.armv7hl

On Wed, Mar 4, 2015 at 8:35 AM, Gustavo Duarte <[hidden email]> wrote:

> Hi guys,
>
> I'm testing Scratch and Etoys on a OLPC laptop with Fedora 20 and ARM
> arch, and i'm having problems with the camera. The image of the camera
> on customs dialog is showed in a wrong way. (attached you can find a
> picture)
>
> Other app which are using the camera video is working well, so i'm
> thinking the driver isn't the problem.
>
> Could be the squeak camera plugin the problem ?
>
> How can make more debugging to figure out what is the problem ?
>
> The source code of the camera plugin is open ? where i can find it ?
>
>
> Thanks in advance.
>
> Gustavo.

Reply | Threaded
Open this post in threaded view
|

Re: Video problem in Fedora 20 ARM

timrowledge
I’ve just been working on a problem with the Rasperry Pi camera and its v4l2 libraries and the Scratch CameraPlugin. A year or so ago it mostly worked but the colour map was flipped so everyone was Smurfed. When I checked it for some reason a couple of weeks ago that problem was solved (and I think that colour mapping might your problem, by the way) but we could only open the camera once per session, which is a bit limiting. It turned out that we were (within the sqCamera-linux.c file) closing a different number of buffers than we were opening. That fix is in the svn repository at http://www.squeakvm.org/cgi-bin/viewvc.cgi/squeak/branches/Cog/platforms/unix/plugins/CameraPlugin/sqCamera-linux.c?view=log

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful Latin Phrases:- Ne auderis delere orbem rigidum meum! = Don't you dare erase my hard disk!



Reply | Threaded
Open this post in threaded view
|

Re: Video problem in Fedora 20 ARM

Gustavo Duarte-2
Many thanks Tim, i'm going to download the latest source code from svn
repo and compile the unix/CameraPlugin in my Arm machine.

I'll let you know the result.

Regards.

Gustavo

On Wed, Mar 4, 2015 at 5:11 PM, tim Rowledge <[hidden email]> wrote:
> I’ve just been working on a problem with the Rasperry Pi camera and its v4l2 libraries and the Scratch CameraPlugin. A year or so ago it mostly worked but the colour map was flipped so everyone was Smurfed. When I checked it for some reason a couple of weeks ago that problem was solved (and I think that colour mapping might your problem, by the way) but we could only open the camera once per session, which is a bit limiting. It turned out that we were (within the sqCamera-linux.c file) closing a different number of buffers than we were opening. That fix is in the svn repository at http://www.squeakvm.org/cgi-bin/viewvc.cgi/squeak/branches/Cog/platforms/unix/plugins/CameraPlugin/sqCamera-linux.c?view=log
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Useful Latin Phrases:- Ne auderis delere orbem rigidum meum! = Don't you dare erase my hard disk!
>
>
>