For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Cannot run Linux version of 227i on Arch Linux

Report bugs, read about fixes, new features and ask questions about the Unreal 227 patch here. Place comments and commit suggestions.
Post Reply
User avatar
King-of-Toasters
Posts: 3
Joined: Fri Jun 09, 2017 5:41 pm

Cannot run Linux version of 227i on Arch Linux

Post by King-of-Toasters »

Hello awesome modders.

Last year I was able to complete Unreal's full campaign thanks to your mods. But that was on Windows, and now I've decided to take the plunge and nuke my Windows install and replace it with Arch Linux. I've been going through all my games to see if they have a native port and realised that the 227i patch includes a native linux version.

Unfortunately I've been pulling my hair out trying to get it to work on my setup and have had many crashes and segfaults along the way. I tried to reach out to the linux gaming subreddit over at https://www.reddit.com/r/linux_gaming/c ... he_native/, and they recommended that I use lutris. It still doesn't run, but it does throw these handy errors:

libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

This does make sense considering I'm using the new AMDGPU drivers instead of the old catalyst drivers. Still, is there any way I can get Unreal running natively?
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Cannot run Linux version of 227i on Arch Linux

Post by Smirftsch »

hey there.
I have no idea what lutris really is or does, therefor I wouldn't know to help with it. But the game should run without :) -

First, be sure to install also a 32bit environment (toolchain and stuff like SDL)and also 32bit graphics drivers if not done already. Use libs provided by your system at first and use only the libs from convenience_libs which your system does not provide.

Check also here: http://www.oldunreal.com/wiki/index.php ... _Linux_FAQ

Try to run UnrealLinux.bin with -log parameter from console and paste the log, either here embedded as "code" or perhaps here: http://oldunreal.com/cgi-bin/nopaste

Then we can see where the problem is.

If nothing helps, I also have a beta yet I am working on, with many many Linux fixes (running and building myself on OpenSuSE Leap 42.2 right now).
Last edited by Smirftsch on Fri Jun 09, 2017 8:15 pm, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
User avatar
King-of-Toasters
Posts: 3
Joined: Fri Jun 09, 2017 5:41 pm

Re: Cannot run Linux version of 227i on Arch Linux

Post by King-of-Toasters »

Thanks for taking the time to help out.

This is the result of running it by itself: http://oldunreal.com/cgi-bin/nopaste/?51

As for Lutris, its like a launcher for your games that simplifies the install process. Basically it extracts the GOG installer and applies your patch over the top of it (location https://lutris.net/games/unreal-gold/). It also drops a start script in the root folder which contains:

Code: Select all

#!/bin/sh
cd /home/stephen/Games/unreal-gold/System
MESA_EXTENSION_MAX_YEAR=1999 LD_LIBRARY_PATH=/home/stephen/Games/unreal-gold/lib:/home/stephen/Games/unreal-gold/System exec ./UnrealLinux.bin 
Now when I run this w/ -log I get : http://oldunreal.com/cgi-bin/nopaste/?52
Last edited by King-of-Toasters on Sat Jun 10, 2017 6:49 am, edited 1 time in total.
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Cannot run Linux version of 227i on Arch Linux

Post by Smirftsch »

the 2nd one looks fine, it found the OpenGL driver and initializes it:

Code: Select all

Loaded render device class.
Initializing OpenGLDrv...
binding libGL.so.1
OpenGL
OpenGL
No localization: appUnixPath.General.Product (int)
GL_VENDOR     : X.Org
GL_RENDERER   : Gallium 0.4 on AMD TAHITI (DRM 3.10.0 / 4.11.3-1-ARCH, LLVM 4.0.0)
GL_VERSION    : 3.0 Mesa 17.1.1
It "only" lacks audio yet:

Code: Select all

1321.3ms Loading: Package ALAudio
Failed to load 'Class ALAudio.ALAudioSubsystem': Failed to find object 'Class ALAudio.ALAudioSubsystem'
First try to run it with "-nosound" option, then it should start.

Next step then is to check why sound is not working. Often it is missing FMod3 on the system. This one can be found in the convenience libs.
227i uses FMod3 yet for music output. For 227j I moved to libxmp, so that are no deps anymore to proprietary software like FMod.

If this is not it, try to run ldd on ALAudio.so, it should reveal if there is any other dependency missing yet.
Last edited by Smirftsch on Sat Jun 10, 2017 8:22 am, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
User avatar
King-of-Toasters
Posts: 3
Joined: Fri Jun 09, 2017 5:41 pm

Re: Cannot run Linux version of 227i on Arch Linux

Post by King-of-Toasters »

You were correct, running w/ -nosound makes it run. However both fullscreen and windowed mode are a bit bugged. In FS mode the game stays on the top left corner ( https://my.mixtape.moe/slgcgu.png ), whilst in windowed mode mouse control stops working in menus.

I ran ldd on ALAudio.so and copied across libfmod.so and libalut.so.0 from the lin_convenience_libs archive. This time the game just segfaults, as shown here: http://oldunreal.com/cgi-bin/nopaste/?53. I'm going to experiment with compiling versions from the AUR to see if they work.
Last edited by King-of-Toasters on Sat Jun 10, 2017 11:06 am, edited 1 time in total.
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Cannot run Linux version of 227i on Arch Linux

Post by Smirftsch »

perhaps just PM me for beta testing the new version ^^
Sometimes you have to lose a fight to win the war.
Post Reply

Return to “Unreal 227”