LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
Search this Thread
Old 05-28-2008, 02:36 PM   #1
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Rep: Reputation: Disabled
Supertuxkart: OpenGL problem


I am trying to get the game Supertuxkart to work on Mandriva 2008.1. First of all, when I install it through the software manager, I cannot get it to work one way or the other. It creates an entry in the Menu that does nothing. I checked what it does, and it has "supertuxkart --log=file" specified as its command. I opened up a console window and tried executing "supertuxkart", but it does not recognize that as a command.

Next I just downloaded that game. It comes with a run_game.sh file (which I did not get through the software manager) that should start the game. However, when I try to run it, I get an error.

Code:
GLUT: Fatal Error in supertuxkart: OpenGL GLX extension not supported by display: :1.0
I think I have installed all the dependencies for Supertuxkart (OpenGL, PLIB, etc.). Does anyone know what the problem might be?
 
Old 05-28-2008, 03:01 PM   #2
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
Have you installed the right driver for you video card?
run in terminal:
glxinfo | grep direct
Does it say yes or no?
Are you trying to run it as root?
 
Old 05-28-2008, 03:54 PM   #3
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
When I execute the command you mentioned I get this:

Code:
[marco@localhost ~]$ glxinfo | grep direct
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't find RGB GLX visual
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
I have installed drivers for my video card. It does not matter whether I run the file as root or not, I get the same output.
 
Old 05-29-2008, 01:33 AM   #4
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
Hm, could you post your xorg.conf.
/etc/X11/xorg.conf
 
Old 05-29-2008, 07:58 AM   #5
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
Sure. These are the contents of /etc/X11/xorg.conf. What do they tell you?

Code:
# File generated by XFdrake (rev 234840)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    #DontZap # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us(alt-intl)"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "SHMConfig" "on"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName ""
    HorizSync 31.5-56
    VertRefresh 60-69
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc"
    BoardName "ATI Radeon X1300 and later"
    Driver "fglrx"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "SynapticsMouse1" "SendCoreEvents"
    Screen "screen1"
EndSection
 
Old 05-30-2008, 04:02 AM   #6
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
Not too much unfortunately. The glx entry is there... I know there's a module that conflicts with the glx module... I forgot the name, but I guess I'd recognize it, so it's probably not there.
fglrx is the right driver to get 3d support for ATI...
The only thing that you might have a problm with is with compiz. I remember you had to add an allow-something-something line in some cases (I'm so sorry, I don't remember stuff like that)

So the only idea I have left is that you make sure you don't have compiz running and try it again:

metacity --replace&

That should kick compiz out and put metacity in place.
 
Old 05-30-2008, 10:41 AM   #7
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
Apparently I did something to the ATI drivers while trying to install the rest of the dependencies. I just reinstalled the drivers and now everything seems to work.

I did have problems with Compiz, it wouldn't work, so I am not using it. However, perhaps Compiz will work now as well. I'll have a look some time.

Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
opengl window not having title bar-using freeglut for opengl programming in c++ ashjas Fedora 0 01-19-2008 02:46 AM
OpenGL Problem MistdragoN Linux - Hardware 15 07-30-2006 08:11 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
Yet Another Problem With Opengl blu35cr33n Linux - Software 4 04-23-2003 03:32 PM


All times are GMT -5. The time now is 01:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration