I tried to compile a program from RedBook which uses accumulation buffer for FSAA. Whenever GLUT_ACCUM is present in glutInitDisplayMode argument, i get this error:
Code:
freeglut (./saa): ERROR: Internal error <Visual with necessary capabilities not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 24
Current serial number in output stream: 24
glxinfo says this about GLX visuals:
Code:
3 GLX Visuals
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x52 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
I.e., all accumulation buffers have zero-bit components. Why is this? How can i fix this (without need to upgrade Ubuntu)? I tried to enable software rendering (which is more complete in the sense of OpenGL version), but nothing changed.
On a machine with nvidia card&drivers everything works...