pouët.net

Raspberry Pi

category: code [glöplog]
Real men use FPGAs.
added on the 2012-04-16 22:20:18 by trc_wm trc_wm
not sure. both I hope.
added on the 2012-04-16 23:34:46 by xernobyl xernobyl
First demo ever to be run on a Raspberry Pi...? Obviously it had to be this one. It's the law.

Planet Hively on Raspberry Pi

(Built on Debian with no hitches after installing libsdl1.2-dev and changing the makefile to 'linux'. The hardest bit was finding a copy of the demo that actually included the .hvl files...)
added on the 2012-05-18 10:49:49 by gasman gasman
Well done, gasman!
added on the 2012-05-18 11:45:37 by ham ham
Nice one. Mine arrived a couple of days ago, I have to go pick up a power supply after work today.
added on the 2012-05-18 14:05:48 by Subi Subi
Hmm, I've heard some rumours that Pi's GPU can't be directly programmed (which is bullshit I think), so there's a question if there will be a separate RaspPi machine section at Pouet. Someone could so a proper Pi production to show what the hardware's capable of.
added on the 2012-05-18 14:20:51 by aki aki
AFAIK they're just not releasing the specs of the GPU because it's BroadCom's proprietary NDA-protected thing. I don't think there's anything actually in place to stop people trying.
added on the 2012-05-18 14:54:32 by Subi Subi
With all this wait to be able to buy a raspberry pi, maybe it would be wise to wait for a similarly priced machine based on an Allwinner A10.
added on the 2012-05-18 17:10:16 by xernobyl xernobyl
I could compile all our standard trash for it quickly, I suppose, but it seems hard to get one of these. Signing up for some lame mailing list is all I find so far.
added on the 2012-05-18 18:19:35 by Marq Marq
@Subi In that case, fuck off BroadCom. I don't like this GPU, it is scratched! :)
added on the 2012-05-18 21:11:46 by aki aki
Marq: If you signed up for the lame mailing list when it opened on Feb 29th, you should be seeing the results very soon (= in the next week or two). At least four people I know have received their invitations to order from RS in the last two days.

Either way, your SDL demos are fairly high on my list, so they will get ported soon somehow... :-)
added on the 2012-05-19 02:38:48 by gasman gasman
I received my "invitation" today. It only took 3 months. Plus 3 weeks for estimated shipping time.
added on the 2012-05-22 18:57:54 by xernobyl xernobyl
ain't got invitation yet =(
added on the 2012-05-22 20:22:26 by panic panic
Got mine finally, and I signed up on the first day. ^_^ But I'm going to have to wait for the weekend to try it out.
added on the 2012-05-23 11:01:12 by Subi Subi
Ordered mine now. Now I need a small HDMI / DVI monitor.
added on the 2012-05-23 21:43:04 by xernobyl xernobyl
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6332
Useful thread for those wanting to try a boot sector intro.
added on the 2012-05-24 03:10:49 by xernobyl xernobyl
Real men build shit from scratch with discrete TTL logic.
added on the 2012-05-24 11:02:02 by skurk skurk
Real men build shit from scratch with relay and wires. Lot of them.
http://web.cecs.pdx.edu/~harry/Relay
Electricity is for pussies anyway.
real men make real time wild demos by coming to parties and getting wild.
added on the 2012-05-24 23:57:30 by aegis aegis
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&t=6120&start=25

Quote:
The camera modules outputs raw data direct to the GPU. There it goes through about 17 stages of processing (Debayering, lens correction, black level, gain control, AWB, scaling, cropping, distortion etc). This is all done in real time at 30fps because it's all done in HW under control of the GPU software. The GPU can then also HW encode to JPEG a single capture at full res, or send a lower rez processed stream to the H264 encoder which can encode at 1080p30. Once all that is done, the results are/will be sent to Linux running on the Arm.

Quote:
The only way to access the data whilst its going through the pipeline is with a SW stage running on the GPU, and even then you can only inject them at certain points. BUT, because they run on the GPU, you cannot get at them.

I think we should be able to provide raw data (straight off the sensor so Bayer in whatever format the sensor output), but them you lose all the speed.

It might be possible to give programatic access to turn off various stages in the ISP, but no promises.


An open GPU could lead to very interesting projects or learning experiences :(
added on the 2012-05-25 22:53:30 by xernobyl xernobyl
Mkay.. I got my Pi today. And I'd like to try Gasman's ported demo :)
added on the 2012-05-31 13:19:51 by aki aki
F6: Your wish is my command! Unfortunately the process isn't very streamlined right now, as it involves bits of library installation and fiddling with drivers. (There's a definite opportunity for someone who knows their shit regarding Linux and bootloaders and stuff to come up with a proper distribution system for RasPi demos. Self-contained bootable images that can be copied to a FAT partition on the SD card and booted via a GRUB-style menu, perhaps?)

Anyway, starting from the command prompt of a fresh Debian Squeeze installation with internet access, here's what you need to do:

Code: # kick the somewhat dodgy audio driver into working: sudo apt-get install alsa-utils sudo modprobe snd_bcm2835 sudo amixer cset numid=3 1 # (change the 1 to 2 if you're using HDMI audio rather than the audio jack) # install SDL: sudo apt-get install libsdl1.2-dev # download and unpack my build of the demo: wget http://zxdemo.org/extra/raspi/planethively-raspi.tar.gz tar xzf planethively-raspi.tar.gz # launch x11: startx # Run it from the terminal (bottom left menu -> Accessories -> LXTerminal): cd planet_hively ./planethively
added on the 2012-05-31 20:40:16 by gasman gasman
Aha, I think you might just have solved my audio problem. :)
added on the 2012-05-31 21:57:33 by Subi Subi
BTW it may be wise to do sudo apt-get update before anything else
added on the 2012-05-31 23:07:01 by Subi Subi

login