Hi, I've been using suma for years, mainly just for displaying inflated brain maps, but it's not working anymore. I connect via
XQuartz 2.8.5 (xorg-server 21.1.6)
using the terminal command ssh -Y
Afni itself still works OK.
versions:
afni -ver
Precompiled binary linux_ubuntu_16_64: Sep 1 2020 (Version AFNI_20.2.16 'Aulus Vitellius')
suma -version
Compile Date:
Sep 1 2020
MacOS: 13.6.1 (22G313)
It's an Intel Mac.
I tried the solution found on this page but it didn't work:
When I try to start suma, a window appears for a split second and then it crashes and disappears.
I've got more troubleshooting to do, but I figured I'd post here to see if anyone has encountered this and already has a solution. I'll paste in the error message that I get below.
Thanks all!
Jed
Here's the error message I get:
suma:
No input specified, loading some toy surfaces...
Use '.' and ',' to cycle between them.
See suma -help for assistance.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
oo Warning SUMA_XErrHandler (SUMA_display.c:4149):
Intercepted X11 error: BadMatch (invalid parameter attributes)
Will attempt to proceed but trouble might ensue.
++ Notice SUMA_XErrHandler (SUMA_display.c:4150 @14:54:43):
Trace At Xerr
SUMA_XErrHandler
SUMA_glXMakeCurrent
SUMA_graphicsInit
SUMA_X_SurfaceViewer_Create
suma
Bottom of Debug Stack
-- Error SUMA_glXMakeCurrent (SUMA_display.c:343):
Failed in glXMakeCurrent.
SUMA_glXMakeCurrent (via SUMA_GL_ERRS): Looking for OpenGL errors ...
SUMA_glXMakeCurrent: No errors found.
-- Error SUMA_glXMakeCurrent (SUMA_display.c:345):
Called from SUMA_glXMakeCurrent
SUMA_glXMakeCurrent
SUMA_graphicsInit
SUMA_X_SurfaceViewer_Create
suma
Bottom of Debug Stack
Error SUMA_graphicsInit: Failed in SUMA_glXMakeCurrent.
Continuing ...
oo Warning SUMA_XErrHandler (SUMA_display.c:4149):
Intercepted X11 error: BadValue (integer parameter out of range for operation)
Will attempt to proceed but trouble might ensue.
++ Notice SUMA_XErrHandler (SUMA_display.c:4150 @14:54:43):
Trace At Xerr
SUMA_XErrHandler
SUMA_X_SurfaceViewer_Create
suma
Bottom of Debug Stack
SUMA_Engine: Starting to listen ...
oo Warning SUMA_XErrHandler (SUMA_display.c:4149):
Intercepted X11 error: BadMatch (invalid parameter attributes)
Will attempt to proceed but trouble might ensue.
++ Notice SUMA_XErrHandler (SUMA_display.c:4150 @14:54:43):
Trace At Xerr
SUMA_XErrHandler
SUMA_glXMakeCurrent
SUMA_handleRedisplay
suma
Bottom of Debug Stack
-- Error SUMA_glXMakeCurrent (SUMA_display.c:343):
Failed in glXMakeCurrent.
SUMA_glXMakeCurrent (via SUMA_GL_ERRS): Looking for OpenGL errors ...
SUMA_glXMakeCurrent: No errors found.
-- Error SUMA_glXMakeCurrent (SUMA_display.c:345):
Called from SUMA_glXMakeCurrent
SUMA_glXMakeCurrent
SUMA_handleRedisplay
suma
Bottom of Debug Stack
-- Error SUMA_handleRedisplay (SUMA_display.c:430):
Failed in SUMA_glXMakeCurrent.
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
suma: ../../src/xcb_io.c:260: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Fatal Signal 6 (SIGABRT) received
suma
Bottom of Debug Stack
** AFNI version = AFNI_20.2.16 Compile date = Sep 1 2020
** [[Precompiled binary linux_ubuntu_16_64: Sep 1 2020]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /home/jed/.afni.crashlog
AFNI version info (afni -ver
):
code text # or delete if not needed