Skip to content

Instantly share code, notes, and snippets.

@icefoxen
Created February 21, 2017 21:48
Show Gist options
  • Save icefoxen/37aec6f66f3e47418e006cd9c22c019f to your computer and use it in GitHub Desktop.
Save icefoxen/37aec6f66f3e47418e006cd9c22c019f to your computer and use it in GitHub Desktop.
2 glXChooseFBConfig(dpy = 0x7faa18679000, screen = 0, attribList = {GLX_X_RENDERABLE, True, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_DOUBLEBUFFER, True, GLX_STEREO, False, GLX_CONFIG_CAVEAT, -1, 0}, nitems = &10) = {0xef, 0x176, 0x117, 0x18a, 0x11b, 0x18c, 0x137, 0x19a, 0x13b, 0x19c}
14 glXGetVisualFromFBConfig(dpy = 0x7faa18679000, config = 0xef) = &{visual = 0x7faa1869b070, visualid = 36, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
57 glXCreateContextAttribsARB(dpy = 0x7faa18679000, config = 0xef, share_context = NULL, direct = True, attrib_list = {GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 3, GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_DEBUG_BIT_ARB, 0}) = 0x7faa187f8140
59 glXDestroyContext(dpy = 0x7faa18679000, ctx = 0x7faa187f8140)
62 glXChooseFBConfig(dpy = 0x7faa18679000, screen = 0, attribList = {GLX_X_RENDERABLE, True, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_DOUBLEBUFFER, True, GLX_STEREO, False, GLX_CONFIG_CAVEAT, -1, 0}, nitems = &10) = {0xef, 0x176, 0x117, 0x18a, 0x11b, 0x18c, 0x137, 0x19a, 0x13b, 0x19c}
74 glXGetVisualFromFBConfig(dpy = 0x7faa18679000, config = 0xef) = &{visual = 0x7faa1869b070, visualid = 36, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
117 glXCreateContextAttribsARB(dpy = 0x7faa18679000, config = 0xef, share_context = NULL, direct = True, attrib_list = {GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 2, GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_DEBUG_BIT_ARB, 0}) = 0x7faa187f8140
119 glXDestroyContext(dpy = 0x7faa18679000, ctx = 0x7faa187f8140)
...
13 glXChooseVisual(dpy = 0x7efe1565f000, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, 3, GLX_GREEN_SIZE, 3, GLX_BLUE_SIZE, 2, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 16, GLX_X_VISUAL_TYPE, GLX_DIRECT_COLOR, 0}) = &{visual = 0x7efe1567afc0, visualid = 106, screen = 0, depth = 24, c_class = 5, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
14 glXCreateContext(dpy = 0x7efe1565f000, vis = &{visual = 0x7efe1567afc0, visualid = 106, screen = 0, depth = 24, c_class = 5, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0x7efe157ef140
15 glXMakeCurrent(dpy = 0x7efe1565f000, drawable = 56623106, ctx = 0x7efe157ef140) = True
16 glViewport(x = 0, y = 0, width = 32, height = 32)
17 glScissor(x = 0, y = 0, width = 32, height = 32)
20 glXMakeCurrent(dpy = 0x7efe1565f000, drawable = 0, ctx = NULL) = True
21 glXDestroyContext(dpy = 0x7efe1565f000, ctx = 0x7efe157ef140)
35 glXChooseVisual(dpy = 0x7efe1565f000, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, 3, GLX_GREEN_SIZE, 3, GLX_BLUE_SIZE, 2, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 16, GLX_X_VISUAL_TYPE, GLX_DIRECT_COLOR, 0}) = &{visual = 0x7efe1567afc0, visualid = 106, screen = 0, depth = 24, c_class = 5, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
36 glXChooseFBConfig(dpy = 0x7efe1565f000, screen = 0, attribList = {GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 3, GLX_GREEN_SIZE, 3, GLX_BLUE_SIZE, 2, GLX_ALPHA_SIZE, 8, GLX_DOUBLEBUFFER, True, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, 1, GLX_X_VISUAL_TYPE, GLX_DIRECT_COLOR, 0}, nitems = &5) = {0xf0, 0x118, 0x11c, 0x138, 0x13c}
37 glXCreateContextAttribsARB(dpy = 0x7efe1565f000, config = 0xf0, share_context = NULL, direct = True, attrib_list = {GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 3, 0}) = 0x7efe157ef140
38 glXMakeCurrent(dpy = 0x7efe1565f000, drawable = 56623109, ctx = 0x7efe157ef140) = False
39 glXDestroyContext(dpy = 0x7efe1565f000, ctx = 0x7efe157ef140)
53 glXChooseVisual(dpy = 0x7efe1565f000, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, 3, GLX_GREEN_SIZE, 3, GLX_BLUE_SIZE, 2, GLX_ALPHA_SIZE, 8, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, 1, GLX_X_VISUAL_TYPE, GLX_DIRECT_COLOR, 0}) = &{visual = 0x7efe1567af18, visualid = 103, screen = 0, depth = 24, c_class = 5, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
54 glXChooseFBConfig(dpy = 0x7efe1565f000, screen = 0, attribList = {GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 3, GLX_GREEN_SIZE, 3, GLX_BLUE_SIZE, 2, GLX_ALPHA_SIZE, 8, GLX_DOUBLEBUFFER, True, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, 1, GLX_X_VISUAL_TYPE, GLX_DIRECT_COLOR, 0}, nitems = &5) = {0xf0, 0x118, 0x11c, 0x138, 0x13c}
55 glXCreateContextAttribsARB(dpy = 0x7efe1565f000, config = 0xf0, share_context = NULL, direct = True, attrib_list = {GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 2, 0}) = 0x7efe157ef140
56 glXMakeCurrent(dpy = 0x7efe1565f000, drawable = 56623112, ctx = 0x7efe157ef140) = True
...
apitrace: warning: glXChooseFBConfig: unknown key 0x20B2, interpreting value as int
Requesting GL 3.3... Request failed: SdlError("Could not make GL context current: BadMatch (invalid parameter attributes)")
apitrace: redirecting dlopen("libGL.so.1", 0x102)
apitrace: warning: glXChooseVisual: unknown key 0x20B2, interpreting value as int
apitrace: warning: glXChooseFBConfig: unknown key 0x20B2, interpreting value as int
Requesting GL 3.2... Ok, got GL 3.2.
apitrace: redirecting dlopen("libGL.so.1", 0x102)
apitrace: warning: glXChooseVisual: unknown key 0x20B2, interpreting value as int
apitrace: warning: glXChooseFBConfig: unknown key 0x20B2, interpreting value as int
...
apitrace: warning: _gl_param_size: unknown GLenum 0x92F5
apitrace: warning: _gl_param_size: unknown GLenum 0x92F5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment