Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No animation #24

Open
mjungnickel18 opened this issue Jan 23, 2022 · 4 comments
Open

No animation #24

mjungnickel18 opened this issue Jan 23, 2022 · 4 comments

Comments

@mjungnickel18
Copy link

Hi,

I tried to recreate your project.
I also used an old rpi2 with a raspberry pi os lite installation (no gui).

I had to manually copy the header and libs for open gl because the opt/vc folder was non existent and activate opengl in raspi config.

The triangle example worked. Your program showed the first gray image for 5 seconds on the 3 panels. . But there was no animation. I tried fiddling around, but nothing worked.

Do you have any ideas?

@mjungnickel18
Copy link
Author

The problem is somehow caused by the newest Pi Image with Debian Bullseye...

The legacy image with Debian Buster works!

@Staacks
Copy link
Owner

Staacks commented Jan 24, 2022

No idea. I haven't updated to another image so far. If anyone figures this out, please share the info with the others.

@mbeckerle-xqueue
Copy link

mbeckerle-xqueue commented Feb 23, 2023

Hey, I know it is over one year old but last week I experienced this issue as well, so maybe it will help others reading this.

I also had an old RPIs and as this seems to be fine with a RPI2, I decided to go with the RPI2 as well. I set up the project as Sebastian did, only with the most recent Raspbian. Of course it failed as I was not even close to be able to compile it properly due to missing libraries and the like and while not having used C++ for many years, I started investigating if I can make OpenGL without X running at all.
In the end I opened an issue here: matusnovak/rpi-opengl-without-x#14
In fact someone answered really fast with telling me I need to install RPI userland:

git clone https://github.com/raspberrypi/userland.git
cd userland
sudo ./buildme

Doing so, I had /opt/vc available and OpenGL worked. I was able to compile this as well then and currently I am running the program using

sudo LD_LIBRARY_PATH=/opt/vc/lib ./cpu-stats-gl

Thank you Sebastian for all the work.

@Staacks
Copy link
Owner

Staacks commented Feb 23, 2023

Thanks, for the info. I think I will leave the issue open just because others might easily find it this way and the issue tracker is not exactly overflowing right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants