Go to advanced search

by johannesl
Thu Jun 27, 2019 10:59 pm
Forum: OpenGLES
Topic: OpenGL on Buster on both Pi 3 and Pi 4
Replies: 72
Views: 39402

OpenGL on Buster on both Pi 3 and Pi 4

My Raspberry Pi 4 just arrived and I got to try out the new Raspbian Buster both on the Pi 4 and the Pi 3. Good news: the usual OpenGLES things found in /opt/vc/src still works great out-of-the-box with Raspbian Buster on the Pi 3 (thus probably all earlier devices as well). This means you are not f...
by johannesl
Sat May 04, 2019 6:49 am
Forum: OpenGLES
Topic: starting openGLES app at startup
Replies: 2
Views: 3102

Re: starting openGLES app at startup

Have you tried something like this in your rc.local?

Code: Select all

cd /home/pi
./NetAv
by johannesl
Sat May 04, 2019 6:46 am
Forum: OpenGLES
Topic: linking errors with eglGetProcAddress
Replies: 2
Views: 1911

Re: linking errors with eglGetProcAddress

Thanks for sharing!

I can also recommend anyone building stuff that should work outside X11 to link directly with -lbrcmEGL and -lbrcmGLESv2 instead of plain libEGL and libGLESv2. This is also needed when getting older stuff such as ioquake3 to work in the newer Rasbian releases.
by johannesl
Mon Jun 25, 2018 1:11 pm
Forum: Graphics programming
Topic: Vulkan, OpenGL or OpenGLES
Replies: 9
Views: 5710

Re: Vulkan, OpenGL or OpenGLES

Hi Gavin! You should definitely go for OpenGL ES. The first place to start is looking at /opt/vc/src on your Raspbian installation and compile those examples. It will give you a lot of pointers and ideas about what to do next. Don't hesitate to write me a message here on the forums or via email to j...
by johannesl
Sun Apr 30, 2017 7:02 pm
Forum: Gaming
Topic: DOSBOX with GLES2 + tv shader + dynamic recompiler
Replies: 10
Views: 5285

Re: DOSBOX with GLES2 + tv shader + dynamic recompiler

Fully understandable that you don't have the motivation to keep improving this after two years. :arrow:

Would be great if you could upload ready-to-use SDL2-patches if you have them.
by johannesl
Sun Apr 19, 2015 9:42 pm
Forum: Raspberry Pi OS
Topic: Non X11 window manager?
Replies: 19
Views: 5016

Re: Non X11 window manager?

Hi w4mmp,
Wayland plus Maynard doesn't seem to be fast enough either, but maybe some day we will see a desktop on Raspberry Pi really optimized for the Raspberry Pi.

Here's a hint of the performance you could get from a highly optimized rendering solution:
https://www.youtube.com/watch?v=vgoi1n-x6ms
by johannesl
Mon Feb 09, 2015 5:46 am
Forum: Graphics programming
Topic: Quake 1 Port, Optimization Questions
Replies: 35
Views: 29262

Re: Quake 1 Port, Optimization Questions

For sure there is a lot of people who would like to run Quake on their Raspberry Pi. Let's hope more people like you turn up now here in the forum, and that some have the skills to help. My Raspberry Pi 2 just arrived so I will give an update later this week on performance. ( I also earlier tried to...
by johannesl
Thu Oct 23, 2014 1:59 pm
Forum: General programming discussion
Topic: Fast editor for the Linux console
Replies: 1
Views: 1121

Fast editor for the Linux console

If you've experienced that GNU nano or the-editor-of-your choice is too slow on the Raspberry Pi, you should have a look at "Joe's own editor". Easy to install with: apt-get install joe It support syntax highlighting and keyboard bindings compatible with different editors, so run jpico for...
by johannesl
Thu Oct 23, 2014 9:38 am
Forum: C/C++
Topic: TCC is awesome for C development
Replies: 1
Views: 1196

TCC is awesome for C development

Hi everyone, I just wanted to say Fabrice Bellards TCC is awesome when you are programming in C directly on your Raspberry Pi. It's a Tiny C Compiler that is way faster than GNU gcc, which is good when you're iterating over your code and compile over and over again. Read more over at http://bellard....
by johannesl
Thu Oct 23, 2014 8:26 am
Forum: OpenGLES
Topic: Capture Rendered Pixels to memory
Replies: 2
Views: 3748

Re: Capture Rendered Pixels to memory

Hi Diego!
Did you get this working?
by johannesl
Tue Oct 21, 2014 9:01 pm
Forum: Graphics programming
Topic: looking for the fastest rendering of 2d
Replies: 4
Views: 5279

Re: looking for the fastest rendering of 2d

Basically there are two ways to do fast 2D graphics on the Raspberry PI. A) Using the Linux framebuffer from /dev/fb0 and just writing frame by frame like writing to a file. If you set your device to low resolution this can be an OK approach if you really want to render pixel per pixel (so called li...
by johannesl
Wed Oct 15, 2014 9:39 pm
Forum: Graphics programming
Topic: Quake 1 Port, Optimization Questions
Replies: 35
Views: 29262

Re: Quake 1 Port, Optimization Questions

josedavid wrote:/usr/bin/ld: /opt/vc/lib/libkhrn_static.a(khrn_client_platform_linux.c.o): undefined reference to symbol 'pthread_getspecific@@GLIBC_2.4'
There's a build fix up for this now at https://github.com/welford/qurp if you look at the open pull requests.
by johannesl
Tue Jun 04, 2013 7:02 pm
Forum: Graphics programming
Topic: Quake 1 Port, Optimization Questions
Replies: 35
Views: 29262

Re: Quake 1 Port, Optimization Questions

Anyone who want to see Quake 1 in action on a Raspberry Pi can check out:
http://www.youtube.com/watch?v=em-BNECY_8w
by johannesl
Tue Jun 04, 2013 9:18 am
Forum: Gaming
Topic: Quake 1 - how to run it?
Replies: 6
Views: 2869

Re: Quake 1 - how to run it?

There is an effort going on in this thread to port Quake 1 and welford have already done some astonishing work: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=44447 Not ready for regular users as of 2013-06-04, but any developer is welcome to help! Maybe this is might be the time for you...
by johannesl
Mon Jun 03, 2013 9:35 pm
Forum: Graphics programming
Topic: Quake 1 Port, Optimization Questions
Replies: 35
Views: 29262

Re: Quake 1 Port, Optimization Questions

Great work getting this far welford! Thanks for putting it up. I did some small changes in a forked repo and tested making a pull request to see if we can get this git flow going. Regarding performance, current version in 320x200 here runs at 34 FPS and 1920x1200 at 11 FPS.. That's "timedemo de...
by johannesl
Thu May 23, 2013 9:05 pm
Forum: Graphics programming
Topic: Quake 1 Port, Optimization Questions
Replies: 35
Views: 29262

Re: Quake 1 Port, Optimization Questions

Some of my earlier OpenGL ES tests have indicated that the GPU might be very fill rate limited. Using a single glDrawArrays call with a single texture, increasing triangle sizes really slows the frame down. Even to the point of 5-10 FPS with less than 100 triangles. This was on 1920x1200 though. Let...
by johannesl
Thu May 23, 2013 8:46 pm
Forum: Graphics programming
Topic: Quake 1 Port, Optimization Questions
Replies: 35
Views: 29262

Re: Quake 1 Port, Optimization Questions

Hi welford.
It would be great to get Quake World running properly on the Raspberry Pi.
I do some hobby game development and might be able to help you.
Do you have the code for your port available somewhere?

Go to advanced search