Re: [TuxKart-users] Tuxkart runs only in a window..
Status: Alpha
Brought to you by:
sjbaker
|
From: Steve B. <sjb...@ai...> - 2000-07-06 06:13:23
|
Bill LaGrue wrote:
>
> Hi...I have compiled Tuxkart ok, but no matter what i try it wont run full
> screen. I have got the MESA_GLX_FX env. var. set to fullscreen, Glide works fine
> (all the demos work properly, so does Unreal Tournament and Terminus), I have Mesa
> 3.2 installed (Quake 3 runs perfectly)...anyone got any ideas at all?
Hmm - you didn't say what kind of graphics card you have - I'm presuming it's
some kind of Voodoo - but is it a V1, V2, V3, RUSH or a Banshee?
On my son's Voodoo-3, I set up a shell script to run it for him - so we can
tie that up to a KDE menu.
The script is:
-----------------------------------------------
#! /bin/csh
#
# My TuxKart working directory is '/u/tuxkart'...hence...
#
cd /u/tuxkart
setenv MESA_GLX_FX fullscreen
setenv FX_GLIDE_NO_SPLASH 1
unsetenv SST_NOSHUTDOWN
setenv SST_VGA_PASS 0
setenv SST_SWAP_EN_WAIT_ON_VSYNC 1
setenv SST_SCREENREFRESH 60
unsetenv SSTV2_NOSHUTDOWN
setenv SSTV2_VGA_PASS 0
setenv SSTV2_SWAP_EN_WAIT_ON_VSYNC 1
setenv SSTV2_SCREENREFRESH 60
./src/tuxkart
-----------------------------------------------
(I think that used to work on my old Voodoo-1 card
and the Voodoo-2 cards I used to have in SLI configuration
at work)
Another possibility is that you have multiple copies
of Mesa installed on your machine by accident - and
somehow all the programs that work are those that link
to the 'correct' Mesa - but TuxKart is picking up the
bogus one.
Do this as root:
find / -name libGL\* -print
find / -name libMesaGL\* -print
...and do an 'ls -l' on each file it finds so you can see where
all those symbolic links are pointing.
If you find that there is more than one libGL or libMesaGL then that
is VERY likely to be your problem.
You can confirm it by running 'ldd' on tuxkart's executable and on
one of the Mesa programs that you know comes up full-screen. They
*should* point to the same Mesa library - but I bet they don't!
FWIW, there is now a standard place for Mesa (or any other OpenGL under
Linux) to be installed - that is '/usr/lib/libGL.so' - wherever your
Mesa is installed, there should at least be a symbolic link so that
programs can hook up with /usr/lib/libGL.so. Several recent Linux
distro's were putting Mesa into /usr/X11/lib - which is **WRONG**.
If all of that looks OK, start TuxKart, hit the spacebar to bring
up the menu - then click on 'Help' and 'Versions' and see what
versions of things TuxKart thinks it's linked to and what renderer it
thinks it's using...that might shed some light on what's going on.
--
Steve Baker HomeEmail: <sjb...@ai...>
WorkEmail: <sj...@li...>
HomePage : http://web2.airmail.net/sjbaker1
Projects : http://plib.sourceforge.net
http://tuxaqfh.sourceforge.net
http://tuxkart.sourceforge.net
http://prettypoly.sourceforge.net
|