(gdb) p compatible
$6 = (GdkVisual *) 0x6245e0
(gdb) p *compatible
$7 = {parent_instance = {g_type_instance = {g_class = 0x655b80}, ref_count = 1, qdata = 0x0},
  type = GDK_VISUAL_TRUE_COLOR, depth = 24, byte_order = GDK_LSB_FIRST, colormap_size = 256,
  bits_per_rgb = 8, red_mask = 16711680, red_shift = 16, red_prec = 8, green_mask = 65280,
  green_shift = 8, green_prec = 8, blue_mask = 255, blue_shift = 0, blue_prec = 8,
  screen = 0x65a0c0}

  info from xdpyinfo
  ==================

  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

  info from glxinfo
  ==================

  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
  --------------------------------------------------------------------------
  0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None



(gdb) p visual
$8 = (GdkVisual *) 0x661910
(gdb) p *visual
$9 = {parent_instance = {g_type_instance = {g_class = 0x655b80}, ref_count = 1, qdata = 0x0},
  type = GDK_VISUAL_TRUE_COLOR, depth = 24, byte_order = GDK_LSB_FIRST, colormap_size = 256,
  bits_per_rgb = 8, red_mask = 16711680, red_shift = 16, red_prec = 8, green_mask = 65280,
  green_shift = 8, green_prec = 8, blue_mask = 255, blue_shift = 0, blue_prec = 8,
  screen = 0x65a0c0}

  info from xdpyinfo
  ==================

  visual:
    visual id:    0x20e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

  info from glxinfo
  ==================

  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
  --------------------------------------------------------------------------
  0x20e 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None


(gdb) p gl_info[i]
$10 = {supports_gl = 1, double_buffer = 1, stereo = 0, alpha_size = 0, depth_size = 0,
  stencil_size = 0, num_multisample = 0, visual_caveat = 32768}
