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

glGetString returns error on RPi without vc4 #633

Open
limbouser opened this issue Jun 4, 2020 · 2 comments
Open

glGetString returns error on RPi without vc4 #633

limbouser opened this issue Jun 4, 2020 · 2 comments

Comments

@limbouser
Copy link

limbouser commented Jun 4, 2020

I'm trying a Yocto build for RPi, when I disable vc4, and try to run an openGL application, I get an error saying it can't resolve glGetString(GL_VERSION). When I looked for the cause of that error, it said I doesn't have a proper openGL implementation. Any ideas on how I can get past it? (Enabling vc4 is not an option for me)(I'm posting this here cos RPi uses userland display libraries when vc4 is disabled)

@JamesH65
Copy link
Collaborator

JamesH65 commented Jun 4, 2020

Do you mean you have disabled FKMS on the Pi4? If so, you have no 3D support/driver, so gl calls will not work correctly.

On the Pi3 you could use the older userland code talking to the VC4 3D HW, the FKMS driver is disabled by default,

@limbouser
Copy link
Author

Actually I'm using a Raspberry Pi 3 and is working on Yocto images, not Raspbian. When I turn on the fkms the glGetString error doesn't occur, but when it's disable, I am having the glGetString error.

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

2 participants