Gaming Zone > Unreal Tournament 2004

Documenting installing UT2004 64-bit on linux Ubuntu

<< < (3/6) > >>

-Adler-:
small instructions:

e.c. current boot order:


Open a terminal (“CTRL” + “ALT” + “T.”) and enter the command.

--- Code: ---sudo nano /etc/default/grub
--- End code ---

Change default value:

--- Code: ---GRUB_DEFAULT=2
--- End code ---
Since Windows is placed 3rd in the boot order and the order starts with 0, in the special case you change GRUB_DEFAULT from 0 to 2.



save changes:
Close the file with the F2 key and confirm saving with “Y” (Yes).
And also confirm “File name to save” with the ENTER key.

update grub:
After saving, the values ​​are written to the boot manager using the following command. A restart now results in Windows booting automatically.

--- Code: ---sudo update-grub
--- End code ---

grub menu after boot:
The preselection is set to 'Windows Boot Manager' in the GRUB boot menu.

Piglet:

--- Quote from: Gil-galad on February 21, 2023, 01:12 ---So, aside from text to speech (doesn't work in Linux),

--- End quote ---

Under [SDLDrv.SDLClient] in UT2004.ini:


--- Code: ---[SDLDrv.SDLClient]
TextToSpeechFile=/home/youruserid/tts.txt

--- End code ---

In the command line, before starting UT:

echo "Starting" > ~/tts.txt; tail -f ~/tts.txt | while read line; do echo "$line" | festival --tts; done;

The_Coolest:

--- Quote from: Piglet on November 09, 2024, 22:31 ---...

--- Code: ---sudo cpupower -c 1 frequency-set --governor powersave
--- End code ---

--- End quote ---

This doesn't work correctly, at least on my system.
Even though the governor is changed, the CPU keeps boosting until I toggle the power plans.
Same behavior with a single core or all cores. I suggest you check it. You can use `turbostat` to see the package power or my Core Temp utility for that or any other hardware monitor utility I guess.

Here are a few screenshots, note Power, Frequency and VID fields.
Before doing anything, idle, Balanced power plan:


While UT is in main menu (core 14):


After exiting game and calling 'sudo cpupower -c 14 frequency-set --governor powersave'


After toggling power mode:

holyspam:
It depends on BIOS and kernel - if you have CPPC1+2 enabled in BIOS, i believe the latest versions of the kernel will use amd_pstate+schedutil as default governor, in this case powersave will not disable boost

If you want the "legacy" behavior, you will have to disable CPPC from BIOS

edit: legacy is called acpi-cpufreq

The_Coolest:
I have no intention of switching to legacy behavior.
I'm no Linux pro, but if you can switch the power profile from the UI, it should be possible to toggle it the same way with a command.
I tried looking for how it's done, and found this:
https://ubuntuhandbook.org/index.php/2023/10/command-cpu-power-mode-ubuntu-22-04/
Haven't tried it myself yet. You either need to install powerprofilesctl or run a convoluted command, I guess this isn't really an issue as this would be executed as a script anyway.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version