logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Cannot run Linux version of 227i on Arch Linux (Read 319 times)
King-of-Toasters
New Member
*
Offline


Oldunreal member

Posts: 3
Joined: Jun 9th, 2017
Cannot run Linux version of 227i on Arch Linux
Jun 9th, 2017 at 8:00pm
Print Post  
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/comments/6g7n1p/has_anyone_had_any_success..., 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?
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Cannot run Linux version of 227i on Arch Linux
Reply #1 - Jun 9th, 2017 at 8:12pm
Print Post  
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 Smiley -

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?title=Oldunreal_227_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).
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
King-of-Toasters
New Member
*
Offline


Oldunreal member

Posts: 3
Joined: Jun 9th, 2017
Re: Cannot run Linux version of 227i on Arch Linux
Reply #2 - Jun 10th, 2017 at 6:45am
Print Post  
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
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Cannot run Linux version of 227i on Arch Linux
Reply #3 - Jun 10th, 2017 at 8:20am
Print Post  
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.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
King-of-Toasters
New Member
*
Offline


Oldunreal member

Posts: 3
Joined: Jun 9th, 2017
Re: Cannot run Linux version of 227i on Arch Linux
Reply #4 - Jun 10th, 2017 at 11:05am
Print Post  
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.
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Cannot run Linux version of 227i on Arch Linux
Reply #5 - Jun 10th, 2017 at 12:42pm
Print Post  
perhaps just PM me for beta testing the new version ^^
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo