GCompris?

Drop in for a chat and a cup of tea

25 posts
by jacoman » Thu Sep 01, 2011 8:36 am
Could GCompris work on the raspberry pi?
Posts: 24
Joined: Thu Sep 01, 2011 6:52 am
by RobinJ » Thu Sep 01, 2011 8:45 am
If someone compiled it for the ARM11, yes.
Rule #1: If a human tries to argue with a logical device like a computer, the device always wins.
Rule #2: A big bucket of water, window, or hammer can nullify Rule #1.
User avatar
Posts: 68
Joined: Mon Aug 08, 2011 4:21 pm
Location: Belgium
by hsalonen » Thu Sep 01, 2011 9:11 am
Posts: 19
Joined: Wed Aug 31, 2011 9:11 am
by abishur » Thu Sep 01, 2011 1:26 pm
You should take a look at the FAQs page ;)
Dear forum: Play nice ;-)
User avatar
Forum Moderator
Forum Moderator
Posts: 4280
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
by jamesh » Thu Sep 01, 2011 1:57 pm
This is as far as I got with trying out gCompris - this page, then it sort of stopped doing anything. No idea why. Probably some odd X stuff somewhere.

http://i175.photobucket.com/albums/w143/JamesHughes_photos/RaspberryPi/IMG_08691.jpg
Unemployed software engineer currently specialising in camera drivers and frameworks, but can put mind to most embedded tasks. Got a job in N.Cambridge or surroundings? I'm interested!
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11748
Joined: Sat Jul 30, 2011 7:41 pm
by jamesh » Thu Sep 01, 2011 4:16 pm
OK, got it working a lot better. All features appears to work, it's a bit slow but usable - not accelerated I don't think. If it uses OpenGL ES or OpenVG then that can certainly speed up, otherwise a bit of effort involved in making it run faster.
Unemployed software engineer currently specialising in camera drivers and frameworks, but can put mind to most embedded tasks. Got a job in N.Cambridge or surroundings? I'm interested!
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11748
Joined: Sat Jul 30, 2011 7:41 pm
by liz » Thu Sep 01, 2011 4:23 pm
Brilliant - if you can get it to a speed that doesn't chug too much, would you mind bunging it on an SD card for Eben with Stellarium? We can show them off next week in Oxford.
--
Head of Comms, Raspberry Pi Foundation
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 4094
Joined: Thu Jul 28, 2011 7:22 pm
by ece3000 » Fri Sep 02, 2011 1:07 am
Not for nothing...but getting programs like Gcompris, TuxMath, TuxPaint to work on this device will do more for education than you can imagine. By far, the biggest opportunity to impact lives lies in focusing on intellectual development of kids between ages 2 and 5. Believe it or not, most kids from socio-economically depressed areas have already "lost" by the time they start school at age 6. If we can change that - turn it on its head - we can truly change the world.
Posts: 1
Joined: Thu Sep 01, 2011 11:58 pm
by jamesh » Sat Sep 03, 2011 7:45 am
Thanks for the suggestions, I'll try out TuxMath and TuxPaint when I get the chance.
Unemployed software engineer currently specialising in camera drivers and frameworks, but can put mind to most embedded tasks. Got a job in N.Cambridge or surroundings? I'm interested!
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11748
Joined: Sat Jul 30, 2011 7:41 pm
by jacoman » Tue Sep 06, 2011 7:03 pm
Thanks.
Posts: 24
Joined: Thu Sep 01, 2011 6:52 am
by jacoman » Tue Sep 06, 2011 7:04 pm
Thanks.
Posts: 24
Joined: Thu Sep 01, 2011 6:52 am
by MarkA » Thu Jul 19, 2012 5:27 pm
I know there are a few messages about GCompris, so picked one almost at random to post this...

My 5 year old is playing very well on this software running with the new Raspbian distribution. It is a little slower than I'd like and falls over occasionally, but she likes it a lot.

So far she has practiced:
reading
addition / subtraction
pattern recognition (sort of)
mouse and keyboard skills
(accepting computers sometimes fall over... -Important skill for modern /windows/ life)
and probably a few others.

She keeps asking to use it, so it must be quite good. Only wish the graphics were a bit slicker, though iti doesn't help when I vnc in to play in python!
Posts: 15
Joined: Thu Jan 12, 2012 2:32 pm
by psutton » Tue Oct 16, 2012 10:37 am
MarkA wrote:I know there are a few messages about GCompris, so picked one almost at random to post this...

My 5 year old is playing very well on this software running with the new Raspbian distribution. It is a little slower than I'd like and falls over occasionally, but she likes it a lot.

So far she has practiced:
reading
addition / subtraction
pattern recognition (sort of)
mouse and keyboard skills
(accepting computers sometimes fall over... -Important skill for modern /windows/ life)
and probably a few others.

She keeps asking to use it, so it must be quite good. Only wish the graphics were a bit slicker, though iti doesn't help when I vnc in to play in python!


Maybe it will work better with 512 mb ram, in which case the update would be worth it,

Paul
Posts: 132
Joined: Thu Jan 12, 2012 10:45 pm
Location: Devon
by pcravero » Fri Oct 26, 2012 9:18 am
Hi.
I've tried GCompris on both 256MB and 512MB RPi and unfortunately it runs slow on both.

A vmstat shows that CPU usage goes well above 60% every time the mouse is moved. See this commented "vmstat 1" output on http://pastebin.com/7rbvYCVX. Also context switching gets very high when GCompris is loaded (doesn't matter if idle or playing). The SD card is not the culprit because IO wait is 0%.

IMO GCompris is not useable on stock RPi. Same goes for Childsplay. I should try with the official overclocking procedure and report back.

Paolo
Posts: 2
Joined: Fri Oct 26, 2012 9:03 am
by psutton » Mon Oct 29, 2012 10:44 am
Maybe there is some sort of optimum settings to grab as much memory / resources as possible to run these applications, e.g removing ssh-server if its not needed, etc, (or rather stopping it starting up)

However I think to get this right we would have to disclose if we have the 512 or 256 mb model, that way it helps others.

Back in the days of EMM386.exe and himem.sys it sometimes took a great deal of time to optimize a DOS system to run things, but it was possible.



Paul
Posts: 132
Joined: Thu Jan 12, 2012 10:45 pm
Location: Devon
by musashi » Sun Nov 25, 2012 11:37 pm
Hum, tried with a 512 MB Pi too, Turbo mode with various RAM/Video split and never got to a point where I found it "usable" -at least to the point I could present it to my son's school-.
I am not a specialist (so feel free to comment!), but going to gcompris dev site (http://gcompris.net/-Development-), it appears based on goocanvas, itself based on cairo lib for graphics (http://www.cairographics.org/)... so targetting X window system, which does not use graphic acceleration on the pi....
There is a pretty long discussion going on there viewtopic.php?f=63&t=4649&start=300
Seems some people are working to resolve it so there is hope!
Posts: 1
Joined: Sun Nov 25, 2012 11:25 pm
by blachanc » Tue Nov 05, 2013 5:16 pm
I just learned about this set of app/games, via another thread,
Seems very interesting.
I am curious about recent user experience with this, in terms of perfs
I plan to try it anyway.
I have to admit I am not too interested in overclocking my PI.

Regards,

Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191
User avatar
Posts: 234
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)
by jamesh » Tue Nov 05, 2013 5:26 pm
blachanc wrote:I just learned about this set of app/games, via another thread,
Seems very interesting.
I am curious about recent user experience with this, in terms of perfs
I plan to try it anyway.
I have to admit I am not too interested in overclocking my PI.

Regards,

Ben


Nothing wrong with overclocking - run raspi-config, set the settings you want. You won't break anything, and you get free extra performance.
Unemployed software engineer currently specialising in camera drivers and frameworks, but can put mind to most embedded tasks. Got a job in N.Cambridge or surroundings? I'm interested!
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11748
Joined: Sat Jul 30, 2011 7:41 pm
by blachanc » Mon Nov 18, 2013 12:48 pm
jamesh wrote:
blachanc wrote:
Nothing wrong with overclocking - run raspi-config, set the settings you want. You won't break anything, and you get free extra performance.


Thank you,
I do see an improvement in perfs (I selected medium)
It is still a bit slow to respond, but teaches a 5 years old to be patient :lol:

Benoit
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191
User avatar
Posts: 234
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)
by blachanc » Fri Nov 22, 2013 4:53 am
I did two (very bad quality) clips to show the perfs I get with gcompris.


youtube_video1

youtube_video2



medium overclock:

pi@raspberrypi ~ $ vcgencmd get_config int
arm_freq=900
core_freq=250
sdram_freq=450
over_voltage=2

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux
Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191
User avatar
Posts: 234
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)
by blachanc » Tue Nov 26, 2013 7:21 pm
Hi,
Although the perfs I get when I overclock make gcompris usable,
it would be better if it would run faster.
I was wondering if there was any plan to improve the startx perfs in the long run,
or if the perfs we are getting are optimized as much as they can.
My assumption being that any improvements on startx would reflect on any application perfs.

Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191
User avatar
Posts: 234
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)
by msuchy » Wed Dec 18, 2013 10:55 pm
I stumbled upon this thread when I have been trying to run GCompris on Raspberry Pi.

After experimenting I was nearly successful. My setup is Raspberian, 16 MB for GPU, no overclock. No display manager - just xstart with gcompris in .xinitrc. Gcompris setup - switched off effects (huge improvements), switched off music. In this config it is usable. But still not as smooth as should be. But when I switched Zooming, then it is very smooth.
My next plan is to tune xorg config and to set the same resolution as have Gcompris so it will be over full screen even without zooming.
Posts: 2
Joined: Wed Dec 18, 2013 10:11 pm
by blachanc » Thu Dec 19, 2013 3:13 am
the new turbo seems to help a lot also

fbturbo_driver

if you ever have a chance to try it, let us know

ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191
User avatar
Posts: 234
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)
by msuchy » Thu Dec 19, 2013 10:46 pm
I tried fbturbo_driver. It have noticable improvement on window manager but unfortunately no noticable efect on speed of GCompris.

But I noticed something else. When GCompris is running 'top' reports CPU usage by GCompris only 60%.
So I created this script:
Code: Select all
!#/bin/bash
gcompris &
pid=$!
sudo renice -n -20 -p $pid
wait $pid

And which run GCompris under highest possible priority and then I am able to even turn Zoom and GCompris run nearly smoothly. There is only noticable short lag when choosing different category in menu, but it is definitely acceptable. Effects are still disabled though.

But if your monitor allows to change resolution (mine is TV, which does not allow it) best solution is to change resolution using this script
Code: Select all
#!/bin/bash
#  Change Resolution
#  rez <width> <height>

fbset -depth 16 -xres $1 -vxres $1 -yres $2 -vyres $2
xrefresh

and then run GCompris with Zoom disabled.
Posts: 2
Joined: Wed Dec 18, 2013 10:11 pm
by ipyerrbpsar » Tue Jan 21, 2014 3:50 pm
msuchy wrote:I tried fbturbo_driver. It have noticable improvement on window manager but unfortunately no noticable efect on speed of GCompris.

But I noticed something else. When GCompris is running 'top' reports CPU usage by GCompris only 60%.
So I created this script:
Code: Select all
!#/bin/bash
gcompris &
pid=$!
sudo renice -n -20 -p $pid
wait $pid

And which run GCompris under highest possible priority and then I am able to even turn Zoom and GCompris run nearly smoothly. There is only noticable short lag when choosing different category in menu, but it is definitely acceptable. Effects are still disabled though.

But if your monitor allows to change resolution (mine is TV, which does not allow it) best solution is to change resolution using this script
Code: Select all
#!/bin/bash
#  Change Resolution
#  rez <width> <height>

fbset -depth 16 -xres $1 -vxres $1 -yres $2 -vyres $2
xrefresh

and then run GCompris with Zoom disabled.


Sorry, I'm a newb... Do I add this to a existing file, or is it a stand-alone file placed somewhere. This sounds like it will fix exactly what I dealing with here. I have the turbo driver and have it starting directly to gcompris. I just have no idea on what to do with your script :-) Thanks for your help!
Posts: 1
Joined: Tue Jan 21, 2014 3:30 pm