m17-tools icon indicating copy to clipboard operation
m17-tools copied to clipboard

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

Open vk2gpu opened this issue 2 years ago • 3 comments

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 avatar Aug 01 '23 10:08 vk2gpu

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

Paulo-D2000 avatar Aug 10 '23 00:08 Paulo-D2000

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.

vk2gpu avatar Aug 10 '23 01:08 vk2gpu

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

Paulo-D2000 avatar Aug 13 '23 14:08 Paulo-D2000