Questions tagged [opengles]

OpenGL ES is a cross-platform API for 2D and 3D graphics on embedded systems. It has different subset profiles of desktop OpenGL for fixed function hardware and programmable hardware.

Filter by
Sorted by
Tagged with
0 votes
0 answers
189 views

Redshift on Raspberry Pi 4

Is there any way to use Redshift on Raspberry Pi 4? I used redshift -P -O 3700 -g 0.7 -b 0.7 and it only works from time to time. Some times after restarting it doesnt filter the blue light anymore. ...
user avatar
0 votes
0 answers
185 views

OpenGL experimental missing

I'm using Raspberry Pi 4 and the OpenGL experimental is missing from raspi-config I tried sudo rpi-update sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install raspi-gpio sudo apt-get ...
user avatar
0 votes
1 answer
103 views

How to increase the frame rate in Stellarium

I have a freshly installed Raspberry Pi OS on my Raspberry Pi 3 Model B. According to cat /proc/device-tree/model, the OS name is "Raspbian GNU/Linux 10 (buster)". I have installed ...
user avatar
  • 269
0 votes
1 answer
477 views

Raspberry pi screen rotation with OpenGL

As titled, in raspianLite, if I enable OpenGL (fake KMS) I'm unable to rotate the screen using the /boot/config.txt file i tried: display_hdmi_rotate=1 and display_rotate=1 with no success, any ...
user avatar
1 vote
1 answer
79 views

Headless Rpi 4 reboots when changing resolution

I hope someone can help me, I've bought my first Rpi a few months ago and I haven't been able to use it at all because of this issue. Specs: Raspberry Pi 4 - 4GB OS: Raspberry Pi OS with desktop Fully ...
user avatar
0 votes
0 answers
30 views

Runtime SDL error after building Urho3D game engine for Pi 4

I'm trying to build Urho3D for the pi4. I was able to install the decencies and complete a build, but when running the sample apps I get the following: [Tue Jun 8 22:01:09 2021] ERROR: Could not ...
user avatar
1 vote
0 answers
27 views

Fast way to copy from GPU to CPU

I have made some image processing shaders to reduce the CPU load. But the slow GPU to CPU data copy is something I didn't expect. (It takes around a second to copy a single image) As far as I know, ...
user avatar
0 votes
1 answer
869 views

I would like to install blender on my raspberry pi4 [closed]

I am trying to install blender 2.79 from the software packages on my new raspberry pi4. It won’t do it. How do I install and run blender?
user avatar
1 vote
0 answers
494 views

Chromium Embedded and GLESv2

I'm trying to use an app compiled with Chromium Embedded Framework (using the pre-built ARM binaries hosted by Spotify; I don't want to rebuild it myself). I'm having trouble getting hardware ...
user avatar
  • 211
1 vote
0 answers
60 views

glGenerateMipmap crashes on Raspberry Pi 3

I'm testing a C++ program made with GLFW and it crashes with a segmentation fault on Pi 3 but not on Pi 4. The reason of the crash is the call to glGenerateMipmap(GL_TEXTURE_2D). Systems tested: ...
user avatar
0 votes
2 answers
100 views

Capable of building Mesa 20.1 but unable to install

I have successfully built Mesa 20.1 on Raspberry Pi OS 64bit, using burtoogle's patch (https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=276207#p1681901) I followed the instructions from ...
user avatar
3 votes
2 answers
2k views

Raspberry Pi 4 GPU math

So there is support for Open GL ES 3.1, but how can I use it on the Raspberry Pi 4? Is there any other way to use the GPU for calculations such as fft and logarithm?
user avatar
1 vote
1 answer
1k views

libGL error: failed to load driver: vc4

I'm cross compiling an OpenGL application that I am then trying to run on an rpi4 with Ubuntu 20.04, but I am getting the following error: libGL error: MESA-LOADER: failed to open vc4 (search paths /...
user avatar
2 votes
0 answers
455 views

Proper GL Driver configuration on RPi 4

Can someone confirm what I should do on a raspberry pi 4 to access the new DRM based opengl drivers? I expected to see a new option in raspi-config for it, but instead I only see the legacy and fake ...
user avatar
  • 121
1 vote
1 answer
165 views

OpenGL 2 slowness

The Raspberry Pi 3b+ runs my OpenGL 2.1 program very slowly, with a frame rate of around 2 fps. How is this possible, when Python/Pyglet can render (using OpenGL, I suppose) much faster than this? And ...
user avatar
  • 669
2 votes
1 answer
390 views

Getting OpenGL ES Framebuffer back to CPU Memory

I've started learning how to use OpenGL ES, and am trying to do some general purpose computing using the Pi's GPU. I've got it mostly working, but I'm hung up on the last step: getting a framebuffer ...
user avatar
0 votes
0 answers
1k views

How to play 720p/1080p videos on Raspberry Pi 3 A+

I bought a Raspberry Pi 3 A+ hoping, among other things, to play HD videos. I have flashed Raspbian Buster on a 64GB microSD card, extended the FS, and, generally, the Pi seems to work fine with light ...
user avatar
  • 113
1 vote
2 answers
256 views

Can't OpenGL render points and lines on RPi4 (specifically)

How to get OpenGL.glDrawElements(GL_POINTS, ..) (or GL_LINE_LOOP, GL_LINE_STRIP, GL_LINES) to work with the latest Raspberry Pi? I maintain the pi3d module and, though it works on windows, linux and ...
user avatar
  • 325
2 votes
0 answers
1k views

Latest Qt5 does not provide EGLFS during cross-compilation

Some time ago I set up a Linux host to cross-compile Qt5. I used this configure command: ./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/opt/tools/arm-...
user avatar
  • 479
1 vote
1 answer
263 views

Qt Userland raspistill/racpicam integration - Unable to find an X11 visual which matches EGL config

I am developing simple gui app for a client on Raspberry pi running Ubuntu(Mate) 16.04 using Qt 5.5.1 and OpenCV for some face recognition (all C++) using 5MP pi camera. The framerate/CPU usage ...
user avatar
  • 223
0 votes
0 answers
226 views

Pi 3 Model B+ can't boot after changing vRAM

I just got the device (Pi 3 Model B+) and am a total beginner. I'm using NOOB/Raspbian. Every time I try to change the video ram (either through the GUI or the config.txt) the device is unable to ...
user avatar
1 vote
0 answers
154 views

Slideshow program to use with Raspbian and OpenGL?

I have a Pi 3 Model B+ which I wanted to use as a device to show a slideshow for images on a screen. I'm using Raspbian and was happy with FEH, but since another program ("redshift", a blue light ...
user avatar
0 votes
0 answers
65 views

Which video driver is faster, more stable? Which api makes it easier to write efficient code? Which one should I use on Raspberry 1 B+?

OpenSource Full KMS VC4 + Opengl 2.0 + openbox/some lighter than openbox window manager/lack of thereof + x.org Broadcom VC4 + Opengles 2.0 + native(no x.org) Can I use GLFW library with both? ...
user avatar
0 votes
1 answer
916 views

Omxplayer doesn't play videos when OpenGL enabled

Today I setup my new RPI3 B+ with raspbian stretch as a desktop (OpenGL enabled 128 mem split). I use RPIs for some time as servers but not as desktop. I tried to play video (with avc codec) with ...
user avatar
0 votes
0 answers
661 views

VC4 — GL setup not working

I am trying to run chromium as weston-client using ArchArm on a RPI 3+ b, but I am unable to make it use GL. Setup: Basic »AArch64« installation as described here Package Installation: wayland ...
user avatar
  • 183
1 vote
1 answer
3k views

(Error trying to run qjackctl) libEGL warning: DRI2: failed to authenticate qt5ct: using qt5ct plugin

Running Raspbian installed with NOOBS. qjackctl is installed with all its dependencies using Synaptic. Just trying to run Guitarix on my Pi3 B+. I tried following the instructions in this solution, ...
user avatar
  • 11
0 votes
1 answer
2k views

Confusion regarding getting started with OpenGL ES 2 on Raspberry Pi 3 B+

I am developing a 3D application for RPi 3 B+ using OpenGL ES. As I know there are plenty of tutorials and books but they are mostly for either OpenGL-ES 3.0, Android or iOS. I far as I know RPi 3 ...
user avatar
  • 144
1 vote
0 answers
29 views

Why do fbedev OGLES Draw Calls takes 30+us each?

When operating with the framebuffer OpenGL Drivers on my HTC Vive, performance is incredibly good on my Raspberry Pi 3B+ EXCEPT that every single draw call takes anywhere from 30-50us, regardless of ...
user avatar
1 vote
0 answers
142 views

Raspberry Pi processing power [closed]

I've never worked with Raspberry Pi's, but I want to make some cute interactive shaders to put around the house and I was wondering if I could use a Raspberry Pi. I just wanted to know what one is ...
user avatar
0 votes
2 answers
2k views

glxgears do not work on my brand new Raspberry Pi 3, is that expected?

I got a Raspberry Pi 3 yesterday and installed it with the default Raspbian OS (a.k.a. Debian) and tested the glxgears program to see how good (or bad) the OpenGL/3D support was. For some reasons, I ...
user avatar
1 vote
1 answer
5k views

Where is -lEGL -lGLESv2

I'm trying to install an OpenVG library, but when I start to make it I get the error. ... gcc -L/opt/vc/lib -lEGL -lGLESv2 -ljpeg -shared -o libshapes.so oglinit.o libshapes.o /usr/bin/ld: cannot ...
user avatar
0 votes
1 answer
1k views

Slow pixel drawing with SDL2 & experimental OpenGL driver

The code bellow just polling mouse events and draw lines between the previous and last mouse coordinates in case of left mouse button pressed down, nothing special and its using only fast integer ...
user avatar
4 votes
1 answer
434 views

GTK Warnings and libGL errors when using x11-Forwarding on SSH

I'm having issues when working on my RaspberryPi via SSH on MobaXterm that I can't resolve by myself. Appearantly there are some driver issues when using SSH and running programs that require the ...
user avatar
  • 153
2 votes
1 answer
9k views

Fixing "failed to add service - already in use?" error programmatically

This is related to an earlier question "eglGetDisplay() fails on RaspBerry 3". On Raspbian Stretch with the full OpenGL driver, running hello_triangle or other GLES examples under /opt/vc/src/hello_pi/...
user avatar
  • 2,804
4 votes
1 answer
12k views

Running Modern Opengl on raspberry pi

Is there any way to "enable" modern OpenGL on the Raspberry Pi (specifically the Raspberry Pi3)? I would like to use C++ instead of Python, since I'm a lot more familiar with it. I know there is a ...
user avatar
0 votes
1 answer
175 views

bcm_host_init() fails after using execl

I have a EGL app. After downloading a executable update, I close the app and execute a execl. The new instance crashes when calling bcm_host_init(); I checked, and the call to bcm_host_deinit(); is ...
user avatar
4 votes
1 answer
2k views

eglGetDisplay failed to add service on the raspberry pi 3

I tried to follow this tutorial. But when I execute it I have this error : > * failed to add service - already in use ? The memory split is equal to 192Mb and the Pi is connected by HDMI to a ...
user avatar
  • 41
0 votes
1 answer
4k views

Display goes out of Range

We have a Raspberry Pi 2 running Rasbian Jessie with the OpenGL driver. It is connected to a HDMI to DisplayPort Adaptor and an odd size touch screen display (1280x800). We are running lightdm and ...
user avatar
  • 101
1 vote
0 answers
688 views

With the new openGL driver, can I make a resolution change permanent?

I am using the new openGL driver to run a WebGL app. It runs a lot smoother if I change resolution to 720p, which I can do with xrandr -s 1280x720 This works perfect, but resets after reboot. I ...
user avatar
  • 31
1 vote
0 answers
201 views

Opengl use of stencil critically drops fps

I'm developing an all purpose graphic engine for the raspberry Pi and recently I added stencil testing to clip some excess polygons. While the engine normally runs 18216 faces at 60fps, when I set ...
user avatar
1 vote
1 answer
801 views

WebGL via remote desktop in latest Jessie on Raspberry Pi 3 [duplicate]

Hello Raspberry Pi enthusiasts! I have a problem, I can't seem to get a webgl context running on a chromium browser instance using latest Jessie on a Raspberry pi 3. I have enabled experimental GL ...
user avatar
2 votes
2 answers
4k views

Fatal Error: GLES2/gl2.h: No such file or directory

I'm trying to install Urho3D on RPi 3. (GPU = 768 MB) I installed all the essential dependencies. All the steps went fine. Until this error which occurred during the final make step: [ 56%] Building ...
user avatar
  • 652
3 votes
1 answer
921 views

Minimal Kiosk GUI on PI

I'm trying to work out how to build a minimal OpenGL application on Raspian. Once complete, I don't require command line or Window Manager access (outwith the Application itself) however will require ...
user avatar
  • 131
2 votes
1 answer
5k views

Editing the settings that are available through raspi-config without using raspi-config

I have a Pi 2 and decided to check the new experimental OpenGL driver available in the latest version of Raspbian Jessie. Alas! the thing is really buggy. After enabling it my Pi, (through raspi-...
user avatar
5 votes
2 answers
3k views

How to display graphical text without X using C?

Using the Raspberry Pi 2 with the official 7" touchscreen, I want to display some high quality text without using an Xorg server. I'm looking for APIs that provide simple functions such as: ...
user avatar
  • 51
4 votes
1 answer
2k views

SDL2 performance

Is it possible to use SDL2 with 2D hardware accelerated rendering on Raspberry Pi? If 2D hardware accelerated rendering is possible on the device, how do you check to see that your application is ...
user avatar
  • 71
1 vote
1 answer
966 views

mini display with OpenGL support to run Qt gui applications

I am developing a Qt gui application to run on my RPi2 board. I followed the instructions at RaspberryPI BeginnersGuide to crosscompile Qt. The requirement is to run the application on a mini (2.8" ...
user avatar
1 vote
0 answers
567 views

How can I use MonoGame/OpenTK with good performance?

I'm making a system UI in C# OpenTK. Everything compiles correctly and it runs on the Raspberry Pi, but the performance is unbearable.I get less than one frame per second. I'm on a raspberry pi 2 (...
user avatar
1 vote
1 answer
723 views

QML based programm on TFT

I wrote a program with QT so I could run it on my Raspberry. It's based on QML only. I made a native build of Qt 5.5 on the Raspberry, and I can qmake / make my programs. Now I have an issue : I can't ...
user avatar
3 votes
1 answer
2k views

EGL and OpenGL ES forwarding via SSH

I've tried to access my Raspberry Pi(running Raspbian) using SSH with -X flag. On my host machine(Ubuntu 14.04 x64), I can run graphic programs like browser, however, when I want to execute the sample ...
user avatar
  • 133