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

Unable to play with sound enabled 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
stoatally
Posts: 4
Joined: Sun Feb 05, 2017 1:09 am

Unable to play with sound enabled on Arch Linux

Post by stoatally »

Hi, I've been trying to get my copy of the game running natively on Linux without much luck. The best I can do is use the -nosound flag. I'm using the provided compatibility files, however when I launch the game it exits shortly after creating a window with this error:

Code: Select all

OpenAL Audio subsystem initialized.
Game engine initialized
Startup time: 2.271399 seconds.
No localization: SDLLaunch.General.Run (int)
Entering main loop.
Backtrace: FMallocAnsi::Realloc 

So I checked to see if there was a missing .so:

Code: Select all

: ldd *.so | grep "not found"
      libfmodex.so => not found
There are user submitted packages for lib32-libfmodex available for Arch that I could compile, however it seems FMOD is no longer publicly available and FMOD Ex has been discontinued and cannot be downloaded any longer.

What should I do?
User avatar
stoatally
Posts: 4
Joined: Sun Feb 05, 2017 1:09 am

Re: Unable to play with sound enabled on Arch Linux

Post by stoatally »

Well, not 5 minutes later I was able to find a source for libfmodex, it's not what causes the crash. I'm going to grab a fresh copy from GOG and re-apply the patch since the copy I have has been sitting on my drive for who knows how long.

Another thought however, have you had any luck compiling for 64 bit? Is that even something realistic to expect? Arch Linux is phasing out 32 bit support, so it'd hate to have to find and compile a library I need then.
User avatar
stoatally
Posts: 4
Joined: Sun Feb 05, 2017 1:09 am

Re: Unable to play with sound enabled on Arch Linux

Post by stoatally »

Right, did as I said, got a new copy and patched it, here's the full log:

Code: Select all

Processors / Cores 4
Forcing CPU affinity disabled.
0.5ms Loading: Package Engine
43.0ms Loading: Package Core
Checking package Core
Checking package Engine
Unreal engine initialized
Detected 0 joysticks
SDLClient initialized.
Bound to Render.so
91.4ms Loading: Package Render
Checking package Render
Lighting subsystem initialized
Rendering initialized
LoadMap: EntryII.unr
92.9ms Loading: Package EntryII
100.8ms Loading: Package PlayrShp
103.2ms Loading: Package Detail
Bound to Fire.so
104.5ms Loading: Package Fire
Checking package Fire
108.2ms Loading: Package GenIn
109.7ms Loading: Package Starship
112.1ms Loading: Package GenFX
Bound to Emitter.so
114.7ms Loading: Package Emitter
124.5ms Loading: Package UnrealShare
Checking package Emitter
207.6ms Loading: Package genfluid
209.1ms Loading: Package UnrealI
Bound to Editor.so
370.0ms Loading: Package Editor
Checking package Editor
373.5ms Loading: Package GenWarp
374.4ms Loading: Package Footsteps
377.6ms Loading: Package AmbAncient
379.0ms Loading: Package Skaarj
381.3ms Loading: Package Doorsmod
382.5ms Loading: Package Ambmodern
Collecting garbage
Purging garbage
1058.1ms Unloading: Package Render
Garbage: objects: 11877->11876; refs: 147608
Bringing Level EntryII.MyLevel up for play (0)...
InitGame: 
Difficulty 1
Remote Administration with Password 
Base Mutator is EntryII.Mutator0
Initialized moving brush tracker for Level EntryII.MyLevel
Browse: UPack.unr?Name=Player?Class=UnrealI.FemaleOne
LoadMap: UPack.unr?Name=Player?Class=UnrealI.FemaleOne
1065.5ms Loading: Package UPack
1070.9ms Loading: Package NaliCast
1072.2ms Loading: Package NaliFX
1073.0ms Loading: Package GenEarth
1074.2ms Loading: Package SKYBox
1075.1ms Loading: Package AmbOutside
1076.4ms Loading: Package DoorsAnc
1077.5ms Loading: Package shanesky
1078.1ms Loading: Package shaneDAY
1078.8ms Loading: Package Liquids
1079.6ms Loading: Package flyby
Bound to UPak.so
1080.7ms Loading: Package UPak
1098.2ms Loading: Package Marine
1099.4ms Loading: Package UPakFonts
1100.9ms Loading: Package UWindow
1117.1ms Loading: Package UMenu
1132.5ms Loading: Package UBrowser
Bound to IpDrv.so
1140.8ms Loading: Package IpDrv
Checking package IpDrv
Checking package UPak
Collecting garbage
Purging garbage
Garbage: objects: 12873->12857; refs: 204329
Bringing Level UPack.MyLevel up for play (0)...
InitGame: ?Name=Player?Class=UnrealI.FemaleOne
Difficulty 1
Remote Administration with Password 
Base Mutator is UPack.Mutator1
Initialized moving brush tracker for Level UPack.MyLevel
Created and initialized a new SDL viewport.
Login: Player
Possessed PlayerPawn: FemaleOne UPack.FemaleOne0
All inventory from Player is accepted
Input system initialized for SDLViewport
TTS: No output filename specified.
Opening SDL viewport.
Bound to OpenGLDrv.so
Loaded render device class.
Initializing OpenGLDrv...
binding libGL.so.1
OpenGL
OpenGL
No localization: appUnixPath.General.Product (int)
GL_VENDOR     : NVIDIA Corporation
GL_RENDERER   : GeForce GTX 950/PCIe/SSE2
GL_VERSION    : 4.5.0 NVIDIA 375.26
Device supports: GL_EXT_bgra
Device supports: GL_ARB_texture_compression
Device supports: GL_EXT_texture_compression_s3tc
Device supports: GL_EXT_texture_env_combine
Device supports: GL_ARB_texture_env_combine
Device supports: GL_EXT_texture_filter_anisotropic
Device supports: GL_NV_texture_env_combine4
Device supports: GL_EXT_texture_lod_bias
Device supports: GL_EXT_secondary_color
Device supports: GL_ARB_multitexture
Device supports: GL_EXT_multi_draw_arrays
Device supports: GL_ARB_vertex_program
Device supports: GL_ARB_fragment_program
Depth bits: 16
4 Texture Mapping Units found
MaxAnisotropy: 16
Trying to use S3TC extension.
MinLogTextureSize: 2
MaxLogTextureSize: 14
BufferActorTris: 1
UseDetailAlpha: 1
Bound to ALAudio.so
OpenAL: ALDEVICES found 1:PulseAudioSoftware
OpenAL: ALDEVICES found 2:ALSASoftware
OpenAL: Setting FMODOutput to ALSA
OpenAL: FMOD device found 0:default
OpenAL: FMOD device found 1:cards
OpenAL: FMOD device found 2:sysdefault
OpenAL: FMOD device found 3:front
OpenAL: FMOD device found 4:rear
OpenAL: FMOD device found 5:centerlfe
OpenAL: FMOD device found 6:side
OpenAL: FMOD device found 7:surround21
OpenAL: FMOD device found 8:surround40
OpenAL: FMOD device found 9:surround41
OpenAL: FMOD device found 10:surround50
OpenAL: FMOD device found 11:surround51
OpenAL: FMOD device found 12:surround71
OpenAL: FMOD device found 13:iec958
OpenAL: FMOD device found 14:spdif
OpenAL: FMOD device found 15:hdmi
OpenAL: FMOD device found 16:dmix
OpenAL: FMOD device found 17:dsnoop
OpenAL: FMOD device found 18:modem
OpenAL: FMOD device found 19:phoneline
OpenAL: FMOD device found 20:hw
OpenAL: FMOD device found 21:plughw
OpenAL: FMOD device found 22:plug
OpenAL: FMOD device found 23:shm
OpenAL: FMOD device found 24:tee
OpenAL: FMOD device found 25:file
OpenAL: FMOD device found 26:null
OpenAL: FMOD device found 27:default
2082.5ms Loading: Package ALAudio
Checking package ALAudio
OpenAL: ALDevice 0, FMODOutput Enum 3, FMODDevice Enum 0, OutputRate Enum 5
OpenAL: rate 44100
OpenAL: Selected ALDevice is: 0
OpenAL: Failed, trying (again) default device
OpenAL: We are using OpenAL device: PulseAudio Software 
OpenAL: EFX Extensions found
OpenAL: Check for EFX Version - OK

Backtrace: FMallocAnsi::Realloc
Exiting.
Name subsystem shut down
Allocation checking disabled
fish: “./UnrealLinux.bin -log” terminated by signal SIGSEGV (Address boundary error)
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Unable to play with sound enabled on Arch Linux

Post by Smirftsch »

first off, welcome :)

Well, ALAudio in 227i does use FMod3 yet for music output, not FModEx. There is SwFMOD, which uses FModEx though- perhaps this may help.
Other than that, for 227j I switched to libxmp for music output to have some open lib and for the rest to SDL2 instead of old SDL, this combination appears to be more stable. If you want to try this out, drop me a PM or something.
Sometimes you have to lose a fight to win the war.
User avatar
stoatally
Posts: 4
Joined: Sun Feb 05, 2017 1:09 am

Re: Unable to play with sound enabled on Arch Linux

Post by stoatally »

I guess I'll drop you a message then :)
Post Reply

Return to “Unreal 227”