Lade...
 

UT99 and Linux

UT99 and Linux


UT99 runs too fast on modern CPUs


Fund this here: http://www.supernature-forum.de/unreal-tournament-snc-forum/45875-ut99-laeuft-zu-schnell.html

To summarize:

Modern CPUs run on low frequency when saving power. UT computes the speed of the CPU at program start and uses this value as speed factor. To switch off the CPU frequency scaling one can use this script:

#!/bin/bash

UT_PATH=/usr/local/games/ut99

xgamma -gamma 1.7
su -c "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
cd $UT_PATH
./ut
su -c "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
xgamma -gamma 1.0


You can use sudo instead of su if you are familiar with.

For Windows :-) :
C:\Games\UT\System\UnrealTournament.exe -CPUSPEED=1600
(Example)


Erstellt von admin. Letzte Änderung: Donnerstag August 14, 2008 16:21:06 GMT-0000 by admin.