Go to advanced search

by Brian Beuken
Mon Sep 21, 2020 3:33 pm
Forum: Troubleshooting
Topic: Raspberry pi 4 wont boot after setting GPU mem to max
Replies: 16
Views: 548

Re: Raspberry pi 4 wont boot after setting GPU mem to max

Thanks Jamesh,, Well the fix is to stop the config from allowing users to allocate more :D Finally though the answer is 1GB is the most it can use... that gives me something to work within. Also while I understand this to a fair extent, it does not explain why when I try to load more than 200Mb of ...
by Brian Beuken
Mon Sep 21, 2020 11:40 am
Forum: Troubleshooting
Topic: Raspberry pi 4 wont boot after setting GPU mem to max
Replies: 16
Views: 548

Re: Raspberry pi 4 wont boot after setting GPU mem to max

Thanks Jamesh,, Well the fix is to stop the config from allowing users to allocate more :D Finally though the answer is 1GB is the most it can use... that gives me something to work within. Also while I understand this to a fair extent, it does not explain why when I try to load more than 200Mb of m...
by Brian Beuken
Mon Sep 21, 2020 10:56 am
Forum: Troubleshooting
Topic: Raspberry pi 4 wont boot after setting GPU mem to max
Replies: 16
Views: 548

Re: Raspberry pi 4 wont boot after setting GPU mem to max

hmm I don't think thats correct. My understanding is, that when you allocate some memory to the GPU there is some internal processes going on that isolates that amount memory away from the CPU, That also allows the slower clocked GPU to then set up a memory pool of its own which it isolates. I don't...
by Brian Beuken
Mon Sep 21, 2020 10:15 am
Forum: Troubleshooting
Topic: Raspberry pi 4 wont boot after setting GPU mem to max
Replies: 16
Views: 548

Re: Raspberry pi 4 wont boot after setting GPU mem to max

on an 8Gb system though is it really struggling to run in 6Gb if you allocate 2Gb ? I mean it runs fine, in the 2Gb and 4Gb systems... with 512GB allocated. For some of us graphic performance is an issue, and being able to extend the size of the GPU allocation so that larger models, and VBO/VAO's ca...
by Brian Beuken
Thu Jun 18, 2020 8:52 pm
Forum: Graphics programming
Topic: How to Program Graphics in C++ on Rasp Pi
Replies: 30
Views: 2399

Re: How to Program Graphics in C++ on Rasp Pi

yes true.... but GLES2.0 is still a logical stepping stone for a beginner..

Though I am indeed working on an update for 3.x its a lot of fun on the 4B
by Brian Beuken
Thu Jun 18, 2020 2:03 pm
Forum: Graphics programming
Topic: How to Program Graphics in C++ on Rasp Pi
Replies: 30
Views: 2399

Re: How to Program Graphics in C++ on Rasp Pi

ummm get my book.... C++ and Raw OpenGLES2.0

its more fun than you think

http://www.scratchpadgames.net/Book.html
by Brian Beuken
Fri May 29, 2020 11:29 am
Forum: OpenGLES
Topic: Success! - geometry shaders on the PI 4
Replies: 2
Views: 795

Re: Success! - geometry shaders on the PI 4

great to see progress here, thanks for the update. Hope it won't be long before the hoops you're jumping through are removed.
by Brian Beuken
Thu May 28, 2020 12:19 pm
Forum: General discussion
Topic: Should I buy 8Gb Model
Replies: 76
Views: 5127

Re: Should I buy 8Gb Model

Im very excited by the 64bit OS, but really can't see the need for 8GB, I barely stress out a 2GB never mind my 4GB.. I know there are some uses, but its surely a very small user need. Seems to me its solving a problem that does not really exist..yet? But yeah at some point.. I'll bite, gotta keep t...
by Brian Beuken
Fri May 22, 2020 12:01 pm
Forum: OpenGLES
Topic: No SSBO for vertex shaders?
Replies: 3
Views: 913

Re: No SSBO for vertex shaders?

hmm that is unfortunate, I am working on some tutorials for compute shaders and wanted to use the RPi4 for that. Is it likely to be fixed soon, I know driver dev is an ongoing process. Also does anyone know what the status is on OpenGLES3.2? Edit, I have found that this is not just Rpi4 that has thi...
by Brian Beuken
Thu Apr 09, 2020 11:42 pm
Forum: OpenGLES
Topic: Some nice OpenGLES2.0 work
Replies: 0
Views: 367

Some nice OpenGLES2.0 work

I posted in the C++ section as well, but this is kinda relevent to this subforum My students are coming to the end of their 3'rd block in 1st year and have been tasked to produce a 2 part OpenGL "game" where they fly through space to dock with a spacestation and then transition to an interior FPS wa...
by Brian Beuken
Wed Apr 08, 2020 12:55 pm
Forum: C/C++
Topic: Time to demo some of my students work
Replies: 8
Views: 814

Re: Time to demo some of my students work

Nitpicking is most welcome, though at this point they are fairly aware of such things and are focusing on completing the main project content before going back to add some spit and polish.. We (the staff) allow them to run into issues like that so they can identify them and seek help or find solutio...
by Brian Beuken
Sat Apr 04, 2020 1:21 pm
Forum: C/C++
Topic: Time to demo some of my students work
Replies: 8
Views: 814

Re: Time to demo some of my students work

Thanks, they were told to use Elite as an example of space travel, and Quake as an example of the interior, so far they are on track to at least manage the Elite part and some will get both parts done. This is a 1st year Block C (so 6 months in) project, most of my 1st years start out with some basi...
by Brian Beuken
Fri Apr 03, 2020 10:33 am
Forum: C/C++
Topic: Time to demo some of my students work
Replies: 8
Views: 814

Time to demo some of my students work

My students are currently working on a project where they all have to produce a space travelling game, then transtition to an FPS game.. Most are doing really well, they are working mostly with Rpi3's which we keep in our dept, but a few are using Rpi4's and even a couple of Jetsons Nano's. (no acco...
by Brian Beuken
Sun Mar 08, 2020 10:42 pm
Forum: C/C++
Topic: Needing help learning programming in c++
Replies: 8
Views: 815

Re: Needing help learning programming in c++

My university has a small beginners course we encourage students to work with which is PC based. https://www.3dgep.com/cpp-fast-track-1-getting-started/ also I can't recomend this book enough https://www.amazon.co.uk/Beginning-C-Through-Game-Programming/dp/1305109910/ref=pd_bxgy_img_3/257-9896571-52...
by Brian Beuken
Mon Feb 17, 2020 11:45 am
Forum: The MagPi
Topic: Coding book, from beginning to intermediate
Replies: 13
Views: 7160

Re: Coding book, from beginning to intermediate

Try my bookie wookie, its aimed at game progammers and does base most of the methods on usig a PC, but you can also use the methods on a raspberry with code:blocks or other IDE Is based on C++ though, I don't reccomend assembler for beginners, and python isn't the best way to fully get a handle on w...
by Brian Beuken
Fri Jan 24, 2020 3:30 pm
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

AFAIK None of out educational resources cover open gl/gles as it is a pretty advanced topic. Googling the error message is normally the first port of call when debugging these days. Finding the code that logs it gives a pretty good idea of what you're doing wrong. I think they should, while its a f...
by Brian Beuken
Fri Jan 24, 2020 8:19 am
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

ok I'll make a few changes to use the mesa libs and report back, but have to agree with PeterO, its not supposed to be a treasure hunt.
by Brian Beuken
Thu Jan 23, 2020 4:09 pm
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

hmmm no
on a 3B with KMS full drivers trying to set up an X11 system results in this error
* failed to add service - already in use?

thrown when I try to call eglGetDisplay(EGL_DEFAULT_DISPLAY);

wibble wobble....sigh....
by Brian Beuken
Thu Jan 23, 2020 2:31 pm
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

I always use Legacy drivers and OpenGLES2.0 OpenGL is nice but there's a few things emulated that impact on performance, much better in my mind to use the systems the GPU was intended to use. Apologies, I wasn’t clear: I meant that getting GPU accelerated OpenGL or GLES in an X window requires usin...
by Brian Beuken
Thu Jan 23, 2020 1:45 pm
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

I always use Legacy drivers and OpenGLES2.0
OpenGL is nice but there's a few things emulated that impact on performance, much better in my mind to use the systems the GPU was intended to use.
by Brian Beuken
Thu Jan 23, 2020 11:58 am
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

of course, I'm probably totally wrong... I've been wrong about everything else :D
by Brian Beuken
Thu Jan 23, 2020 11:34 am
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

I'm only going on comments I've seen where the compositor has been fingered for causing bottle necks and slow frame rates. Suggestions to turn it off (not sure how) come with warnings about poor performance when repositioning windows with the mouse. The slow down I saw with mesa EGL and GLESv2 was ...
by Brian Beuken
Thu Jan 23, 2020 10:20 am
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

Is it ? I though the "compositor" got in on the act somewhere (but where is the diagram that shows how it all fits together ????) PeterO I'm getting to that...wibble wobble, just kill me, I can't keep track phase..... All I know is that code works 100% on all Rpi's up to the 4 and the X11 code work...
by Brian Beuken
Thu Jan 23, 2020 9:52 am
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 6169

Re: Where's my Triangle??

I've not looked back to my 3B+ since I got a 4B, but it is my understanding that the EGL interface is only available on the 4B and that on earlier models you still have to use DispmanX to get a rendering surface. But I could be wrong :shock: But I've often said that the documentation on the whole g...

Go to advanced search