On Sat, 2007-01-06 at 20:59 +0100, Jens Seidel wrote: > Package: xserver-xorg-video-mga > Version: 1:1.4.4.dfsg.1-2 > Severity: normal > > An OpenGL application fails to start using the following error message: > > Warning: Cannot convert string "" to type FontStruct > freeglut (my_program): 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: 23 > Current serial number in output stream: 26 > > The problem occurs at the source code line: > glutInitDisplayMode(GLUT_DOUBLE | GLUT_ALPHA | GLUT_DEPTH ); > but with > glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH ); > it works. > > My xorg config file contains: > > SubSection "Display" > Depth 24 > Modes "1280x1024" "1024x768" "800x600" "640x480" > # Virtual 1600 1200 > EndSubSection > > If I comment the Virtual line out it works with both GLUT_ALPHA and > GLUT_RGB.
Please also provide an X log file for that case. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer

