-
Notifications
You must be signed in to change notification settings - Fork 31
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
* failed to add service - already in use? #1
Comments
I suspect that something in the background has taken over the EGL. Are you running your Raspberry Pi in headless mode (no desktop, no GUI, no screen, only the terminal)? If you are in desktop mode, try headless, that way the EGL will be available only to you. Also worth to note, (I might be wrong about this) the Raspberry Pi uses proprietary Open GL drivers (the mesa libraries). If you use the open source ones, the EGL only works with X11 present (you have to be in desktop mode). I would recommend trying to compile and run this on a blank new Raspbian installation. Also, have a look at this post: https://stackoverflow.com/questions/40490113/eglfs-on-raspberry2-failed-to-add-service-already-in-use and mainly the first comment by the OP:
|
I'm not entirely sure what the difference is between the two. X11 is definitely not running, I am sure of that much. But it turns out that link is it! If I remove all references to vc4-kms-v3d and vc4-fkms-v3d in my config, your examples seem to work. Thank you! |
I just want to add that I had this error because my video memory was too small. I replaced |
I'm sure it's something with my configuration, but I'm doing my darnedest to figure out what's going on here. If I try to compile my own OGLES-without-X stuff or use this example, this error is all I get when the executable runs. Any ideas of where to go or how to figure things out from here?
The text was updated successfully, but these errors were encountered: