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

Running Unreal via Ubuntu 20.10

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
eGo
OldUnreal Member
Posts: 157
Joined: Sat Mar 08, 2008 7:12 pm
Location: Germany

Running Unreal via Ubuntu 20.10

Post by eGo »

The Linux system is a Ubuntu 20.10 installed via VMware Workstation. After copying all the folders/files of 226 and 227j46 to a separate system folder and making UnrealLinux.bin as an executable the file doesn't run. Nothing happens.

Using ./UnrealLinux.bin or with sudo it says file or directory not found. There're no log files created or any other error messages. Whats wrong or is it a broken version?
Which dependencies does Unreal need?
User avatar
Skywolf
OldUnreal Member
Posts: 880
Joined: Sun Aug 02, 2009 12:20 pm

Re: Running Unreal via Ubuntu 20.10

Post by Skywolf »

Not 100% sure about it but shouldn't the Linux files just be thrown into the regular system directory, not in a separate one? It's what I always did at least...

Anyway, try running

Code: Select all

ldd UnrealLinux.bin | grep -i not
That should indicate what dependencies it's missing. You likely lost the symbolic links when copying the files from your host machine to the VM (assuming your host runs Windows).

These are the symbolic links on my 227_j46 installation (on Lubuntu 20.04 LTS). You can check this for yourself by running this in Unreal's system directory:

Code: Select all

find . -type l -ls

Code: Select all

  1339583      0 lrwxrwxrwx   1 skywolf  skywolf        18 nov 11 23:02 ./libpng16.so.16 -> libpng16.so.16.8.0
  1339441      0 lrwxrwxrwx   1 skywolf  skywolf        12 nov 11 23:02 ./libmikmod.so.2 -> libmikmod.so
  1339349      0 lrwxrwxrwx   1 skywolf  skywolf        24 nov 11 23:07 ./libvorbisfile.so.3 -> ./libvorbisfile.so.3.3.7
  1339438      0 lrwxrwxrwx   1 skywolf  skywolf        15 nov 11 23:02 ./libX11.so -> libX11.so.6.3.0
  1339390      0 lrwxrwxrwx   1 skywolf  skywolf        20 nov 11 23:07 ./libSDL2-2.0.so.0 -> libSDL2-2.0.so.0.9.0
  1339389      0 lrwxrwxrwx   1 skywolf  skywolf        16 nov 11 23:07 ./libSDL2-2.0.so -> libSDL2-2.0.so.0
  1339388      0 lrwxrwxrwx   1 skywolf  skywolf        14 nov 11 23:07 ./libSDL2.so -> libSDL2-2.0.so
  1339381      0 lrwxrwxrwx   1 skywolf  skywolf        14 nov 11 23:07 ./libopenal.so -> libopenal.so.1
  1339401      0 lrwxrwxrwx   1 skywolf  skywolf        20 nov 11 23:02 ./libXxf86dga.so -> libXxf86dga.so.1.0.0
  1339584      0 lrwxrwxrwx   1 skywolf  skywolf        20 nov 11 23:02 ./libdbus-1.so.3 -> libdbus-1.so.3.19.10
  1339437      0 lrwxrwxrwx   1 skywolf  skywolf        43 nov 11 23:07 ./libxmp.so -> /server/data3/src227/System/libxmp.so.4.4.0
  1339403      0 lrwxrwxrwx   1 skywolf  skywolf        20 nov 11 23:02 ./LibXxf86.dga.so.1 -> LibXxf86dga.so.1.0.0
  1339440      0 lrwxrwxrwx   1 skywolf  skywolf        15 nov 11 23:02 ./libxmp.so.4 -> libxmp.so.4.4.0
  1339439      0 lrwxrwxrwx   1 skywolf  skywolf        20 nov 11 23:02 ./libXxf86dga.so.1 -> libXxf86dga.so.1.0.0
  1339385      0 lrwxrwxrwx   1 skywolf  skywolf        15 nov 11 23:02 ./linxX11.so -> libX11.so.6.3.0
  1339383      0 lrwxrwxrwx   1 skywolf  skywolf        19 nov 11 23:07 ./libopenal.so.1 -> libopenal.so.1.19.1
  1339399      0 lrwxrwxrwx   1 skywolf  skywolf        46 nov 11 23:07 ./libpng16.so -> /server/data3/src227/System/libpng16.so.16.8.0
  1339397      0 lrwxrwxrwx   1 skywolf  skywolf        16 nov 11 23:02 ./libXpm.so -> libXpm.so.4.11.0
  1339442      0 lrwxrwxrwx   1 skywolf  skywolf        17 nov 11 23:02 ./libfmod.so -> ./libfmod-3.75.so
Not sure what's up with libpng16.s0 and libxmp.so though. Those are clearly a broken link but Unreal never complained. They are supposed to link to libpng16.so.16.8.0 and libxmp.so.4.4.0 respectively if that wasn't obvious.
User avatar
eGo
OldUnreal Member
Posts: 157
Joined: Sat Mar 08, 2008 7:12 pm
Location: Germany

Re: Running Unreal via Ubuntu 20.10

Post by eGo »

I've fixed the broken links and the executable does not output any other dependencies.
Folder access and rights are everything ok...running the executable with root access also has no effect.

Code: Select all

...
-rw-rw-r-- 1 jan jan      103 Okt 18 22:41 Unreal.int
-rw-rw-r-- 1 jan jan      574 Okt 18 22:41 UnrealIntegrity.int
-rwxrwxr-- 1 jan jan 22312484 Nov  1 12:32 UnrealI.u
-rwxrwxr-x 1 jan jan   201728 Nov  1 11:51 UnrealLinux.bin

...

root@vmubuntu:/home/jan/Games/Unreal/System# ./UnrealLinux.bin 
bash: ./UnrealLinux.bin: File or Directory not found
root@vmubuntu:/home/jan/Games/Unreal/System# 
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Running Unreal via Ubuntu 20.10

Post by Smirftsch »

Looks very much like missing x86 runtime files.

Check with dpkg --print-foreign-architectures
and add with
dpkg --add-architecture i386

or try with 64b version ;)
Sometimes you have to lose a fight to win the war.
User avatar
eGo
OldUnreal Member
Posts: 157
Joined: Sat Mar 08, 2008 7:12 pm
Location: Germany

Re: Running Unreal via Ubuntu 20.10

Post by eGo »

Some errors...with newest j47 pre beta

Code: Select all

jan@vmubuntu:~/Games/Unreal/System$ sudo ./UnrealLinux.bin 
WARNING: Not using preference directory
Forcing CPU affinity disabled.

No PhysicsEngine specified, PHYS_RigidBody will not be working!

Developer Backtrace:
[ 1]  ./Core.so(_Z12HandleSignali+0x214) [0x7f1f104f13d4]
[ 2]  /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f1f0fda53c0]
[ 3]  /lib/x86_64-linux-gnu/libc.so.6(+0x180e73) [0x7f1f0f9c0e73]
[ 4]  ./UnrealLinux.bin(_ZN7FStringpLEPKw+0xbc) [0x40a42c]
[ 5]  ./UnrealLinux.bin() [0x409f5c]
[ 6]  ./Core.so(_ZN13FOutputDevice4LogfEPKwz+0x25a) [0x7f1f1055c9aa]
[ 7]  ./Core.so(_ZN7UObject13SafeLoadErrorEjPKwS1_z+0x179) [0x7f1f105895e9]
[ 8]  ./Core.so(_ZN7UObject15StaticLoadClassEP6UClassPS_PKwS4_jP11UPackageMap+0x384) [0x7f1f1058c894]
[ 9]  ./Engine.so(_ZN11UGameEngine4InitEv+0x2ccf) [0x7f1f1009807f]
[10]  ./UnrealLinux.bin(main+0xa94) [0x407664]
[11]  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1f0f8670b3]
[12]  ./UnrealLinux.bin() [0x40697a]
Signal: SIGSEGV [segmentation fault]
Aborting.

Signal: SIGSEGV [segmentation fault]

History: (no backtrace available.)

Exiting due to error
LOG:

Code: Select all

Log: Log file open, Sat Apr  3 17:48:47 2021
Init: Name subsystem initialized
Init: Version: 227 Subversion: 10
Init: Compiled: Apr  2 2021 17:40:13
Init: Command line: 
Init: Base directory: 
Init: Character set: Unicode
Log: Bound to Core.so
Log: Bound to Engine.so
Init: Object subsystem initialized
Init: OS: Linux
Init: Computer: vmubuntu
Init: User: jan
Init: CPU Detected: AMD FX(tm)-8350 Eight-Core Processor           
Init: Memory total: Phys=8123340K Virt=2097148K
Init: CPU Features: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 SSE5 SSE4A MMXPLUS
Init: CPU Speed=4000.064063 MHz
Init: CPU Page size=4096, Processors / Cores 2
Log: Forcing CPU affinity disabled.
Init: Unreal engine initialized
Warning: Failed to load 'PhysXPhysics': Can't find file for package 'PhysXPhysics'
Warning: Failed to load 'Class PhysXPhysics.PhysXPhysics': 
Warning: 
Log: 
Log: No PhysicsEngine specified, PHYS_RigidBody will not be working!
Log: Bound to SDL2Drv.so
Log: SDL2: Initializing
Init: SDL2: Detected 0 joysticks
Init: SDL2: Client initialized.
Log: Bound to Render.so
Warning: Failed to load 'Render': Can't find file for package 'Engine'
Warning: Failed to load 'Render': 
Warning: Failed to load 'Class Render.Render': 
Warning: 
Critical: appError called:
Critical: 
Exit: Executing UObject::StaticShutdownAfterError
Exit: SDL2: Executing USDL2Client::ShutdownAfterError
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, Sat Apr  3 17:48:57 2021
User avatar
Skywolf
OldUnreal Member
Posts: 880
Joined: Sun Aug 02, 2009 12:20 pm

Re: Running Unreal via Ubuntu 20.10

Post by Skywolf »

You're likely missing some 32 bit libraries on which Render.so relies.

You can check with

Code: Select all

ldd Render.so
I remember running these commands back when I ran into similar issues running Unreal on Lubuntu 20.04:

Code: Select all

sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
On a side note: Seems the 64bit build of 227_j47 is borked. Running it just gives this:

Code: Select all

skywolf@Lenovo-110s:~/Games/Unreal_Gold_j47/System64$ ./UnrealLinux.bin -log
Illegal instruction (core dumped)
The segmentation fault also seems to be a bug. It seems to happen in 227_j47 whenever the game exists due to an error.
User avatar
eGo
OldUnreal Member
Posts: 157
Joined: Sat Mar 08, 2008 7:12 pm
Location: Germany

Re: Running Unreal via Ubuntu 20.10

Post by eGo »

Thats the output I think its ok. Architecture libraries for x86 btw x64 are installed.

Code: Select all

jan@vmubuntu:~/Games/Unreal/System$ ldd Render.so 
	linux-vdso.so.1 (0x00007fff041e4000)
	Core.so => ./Core.so (0x00007feb83048000)
	Engine.so => ./Engine.so (0x00007feb82ae8000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007feb828e8000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feb82798000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007feb82778000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feb82580000)
	/lib64/ld-linux-x86-64.so.2 (0x00007feb83e70000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007feb82570000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007feb82548000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007feb82540000)
	libSDL2-2.0.so.0 => ./libSDL2-2.0.so.0 (0x00007feb823d0000)
	libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007feb82398000)
	libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007feb82388000)
	libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007feb82358000)
	libvorbisfile.so.3 => /lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007feb82348000)
	libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007feb82298000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007feb82240000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007feb82220000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007feb82170000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007feb82140000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007feb82118000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007feb81ff8000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007feb81fd0000)
User avatar
ividyon
OldUnreal Member
Posts: 165
Joined: Thu Mar 24, 2005 11:11 am

Re: Running Unreal via Ubuntu 20.10

Post by ividyon »

Since you're an internal betatester, could you please check the newest snapshot from the GitHub? There have been quite a few changes in the compilation process in the last few weeks.

If you're not, just DM me with your GitHub account email on the forums or on Discord.
User avatar
eGo
OldUnreal Member
Posts: 157
Joined: Sat Mar 08, 2008 7:12 pm
Location: Germany

Re: Running Unreal via Ubuntu 20.10

Post by eGo »

I found the problem. libz and libdbus were corrupted. After reinstall 64bit version works fine now but with a few lines of notes. I don't know libdump. Perhaps a debugger lib?

Code: Select all

Error loading libdumb.so: libdumb.so: cannot open shared object file: No such file or directory
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Post Reply

Return to “Unreal 227”