Re: possible progress on XO-1 camera issues

2010-01-08 Thread Sascha Silbe
I can (somewhat) use Record 64 on my XO-1 running Debian squeeze (*) and the latest OLPC git kernel. It doesn't work out-of-the-box (needed to recompile binary blobs) and seems to hang (**) when I try to take a photo, but the video overlay is shown. In what way does Record fail for you,

Re: possible progress on XO-1 camera issues

2010-01-08 Thread Sascha Silbe
On Wed, Dec 23, 2009 at 11:01:50PM -0300, Raul Gutierrez Segales wrote: 8.2 (old geode driver): (II) EXA(0): Offscreen pixmap area of 11208320 bytes F11 (new geode driver): (II) EXA(0): Offscreen pixmap area of 5829856 bytes Debian (Record is working, xserver-xorg-video-geode 2.11.6-1):

Re: possible progress on XO-1 camera issues

2009-12-23 Thread Tomeu Vizoso
On Wed, Dec 23, 2009 at 02:42, James Cameron qu...@laptop.org wrote: On Tue, Dec 22, 2009 at 09:42:54PM -0300, Raul Gutierrez Segales wrote: Is it cheating to change the screen depth? I change it to 24 bpp and now cheese and totem work. Changes to /etc/X11/xorg.conf: That's odd.  We changed

Re: possible progress on XO-1 camera issues

2009-12-23 Thread D. Rodas
Hello Everybody, After hard debugging with Raul, we've realized that the problem was in the Geode driver. I've changed a line within the memory buffer, and it seems to work now. Looking forward to get feedback (please don't be evil, it's my first patch :-)

Re: possible progress on XO-1 camera issues

2009-12-23 Thread Daniel Drake
On Wed, 2009-12-23 at 14:28 -0300, César D. Rodas wrote: Hello Everybody, After hard debugging with Raul, we've realized that the problem was in the Geode driver. I've changed a line within the memory buffer, and it seems to work now. Looking forward to get feedback (please don't be

Re: possible progress on XO-1 camera issues

2009-12-23 Thread Raul Gutierrez Segales
On Wed, 2009-12-23 at 18:09 +, Daniel Drake wrote: On Wed, 2009-12-23 at 14:28 -0300, César D. Rodas wrote: Hello Everybody, After hard debugging with Raul, we've realized that the problem was in the Geode driver. I've changed a line within the memory buffer, and it seems to

Re: possible progress on XO-1 camera issues

2009-12-22 Thread Raul Gutierrez Segales
Hey guys, Is it cheating to change the screen depth? I change it to 24 bpp and now cheese and totem work. Changes to /etc/X11/xorg.conf: (in the Screen Section) DefaultDepth 24 (in the Display SubSection) Depth 24 Cheese doesn't show live video from the camera but I am able to take

Re: possible progress on XO-1 camera issues

2009-12-22 Thread Raul Gutierrez Segales
Btw, Record in Sugar works with the same symptoms as Cheese in Gnome (that is, you can take pictures but you don't get a live feed). Hth, Raúl On Tue, 2009-12-22 at 21:42 -0300, Raul Gutierrez Segales wrote: Hey guys, Is it cheating to change the screen depth? I change it to 24 bpp and

Re: possible progress on XO-1 camera issues

2009-12-22 Thread James Cameron
On Tue, Dec 22, 2009 at 09:42:54PM -0300, Raul Gutierrez Segales wrote: Is it cheating to change the screen depth? I change it to 24 bpp and now cheese and totem work. Changes to /etc/X11/xorg.conf: That's odd. We changed the screen depth quite a bit with XO-1.5 development, I wonder if those

Re: possible progress on XO-1 camera issues

2009-12-21 Thread crodas
Hi there, On Sat, 19 Dec 2009 12:06:41 +, Tomeu Vizoso to...@sugarlabs.org wrote: On Sat, Dec 19, 2009 at 07:00, John Gilmore g...@toad.com wrote: #10 0xb67fae59 in gst_xvimagesink_xvimage_put (xvimagesink=0x8364160)     at xvimagesink.c:864         src = {x = 134867456, y = 140758336, w =

Re: possible progress on XO-1 camera issues

2009-12-21 Thread Tomeu Vizoso
Hmm, it's a bit hard to read with so many details, can you run it again without -v --leak-check=full --show-reachable=yes ? Those are useful when looking for memory leaks. I would expect that valgrind would complain when the uninitialized values get read. Thanks, Tomeu On Mon, Dec 21, 2009 at

Re: possible progress on XO-1 camera issues

2009-12-18 Thread Tomeu Vizoso
On Thu, Dec 17, 2009 at 18:08, César D. Rodas cro...@paraguayeduca.org wrote: Hi Peter, On Thu, 2009-12-17 at 16:33 +, Peter Robinson wrote: I'm looking forward to read clues about how to fix it. It sounds suspiciously like a Xv issue. That could be anything from a missing

Re: possible progress on XO-1 camera issues

2009-12-18 Thread crodas
Hello Tomeu, I regenerated the debug files using what you suggested me, it seems to be more information. I've attached to this e-mail. Regards, PS: If attaches to the mailing list is not allowed, please let me know. On Fri, 18 Dec 2009 08:55:05 -0200, Tomeu Vizoso to...@sugarlabs.org wrote:

Re: possible progress on XO-1 camera issues

2009-12-18 Thread crodas
Hello, On Fri, 18 Dec 2009 14:19:58 -0300, crodas cro...@paraguayeduca.org wrote: Hello Tomeu, I regenerated the debug files using what you suggested me, it seems to be more information. I've attached to this e-mail. Regards, PS: If attaches to the mailing list is not allowed,

Re: possible progress on XO-1 camera issues

2009-12-18 Thread Tomeu Vizoso
On Fri, Dec 18, 2009 at 17:19, crodas cro...@paraguayeduca.org wrote: Hello Tomeu, I regenerated the debug files using what you suggested me, it seems to be more information. I've attached to this e-mail. Regards, PS: If attaches to the mailing list is not allowed, please let me know.

Re: possible progress on XO-1 camera issues

2009-12-18 Thread Tomeu Vizoso
On Fri, Dec 18, 2009 at 17:19, crodas cro...@paraguayeduca.org wrote: Hello Tomeu, I regenerated the debug files using what you suggested me, it seems to be more information. I've attached to this e-mail. From looking at this:

Re: possible progress on XO-1 camera issues

2009-12-18 Thread James Cameron
As Tomeu also found, this backtrace frame is the most interesting: #10 0xb67fae59 in gst_xvimagesink_xvimage_put (xvimagesink=0x8364160) at xvimagesink.c:864 src = {x = 134867456, y = 140758336, w = -1259457208, h = 1} dst = {x = 137730309, y = 3, w = 0, h = 137691184}

Re: possible progress on XO-1 camera issues

2009-12-18 Thread John Gilmore
#10 0xb67fae59 in gst_xvimagesink_xvimage_put (xvimagesink=0x8364160) at xvimagesink.c:864 src = {x = 134867456, y = 140758336, w = -1259457208, h = 1} dst = {x = 137730309, y = 3, w = 0, h = 137691184} result = {x = 0, y = 0, w = 322, h = 241} draw_border

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Peter Robinson
On Wed, Dec 16, 2009 at 7:36 PM, César D. Rodas cro...@paraguayeduca.org wrote: Hi, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and recordactivity crashed right before show any picture. Then I tested remotely with

Re: possible progress on XO-1 camera issues

2009-12-17 Thread D. Rodas
Hello Peter, On Thu, 2009-12-17 at 08:45 +, Peter Robinson wrote: On Wed, Dec 16, 2009 at 7:36 PM, César D. Rodas cro...@paraguayeduca.org wrote: Hi, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Peter Robinson
Hi César, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and recordactivity crashed right before show any picture. Then I tested remotely with ssh -X and it worked for olpc and root user and it works. This

Re: possible progress on XO-1 camera issues

2009-12-17 Thread D. Rodas
Hi Peter, On Thu, 2009-12-17 at 14:18 +, Peter Robinson wrote: Hi César, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and recordactivity crashed right before show any picture. Then I tested remotely with

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Peter Robinson
On Thu, Dec 17, 2009 at 2:47 PM, César D. Rodas cro...@paraguayeduca.org wrote: Hi Peter, On Thu, 2009-12-17 at 14:18 +, Peter Robinson wrote: Hi César, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and

Re: possible progress on XO-1 camera issues

2009-12-17 Thread D. Rodas
Hello, On Thu, 2009-12-17 at 15:11 +, Peter Robinson wrote: On Thu, Dec 17, 2009 at 2:47 PM, César D. Rodas cro...@paraguayeduca.org wrote: Hi Peter, On Thu, 2009-12-17 at 14:18 +, Peter Robinson wrote: Hi César, The problem with the camera seems to be the xf86-video-geode

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Daniel Drake
On Thu, 2009-12-17 at 15:11 +, Peter Robinson wrote: And we'll see where we need to go from there. If the problem appears to be in the geode driver, one thing you might consider doing is going back to the version that was shipped in 8.2. After 8.2, a new release was made with various

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Peter Robinson
I'm looking forward to read clues about how to fix it. It sounds suspiciously like a Xv issue. That could be anything from a missing kernel module to a X driver bug. Out of interest can you play video using totem? Possibly record a video using a XO-1 with the working 802 build and see

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Peter Robinson
On Thu, Dec 17, 2009 at 3:40 PM, Daniel Drake d...@laptop.org wrote: On Thu, 2009-12-17 at 15:11 +, Peter Robinson wrote: And we'll see where we need to go from there. If the problem appears to be in the geode driver, one thing you might consider doing is going back to the version that

Re: possible progress on XO-1 camera issues

2009-12-17 Thread D. Rodas
Hi Peter, On Thu, 2009-12-17 at 16:33 +, Peter Robinson wrote: I'm looking forward to read clues about how to fix it. It sounds suspiciously like a Xv issue. That could be anything from a missing kernel module to a X driver bug. Out of interest can you play video using totem?

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Neil Graham
On Thu, 2009-12-17 at 11:47 -0300, César D. Rodas wrote: This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. I'm doing some work that uses xv on the XO. I found that this occurred for me when running X in 24bit, but 16bit was ok. I'm

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Peter Robinson
On Fri, Dec 18, 2009 at 6:32 AM, Neil Graham l...@screamingduck.com wrote: On Thu, 2009-12-17 at 11:47 -0300, César D. Rodas wrote: This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. I'm doing some work that uses xv on the XO. I

Re: possible progress on XO-1 camera issues

2009-12-16 Thread D. Rodas
Hi, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and recordactivity crashed right before show any picture. Then I tested remotely with ssh -X and it worked for olpc and root user and it works. This test was done with:

Re: possible progress on XO-1 camera issues

2009-12-16 Thread Tomeu Vizoso
On Wed, Dec 16, 2009 at 17:36, César D. Rodas cro...@paraguayeduca.org wrote: Hi, The problem with the camera seems to be the xf86-video-geode package. The cafe_ccic module is loaded automatically. Cheese and recordactivity crashed right before show any picture. Then I tested remotely with

Re: possible progress on XO-1 camera issues

2009-12-16 Thread Mikus Grinbergs
Posting some results to http://dev.laptop.org/ticket/9138 -- the symptoms I see with Record-64 in XO-1 with os10 and kernel 2.6.31_xo1-20091211.1834.1.olpc.813348c.i586.rpm are IDENTICAL to when I wrote the original ticket #9138 one year ago. Would be very useful to get a backtrace with symbols

Re: possible progress on XO-1 camera issues

2009-12-13 Thread Peter Robinson
On Sat, Dec 12, 2009 at 8:16 PM, Daniel Drake d...@laptop.org wrote: Hi, Jon Corbet's been working on the XO-1.5 camera driver for us, and while doing so he found a V4L2 bug which is probably one of the reasons that we're having problems with XO-1 camera on all post-8.2 builds. The

possible progress on XO-1 camera issues

2009-12-12 Thread Daniel Drake
Hi, Jon Corbet's been working on the XO-1.5 camera driver for us, and while doing so he found a V4L2 bug which is probably one of the reasons that we're having problems with XO-1 camera on all post-8.2 builds. The workaround is to build the sensor driver into the kernel, and the camera driver as