I have the above problem too, running 12.04 in VirtualBox. I installed the Ubuntu UI toolkit per the standard instructions. It happens with the standard 'Hello World' program provided in QT Creator too.
As requested, the (first part of) the output of glxinfo is:
96 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
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 y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0db 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0dc 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0dd 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0de 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
I have the above problem too, running 12.04 in VirtualBox. I installed the Ubuntu UI toolkit per the standard instructions. It happens with the standard 'Hello World' program provided in QT Creator too.
As requested, the (first part of) the output of glxinfo is:
name of display: :0 ARB_multisample , GLX_EXT_ texture_ from_pixmap, GLX_SGIX_fbconfig, ARB_get_ proc_address ARB_multisample , GLX_EXT_ texture_ from_pixmap, GLX_SGIX_fbconfig, ARB_get_ proc_address ARB_multisample , GLX_EXT_ texture_ from_pixmap, GLX_SGIX_fbconfig, ARB_get_ proc_address EXT_texture_ compression_ s3tc, GL_EXT_ draw_range_ elements, EXT_framebuffer _object, GL_EXT_ compiled_ vertex_ array, ARB_depth_ texture, GL_ARB_ fragment_ program, GL_ARB_multisample, ARB_multitextur e, GL_ARB_ occlusion_ query, GL_ARB_ point_parameter s, ARB_point_ sprite, GL_ARB_shadow, GL_ARB_ shadow_ ambient, ARB_texture_ border_ clamp, GL_ARB_ texture_ compression, ARB_texture_ cube_map, GL_ARB_ texture_ env_add, ARB_texture_ env_combine, GL_EXT_ texture_ env_combine, ARB_texture_ env_crossbar, GL_ARB_ texture_ env_dot3, EXT_texture_ env_dot3, GL_ARB_ texture_ mirrored_ repeat, IBM_texture_ mirrored_ repeat, GL_ATI_ texture_ mirror_ once, ARB_texture_ non_power_ of_two, GL_ARB_ transpose_ matrix, ARB_vertex_ buffer_ object, GL_ARB_ pixel_buffer_ object, ARB_vertex_ program, GL_ARB_window_pos, GL_EXT_blend_color, EXT_blend_ minmax, GL_EXT_ blend_func_ separate, GL_EXT_ blend_subtract, EXT_texture_ env_add, GL_EXT_fog_coord, GL_EXT_ multi_draw_ arrays, EXT_secondary_ color, GL_EXT_ shadow_ funcs, GL_EXT_ stencil_ wrap, EXT_texture_ cube_map, GL_EXT_ texture_ edge_clamp, EXT_texture_ filter_ anisotropic, GL_EXT_ texture_ lod_bias, EXT_texture_ object, GL_EXT_texture3D, GL_NV_texgen_ reflection, EXT_texture_ rectangle, GL_ARB_ texture_ rectangle, SGIS_generate_ mipmap, GL_SGIS_ texture_ edge_clamp, ARB_shading_ language_ 100, GL_ARB_ shader_ objects, GL_ARB_ vertex_ shader, ARB_fragment_ shader, GL_EXT_ texture_ sRGB, GL_EXT_ framebuffer_ blit, EXT_blend_ equation_ separate, GL_CR_state_ parameter, CR_cursor_ position, GL_CR_bounding_box, GL_CR_print_string, CR_tilesort_ info, GL_CR_synchroni zation, GL_CR_head_ spu_name, CR_performance_ info, GL_CR_window_size, GL_CR_tile_info, CR_saveframe, GL_CR_readback_ barrier_ size, GL_CR_server_ id_sharing, CR_server_ matrix, GL_EXT_ stencil_ two_side
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: Chromium
server glx version string: 1.3 Chromium
server glx extensions:
GLX_
GLX_
client glx vendor string: Chromium
client glx version string: 1.3 Chromium
client glx extensions:
GLX_
GLX_
GLX version: 1.3
GLX extensions:
GLX_
GLX_
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.20
OpenGL extensions:
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
96 GLX Visuals ------- ------- ------- ------- ------- ------- ------- ------- ------- ------
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
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 y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0db 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0dc 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0dd 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0de 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None