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
-1
votes
0answers
11 views

GL Driver: Driver and kernel not present on your system. please update

running into a error, im trying to enable OpenGL by going into raspi-config > advanced opentiosn > GL driver > GL (Fake KMS) soon as i open gl driver tab i get a message saying "Driver ...
0
votes
1answer
25 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 ...
0
votes
1answer
50 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 ...
1
vote
1answer
44 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 ...
0
votes
0answers
20 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 ...
1
vote
0answers
22 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, ...
0
votes
1answer
367 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?
0
votes
0answers
295 views

How to get OpenGL ES 3.1 working on RPi 4?

I am trying to run OpenGL ES 3.0 code on RPi4 but the app crashes as soon as the first 3.00 call (glVertexAttribDivisor) is made. When listing my libraries it seems I only have libgles2, nothing like ...
0
votes
0answers
88 views

GPU disabled when X server is started as normal user

I'm using Raspbian OS Desktop version (in console mode for testing purposes) on a PI4 4GB with OpenGL enabled (vc4-fkms-v3d chosen). I'm using startx in order to launch a chromium-browser through an ...
1
vote
0answers
379 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 ...
1
vote
0answers
48 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: ...
0
votes
2answers
86 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 ...
3
votes
2answers
1k 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?
1
vote
1answer
962 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 /...
2
votes
0answers
355 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 ...
1
vote
1answer
121 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 ...
2
votes
1answer
348 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 ...
0
votes
0answers
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 ...
1
vote
2answers
239 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 ...
2
votes
0answers
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-...
1
vote
1answer
246 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 ...
0
votes
0answers
201 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 ...
1
vote
0answers
148 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 ...
0
votes
0answers
60 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? ...
0
votes
1answer
841 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 ...
0
votes
0answers
610 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 ...
1
vote
1answer
2k 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, ...
0
votes
1answer
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 ...
1
vote
0answers
25 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 ...
1
vote
0answers
129 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 ...
0
votes
2answers
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 ...
1
vote
1answer
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 ...
0
votes
1answer
937 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 ...
4
votes
1answer
403 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 ...
2
votes
1answer
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/...
4
votes
1answer
11k 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 ...
0
votes
1answer
167 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 ...
4
votes
1answer
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 ...
0
votes
1answer
3k 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 ...
1
vote
0answers
675 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 ...
1
vote
0answers
196 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 ...
1
vote
1answer
788 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 ...
2
votes
2answers
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 ...
3
votes
1answer
913 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 ...
2
votes
1answer
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-...
5
votes
2answers
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: ...
4
votes
1answer
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 ...
1
vote
1answer
957 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" ...
1
vote
0answers
546 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 (...
1
vote
1answer
717 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 ...