Page 1 of 1

Unable to run certain games - GLX problem [Solved]

Posted: Fri 19 Apr 2013, 10:43
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

Posted: Fri 19 Apr 2013, 12:48
by Semme
Rob- perhaps you can adapt this page?

Posted: Fri 19 Apr 2013, 14:05
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

Posted: Fri 19 Apr 2013, 14:13
by Semme
So no supertuxkart config files in your home directory? Then maybe putenv? Maybe even the correct devx?

Posted: Fri 19 Apr 2013, 17:54
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

Posted: Sat 20 Apr 2013, 12:16
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.

Posted: Sun 21 Apr 2013, 10:03
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.

Posted: Thu 25 Apr 2013, 10:39
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!!

:)