Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
0answers
14 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
22 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 ...
5
votes
2answers
1k 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: ...
0
votes
1answer
84 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
31 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
30 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
1answer
732 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 ...
0
votes
0answers
27 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
85 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 ...
3
votes
1answer
163 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 ...
1
vote
1answer
506 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
0answers
107 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 ...
0
votes
2answers
519 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 ...
2
votes
2answers
2k 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 ...
0
votes
0answers
126 views

Redshift on Raspbian Stretch

I'm trying to use Redshift on my Raspberry Pi, but running redshift -O 2500 gives the error Gamma ramp size too small: 0 Failed to start adjustment method randr. Trying next method... Using method `...
1
vote
1answer
1k 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
3k 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
584 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 ...
4
votes
1answer
769 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 ...
1
vote
0answers
16 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
82 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
1answer
343 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 ...
1
vote
2answers
2k views

Can WebKit render to framebuffer via OpenGL ES, EGL or some other backend?

Is there any WebKit backend that can be used with Raspi for rendering with hardware acceleration? Is it possible to use Cairo backend with OpenGL ES or something similar? I'm not very informed in ...
1
vote
1answer
2k 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 ...
3
votes
2answers
1k views

Running the PC version of Minecraft on a Pi

In my never ending quest to try and get a Raspberry Pi to run the full PC version of Minecraft, I think I came across something that could help. I nearly have the program booting up on its own. I'm ...
1
vote
1answer
2k views

ArchLinux Qt eglfs

here is what I did. I updated everything to latest, than I installed Qt5 and some related packages: pacman -S gcc make qt5-base qt5-declarative qt5-imageformats qt5-multimedia qt5-quickcontrols qt5-...
2
votes
2answers
9k views

How to use OpenGL (ES) through Python

I recently got my Pi and thought to give OpenGL another try. So I searched around for OpenGL Python modules as this would be my first choice as language. Although I'm aware that there are differences ...
0
votes
0answers
1k views

Xlib: extension “RANDR” missing on display “:1.0”

I am using opencv to do color identification. It can be successfully run when I connect the Pi to a display. But when I use a VNC to connect to the Pi and run that program it hinted: Xlib: ...
2
votes
1answer
3k 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-...
1
vote
0answers
496 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
134 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
590 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 ...
4
votes
1answer
775 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 ...
1
vote
0answers
433 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 (...
2
votes
1answer
1k 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 ...
1
vote
1answer
768 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" ...
5
votes
1answer
3k views

Why won't SDL 2.0 give me an OpenGL ES 2.0 window?

I have a small SDL 2.0 program (detailed below) that refuses to give me a window, complaining about not being able to initialize its OpenGL ES library. Program: #include "bcm_host.h" #include <...
1
vote
1answer
672 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 ...
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
2answers
1k views

Is hardware deinterlace possible?

Is there any idea how deinterlace would be applied using openmax components rendering into opengl? EDIT: I'm still waiting my raspberry pi to arrive, so I couldn't test anything yet. I've seen that ...
4
votes
1answer
3k views

How to use OpenGL via SDL2?

I am looking for a "Hello World" type example that makes use of OpenGL-ES2 via SDL2. So far I could gather: SDL2 that ships with Raspbian does not support OpenGL-ES2 out of the box SDL-2.0.3 manually ...
2
votes
0answers
107 views

Too many texture accesses [closed]

Opengl ES 2.0, GLSL version 100. I am using window (playing with 3x3 or 5x5, ...) in fragment shader, and was wondering what is the max number of texture accesses allowed? Because when about ~ 50 ...
3
votes
3answers
3k views

Transition between two images on Raspberry Pi using Hardware Acceleration

Disclaimer: Newb to Pi with a JavaScript programing background. I've been at it for two weeks now (researching and trying different things) to create an image slideshow on the Pi but using hardware ...
4
votes
1answer
918 views

OpenGL GLX error when using libfreenect with Kinect

I am trying to set up libfreenect to work with the Pi, to be able to capture images from the Kinect. There are a lot of discussions all around the web on this topic, but as far as I can tell no-one ...
2
votes
1answer
1k views

How does developing an OpenGL ES application for the Raspberry Pi differ from desktop Linux?

I am beginning to learn OpenGL ES 2.0 through both the excellent book OpenGL ES 2.0 Programming Guide and the famous Arc Synthesis OpenGL tutorial. However, I have heard that the Raspberry Pi's ...
3
votes
4answers
3k views

GPGPU simple example

I am programming ARM assembly on raspberry and I am wondering whether and how it is possible to access GPU. I already looked userland repo, but I completely do not understand the stucture. I would ...