Documenting installing UT2004 64-bit on linux Ubuntu

Started by Piglet, October 31, 2024, 22:38

The_Coolest

This works for me:
gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles --method org.freedesktop.DBus.Properties.Set 'net.hadess.PowerProfiles' 'ActiveProfile' "<'power-saver'>"
sleep 0.1
gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles --method org.freedesktop.DBus.Properties.Set 'net.hadess.PowerProfiles' 'ActiveProfile' "<'balanced'>"

Piglet

@The_Coolest, what utility is that you're using to see the information?

Piglet

it seems to change the "Bzy_MHz" for me. This with UT running on thread 5:


sudo turbostat -c 5
....
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       183     7.60    2411    3400    1.41    2789    0       2440    0.00    92.66   0.54    27.18
5       5       183     7.60    2411    3400    1.41    2789    0       2440    0.00    92.66   0.54    27.18
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       1464    62.24   2352    3400    1.48    9392    0       5605    0.00    38.46   1.33    29.28
5       5       1464    62.24   2352    3400    1.48    9392    0       5605    0.00    38.46   1.33    29.28
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       2884    99.95   2886    3400    1.28    5426    0       10      0.00    0.05    2.92    30.83
5       5       2884    99.95   2886    3400    1.28    5426    0       10      0.00    0.05    2.92    30.83
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       2884    100.00  2884    3400    1.26    5400    0       0       0.00    0.00    2.90    31.06
5       5       2884    100.00  2884    3400    1.26    5400    0       0       0.00    0.00    2.90    31.06
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       2863    99.71   2871    3400    1.29    5446    0       73      0.00    0.29    2.88    30.77
5       5       2863    99.71   2871    3400    1.29    5446    0       73      0.00    0.29    2.88    30.77


sudo cpupower -c 5 frequency-set --governor performance


Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       3644    100.00  3644    3400    1.26    5407    0       0       0.00    0.00    5.61    36.55
5       5       3644    100.00  3644    3400    1.26    5407    0       0       0.00    0.00    5.61    36.55
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       4418    100.00  4418    3400    1.24    5407    0       0       0.00    0.00    8.28    42.82
5       5       4418    100.00  4418    3400    1.24    5407    0       0       0.00    0.00    8.28    42.82
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       4413    100.00  4413    3400    1.24    5404    0       3       0.00    0.00    8.25    42.32
5       5       4413    100.00  4413    3400    1.24    5404    0       3       0.00    0.00    8.25    42.32
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       4408    99.96   4410    3400    1.24    5395    0       4       0.00    0.04    8.22    42.11
5       5       4408    99.96   4410    3400    1.24    5395    0       4       0.00    0.04    8.22    42.11
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       4209    100.00  4209    3400    1.25    5399    0       0       0.00    0.00    7.53    41.00
5       5       4209    100.00  4209    3400    1.25    5399    0       0       0.00    0.00    7.53    41.00

sudo cpupower -c 5 frequency-set --governor powersave

Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       2882    100.00  2882    3400    1.29    5400    0       0       0.00    0.00    2.89    30.89
5       5       2882    100.00  2882    3400    1.29    5400    0       0       0.00    0.00    2.89    30.89
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       2882    100.00  2882    3400    1.29    5407    0       0       0.00    0.00    2.89    31.03
5       5       2882    100.00  2882    3400    1.29    5407    0       0       0.00    0.00    2.89    31.03
^CCore  CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1      POLL%   C1%     CorWatt PkgWatt
-       -       2903    99.81   2908    3400    1.29    3541    0       10      0.00    0.20    3.14    32.29
5       5       2903    99.81   2908    3400    1.29    3541    0       10      0.00    0.20    3.14    32.29










The_Coolest

It's Core Temp, it's WIP being ported to Linux.
If you want to check it out, feel free (check README for instructions) and note that the current build spams dmesg.
https://www.alcpu.com/CoreTemp/CoreTemp-1-19-4-Linux.zip

Piglet


When I lost sound on 32 bit UT, after having it working fine for ages, I fixed it by adding adding drivers=alsa in to /etc/openal/alsoft.conf, which made it start working again. You'll need to sudo edit the file.  For me the drivers section was about line 54

Piglet

Note to self: To set specific frequency range on the core used for UT

sudo cpupower -c 5 frequency-set -d 4450MHz -u 4550MHz -g performance

Rage

Favorites::ImportText: Bad termination in: (ServerID=0,IP="80.4.151.145",Port=4777,QueryPort=4778,ServerName="@@[��M��i��A@@] ��W��A��R��F��A��R��E xxNkko ]]BPPeCCr55s((e��r
appMsgf(): Your CD key appears to be invalid.  You will need to reinstall the game and enter your CD key to fix this problem.
Signal: SIGTRAP [trap]
Aborting.

Rage

any ideas how to fix the above - i didnt know what file type piglet used for the cdkey so i used a .txt file - what should i have used????


Nardaq_NL

4. Created a file "cdkey" in ~/.ut2004/System directory containing my CD Key

Piglet

You can ignore the "bad termination" line. That just lets you know there's a duff line in favourites that isn't being parsed. I just edited/removed lines that game that that sort of output

Rage

i have change my libraries to 32bit game now loads but i have insanely low fps -- 20fps and ideas what is wrong???

TheDeadlyNightshade


I've just had a quick look through this thread, and I'm pretty impressed - I've tried running games like UT on Linux before, and it's never worked without agony and suffering.

I might give this a go, considering how I have a laptop that won't support Windows 11, and I don't feel entirely comfortable keeping it on Windows 10 since support ends October this year (AFAIK).

Piglet

Whilst these instructions should work for the versions of linux specified in the notes, do be careful not to get a much more recent version of Ubuntu than detailed as some of the libraries needed would need additional work to get running - they're not available in later versions. i.e. you may need to go back to source and recompile them yourself!




Nardaq_NL

Or install windows 11 with cpu and tpm2 check disabled on install.

TheDeadlyNightshade

Doesn't patched Windows 11 (with TPM requirements removed) have issues with things such as getting important updates?