ルギア君の戯言

雑多な記事。

OpenGL

IRC で話題になっていたので、僕も調べてみました。


代表的な 3D アプリが出すメッセージ集

[lugia@raralu-ra ~]$ supertux                                     
bash: supertux: command not found                                 
[lugia@raralu-ra ~]$ supertux2                                    
[/home/lugia/.supertux2] is in the search path                    
[/usr/share/supertux2] is in the search path                      
Invalid button '0' in buttonmap                                   
Invalid button '1' in buttonmap                                   
Invalid axis '-2' in axismap                                      
Invalid axis '-1' in axismap                                      
Invalid axis '1' in axismap                                       
Invalid axis '2' in axismap                                       
Fatal: Unexpected exception: Couldn't set video mode (800x600-0bpp): Couldn't find matching GLX visual
[lugia@raralu-ra ~]$ supertuxkart
Data files will be fetched from: '/usr/share/supertuxkart/'
Config file '/home/lugia/.supertuxkart/config' does not exist, it will be created.
Highscores will be saved in '/home/lugia/.supertuxkart/highscore.data'.           
FATAL: ssgInit called without a valid OpenGL context.                             
[lugia@raralu-ra ~]$ armagetronad
Trying to start sound. Just restart Armagetron Advanced in case of crash.
Couldn't set video mode: Couldn't find matching GLX visual               
Couldn't set video mode: Couldn't find matching GLX visual               
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Couldn't set video mode: Couldn't find matching GLX visual
Error: Error in bool sr_InitDisplay() in render/rScreen.cpp:737 :

Sorry, played all my cards trying to initialize your video system.
Armagetron Advanced won't run on your computer. Reason:

Couldn't set video mode: Couldn't find matching GLX visual

I'll try again from the beginning, but the chances of success are minimal.


[lugia@raralu-ra ~]$ compiz --replace
compiz (core) - Fatal: Root visual is not a GL visual
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
[lugia@raralu-ra ~]$ glxgears
Error: couldn't get an RGB, Double-buffered visual
[lugia@raralu-ra ~]$

だいたいどれも同じことをいってますね。


マッチする GLX ヴィジュアルがない・・・かぁ。