Go to advanced search

by cbratschi
Mon Jul 22, 2019 9:37 am
Forum: OpenGLES
Topic: Full screen OpenGL ES on Pi 4
Replies: 42
Views: 14791

Re: Full screen OpenGL ES on Pi 4

@cbratschi Can you check if you code is creating OpenGL context that actually is using vc4/v3d GPU driver and is not using llvmpipe software rasterizer in mesa? You can check this by printing glGetString(GL_RENDERER) after creating EGL context. When mesa uses real VideoCore GPU it will should have ...
by cbratschi
Wed Jul 17, 2019 9:38 am
Forum: OpenGLES
Topic: Full screen OpenGL ES on Pi 4
Replies: 42
Views: 14791

Re: Full screen OpenGL ES on Pi 4

//#include <GL/gl.h> #include "GLES2/gl2.h" Maybe you had to install these libraries/headers. I tried to compile the code using another SD card with older Buster (I replaced it with bigger/faster one) and the compiler didn't found gbm.h. It means I had to install it later and I don't remember when ...
by cbratschi
Mon Jul 15, 2019 12:19 pm
Forum: OpenGLES
Topic: Full screen OpenGL ES on Pi 4
Replies: 42
Views: 14791

Re: Full screen OpenGL ES on Pi 4

And getting the same error:

* failed to add service - already in use?

Any ideas what could cause this?
by cbratschi
Mon Jul 15, 2019 12:19 pm
Forum: OpenGLES
Topic: Full screen OpenGL ES on Pi 4
Replies: 42
Views: 14791

Re: Full screen OpenGL ES on Pi 4

Save the code as drm-gbm-mod.c Then gcc -o drm-gbm drm-gbm-mod.c -ldrm -lgbm -lEGL -lGL -I/usr/include/libdrm (the comment at the first line of the code) Yes, already tried this: drm-gbm-mod.c:13:10: fatal error: EGL/egl.h: Datei oder Verzeichnis nicht gefunden #include <EGL/egl.h> It compiles with...
by cbratschi
Sun Jul 14, 2019 5:03 pm
Forum: OpenGLES
Topic: Full screen OpenGL ES on Pi 4
Replies: 42
Views: 14791

Re: Full screen OpenGL ES on Pi 4

I am using a similar code to access OpenGL ES without any window server and I am always getting: failed to add service - already in use? This happens in the eglGetDisplay(displayType) call where the gbm_create_device(device) result is used. Tried to re-arranged the code but no different. I can get t...
by cbratschi
Wed Jul 10, 2019 8:56 pm
Forum: OpenGLES
Topic: OpenGL on Buster on both Pi 3 and Pi 4
Replies: 72
Views: 32436

Re: OpenGL on Buster on both Pi 3 and Pi 4

I am trying to get aminogfx-gl to run on Pi 4 but the OpenGL ES 2 code hangs while swapping buffers and afterwards a reboot is needed to use OpenGL again. Otherwise it hangs on EGL init. https://github.com/cbratschi/aminogfx-gl The same code works fine on Pi 3. While reading this thread I thought th...
by cbratschi
Fri Apr 07, 2017 12:19 pm
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3465

Re: egl_render and vsync

I am running into the same issue. So far I am using a single egl_render output buffer but on 1080p@60 a 29.7 fps video does not run smoothly enough on a RPi 3. There are tearing effects and the OpenGL thread can only deliver about 27 frames per second. I tried a lot of code changes but I guess more ...
by cbratschi
Mon Oct 17, 2016 3:34 pm
Forum: Beginners
Topic: how do you hide all the boot text?
Replies: 34
Views: 61870

Re: how do you hide all the boot text?

Follow-up to my previous post:

The plymouth package was the root cause!

Just uninstall it:

sudo apt-get remove plymouth

This also uninstalls the mountall package but seems to have no further dependencies. After that the screen is black again during the boot process.
by cbratschi
Mon Oct 17, 2016 3:27 pm
Forum: Beginners
Topic: how do you hide all the boot text?
Replies: 34
Views: 61870

Re: how do you hide all the boot text?

Modifying /boot/cmdline.txt was working so far but after applying those modifications I updated to the latest Jessie Lite version and now a few message are still shown. 1) Upgrade: The following packages have been kept back: plymouth The following packages will be upgraded: bind9-host curl e2fslibs ...

Go to advanced search