Unable to run certain games - GLX problem [Solved]

Booting, installing, newbie
Post Reply
Message
Author
ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

Unable to run certain games - GLX problem [Solved]

#1 Post by ProgRob »

I am having problems running a number of games on a Sony Vaio VGN N38E. I am running DPup Xprimo, but have had similar problems using MacPup.

A working game is Extreme Tux Racer. I downloaded that from the Debian repos. It ran, but could only achieve 2-3 fps. I therefore loaded the xorg_high pet and the fps went to 60 fps or so. Very good.

When I downloaded SuperTuxKart from the Debian Repos, before I downloaded xorg_high, it ran but like Racer, it was very slow. After I downloaded xorg_high it stopped working at all. Running it from a terminal I get:

Data files will be fetched from: '/usr/share/games/supertuxkart/'
socket(): Address family not supported by protocol
SDL_LoadWAV() failed to load /usr/share/games/supertuxkart//data/sfx/horn.wav
Highscores will be saved in '/root/.supertuxkart/highscore.data'.
SDL_SetVideoMode (640x480) failed: Couldn't find matching GLX visual
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
AL lib: ALc.c:1420: alcDestroyContext(): deleting 2 Source(s)
AL lib: ALc.c:1818: alcCloseDevice(): deleting 23 Buffer(s)

Can anyone help guide me through sorting this out as it is driving me mad. I get similar problems with other games, but as can be seen above, not all games by any means.

It is worth noting that I have tried other ways of downloading SuperTuxKart, so I don't think it is that.

I have gone through the xorg wizard and have confirmed it is an intel driver and the screen is 1280x800 at depth 16.

GLXgears runs fine at around 736 fps.

Please help as I don't really know what I am doing when it comes to X.


Thanks,
Rob
Last edited by ProgRob on Thu 25 Apr 2013, 10:36, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Rob- perhaps you can adapt this page?

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#3 Post by ProgRob »

Thanks for the idea, Semme.

I had a look and I cannot see anything in the config file (or any command line switches) which could force the mode that it is looking for.

Rob

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

So no supertuxkart config files in your home directory? Then maybe putenv? Maybe even the correct devx?

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#5 Post by ProgRob »

Oh yes, there's a config file but all you can do is set the screen size (which you can do from a command line switch)

The link sounds as if it is suggesting that I change the code which I don't want to do as this problem affects at least one other game.

Thanks for the steer, though,

Rob

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Nothing ventured, nothing gained. Getting everyone to play nice is all about adjustment.

You can always drop back to the default code if new settings don't perform properly.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

Is your xserver using 16, or 24 bit? If 16 bit, maybe run xorgwizard, change to 24, then restart xserver & see if any difference.

If 24 bit, vice versa.

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#8 Post by ProgRob »

The server was sing 16 bit. I changed it to 24 bit and it worked like a dream.

Thank you so much, muggins!!

:)

Post Reply