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

[UnrealLinux.bin] (Pach 227h) music lags behind

for Unreal & UnrealTournament
Post Reply
User avatar
itti
Posts: 3
Joined: Sat Jul 23, 2011 8:56 am

[UnrealLinux.bin] (Pach 227h) music lags behind

Post by itti »

Hi,

great work with the native unreal binary. I experience one problem though. The music seems to "lag behind". This means that in the opening intro flight at first there is no music but halfway through it starts playing. If I start a new single player game (or botmatch) the same music keeps playing for a while and then stops or changes to the new music (based on what map I play).

On the console this gets logged:
Processors / Cores 2
Forcing CPU affinity disabled.
Failed, trying (again) default device
EFX Extensions found
FMOD couldn't set 200 buffer size!
I'm using Arch Linux x86_64. To get unreal to work i installed "freealut 1.1.0", "lib32-freealut 1.1.0", "fmodex 4.36.00" and "lib32-fmodex 4.36.00".
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by GreatEmerald »

Hm, I remember having similar problems when I had PulseAudio. It would probably help if you posted your UnrealLinux.ini audio driver section (and which audio driver you're using to begin with, although I think it's FMOD either way) and also what audio subsystems you're using - ALSA, OSS, PulseAudio, KMix?
User avatar
itti
Posts: 3
Joined: Sat Jul 23, 2011 8:56 am

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by itti »

I did not change any settings in the UnrealLinux.ini.
AudioDevice=ALAudio.ALAudioSubsystem
[ALAudio.ALAudioSubsystem]
;ALDevices=DefaultDevice/ALSASoftware/OSSSoftware
ALDevices=DefaultDevice
DopplerFactor=0.010000
UseOriginalUnreal=True
SoundVolume=192
UseReverb=True
AmbientFactor=0.700000
MusicVolume=128
MusicPanSeparation=0.800000
Channels=32
OutputRate=44100Hz
UseDigitalMusic=True
bSoundAttenuate=True
;FMODOutputs=DefaultDevice/ALSA/OSS/ESD
FMODOutputs=ALSA
;FMODDevices=default/devdsp (devdsp for OSS only), use ProbeDevices for a complete list.
FMODDevices=default
FMODUseHardwareChannels=False
FMODHardwareChannels=32
FMODChannels=32
ProbeDevicesOnly=False
FMODBufferSize=200
I'm using ALSA on my system. The update to gnome3 forced pulseaudio upon us though... So every use of alsa from unreal will result in pulseaudio getting used.
Last edited by itti on Sat Jul 23, 2011 7:22 pm, edited 1 time in total.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by GreatEmerald »

I see. See this:
http://www.oldunreal.com/cgi-bin/yabb2/YaBB.pl?num=1302961166/27#27

If anything from there works for you, let me know and I'll add it to the Wiki.
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by Smirftsch »

you can try with different buffer settings also, maybe 50 or 100.
Sometimes you have to lose a fight to win the war.
User avatar
itti
Posts: 3
Joined: Sat Jul 23, 2011 8:56 am

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by itti »

ok i tested with different fmod buffer sizes and pasuspender. buffer sizes did not matter, no change. pasuspender leaves me without sound and this console messages:

Code: Select all

[itti@darktower System]$ pasuspender ./UnrealLinux.bin
Processors / Cores 2
Forcing CPU affinity disabled.
Failed, trying (again) default device
AL lib: pulseaudio.c:838: Device is suspended
EFX Extensions found
FMOD couldn't set 200 buffer size!
whats interesting though is that the intro flight map is a different one when i run unreal with pasuspender. as far as i remember it's the one i remember back from the old days when unreal came out.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by GreatEmerald »

So PulseAudio definitely has control over the sound. Did you try the ~/.asounrc file suggested in that thread?
Last edited by GreatEmerald on Wed Aug 03, 2011 3:40 pm, edited 1 time in total.
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by Smirftsch »

setting the fmod buffer size didn't work correctly and I fixed it for 227i now ;)
Sometimes you have to lose a fight to win the war.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by GreatEmerald »

Hmm, it's still not fixed, apparently... I still have the music lagging behind in i_19. I don't get the buffers message in the console now, but the music is still behind. At times, that is. Sometimes it works right, other times it lags behind. Tested 4 times, 1 time it worked, 3 times it didn't.

Using PulseAudio 1.1. My current OpenAL config is:

Code: Select all

[ALAudio.ALAudioSubsystem]
;ALDevices=DefaultDevice/ALSASoftware/OSSSoftware
ALDevices=PulseAudioDefault
DopplerFactor=0.010000
UseOriginalUnreal=True
SoundVolume=192
UseReverb=True
AmbientFactor=0.700000
MusicVolume=128
MusicPanSeparation=0.800000
Channels=32
OutputRate=44100Hz
UseDigitalMusic=True
bSoundAttenuate=True
;FMODOutputs=DefaultDevice/ALSA/OSS/ESD
FMODOutputs=ALSA
;FMODDevices=default/devdsp (devdsp for OSS only), use ProbeDevices for a complete list.
FMODDevices=default
FMODUseHardwareChannels=False
FMODHardwareChannels=32
FMODChannels=32
ProbeDevicesOnly=False
FMODBufferSize=200
Still, really nice how I get no other issues with PulseAudio, sounds and music are perfect otherwise. Shows how both projects improved over time :)
User avatar
gp
OldUnreal Member
Posts: 144
Joined: Fri Jan 09, 2009 4:23 pm

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by gp »

Yeah I'm also testing 227i and pretty much have the same config you do, the only difference being ALDevices=DefaultDevice. I don't experience the music lag, but instead sometimes the music won't start up at all. Though the success rate is generally higher than 25%.
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [UnrealLinux.bin] (Pach 227h) music lags behind

Post by Smirftsch »

don't forget that music is played in OpenAL with FMOD as well, so you have to mess primary with the FMOD settings inside the OpenAL configuration for music problems
Sometimes you have to lose a fight to win the war.
Post Reply

Return to “Linux-Board”