PDA

View Full Version : Unreal Tournament 2004 lag


DarkManX4lf
June 27th, 2005, 12:46 AM
as a new user to linux i managed to get UT2004 DEMO to work nicely, only thing is i get lag....not net lag, but video lag, but it only happens on certain maps (i forget which).....but what would happen is it would be all find for a second and then when i get to a slightly crowded area it lags...but then it smooths out....its like its loading something...lags and then becomes fine...


anyone know how to fix this?


also a friend of mine let me borrow his retail UT2004 dvd, and i tried to install it but it wont let me install...in the terminal i type

cd /media/cdrom0

and then:

sh ./linux-installer.sh

but it says this after the above

./linux-installer.sh: ./linux-installer.sh: cannot execute binary file

anyone know how to fix this as well ?

apollo2011
June 27th, 2005, 10:53 AM
I have the UT2004 CD Set, and have been able to install it fine on both SuSE and Linux and then actually, never installed it on Ubuntu, just forwarded everything to the SuSE installation. It runs fine on both. First of all,my first guess would be that maybe your hardware is not good enough for the game, maybe you should try lowering the video quality settings and see if that fixes/lessens the problem.

Second, in order to install off the CDs/DVD you need to copy the linux-installer.sh off the DVD. So browse to the DVD, copy the file temporarily to your home directory, and then go into the console and type ./linux-installer.sh (like you did but only from your home dir). That should load the installation program and start the installation after aksing where to install.

Hope this helps you with your problems :)

DarkManX4lf
June 27th, 2005, 12:29 PM
I have the UT2004 CD Set, and have been able to install it fine on both SuSE and Linux and then actually, never installed it on Ubuntu, just forwarded everything to the SuSE installation. It runs fine on both. First of all,my first guess would be that maybe your hardware is not good enough for the game, maybe you should try lowering the video quality settings and see if that fixes/lessens the problem.

Second, in order to install off the CDs/DVD you need to copy the linux-installer.sh off the DVD. So browse to the DVD, copy the file temporarily to your home directory, and then go into the console and type ./linux-installer.sh (like you did but only from your home dir). That should load the installation program and start the installation after aksing where to install.

Hope this helps you with your problems :)


so my system:

ASUS A8V Deluxe
AMD 64 3500
1 GIG Kingston DDR
Ati Radeon 9800 (oc'ed to xt)
SB Audigy 2

is not good enough ?

also i did copy the file to my home folder and then tried to run the install from there...but it still says the same thing

./linux-installer.sh: ./linux-installer.sh: cannot execute binary file

apollo2011
June 27th, 2005, 12:34 PM
](*,) No, that system should be plenty good enough (better than mine for sure)! :)

I believe the problem is that the file is not executable. In the console first type "chmod a+x linux-installer.sh" and then do "./linux-installer.sh" There are different procedures for getting .runs, .bins, and .shs to run and quite honestly, I don't remember what you have to do for each one... :-?

DarkManX4lf
June 27th, 2005, 01:46 PM
](*,) No, that system should be plenty good enough (better than mine for sure)! :)

I believe the problem is that the file is not executable. In the console first type "chmod a+x linux-installer.sh" and then do "./linux-installer.sh" There are different procedures for getting .runs, .bins, and .shs to run and quite honestly, I don't remember what you have to do for each one... :-?


i tried that and it still says the same thing
bash: ./linux-installer.sh: cannot execute binary file

apollo2011
June 27th, 2005, 03:08 PM
OK, I believe I gave you the wrong procedure, like I said, I get them confused!

type "sh linux-installer.sh". If it doesn't work,

then try "chmod +x linux-installer.sh"
then "./linux-installer.sh"

Hope one of these works! :-?

DarkManX4lf
June 27th, 2005, 03:21 PM
thanks, but that stiill did not work, i dont get it...i dont see why it wont install in linux using the linux installer....the real funny thing is i got it to install in cedega, although when trying to run the game there were some errors....


there must be a way !!!!

apollo2011
June 27th, 2005, 04:00 PM
that's strange cuz I looked it up...

DarkManX4lf
June 27th, 2005, 04:04 PM
yea i dont know why it wont open either.

apollo2011
June 27th, 2005, 04:06 PM
You did copy the whole file not just linked to it or something strange like that right?

DarkManX4lf
June 27th, 2005, 04:18 PM
yea i copied the whole file its 28.3MB

DarkManX4lf
June 28th, 2005, 02:20 AM
well i found out a little more about the lag i have, i see that its only on the onsalught maps, the ctf maps are pretty much ok....

noerej
June 28th, 2005, 12:48 PM
I have lag on the Onslaught maps and I'm not the only one either. Lowering the video quality sometimes helps, but your best bet is to find a better server.

Zeroedout
June 28th, 2005, 02:50 PM
outta curiousity, did you copy the file to your home directry? If so, when you right click it, and hit the permissions, who is allowed to execute?

apollo2011
June 28th, 2005, 03:13 PM
I have lag on the Onslaught maps and I'm not the only one either. Lowering the video quality sometimes helps, but your best bet is to find a better server.

I think the lag he was having was hardware-based. He said it wasn't net lag.I would assume the kind of lag he has occurs even you are playing Instant Action with just bots on your local computer.

DarkManX4lf
June 29th, 2005, 10:45 AM
i made sure everyone has permissions to it. well there is one thing that could be a problem ? the dvd that i have is the german version...or at least thats what it says on the dvd label in ubuntu...i bought a copy and i am awaiting its arrival so hopefully that one will work

smack
June 29th, 2005, 04:26 PM
You don't need to copy the installer to your home directory.

Don't navigate to the cd and then launch the installer because when it asks you to swap CDs it won't let you unmount/eject because bash(or whatever shell you use) will be using your CDROM.

Instead keep your shell out of the CD and just use a fully qualified path to the installer. Example 'sh /media/cdrom/installer.sh'(right) vs './installer.sh'(wrong).

DarkManX4lf
June 29th, 2005, 06:30 PM
You don't need to copy the installer to your home directory.

Don't navigate to the cd and then launch the installer because when it asks you to swap CDs it won't let you unmount/eject because bash(or whatever shell you use) will be using your CDROM.

Instead keep your shell out of the CD and just use a fully qualified path to the installer. Example 'sh /media/cdrom/installer.sh'(right) vs './installer.sh'(wrong).
thanks but that did not work here is what i did and what it said:

root@ubuntu:~ # sh /media/cdrom/linux-installer.sh
/media/cdrom/linux-installer.sh: /media/cdrom/linux-installer.sh: cannot execute binary file

i am always logged in as root btw.

apollo2011
June 29th, 2005, 09:06 PM
that is really bizarre.

DarkManX4lf
June 30th, 2005, 03:08 PM
yea it is, im going to wait for my retail version to arrive and see if i can install with that.

DarkManX4lf
July 5th, 2005, 04:28 PM
yea so i got my retail version, and the install works now.

apollo2011
July 6th, 2005, 11:29 AM
Is there still lag when you play some of the maps?

DarkManX4lf
July 6th, 2005, 03:04 PM
yea there is, its only the onslaught maps tho, all the other gametypes/maps are perfecly fine and just as good as in windows, but the onslaught is laggy,

DarkManX4lf
July 6th, 2005, 06:32 PM
i think i got rid of the lag, i installed the new drivers from the ati website, and i think there is no more lag on onslaught maps gotta play more onilne to check.

Djeepy46234
July 7th, 2005, 02:15 AM
It's slower on Linux than on Windows for some games. I'm lagging so much only with those OpenGL screensavers...

apollo2011
July 7th, 2005, 12:08 PM
i think i got rid of the lag, i installed the new drivers from the ati website, and i think there is no more lag on onslaught maps gotta play more onilne to check.
Sounds like you got it working pretty good now.

DarkManX4lf
July 7th, 2005, 10:24 PM
Sounds like you got it working pretty good now.

yea once i got the ATI drivers from the ATI site working onslaught runs smoother.

MrPsycho
July 8th, 2005, 01:44 AM
i think i got rid of the lag, i installed the new drivers from the ati website, and i think there is no more lag on onslaught maps gotta play more onilne to check.
I have this exact same problem.

Retail version
Athlon 1700+
G4 ti 4600
1gb ram
audigy

When I scale down the vid quality, the pausing is less frequent. Its very strange because it feels like its loading something. With the graphics all the way up the pausing is as frequent as every 30 seconds.

For a time, i thought the problem was related to the audigy, but removing the card still produced the same results. Right now I'm going to test my theory that its related to the fact that ubuntu puts the swap partition on the end of the drive. I've moved my swap to the beginning and I'm going to see if it makes a difference.

DarkManX4lf
July 8th, 2005, 01:55 AM
yea my lag is gone completely, the new ATI drivers did it, although in linux i get lower fps than i do in windows.

MrPsycho
July 8th, 2005, 04:49 AM
Moving my swap to the front of the drive didnt fix it :( . Any suggestions?

evilghost
July 18th, 2005, 07:53 PM
Moving my swap to the front of the drive didnt fix it :( . Any suggestions?

You're right. You need to adjust the amount of preload cache. In your ~/.ut2004/System/UT2004.ini set the line:

CacheSizeMegs=512

This line occurs in two places. This is assuming you have at least 1GB of RAM. If you have less, adjust that value accordingly.

Additionally, set:
VARSize=64 from 32 if you have a video card with at least 128MB of RAM.