PDA

View Full Version : Getting an error when trying to start UT2004...


arcanistherogue
August 16th, 2005, 10:38 PM
So, I recently reformatted my hard drive. I reinstalled Ubuntu, and I installed UT2004 also.

I remeber I had an error like this when I first wanted to play Quake 2 in May, and my friend told me how to install something that made 3d games work. I don't know what to do, and he is on vacation in california for 1 week. I need my UT2004 fix in the meantime O_o...

Here is the error I get when I try "ut2004" in the console:

john@kubuntu:~$ ut2004
WARNING: ALC_EXT_capture is subject to change!
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Signal: SIGSEGV [segmentation fault]
Aborting.


Crash information will be saved to your logfile.
X Error of failed request: BadColor (invalid Colormap parameter)
Major opcode of failed request: 79 (X_FreeColormap)
Resource id in failed request: 0x1e0000c
Serial number of failed request: 114
Current serial number in output stream: 116

How do i fix this?

Also, How do I uninstall UT2004? I accidentally installed it as root, so patching it has proved to be a long and difficult process (moving ALL of those files one by one....).

GreyFox503
August 16th, 2005, 10:59 PM
What happens when you run this command?

glxgears

Leave it running for a few seconds and tell us how many fps you're getting.

arcanistherogue
August 16th, 2005, 11:04 PM
john@kubuntu:~$ glxgears
Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
john@kubuntu:~$

Odd... I installed Nvidia-glx, and I have a Ge-Force 6600...

GreyFox503
August 17th, 2005, 01:24 AM
Here's something to try. Run this:

sudo gedit /etc/X11/xorg.conf

find the part called

Section "Device"

and under it make sure there is a line that says

Driver "nvidia"

If it says something other than nvidia, try changing it to solve the problem. You'll have to restart your X-server, I believe that's done with Ctrl + Alt + Backspace.

While you're in the xorg.conf file, you might as well paste its contents to the thread.

arcanistherogue
August 17th, 2005, 01:30 AM
ok.

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600 GT]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600 GT]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

arcanistherogue
August 17th, 2005, 01:32 AM
I think that did it.

15377 frames in 5.0 seconds = 3075.400 FPS
17945 frames in 5.0 seconds = 3589.000 FPS
17868 frames in 5.0 seconds = 3573.600 FPS
17181 frames in 5.0 seconds = 3436.200 FPS
18716 frames in 5.0 seconds = 3743.200 FPS

GreyFox503
August 17th, 2005, 11:34 AM
Great. That means that your 3d acceleration is working and you should be able to try UT2004 again.

arcanistherogue
August 17th, 2005, 05:24 PM
Anyway, there is another problem. I uninstalled UT2004 via the shell script, then reinstalled it as john in my home directory for easy editing. When I run it, it says the following message (after i type ./ut2004):

john@kubuntu:~/ut2004$ ./ut2004
Exporting AS-Convoy.....Successful!
Exporting AS-FallenCity.....Successful!
Exporting AS-Glacier.....Successful!
Exporting AS-Junkyard.....Successful!
Exporting AS-MotherShip.....Successful!
Exporting AS-RobotFactory.....Successful!
Exporting BR-Anubis.....Successful!
Exporting BR-Bifrost.....Successful!
Exporting BR-BridgeOfFate.....Successful!
Exporting BR-Canyon.....Successful!
Exporting BR-Colossus.....Successful!
Exporting BR-DE-ElecFields.....Successful!
Exporting BR-Disclosure.....Successful!
Exporting BR-IceFields.....Successful!
Exporting BR-Serenity.....Successful!
Exporting BR-Skyline.....Successful!
Exporting BR-Slaughterhouse.....Successful!
Exporting BR-TwinTombs.....Successful!
Exporting CTF-1on1-Joust.....Successful!
Exporting CTF-AbsoluteZero.....Successful!
Exporting CTF-Avaris.....Successful!
Exporting CTF-BridgeOfFate.....Successful!
Exporting CTF-Chrome.....Successful!
Exporting CTF-Citadel.....Successful!
Exporting CTF-Colossus.....Successful!
Exporting CTF-DE-ElecFields.....Successful!
Exporting CTF-December.....Successful!
Exporting CTF-DoubleDammage.....Successful!
Exporting CTF-Face3.....Successful!
Exporting CTF-FaceClassic.....Successful!
Exporting CTF-Geothermal.....Successful!
Exporting CTF-Grassyknoll.....Successful!
Exporting CTF-Grendelkeep.....Successful!
Exporting CTF-January.....Successful!
Exporting CTF-Lostfaith.....Successful!
Exporting CTF-Magma.....Successful!
Exporting CTF-Maul.....Successful!
Exporting CTF-MoonDragon.....Successful!
Exporting CTF-Orbital2.....Successful!
Exporting CTF-Smote.....Successful!
Exporting CTF-TwinTombs.....Successful!
Exporting DM-1on1-Albatross.....Successful!
Exporting DM-1on1-Crash.....Successful!
Exporting DM-1on1-Desolation.....Successful!
Exporting DM-1on1-Idoma.....Successful!
Exporting DM-1on1-Irondust.....Successful!
Exporting DM-1on1-Mixer.....Successful!
Exporting DM-1on1-Roughinery.....Successful!
Exporting DM-1on1-Serpentine.....Successful!
Exporting DM-1on1-Spirit.....Successful!
Exporting DM-1on1-Squader.....Successful!
Exporting DM-1on1-Trite.....Successful!
Exporting DM-Antalus.....Successful!
Exporting DM-Asbestos.....Successful!
Exporting DM-Compressed.....Successful!
Exporting DM-Corrugation.....Successful!
Exporting DM-Curse4.....Successful!
Exporting DM-DE-Grendelkeep.....Successful!
Exporting DM-DE-Ironic.....Successful!
Exporting DM-DE-Osiris2.....Successful!
Exporting DM-Deck17.....Successful!
Exporting DM-DesertIsle.....Successful!
Exporting DM-Flux2.....Successful!
Exporting DM-Gael.....Successful!
Exporting DM-Gestalt.....Successful!
Exporting DM-Goliath.....Successful!
Exporting DM-HyperBlast2.....Successful!
Exporting DM-Icetomb.....Successful!
Exporting DM-Inferno.....Successful!
Exporting DM-Injector.....Successful!
Exporting DM-Insidious.....Successful!
Exporting DM-IronDeity.....Successful!
Exporting DM-Junkyard.....Successful!
Exporting DM-Leviathan.....Successful!
Exporting DM-Metallurgy.....Successful!
Exporting DM-Morpheus3.....Successful!
Exporting DM-Oceanic.....Successful!
Exporting DM-Phobos2.....Successful!
Exporting DM-Plunge.....Successful!
Exporting DM-Rankin.....Successful!
Exporting DM-Rrajigar.....Successful!
Exporting DM-Rustatorium.....Successful!
Exporting DM-Sulphur.....Successful!
Exporting DM-TokaraForest.....Successful!
Exporting DM-TrainingDay.....Successful!
Exporting DOM-Access.....Successful!
Exporting DOM-Aswan.....Successful!
Exporting DOM-Atlantis.....Successful!
Exporting DOM-Conduit.....Successful!
Exporting DOM-Core.....Successful!
Exporting DOM-Junkyard.....Successful!
Exporting DOM-Outrigger.....Successful!
Exporting DOM-Renascent.....Successful!
Exporting DOM-Ruination.....Successful!
Exporting DOM-ScorchedEarth.....Successful!
Exporting DOM-SepukkuGorge.....Successful!
Exporting DOM-Suntemple.....Successful!
Exporting Mov-UT2-intro.....Successful!
Exporting MOV-UT2004-Intro.....Successful!
Exporting ONS-ArcticStronghold.....Successful!
Exporting ONS-Crossfire.....Successful!
Exporting ONS-Dawn.....Successful!
Exporting ONS-Dria.....Successful!
Exporting ONS-FrostBite.....Successful!
Exporting ONS-Primeval.....Successful!
Exporting ONS-RedPlanet.....Successful!
Exporting ONS-Severance.....Successful!
Exporting ONS-Torlan.....Successful!
Exporting TUT-BR.....Successful!
Exporting TUT-CTF.....Successful!
Exporting TUT-DM.....Successful!
Exporting TUT-DOM2.....Successful!

Then, when the game is loaded, if I go to Instant Action, there are no gametypes listed under "Gametypes", and I cannot select any maps because the other options are greyed out.

What is happenening, and how do I fix this?

GreyFox503
August 18th, 2005, 12:17 AM
I just ran that same command from a terminal to be sure, and those lines don't appear on my machine.

I don't know what's going on, but it looks like its missing all the maps.

So, you installed it as root before? Is that installation still there? where did you install it to the first time?

arcanistherogue
August 18th, 2005, 12:36 AM
I installed it as root. I did the remove shell script, but i think all the folders are still there.

Now it is installed as mine, so i can easily edit the folders. This is how I had it before the reformat.

GreyFox503
August 18th, 2005, 12:52 AM
Hmm.... I'm not sure what to tell you.

I would just make sure that all the correct files are there. Here's my output of this command telling the size of my UT2004 directory:

david@greyfox:~$ du -bs /opt/games/ut2004/
5801913936 /opt/games/ut2004/

And in the file browser when I right-click on the ut2004 folder and hit properties, it says "2320 items, totalling 5.4 GB"

If these values aren't correct, maybe you're missing some files.

arcanistherogue
August 18th, 2005, 01:16 AM
john@kubuntu:~$ du -bs /home/john/ut2004
5572666336 /home/john/ut2004



Perhaps I am missing something? But when I browse to the map and texture folders, all the files are there. ...This is really odd...

GreyFox503
August 18th, 2005, 11:22 AM
Oh by the way, I should have mentioned this: I installed the ECE Bonus Pack, then patched it to version 3355, so that's for the total I have. I don't know if you have modified your installation at all like mine....

Whipped out the calculator and your ut2004 is 218.6 MB less than mine. However, you say you see all the maps there....

EDIT: I just thought of something. Check your UT2004 directory as a whole, and especially the maps, to make sure the permissions are correct. Those files should it least be readable by all three (owner, group, and others). If they're not, you could select them all and change them in the file browser, or issue the chmod command.

Something like this:

chmod -R 644 /home/john/ut2004

This will change your whole ut2004 directory to let all files be readable by anyone, and allows write by the owner (which should be you)

arcanistherogue
August 18th, 2005, 10:54 PM
Hmmm.... everyone has view permissions, i changed it so everyone has write and view. I didn't patch it yet, but i remember from last time the patch was about 120 MB, so I must be missing something....

lemme try it now...

arcanistherogue
August 18th, 2005, 11:03 PM
Damnit, it isn't working. Can you perhaps check the size of your map folder? In the meantime I'm going to patch my UT installation.

arcanistherogue
August 18th, 2005, 11:45 PM
****!!!! I uninstalled it, then reinstalled it, and I STILL get the error!

Holy crap!

;_; Man how the hell do I fix this.

GreyFox503
August 19th, 2005, 01:49 PM
I'm fairly new here, so I'm afraid my usefulness has just about run out. I did a search, and a find a few other sites where people had problems similar to yours:

http://www.google.com/search?hl=en&lr=&q=ut2004+exporting+...successful&btnG=Search

Try looking through those threads or modifying the search terms. Hopefully one of them will be what you need.

Oh yeah and the map folder:

david@greyfox:~$ du -bs /opt/games/ut2004/Maps/
1531360807 /opt/games/ut2004/Maps/

122 items, totalling 1.4 GB

Dolphin
August 19th, 2005, 02:50 PM
I installed it once on another Ubuntu install and it worked fine.

I installed it on my main machine and for some reason it didn't wanna start.
I found, however, that it works just fine if I start it from shell.

sudo sh ut2004

Something to try.

Kirzzy_Boy
August 19th, 2005, 05:41 PM
I got the same result....
Can anyone pls help this nOOb(me) in changing it to work from the installed game icon under Applications/Other :?

arcanistherogue
August 19th, 2005, 06:37 PM
That sh ut2004 didnt work...

I got the same problem. When I view the ut2004 folder, (i'm in KDE) It says 18 items totaling at 50.7 KB. But, when I go to maps, it says 1.4 GB worth of maps. Odd? Maybe it makes duplicates of each map everytime I try this?

GreyFox503
August 20th, 2005, 01:16 AM
I got the same result....
Can anyone pls help this nOOb(me) in changing it to work from the installed game icon under Applications/Other :?

If you haven't already, I would install SMEG (Simple Menu Editor for GNOME). Add extra repos here if you haven't done so already (don't know if they're required for this, not at my ubuntu box):

http://www.ubuntuguide.org/#extrarepositories

Then do:

sudo apt-get install smeg

I believe its in : Applications > System Tools > Smeg

Then you can edit the existing entry, or create a new one wherever you like. Then if you know how to start it successfully from the command line, just type that command in the properties box of the icon within Smeg.

GreyFox503
August 20th, 2005, 01:19 AM
I have no idea if this is part of the problem, but I run ut2004 from within Gnome. I have KDE installed, but rarely use it and have never ran the game from within there. I'll try it next time I'm at my ubuntu box.

arcanistherogue
August 20th, 2005, 03:22 PM
Perhaps it is, but for 2 months prior to this I ran it on my Kubuntu machine with no flaws.

Kirzzy_Boy
August 23rd, 2005, 03:12 AM
If you haven't already, I would install SMEG (Simple Menu Editor for GNOME). Add extra repos here if you haven't done so already (don't know if they're required for this, not at my ubuntu box):

http://www.ubuntuguide.org/#extrarepositories

Then do:

sudo apt-get install smeg

I believe its in : Applications > System Tools > Smeg

Then you can edit the existing entry, or create a new one wherever you like. Then if you know how to start it successfully from the command line, just type that command in the properties box of the icon within Smeg.
I did that but still no joy.....
It seems I have the following fault:

WARNING: ALC_EXT_capture is subject to change!
Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".

Anyone got any ideas??

arcanistherogue
August 23rd, 2005, 03:13 AM
I can fix that. I had that exact same error. What graphics card are you using?