Main

Forums

Wiki

Downloads

Tutorials

Walkthrough

Unreal-netiquette

Links

Submit-News

Oldunreal's hosted:
UnrealReference

Usermaps

Real-CTF

Donate for Oldunreal:

Oldunreal Donation
Oldunreallogo
  Welcome, Guest. Please Login or Register
 
  HomeHelpSearchLoginRegister  
 
 
[UnrealLinux.bin] (Pach 227h) music lags behind (Read 2042 times)
itti
YaBB Newbies
*
Offline


Oldunreal member

Posts: 3
[UnrealLinux.bin] (Pach 227h) music lags behind
07/23/11 at 12:42:27
 
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:

Quote:
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".
Back to top
 
 
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 5199
Vilnius, Lithuania
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #1 - 07/23/11 at 19:50:55
 
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?
Back to top
 

... - Unreal II Combat Assault Rifle
My own website (GreatEmerald's Domain)!
...
WWW WWW  
IP Logged
 
itti
YaBB Newbies
*
Offline


Oldunreal member

Posts: 3
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #2 - 07/23/11 at 20:22:06
 
I did not change any settings in the UnrealLinux.ini.

Quote:
AudioDevice=ALAudio.ALAudioSubsystem


Quote:
[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.
Back to top
« Last Edit: 07/23/11 at 20:22:24 by itti »  
 
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 5199
Vilnius, Lithuania
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #3 - 07/23/11 at 23:10:12
 
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.
Back to top
 

... - Unreal II Combat Assault Rifle
My own website (GreatEmerald's Domain)!
...
WWW WWW  
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 5485
at home
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #4 - 07/24/11 at 09:32:54
 
you can try with different buffer settings also, maybe 50 or 100.
Back to top
 

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
itti
YaBB Newbies
*
Offline


Oldunreal member

Posts: 3
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #5 - 08/02/11 at 20:54:22
 
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:
[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.
Back to top
 
 
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 5199
Vilnius, Lithuania
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #6 - 08/03/11 at 16:40:40
 
So PulseAudio definitely has control over the sound. Did you try the ~/.asounrc file suggested in that thread?
Back to top
« Last Edit: 08/03/11 at 16:40:56 by GreatEmerald »  

... - Unreal II Combat Assault Rifle
My own website (GreatEmerald's Domain)!
...
WWW WWW  
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 5485
at home
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #7 - 10/18/11 at 18:20:00
 
setting the fmod buffer size didn't work correctly and I fixed it for 227i now Wink
Back to top
 

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 5199
Vilnius, Lithuania
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #8 - 05/21/12 at 14:35:18
 
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:
[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 Smiley
Back to top
 

... - Unreal II Combat Assault Rifle
My own website (GreatEmerald's Domain)!
...
WWW WWW  
IP Logged
 
gp
Full Member
***
Offline



Posts: 134
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #9 - 05/22/12 at 02:41:53
 
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%.
Back to top
 
 
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 5485
at home
Gender: male
Re: [UnrealLinux.bin] (Pach 227h) music lags behind
Reply #10 - 05/22/12 at 04:49:05
 
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
Back to top
 

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
(Moderator: Smirftsch)