possible progress on XO-1 camera issues

Peter Robinson pbrobinson at gmail.com
Thu Dec 17 09:18:45 EST 2009

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 test was done with:
>> >
>> >      * XO-1 kernel: 2.6.31_xo1-20091214.1334.1.olpc.49c30d0
>> >      * os10
>> >
>> > Even if it works remotely, there are a lots of warning messages on
>> > the /var/log/messages:
>> The gstreamer pipeline i used on the command line to take a photo is:
>> gst-launch-0.10 v4l2src ! ffmpegcolorspace ! pngenc ! filesink
>> location=foo.png
> It works perfectly fine, thanks for your help.
> It seems to be that X is having a hard time displaying the video feed
> for some reason I can't discover (yet). I took a look at
> the /var/log/Xorg.0.log file (while attempting to run cheese) and it
> said:
> "Could not allocate memory for the video"
> That's why it worked remotely before (apparently). I also tried loading
> extra modules in xorg.conf (the ones that are loaded in the XO-1.5
> config) but no go.
> 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 if it will play on one with the F11 build.
That would rule out that issue, or possibly we could craft up a
gstreamer pipeline that takes the output of the camera and displays it
on the screen. Let me know how you go with the totem test and then
we'll see where we can take it from there, if that works I can work
out what the pipeline would need to be to test that raw.


More information about the Devel mailing list