Just out of idle curiosity, I dug out an old laptop, installed Ubuntu 11.10 and Wine 1.4 and then installed Gideros Studio. All works well when using the Gideros Player on my laptop except for anything to do with physics. Then it runs really slowly (I tried the physics examples included with Gideros as well as my own stuff just in case it was my bad coding). When I tried the same things on the player on my phone, they were fine. Is that normal when running under Wine? It is an old laptop (Intel Celeron 1.7GHz, IGb ram) so I guess that might be the cause.
As I say, this was more idle curiosity than anything else, although I do quite fancy moving over to Linux eventually.
Comments
i think the main bottleneck is the video card...
on my laptop (dual core T8100 and geforce 9200 the player is a little slow, but on another laptop with T6100 and a geforce 8600T is very very fast! using ubuntu 12.04)
.
what video card do you have in your laptop? have you installed accelerated drivers ?
www.tntengine.com
not very powerful...
www.tntengine.com
http://askubuntu.com/questions/70643/intel-gma-950-missing-driver-for-an-eee-pc-1008ha
It basically shows how to configure GMA 950. First two commands may give erroneous results but rest will (hopefully) assure you to install proper drivers & configure.
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64
where it reported something like done,done and then messages that it could not find amd64 parts.
I also tried the suggestion here http://www.jacoblog.net/2011/10/29/ubuntu-11-10-intel-driver-problem/ (and did sudo update-grub after saving the change) but that also made no difference.
It does seem from googling that this video set up causes problems!
Then, check if you card supports opengl:
http://www.cyberciti.biz/faq/linux-test-opengl-2d-3d-graphics-card/
I would also check other examples or games (preferrably with lots of animations and not using physics), because I don't think box2d uses OpenGL directly (but might be wrong here), and if it is the slow card issue, other examples should be slow too.
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM x86/MMX/SSE2
When I used glxinfo on its own, I got a long list of results. Under the headings 32 GLX Visuals and 48 GLXFBConfigs all the lines of info ended with (mostly) 'None' and occasionally 'Slow'. I have no idea what they mean but it doesn't look promising!
I'll have a look for some other examples that I can test. Having searched quite a lot on the internet I have found lots of people having trouble with the performance of the same type of graphics card, although I don't have a problem with You Tube videos which some people do. None of the suggested solutions I have found so far have made any difference.
I think I'll try and persuade my wife that she'd like this nice little linux laptop and steal her's to have a go on that...
The only reason I was looking to switch is that the editor in Gideros Studio is very 'sticky' on my usual laptop (AMD processor, 64bit Windows) and doesn't scroll easily nor allow me to select individual words all that easily - it's fine sometimes but very laggy at others. So I was looking to try an alternative. The editor is great under Linux but the player not so good on this particular laptop. It seems my hardware is a pain!
Thanks to everyone for the help provided. I'll let you know if I manage to switch to Linux. One thing I do know is that it won't be on my wife's laptop...