The Raspberry Pi 2 was launched today, it is now quad core and 900Mhz rather than 700Mhz (but every one overclocked anyway!). It should be nippier but for single thread apps it should be about 1.5x faster - ish.
It uses the same gfx chip, so that is about the same speed as a Mali 400.
I think it would be a good idea to make Gideros work on the older Pi first as these are still being produced.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I know someone who has been coding in Linux for a long time, I'll message them on facebook for you.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
"Xlib is part of X11 which is common on most desktop based linux systems including those running Gnome or KDE. If you are using a linux server then it may be running in headless mode (no monitor) so Xlib wouldn't normally be installed. However not all Linux Systems use Xlib - e.g. Android devices are Linux based yet they don't use X11 wouldn't have Xlib,"
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Thanks very much! I would prefer to use the lowest level of interaction (which I think is Xlib) rather than a widget toolkit in the first instance. I know Linux programmers tend to use toolkits but I do not need menus, buttons etc just an OpenGL context to draw on.
The person I asked btw was David Firth - in emulator 'circles' he is quite famous as he wrote the original Atari 800 emulator about 20 years ago. I've known him for about 30 years - he knows his stuff.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@john26 wouldn't the right way be, to check if QT could support it. I know QT supports linux, don't know about arm processor though. http://doc.qt.io/qt-5/linux.html
But if it does, there would little or no code to rewrite, only correctly manage dependencies.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@ar2rsawseen, thanks didn't realise QT was on the pi. Will try to use it. But also it might be nice to have a stand alone player based on Xlib directly just to play the games. After all, pi is not very fast.
Hi, I didn't understand the solution for gideros player not working on Yosemite. I get this error on all projects: Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000
@sieler yes known bug, but unfortunately we still cant find the issue, tried other libpng version, tried linking to specific zlib version, nothing works.
For now, we are clueless, but on all dev machines Gideros work, so there must be something that is missing on newly installed Yosemites
If, you are up to it, you can go through dependencies installing them one by one and checking if player runs now, would help us alot knowing what exactly breaking.
@ar2sawseen, I did what you said with the dependencies one by one but it still doesn't work. Anything else we could do to try to find the issue? Thanks
@jdbc, @zimarrio and @sieler, I will try to reproduce to issue on my Mac (upgrading to yosemite right now, 10hrs download left...). Meanwhile, is it possible to get a full register dump of the crash or a kind of 'coredump' ? This may help in understanding what gone wrong. Ideally, a desassembly of the 3 or 4 latests stack frames would be helpful.
Comments
It uses the same gfx chip, so that is about the same speed as a Mali 400.
I think it would be a good idea to make Gideros work on the older Pi first as these are still being produced.
https://deluxepixel.com
I was thinking of using the simple Xlib library to handle OS events and do basic drawing. I think this is present in all versions of Linux?
This is something I need to ask about Linux, is the windows API (Xlib) common to all Linux versions? Does it depend on whether we use GNOME etc?
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
https://deluxepixel.com
"Xlib is part of X11 which is common on most desktop based linux systems including those running Gnome or KDE. If you are using a linux server then it may be running in headless mode (no monitor) so Xlib wouldn't normally be installed. However not all Linux Systems use Xlib - e.g. Android devices are Linux based yet they don't use X11 wouldn't have Xlib,"
https://deluxepixel.com
Likes: SinisterSoft
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
Likes: gorkem
https://deluxepixel.com
I know QT supports linux, don't know about arm processor though.
http://doc.qt.io/qt-5/linux.html
But if it does, there would little or no code to rewrite, only correctly manage dependencies.
Likes: SinisterSoft
http://qt-project.org/wiki/Qt-RaspberryPi
Likes: SinisterSoft
Likes: john26, bali001
https://deluxepixel.com
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
I didn't understand the solution for gideros player not working on Yosemite.
I get this error on all projects:
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libjpeg.8.dylib 0x000000000152853f jpeg_std_error + 107
1 libgid.1.dylib 0x000000000004e965 gimage_parseJpg + 85
Works perfectly on windows 8.1.
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
Grabbed fresh copy of Gideros (24.10) ... clicked on the "Bird Animation" sample app ...
player aborts:
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libpng16.16.dylib 0x00000000014e8f98 png_sig_cmp + 932
1 libpng16.16.dylib 0x00000000014f08e8 png_create_read_struct_2 + 19
2 libpng16.16.dylib 0x00000000014f08cf png_create_read_struct + 27
3 libgid.1.dylib 0x000000000004e592 gimage_parsePng + 178
4 com.giderosmobile.Gideros Player 0x0000000100081d5c Dib::Dib(Application*, char const*, bool, bool, bool, unsigned int) + 396
5 com.giderosmobile.Gideros Player 0x000000010009eb83 TextureManager::createTextureFromFile(char const*, TextureParameters const&) + 627
6 com.giderosmobile.Gideros Player 0x000000010009e712 TextureBase::TextureBase(Application*, char const*, Filter, Wrap, Format, bool, unsigned int) + 114
7 com.giderosmobile.Gideros Player 0x000000010009e5b4 Texture::Texture(Application*, char const*, Filter, Wrap, Format, bool, unsigned int) + 36
8 com.giderosmobile.Gideros Player 0x000000010006f92e TextureBinder::create(lua_State*) + 766
...
Similarly, the "Button" example app crashes in same place.
A newly created app consisting of a single line: print ("hi")
will run ok.
For now, we are clueless, but on all dev machines Gideros work, so there must be something that is missing on newly installed Yosemites
first you would need to install brew
http://brew.sh/
and the dependencies, one by one:
brew update
brew install jpeg
brew link --overwrite jpeg
brew install libpng
brew link --overwrite libpng
brew install freetype
brew install glew
brew install qt5
maybe it will help
Thanks
Ideally, a desassembly of the 3 or 4 latests stack frames would be helpful.
https://github.com/gideros/gideros/issues/13
How can I get the updated version? Do I need to wait for the next release?
just try the latest release from github:
https://github.com/gideros/gideros/releases/tag/2015.03.05