Now that UT99 runs perfectly fine natively, I've installed Unreal and RTNP through Wine, patched them, combined them and installed OU's patch 227. It works with -nosound, but I'm encounterng the fabled audio issue: it refuses to run with sound enabled. ALAudio, Fmod, SwFmod, all refuse to work and send back the message "Failed to load ALAudio! Can't find file for package AlAudio" in the log (same with the others).
It runs fine in Wine but I'd like to run it natively outside teh compatibility layer.
This is happening on 227i. Same issue happened when I tried 227j. Enabling ProbeDevicesOnly in UnrealLinux.ini doesn't seem to work on any device (I get nothing new in the log). using ldd showed I miss a few libraries which I installed from the convenience_libs provided with the patch. Now, only libfmodex.so is missing, but I stumbled upon a post by Smirftsch himself saying not to worry about it.
I'm at a loss, any idea?
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
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
Unreal unable to run with sound on Linux
-
Hellkeeper
- Global Moderator
- Posts: 3294
- Joined: Wed May 21, 2008 8:24 pm
- Location: France
Unreal unable to run with sound on Linux
You must construct additional pylons.
-
Hellkeeper
- Global Moderator
- Posts: 3294
- Joined: Wed May 21, 2008 8:24 pm
- Location: France
Re: Unreal unable to run with sound on Linux
Updated to 227j. Still works fine through Wine, which is good. Since I'm using a 2010 laptop, the x64 version of Unreal doesn't work as previously mentioned on the forum, so I'm trying to get the 32-bits version of Unreal to work natively. When launching the game, it seems id doesn't find something.
The game doesn't open and exits with a segmentation fault and the message "Couldn't find matching GLX visual".
Code: Select all
SDL2: Creating new window with 1280x800
GL_VENDOR : (null)
GL_RENDERER : (null)
GL_VERSION : (null)
Code: Select all
Developer Backtrace:
[ 1] ./Core.so(_Z12HandleSignali+0x1a5) [0xf3cf9635]
[ 2] linux-gate.so.1(__kernel_sigreturn+0) [0xf46c3590]
[ 3] /usr/lib32/libc.so.6(+0xafc36) [0xf2f05c36]
[ 4] ./OpenGLDrv.so(_ZN19UOpenGLRenderDevice6SetResEiiii+0x30a) [0xddde910a]
[ 5] ./OpenGLDrv.so(_ZN19UOpenGLRenderDevice4InitEP9UViewportiiii+0x31c) [0xdddeadbc]
[ 6] ./SDL2Drv.so(_ZN13USDL2Viewport15TryRenderDeviceEPKwiiii+0x13d) [0xf24f276d]
[ 7] ./SDL2Drv.so(_ZN13USDL2Viewport10OpenWindowEPviiiiiPKw+0x10f) [0xf24f021f]
[ 8] ./Engine.so(_ZN11UGameEngine4InitEv+0x364f) [0xf38d6aff]
[ 9] ./UnrealLinux.bin() [0x804e69b]
[10] /usr/lib32/libc.so.6(+0x22357) [0xf2e78357]
[11] /usr/lib32/libc.so.6(__libc_start_main+0x8d) [0xf2e7841d]
[12] ./UnrealLinux.bin() [0x804db02]
Signal: SIGSEGV [segmentation fault]
Aborting.
Executing UObject::StaticShutdownAfterError
SDL2: Executing USDL2Client::ShutdownAfterError
UOpenGLRenderDevice::ShutdownAfterError
Signal: SIGSEGV [segmentation fault]
History: UOpenGLRenderDevice::SetRes <- UOpenGLRenderDevice::Init <- USDL2Viewport::TryRenderDevice <- USDL2Viewport::OpenWindow
You must construct additional pylons.
-
Hellkeeper
- Global Moderator
- Posts: 3294
- Joined: Wed May 21, 2008 8:24 pm
- Location: France
Re: Unreal unable to run with sound on Linux
Made some progress on this: using the current version of 227k, the game still doesn't launch by itself, but it starts up using environment variable SDL_VIDEO_X11_VISUALID=. The 32bit version does not take focus at all and won't let anything else be displayed, so I have to close the user session by touch behind it to kill it. Still no sound, with either alaudio or sfwfmod. The 64 bit version, however, starts up, performance is meh and the window doesn't take focus by default, but it does if I click once after it starts and I can then play. If I can get the sound working, it will be almost perfectly working! I'm afraid Smirftsch and company no longer visit this forum, but some help would be appreciated. Still no idea why this env variable is necessary.
EDIT: finally, for some reason, the ALT key, which I use for secondary fire, seems to believe it's pressed repetitively instead of being kept pressed down (the key is functional, it works as intended in all other games).
EDIT2:
Using this SDL variable, this:
Gets correctly populated (Vendor becomes Intel HD something, Renderer becomes the correct driver etc.).
EDIT3:
SOUND FIXED with sndio installed, providing the missing library for ALAudio to work!
As of now Unreal is working fine except for the ALT key which repeats. If I bind it to alt fire and use the rocket-launcher, it will just lob grenades one at a time instead of storing them and firing 6 at once.
EDIT: finally, for some reason, the ALT key, which I use for secondary fire, seems to believe it's pressed repetitively instead of being kept pressed down (the key is functional, it works as intended in all other games).
EDIT2:
Using this SDL variable, this:
Code: Select all
SDL2: Creating new window with 1280x800
GL_VENDOR : (null)
GL_RENDERER : (null)
GL_VERSION : (null)
EDIT3:
SOUND FIXED with sndio installed, providing the missing library for ALAudio to work!
As of now Unreal is working fine except for the ALT key which repeats. If I bind it to alt fire and use the rocket-launcher, it will just lob grenades one at a time instead of storing them and firing 6 at once.
You must construct additional pylons.
-
Smirftsch
- Administrator
- Posts: 9008
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
Re: Unreal unable to run with sound on Linux
Oh yes, I do, but hardly as much as I should, that's unfortunately true.
But it's not that I've lost interest or something, just RL provides other tasks for me which I can't ignore.
So usually at the end of my energy there is way to much day left.
Sorry for not having responded earlier here.
On any system I tried non of these things above ever happened to me, but my scope is limited to Debian, Mint, and Ubuntu.
Maybe it's related to the distro, it's drivers or the window manager. It's good to hear that you found some ways to solve this, so maybe this is of help for others as well.
Trying to be on here again some more.
But it's not that I've lost interest or something, just RL provides other tasks for me which I can't ignore.
So usually at the end of my energy there is way to much day left.
Sorry for not having responded earlier here.
On any system I tried non of these things above ever happened to me, but my scope is limited to Debian, Mint, and Ubuntu.
Maybe it's related to the distro, it's drivers or the window manager. It's good to hear that you found some ways to solve this, so maybe this is of help for others as well.
Trying to be on here again some more.
Sometimes you have to lose a fight to win the war.
-
Hellkeeper
- Global Moderator
- Posts: 3294
- Joined: Wed May 21, 2008 8:24 pm
- Location: France
Re: Unreal unable to run with sound on Linux
No problem, I managed to fix most of it.Smirftsch wrote: ↑Sat Sep 06, 2025 8:25 am Oh yes, I do, but hardly as much as I should, that's unfortunately true.
But it's not that I've lost interest or something, just RL provides other tasks for me which I can't ignore.
So usually at the end of my energy there is way to much day left.
Sorry for not having responded earlier here.
Only the ALT problem remains. Probably inked to XFCE's window manager. It doesn't happen with UT99 and patch 469 though.
You must construct additional pylons.