Looks like a similar crash, although I'm on intel graphics with opensource drivers.
Are you using the Mesa or propriatory drivers??
The patch you applied looks fine, but there could be other issues at work regarding what KiCad wants from its GL visual, and what it gets "by accident".
Try commenting out the SwapBuffers(); call and see if that fixes it. It is at the bottom of the
Pcb3D_GLCanvas::Redraw() Function in 3d_draw.cpp
If that avoids the crash, I guess you still need to look at why you're not getting a double-buffered visual on your system.
Also, check glxinfo shows you some double-buffered visuals. I can't imagine you wouldn't have some usable double-buffered visuals though.
Looks like a similar crash, although I'm on intel graphics with opensource drivers.
Are you using the Mesa or propriatory drivers??
The patch you applied looks fine, but there could be other issues at work regarding what KiCad wants from its GL visual, and what it gets "by accident".
Try commenting out the SwapBuffers(); call and see if that fixes it. It is at the bottom of the GLCanvas: :Redraw( ) Function in 3d_draw.cpp
Pcb3D_
If that avoids the crash, I guess you still need to look at why you're not getting a double-buffered visual on your system.
Also, check glxinfo shows you some double-buffered visuals. I can't imagine you wouldn't have some usable double-buffered visuals though.