Go to advanced search

by PeterO
Sun May 11, 2014 1:25 pm
Forum: OpenGLES
Topic: GL ES with FFT: Any Problems ? Works on PI2
Replies: 43
Views: 19456

Re: GL ES with FFT: Any Problems ?

Can you write where was the problem? Sorry I don't know what the problems were other then it was something to do with the mailbox code in the firmware and the cache configuration for the fft. https://pbs.twimg.com/media/BnWyfjZIQAESdYR.png That is a 1024 point FFT being computed and displayed 20 ti...
by PeterO
Sat May 10, 2014 2:32 pm
Forum: OpenGLES
Topic: GL ES with FFT: Any Problems ? Works on PI2
Replies: 43
Views: 19456

Re: GL ES with FFT: Any Problems ?

Just a quick update... Thanks to Andrew and dom this is now working :-) I believe some uber-gpu-foo was used to fix the problems :-)

Now I can get on with my code :-)

PeterO
by PeterO
Sun May 04, 2014 7:33 pm
Forum: OpenGLES
Topic: GL ES with FFT: Any Problems ? Works on PI2
Replies: 43
Views: 19456

Re: GL ES with FFT: Any Problems ?

I'm getting help from Andrew Holme (author of the gpu_fft code) and things are looking promising :-)

PeterO
by PeterO
Sat May 03, 2014 9:54 pm
Forum: OpenGLES
Topic: GL ES with FFT: Any Problems ? Works on PI2
Replies: 43
Views: 19456

Re: GL ES with FFT: Any Problems ?

I guess no one else has tried this because first indications are that it is totally broken :-( Running hello_fft while an openGLES application is running stops the openGLES application dead, and it won't run again until the PI is rebooted. And until the reboot the fft won't work again either ! This ...
by PeterO
Thu May 01, 2014 7:06 pm
Forum: OpenGLES
Topic: GL ES with FFT: Any Problems ? Works on PI2
Replies: 43
Views: 19456

GL ES with FFT: Any Problems ? Works on PI2

Before I go any further with a project I though I would ask if anyone has had any problems using openGLES and the GPU FFT functions in the same application ?

PeterO
by PeterO
Wed Jan 08, 2014 1:45 pm
Forum: Off topic discussion
Topic: Eben on tv this morning
Replies: 8
Views: 1615

Re: Eben on tv this morning

by PeterO
Sun Dec 29, 2013 11:39 am
Forum: C/C++
Topic: Real-time audio out on a loop??
Replies: 3
Views: 1437

Re: Real-time audio out on a loop??

Start with the example alsa code that plays a single tone :
http://www.alsa-project.org/alsa-doc/al ... ample.html
PeterO

PS: You may need to run it as "pasuspender ./pcm"

PeterO
by PeterO
Sun Dec 29, 2013 11:23 am
Forum: OpenGLES
Topic: Fragment shader sometimes not working as expected.
Replies: 11
Views: 5218

Re: Fragment shader sometimes not working as expected.

I've not done any openGLES work for many months, yet I'm still helping people ;) Glad to be of assistance :lol:
PeterO
by PeterO
Wed Sep 04, 2013 9:23 am
Forum: General discussion
Topic: History: The roots of Raspbian
Replies: 0
Views: 324

History: The roots of Raspbian

If you are interested in the history of computing, there is a very interesting set of papers about the early versions of Unix on this web site:
http://www3.alcatel-lucent.com/bstj/vol ... sue06.html
PeterO
by PeterO
Tue Sep 03, 2013 3:47 pm
Forum: Other programming languages
Topic: bash: if file
Replies: 18
Views: 4186

Re: bash: if file

Using "find" can select files and ignore directories even if they have the same name....

find . -type f -name 10-1234* <<< finds files
find . -type d -name 10-1234* <<<< finds directories

But your example suggests that files have .doc or .pdf extensions so there is no name clashes.

PeterO
by PeterO
Tue Sep 03, 2013 9:37 am
Forum: Other programming languages
Topic: bash: if file
Replies: 18
Views: 4186

Re: bash: if file

The "find" command may help. "man find" and look at the -exec option.

PeterO
by PeterO
Mon Aug 26, 2013 5:14 pm
Forum: General discussion
Topic: News articles and blog posts about Raspberry Pi
Replies: 1021
Views: 235246

Re: News articles and blog posts about Raspberry Pi

National Museum of Computing article mentioning Eben's visit to our 1st Anniversary Rasperry Jam
http://www.tnmoc.org/news/notes-museum/ ... ends-tnmoc
PeterO
by PeterO
Mon Aug 26, 2013 3:11 pm
Forum: User groups and events
Topic: Milton Keynes First Aniversary Jam
Replies: 5
Views: 1592

Re: Milton Keynes First Aniversary Jam

We also tied up with BBC 3 counties radio station for their "treasure hunt" programme.
Details here on The National Museum of Computing's web site: http://www.tnmoc.org/news/notes-museum/ ... ends-tnmoc
PeterO
by PeterO
Sun Aug 25, 2013 7:12 pm
Forum: User groups and events
Topic: Milton Keynes First Aniversary Jam
Replies: 5
Views: 1592

Re: Milton Keynes First Aniversary Jam

Thanks to everyone that came today. I hope you al had an enjoyable and enlightening time. Special thanks to Eben for his support (I think I even got the spelling right this time! D'OH!).
Image
Serious work this cake cutting you know :D
PeterO
by PeterO
Wed Aug 21, 2013 3:15 pm
Forum: OpenGLES
Topic: 3D opengl help
Replies: 7
Views: 2996

Re: 3D opengl help

JeffD wrote: Is it a problem of not compiling or you did not see the effect you wanted?
From OP's wording I would guess it is a permissions problem as ISTR everything in /opt/vc is owned by root.

PeterO
by PeterO
Wed Aug 21, 2013 9:20 am
Forum: User groups and events
Topic: Milton Keynes First Aniversary Jam
Replies: 5
Views: 1592

Re: Milton Keynes First Aniversary Jam

Still time to get your tickets :-)

A Special Cake is being baked, and Liz and Ebon are coming to join us :-)

PeterO
by PeterO
Fri Aug 16, 2013 8:49 am
Forum: User groups and events
Topic: Milton Keynes First Aniversary Jam
Replies: 5
Views: 1592

Re: Milton Keynes First Aniversary Jam

Don't miss your chance to meet Liz and Ebon !

Get your free tickets from here:
https://www.eventbrite.com/event/7739538167
by PeterO
Thu Aug 08, 2013 10:44 am
Forum: User groups and events
Topic: Milton Keynes First Aniversary Jam
Replies: 5
Views: 1592

Milton Keynes First Aniversary Jam

On August the 25th we will be celebrating a year of Raspberry Jams at The National Museum of Computing.

We are expecting some very special guests :D , and birthday cake :-)

Get your free tickets from here:
https://www.eventbrite.com/event/7739538167
by PeterO
Wed Aug 07, 2013 10:44 am
Forum: Raspberry Pi OS
Topic: /etc/ld.so.conf.d
Replies: 1
Views: 813

Re: /etc/ld.so.conf.d

Which files are in /etc/ld.so.conf.d will probably depend on what packages you have installed so copying it from someone else's machine may not be a "good idea".

PeterO
by PeterO
Thu Jul 18, 2013 5:42 pm
Forum: C/C++
Topic: OpenGL ES Issue
Replies: 14
Views: 3160

Re: OpenGL ES Issue

Line 49 reads shader = glCreateShader ( type ); More than likely something has failed prior to that. Which is why I stated glGetError should be called after every gl function call. The behaviour (according to the link you posted) is that the first error to occur sets the flag and subsequent errors ...
by PeterO
Thu Jul 18, 2013 12:52 pm
Forum: C/C++
Topic: OpenGL ES Issue
Replies: 14
Views: 3160

Re: OpenGL ES Issue

OtherCrashOverride wrote: You should call glGetError after every gl call except where its invalid to do so (between glBegin and glEnd).
OP is talking about OpenGL ES 2.0, so glBegin..glEnd is not appropriate,
PeterO
by PeterO
Thu Jul 18, 2013 12:50 pm
Forum: C/C++
Topic: OpenGL ES Issue
Replies: 14
Views: 3160

Re: OpenGL ES Issue

That thread didn't really seem to cover the problem, I'm not looking for tutorials as my code runs fine using the Mesa library on ly laptop, the problem is being able to run it on the Pi. I have included the contents of the Common directory (from the GirHub repo) in my project and have included the...
by PeterO
Wed Jul 17, 2013 11:15 am
Forum: C/C++
Topic: OpenGL ES Issue
Replies: 14
Views: 3160

Re: OpenGL ES Issue

There is an openGL ES forum where this has bee n covered before....

http://www.raspberrypi.org/phpBB3/viewt ... 68&t=26452

Have you checked the memory split on your PI ?

PeterO
by PeterO
Tue Jul 09, 2013 8:19 pm
Forum: User groups and events
Topic: 12th Milton Keynes Jam
Replies: 0
Views: 727

12th Milton Keynes Jam

Book your place at :
http://www.eventbrite.com/event/7401262375

We'll be making plans for the anniversary meeting.

PeterO
by PeterO
Mon Jul 01, 2013 12:19 pm
Forum: User groups and events
Topic: Summer Events at The National Museum of Computing
Replies: 0
Views: 823

Summer Events at The National Museum of Computing

"Summer Bytes" is a six-week themed festival of computing fun and games to be held at The National Museum of Computing during the school summer holidays. During the fifth week (21-25 Aug) we will be running a number of Raspberry Pi based workshops, and the week will culminate with our "First Anniver...

Go to advanced search