Go to advanced search

by bloodline
Mon Oct 29, 2012 1:52 pm
Forum: Other
Topic: Forget Windows 8, here's Windows 95!
Replies: 40
Views: 71684

Re: Forget Windows 8, here's Windows 95!

Anything XP-based will be much too slow. It struggles with Windows 95 as it is. Try emulating something more lightweight, like Amiga Workbench: http://dl.dropbox.com/u/51441369/AmigaWorkbenchOnRaspberryPi.png Did you compile E-UAE yourself? I've been thinking about getting FS-UAE working, but it ne...
by bloodline
Wed Oct 03, 2012 1:16 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Many appologies for spamming this topic. But I have managed to figure out where I was going wrong. Once a path has been created, you can cache it and use it over and over again. With little performance penalty. If you want to draw the path at another location, I can't see any translation functions t...
by bloodline
Tue Oct 02, 2012 3:45 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Actually the OpenVG error code I'm getting is 4096... not sure what that means? Why can I not find any documentation for OpenVG?!
by bloodline
Tue Oct 02, 2012 3:07 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

The real fast way to do things is to create paths for the shapes I want to use up front, then use transformations to translate / rotate / scale a path each time I want to draw one of it. Unfortunately this means doing almost everything manually with the OpenVG API instead of having the luxury of aj...
by bloodline
Tue Oct 02, 2012 10:31 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Since the new (2012/09/19) Pi firmware, my Pi seems to be working much better and also runs 950Mhz! So I'm able to get back into some OpenVG stuff again.

Quick question, does the OpenVG lib support vertical blanking sync?
by bloodline
Sat Sep 22, 2012 2:12 pm
Forum: Raspberry Pi OS
Topic: Updating to the 2012-09-18-wheezy-raspbian image
Replies: 228
Views: 214853

Re: Updating to the 2012-09-18-wheezy-raspbian image

The apt-get update and upgrade doesn't seem to give me the CPU temp and freq monitors on my desktop... where can I get them from? Did you run: sudo apt-get update && sudo apt-get install raspberrypi* raspi-config suggested in the first post? Did you then run rasp-config, enable overclock and reboot...
by bloodline
Sat Sep 22, 2012 12:02 pm
Forum: Raspberry Pi OS
Topic: Updating to the 2012-09-18-wheezy-raspbian image
Replies: 228
Views: 214853

Re: Updating to the 2012-09-18-wheezy-raspbian image

The apt-get update and upgrade doesn't seem to give me the CPU temp and freq monitors on my desktop... where can I get them from?
by bloodline
Sat Sep 22, 2012 11:52 am
Forum: Raspberry Pi OS
Topic: Updating to the 2012-09-18-wheezy-raspbian image
Replies: 228
Views: 214853

Re: Updating to the 2012-09-18-wheezy-raspbian image

If I select Turbo mode in the raspi-config, even though it overvolts the core... I won't invalidate my warranty? Is this correct? Yes. Excellent! Seems my board won't cope with Turbo mode, it crashes after a few seconds of heavy CPU load... High (950Mhz) seems to be working so far... my Board is qu...
by bloodline
Sat Sep 22, 2012 10:42 am
Forum: Raspberry Pi OS
Topic: Updating to the 2012-09-18-wheezy-raspbian image
Replies: 228
Views: 214853

Re: Updating to the 2012-09-18-wheezy-raspbian image

If I select Turbo mode in the raspi-config, even though it overvolts the core... I won't invalidate my warranty? Is this correct?
by bloodline
Mon Sep 10, 2012 9:43 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

I want to second, that! Many thanks again to Anthony for his work on this...

Unfortunately, my pi seems to fail during the POST when using the 32Meg Gfx start.elf it could just be me doing something wrong and I haven't had time to figure it out yet.
by bloodline
Sat Sep 01, 2012 8:58 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Hmmm, omxplayer is also failing, though more silently... Something is wrong with the openVG drivers :-/
by bloodline
Sat Sep 01, 2012 8:49 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Just updated to latest kernel and now I'm getting another error...

oglinit.c:79: oglinit: Assertion `state->surface != ((EGLSurface)0)' failed.
Aborted

Lol, this is getting a bit frustrating... but I guess the Pi OS is still work in progress :)
by bloodline
Tue Aug 28, 2012 10:18 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

pwinwood wrote:I had this too. I had recently updated to the latest build (Friday Aug 24). I found that the executable bit for the .so files in /opt/vc/lib was not set. To fix this

cd /opt/vc/lib
sudo chmod +x *.so
sudo ldconfig

and all was well again.

Good advice! Cheers.
by bloodline
Mon Aug 27, 2012 10:50 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Yeah, the process went through fine, no errors.

All the files on the boot partition look good (all updated to today's date).

Would you be kind enough to zip up your kernel.img and start.elf... I'll copy them over and see if that boots :) cheers
by bloodline
Mon Aug 27, 2012 10:36 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Oops... rpi-update killed my pi...

Nothing but a flashing "OK" led :-(

I'll have to see what's wrong with the latest firmware...
by bloodline
Mon Aug 27, 2012 10:13 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Nice One!

I haven't updated my firmware separately from the main distribution for ages!

Cheers
by bloodline
Mon Aug 27, 2012 9:52 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Hi ajs, I did a fresh checkout of your latest code, ran make and then ./shapdemo... but something must be wrong with the linking as the program errors with : ./shapedemo: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory I don't really unde...
by bloodline
Thu Aug 02, 2012 9:54 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Ah, yes Anthony fixed the missing variables in the code I pasted! quitState is not required by the code and can be safely removed (it was part of my test app). Also, I have added keyboard events to my code, so next code update will do more than just mouse events... Also looking into adding the abili...
by bloodline
Wed Aug 01, 2012 6:10 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

I don't want to mess with Anthony's GIT repository, so I will let Anthony test and merge the code if he likes it. Here is the mouse code: There are three parts you need, the includes (put these just after the existing includes): #include <linux/input.h> #include <fcntl.h> #include <pthread.h> under ...
by bloodline
Wed Aug 01, 2012 12:40 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

I will clean up my code and post a patch for mouse input :)

I'm currently reading up on how to replace my current code with an interrupt based version ;)
by bloodline
Tue Jul 31, 2012 7:45 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

I couldn't get openVG and SDL to play nicely, so I have added some code to get mouse events from the normal /dev kernel interface. Which works, and with ajstarks' openVG functions, gives us the beginnings of a 2D graphics framework... but the read() function is rather slow... I will post the code if...
by bloodline
Sun Jul 29, 2012 10:54 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

I'm having a go at getting this working with SDL... and though I would point out to anyone having a go, that the y axis is inverted from normal (0,0 is bottom left, rather than top left)... took me by surprise, even though I write iPhone apps, hahaha ;-)
by bloodline
Sun Jul 29, 2012 9:59 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 71528

Re: Example program to draw random shapes using the C compil

Excellent code! I've been struggling to figure out OpenVG for a few weeks now! So thank you for this! I was wondering if you could show how to integrate this with SDL, so we can get some Events (and gfx blitting)... Or maybe there is a better (interrupt based, as I hate SDL's event polling architect...
by bloodline
Fri Jul 27, 2012 9:12 am
Forum: Troubleshooting
Topic: 8000 interrupts per second when idle!
Replies: 141
Views: 61681

Re: 8000 interrupts per second when idle!

Great work by gordon here! When are we likely to see this patch in the main kernel image?
by bloodline
Sun Jun 17, 2012 11:36 am
Forum: Debian
Topic: Mounting USB hard drive - unknown filesystem type 'hfsplus'
Replies: 16
Views: 37905

Re: Mounting USB hard drive - unknown filesystem type 'hfspl

Given the number of Mac users who have Raspberry Pis... It should be standard to have hfsplus support compiled in ;)

Go to advanced search