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

m17-mod-gui failing to run on Raspberry Pi (GLXBadFBConfig) #20

Open
vk2gpu opened this issue Aug 1, 2023 · 3 comments
Open

m17-mod-gui failing to run on Raspberry Pi (GLXBadFBConfig) #20

vk2gpu opened this issue Aug 1, 2023 · 3 comments

Comments

@vk2gpu
Copy link

vk2gpu commented Aug 1, 2023

Hello,

Just tried to build up and run on a Raspberry Pi, since this is what my rig is usually interfaced to. Looks like it doesn't support OpenGL ES. ImGui does have a backend for GLES, so it may just be a case of adding/enabling that, assuming it is the problem here :)

Output on console (--debug and --verbose don't provide any more info):

vk2gpu@vk2gpu:/media/myUSB/Dev/m17-tools$ m17-mod-gui
Unable to open file for reading.
No default cfg loaded.
No encryption.
Glfw Error 65543: GLX: Failed to create context: GLXBadFBConfig

73,
Rae | VK2GPU

@vk2gpu vk2gpu changed the title m17-mod-gui failing to run on Raspberry Pi m17-mod-gui failing to run on Raspberry Pi (GLXBadFBConfig) Aug 1, 2023
@Paulo-D2000
Copy link
Contributor

Paulo-D2000 commented Aug 10, 2023

Hi Rae VK2GPU, thanks for the feedback! Interesting, ImGUI should switch to Opengl ES 2 if IMGUI_IMPL_OPENGL_ES2 is defined, the default is GL 3.0...

This could be some driver issue on the pi as it happened on fKMS Issue on DearPyGui

GLES2 check / include on Line 44

GLES2 check on Line 1635

73,
Paulo Duarte | PU4THZ

@vk2gpu
Copy link
Author

vk2gpu commented Aug 10, 2023

For what it's worth, SDRPlusPlus does appear to run on the same Pi, but I haven't had a look at any differences in the init sequence for clues.

@Paulo-D2000
Copy link
Contributor

I changed the glsl version to 120 on the latest commit... maybe this will fix it ?

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