---------- Forwarded message ---------- From: Gustavo Duarte gus.duarte@gmail.com Date: Wed, Mar 4, 2015 at 8:39 AM Subject: Re: Video problem in Fedora 20 ARM To: Squeak Virtual Machine Development Discussion vm-dev@lists.squeakfoundation.org
The squeak version is squeak-vm-4.10.2.2614-9.fc20.armv7hl
On Wed, Mar 4, 2015 at 8:35 AM, Gustavo Duarte gus.duarte@gmail.com 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.
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/uni...
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Useful Latin Phrases:- Ne auderis delere orbem rigidum meum! = Don't you dare erase my hard disk!
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 tim@rowledge.org 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/uni...
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Useful Latin Phrases:- Ne auderis delere orbem rigidum meum! = Don't you dare erase my hard disk!
squeak-dev@lists.squeakfoundation.org