Gentoo/pi newbie questions


7 posts
by MrZammler » Tue Jun 05, 2012 3:20 pm
Hi all,

I've been using Gentoo exclusively for the last 10 years or so, but the rpi is my first non-x86 machine, so I have a couple of questions. I'd like to use Gentoo as the base OS and build from there.

1) How does the quake III/fuse zx emulator demoed on the pi work without X11? I assume they are patched to use opengl es instead of full opengl? Is that all that it takes + maybe use pi specific libraries?

2) If so, am I right to assume that something similar can be done for e.g. SDL, thus being able to run any SDL based apps right from the framebuffer without the need for X11 (via directfb maybe)? Do the Gentoo builds here support opengl es?

3) Has anyone tried to compile XBMC (the pi "version" with omx*) on Gentoo?

Thanks a lot!
Posts: 8
Joined: Fri May 18, 2012 9:38 am
by MrZammler » Mon Jun 11, 2012 9:01 am
Replying to my own thread :-)

I've tried over the past days to setup my pi. I've installed the minimal image, setup a cross compiler, and installed the /opt/vc/ files. Tried the hello_* examples, all work fine.

I've then installed sdl with directfb backend. Some simple SDL apps run fine from the framebuffer (although slow, but ok).

The problem is with the fuse emulator. I'm trying to recreate what I saw in the demo (http://www.youtube.com/watch?v=zkbvDO1K_-c) but without luck. I compiled fuse and libspectrum both manually and via portage. Both tries result to seg faults, although it tries to start, and directfb opens a display.

Anyone have any clue why is that?
Posts: 8
Joined: Fri May 18, 2012 9:38 am
by MrZammler » Thu Jun 14, 2012 1:59 pm
Fuse works now with fbcon SDL backend.
Posts: 8
Joined: Fri May 18, 2012 9:38 am
by MrZammler » Mon Jun 18, 2012 9:40 am
I've been on it for the last couple days, and I'm surprised at what this thing can do!

Tried an Amstrad CPC emulator, as well as ScummVM and both run fantastic!
Posts: 8
Joined: Fri May 18, 2012 9:38 am
by emptybee » Thu Jun 21, 2012 8:47 am
Hi MrZammler,

Would it be too much to ask how you got fuse running with SDL? I'm dying to get this working (with sound) on either arch or debian. On Debian I installed libsdl1.2-dev but when it came to ./configure --with-sdl (in fuse source folder) it throws up error:

checking for sdl-config... no
checking for SDL - version >= 1.2.4... no

Can't work out how to get around this and would really like to make a fully working (i.e. with sound) ZX Spectrum on the raspberrypi to put into my old ZX Spectrum 48k case as the board died years ago (dodgy ULA).

Any help on this would be much appreciated!

Thanks,

emptybee
Posts: 19
Joined: Wed Jun 20, 2012 12:56 pm
by MrZammler » Fri Jun 29, 2012 7:51 pm
I've just emerged libsdl with fbcon backend. :-)

Check my log at my blog here:

http://winterland.no-ip.org/2012/06/ras ... emulators/

let me know if you need any more help.
Posts: 8
Joined: Fri May 18, 2012 9:38 am
by MrZammler » Fri Jun 29, 2012 7:53 pm
Ah, sorry, just re-read your post and saw debian.

So, not sure on that one... But it should find libsdl if you've installed it from your package manager (emerge is just that for gentoo). Sorry, I haven't really used debian much.
Posts: 8
Joined: Fri May 18, 2012 9:38 am