Next Previous Contents


3. Compiling / Troubleshooting

3.1 Are precompiled binaries of OpenUT available?

Not at the present time.

It is currently necessary to download the Linux binaries from Epic, apply binary patches to the current version using xdelta, and then compile the OpenUT binaries from source and copy them over the installed versions.

A proper installer for OpenUT is in the works.

-------------------------------------------------------------------------------

3.2 What do I need to compile OpenUT?

It depends slightly, partly on what features you want. Assuming you want all the good stuff (music, etc.):

OpenUT source http://sourceforge.net/project/?group_id=975
gcc 2.95.2 http://egcs.cygnus.com
xdelta http://www.xcf.berkeley.edu/~jmacd/xdelta.html
SDL >= 1.1.1 http://www.devolution.com/~slouken/SDL/
SDL mixer >=1.0.5 http://www.devolution.com/~slouken/SDL/projects/SDL_mixer
libMikMod 3.1.9 http://mikmod.darkorb.net
xpm-devel (for /usr/X11R6/include/X11/xpm.h)
MesaGL or Glide (for /usr/include/GL/gl.h and glx.h)
utah-glx http://utah-glx.sourceforge.net (for GLX systems)

-------------------------------------------------------------------------------

3.3 Can you suggest a known, working setup for compiling OpenUT?

Sure, OK then... (courtesy of Avatar ;)

-------------------------------------------------------------------------------

3.4 Does it matter which version of the Linux kernel I am running?

It should NOT matter. UT is known to work with both the stable 2.2.x kernels (the FAQ maintainer runs it under 2.2.12, for example), and also with the newer 2.3.x development series.

-------------------------------------------------------------------------------

3.5 Will UT / OpenUT work with a multiprocessor (SMP) system?

There are plenty of reports of people running OpenUT on SMP machines (dual Celerons seem to be favourites!).

There are no known issues with multiple processors and OpenUT. However, please note that while there are no known problems, multiple processors also do not give OpenUT much of a performance boost, either.

(thanks to John Fulmer)

-------------------------------------------------------------------------------

3.6 Why do I get errors related to GL include files that cannot be found?

Make sure you specify --prefix=/usr/ when you compile GLX. If this still fails, create a symbolic link from /usr/local/include/GL (or /usr/include/GL, depending on your distribution) pointing to /usr/src/Mesa/include/GL, then rebuild UT.

Example: ln -s /usr/src/Mesa/include/GL /usr/local/include/GL

-------------------------------------------------------------------------------

3.7 Why will UT not start under Enlightenment?

The original Linux binaries released by Epic did not work with the Enlightenment window manager, for some reason. The screen would simply go black. This problem was fixed with the 402B patch for Linux. OpenUT does not suffer from this issue.

-------------------------------------------------------------------------------

3.8 Why isn't software rendering available for UT on Linux? It is available for Windows!

The simple reason for this is that Epic have not released the source for the software renderer. Apparently the task of porting it would be extremely complex, as there is a lot of Windows/MSVC-specific code in there.

Don't expect software rendering any time soon - i.e. probably never!

-------------------------------------------------------------------------------

3.9 Why do I see the intro through a narrow "band" in the middle of the screen when starting the game? Switching to a window does not fix the problem.

Launch UT with -defaultres on the command line. You should only need to do this once.

-------------------------------------------------------------------------------

3.10 How can I get a full log of what is going on when I run the game?

When launching UT, run the binary with -log > filename.log to create a logfile which is not cached. This will ensure that you get the full information out of the logging routines.

-------------------------------------------------------------------------------

3.11 Why does the game terminate straight after the splash screen? There is no error message on the console.

Try -nosplash -nosound on the command line. Try running as root. Use -log > filename.log on the command line to try and see what is going wrong.

-------------------------------------------------------------------------------

3.12 Why does UT fail with a SIGIOT error after applying the latest patch?

Did the patch install correctly? Did you mount the CD-ROM when you applied the patch? The patch process does not automatically mount the CD, and it will not warn you that the CD is not mounted, so it is possible that it has not gone through correctly. You should try repatching.

-------------------------------------------------------------------------------

3.13 How come there is no music?

First of all, ensure you have libMikMod installed at the correct version.

Edit OpenUT/System/UnrealTournament.ini and change UseDigitalMusic=FALSE to UseDigialMusic=TRUE (section Audio.GenericAudioSubsystem).

-------------------------------------------------------------------------------

3.14 Why do I get the message "video memory unprotecting" when starting the game? I have a Voodoo graphics card.

This error is actually not Voodoo-specific, although it sometimes appears when using the Dev3dfx kernel module. The message is a status report from the X server, and it is usually safe to ignore it.

-------------------------------------------------------------------------------

3.15 Does OpenUT work with DRI in X?

Yes, it should work just fine with DRI with the SDL OpenGL renderer.

Note that at present there is no support for Glide applications to use DRI in XFree86 4.0. UT should work with the SDLGL renderer instead (only more slowly!)

(thanks to Adam Kirchhoff)

-------------------------------------------------------------------------------

3.16 Why doesn't the SDL stuff work?

SDL support was added as a result of work by the OpenUT developers, and only made it into the main Linux UT client with the 413 patch.

In order to make use of the SDL driver, you will need to make updates to the UnrealTournament.ini file in the System directory of the UT installation. The version supplied with UT will not contain the SDLDrv section by default.

You can download an example UnrealTournament.ini file with the SDL features included from the OpenUT website. Alternatively, you can use UTCP to modify the settings in the existing file.

-------------------------------------------------------------------------------

3.17 Which renderer and viewport manager should I use with my GeForce / Voodoo / G400 / TNT card?

As a general rule of thumb:

3dfx (Voodoo)=GlideDrv
all others (GLX-based)=SDLGLDrv

In both cases the SDLDrv.SDLClient should be the chosen ViewportManager.

Some people report that Voodoo cards (particularly the Voodoo 3) do not work when SDLDrv is selected as viewport manager. In these cases it may be necessary to revert to XDrv.XClient instead - however, some people have reported hangs on exiting UT when using XDrv.

If you are using a Voodoo card, ensure that you have the latest version of Glide installed and working correctly (http://linux.3dfx.com)

The OpenUT team considers XMesaGLDrv to be an orphaned branch of development. SDLGLDrv is the recommended driver.

See the Utah-GLX project page for more information for non-3dfx cards.

-------------------------------------------------------------------------------

3.18 Why does the mouse pointer get stuck in one of the corners of the screen when running with GLX and SDL?

This seems to be a bug with SDL and DGA. Several people have reported problems with this combination. Try one of the following solutions:

  1. check that you have DGA extensions enabled in the XF86Config file
  2. disable DGA by setting the environment variable SDL_VIDEO_X11_DGAMOUSE=0

-------------------------------------------------------------------------------

3.19 Why does everything run so slowly with utah-glx and my TNT graphics card?

At the present time utah-glx does not fully support nVidia cards, so features such as DMA are not used, and the performance is limited. You could try using nVidia's own GLX driver instead.

-------------------------------------------------------------------------------

3.20 Does UT work with XFree86 4.0 and the new nVidia GLX drivers?

Yes and yes. There should be an impressive performance increase.

-------------------------------------------------------------------------------

3.21 What version of UT do I need to run OpenUT?

Linux version 400A patched to 402B. The current source release is 402B, therefore OpenUT will only work with that version.

At present, OpenUT compiled from CVS will not work with the 413 / 413a patch.

(thanks to Ted Johnson)

-------------------------------------------------------------------------------

3.22 Is it possible to get sound working when using an Aureal MX300 sound card?

Yes, it is. You'll need SDLAudio compiled from CVS. Change the audio settings in UnrealTournament.ini to read:

AudioDevice=SDLAudio.SDLAudioSubsystem

===============================================================================


Next Previous Contents