VOGONS


OpenAL entirely broken on X-Fi

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie

My X-Fi card does funny things in ioquake3 games when OpenAL is enabled. It sounds like this: sample from ioRTCW
Random distorted sounds everywhere, sounds cut off short, hearing sounds from far away like they're right next to me, and in the menu (pressing esc in-game) there's a constant stream of both distorted garbage and random in-game sounds.
However, when OpenAL is disabled and I use ALchemy instead, it works fine but 3D positional audio seems less accurate.

Any ideas what could cause this?
And, just to make sure this isn't some bug in ioquake3, are there any other native OpenAL games I could try?

possibly relevant information:
Card: X-Fi Elite Pro
OS: Windows 7 x64
Chipset: Intel X79
Driver: daniel_k's Support Pack v3.0
Mode: Game mode with EAX and CMSS Headphone enabled

Reply 5 of 29, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie
mirh wrote:

Also I'd recommend newer daniel_k drivers

And I just updated to 3.2... This 3.3 pack wasn't on his website already. Oh well, thank you 😀
I should add, I performed a clean install since the 3.2 installer had no upgrade option.

mirh wrote:

For the remainder... Are you using latest OAL 2.1.0.0?

Thanks, will install these too. But, isn't this included with the drivers already?

Davros wrote:

Did you install openal or openal soft ?

I didn't install anything specific but I assume daniel_k's pack includes the right version of OpenAL. ioRTCW came with OpenAL-Soft DLLs, which I removed.

Reply 6 of 29, by mirh

User metadata
Rank Member
Rank
Member
jwt27 wrote:
Davros wrote:

Did you install openal or openal soft ?

I didn't install anything specific but I assume daniel_k's pack includes the right version of OpenAL. ioRTCW came with OpenAL-Soft DLLs, which I removed.

Maybe this is the problem..
I mean, it's not like open source developers could really work with creative's openAL fork in mind.
I'd ask them if I were you

pcgamingwiki.com

Reply 8 of 29, by obobskivich

User metadata
Rank l33t
Rank
l33t
jwt27 wrote:

OpenAL = OpenAL, right? The API should be the same regardless of the renderer used. OpenAL-Soft is just a software renderer for those who have no hardware 3D support.

Technically yes, but in practice no. Creative "closed" OpenAL sometime ago (v1.1+), so there exists both their modern, maintained, but proprietary implementation alongside variants (like OpenAL-Soft) that are based on the same FOSS foundation from Loki, and follow their own development trajectories independent of Creative Labs.

Reply 9 of 29, by mirh

User metadata
Rank Member
Rank
Member
jwt27 wrote:

OpenAL = OpenAL, right? The API should be the same regardless of the renderer used. OpenAL-Soft is just a software renderer for those who have no hardware 3D support.

The fact is, that openal-soft is based on old code forked years before the actual "official" and proprietary creative implementation.

On the other hand, at least this open source implementation is still developed at least, so it may have new features not present elsewhere.
TL,DR i'm just unsure.. and you'd have better to test both

pcgamingwiki.com

Reply 10 of 29, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie

So, I've installed the latest driver now, with the latest OpenAL dlls, and... nothing changed. 🙁

Bioshock finished downloading late last night, and seems to work okay. The EAX effects sound good, no glitches as far as I could tell, though its 3D positioning seems very vague and disorienting.
Also tried rtcw with OpenAL-soft, and did notice a few glitched sounds but nothing as bad as on the X-fi. A few sounds looped while they shouldn't and some were cut off early. So it might very well be bad implementation on ioquake's side.

I did notice an error message when entering \s_info in the console. Now how do I copy/paste this here?

mirh wrote:

This site is not very helpful, misleading at best.

Reply 11 of 29, by swaaye

User metadata
Rank l33t++
Rank
l33t++

I tried SOF2 the other day on my X-Fi Ti. That's Quake3-based too. Its EAX mode is some early version of OpenAL and it was quite messed up on the X-Fi. Audigy has some problems like this too. Fallout 3 with Alchemy doesn't work properly for example. FEAR also has positioning and occlusion problems with Alchemy.

One thing that seems to work well is to just run old games on Windows XP with older drivers.

I think it's pretty clear that the APIs and drivers changed over time and altered expected behavior. You can go back to Windows 98 games where EAX for those often doesn't work right on NT-based drivers.

Reply 14 of 29, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie

Okay, I tried SOF2 briefly and it sounds fine to me. Procmon confirms this game loads the OpenAL DLLs. In what way is it messed up on your card?

And I just remembered, the community patch for Unreal adds an OpenAL option. This sounds good too, aside from some occasional clicks and pops, which as I recall happened on XP with DirectSound too. Overall, this OpenAL thing is a massive improvement over the original, by the way! Positioning is much clearer, sounds no longer cut in/off suddenly, and the reverb effect sounds much better.

Anyway, I think I can safely call this a bug in ioquake now...

Reply 15 of 29, by mirh

User metadata
Rank Member
Rank
Member
jwt27 wrote:
mirh wrote:

This site is not very helpful, misleading at best.

It says that if OpenAL is unavailable it will use DirectSound3D instead. If even that is missing, of course you have the usual crappy audio implementation that all older games have under Vista.
Still, the point is that the best solution is openal.
What does ALCapsViewer report?

swaaye wrote:

Fallout 3 with Alchemy doesn't work properly for example. FEAR also has positioning and occlusion problems with Alchemy.

Wait wait wait. I tried both and they sound massively better with ALchemy (or Xonar GX). What alchemy version are you using? 😒

pcgamingwiki.com

Reply 16 of 29, by swaaye

User metadata
Rank l33t++
Rank
l33t++
mirh wrote:

Wait wait wait. I tried both and they sound massively better with ALchemy (or Xonar GX). What alchemy version are you using? 😒

They do sound better but I remember problems with occlusion. I'm not sure if this was on an Audigy 2 or X-Fi though because I was experimenting with both on Windows 8. Audigy's Alchemy behavior is different than X-Fi's. Both cards work better on XP though IMO.

Reply 17 of 29, by mirh

User metadata
Rank Member
Rank
Member
swaaye wrote:

Audigy's Alchemy behavior is different than X-Fi's. Both cards work better on XP though IMO.

Are you sure? I thought after daniel_k's fiasco it was the same between the two cards.
Even because if even who uses a Realtek can made it to work... I don't see who's the moron that would block an Audigy

pcgamingwiki.com

Reply 18 of 29, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie
mirh wrote:

What does ALCapsViewer report?

Uh, this is weird. I am 100% sure it said Yes on all extensions two days ago. Now I get this:
<removed>

EDIT: Oh nevermind, the driver was in Audio Creation mode... 🤣
Here's the result in Game mode:

------------------
System Information
------------------
Report Time: 2015/4/3 16:59:14
BIOS: ACRSYS - 1072009 BIOS Date: 03/19/14 13:26:23 Ver: 04.06.05
Processor: ~3400MHz Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
Memory: 16 GB
Default Audio Device Name: Speakers (Creative SB X-Fi)
Audio Driver Filename: {0.0.0.00000000}.{5f8baa41-4d14-4bf0-b1d7-14d35bfec3cf}
Audio Driver File Version:
Audio Driver Product Version:
ALCapsViewer Version: 1.0.3.0

-----------------
OpenAL Components
-----------------
Name Path Version
OpenAL32.dll C:\Windows\system32\ 6.14.357.25
ct_oal.dll C:\Windows\system32\ 6.0.230.4
soft_oal.dll C:\Windows\system32\ 6.0.230.4
wrap_oal.dll C:\Windows\system32\ 2.2.0.7

--------------
OpenAL Devices
--------------
Name: SB X-Fi Audio [A000]
Sample Offset: Yes
Linear Distance Model: Yes
Exponent Distance Model: Yes
Capture: Yes
Enumeration: Yes
EAX 2.0: Yes
EAX 3.0: Yes
EAX 4.0: Yes
EAX 5.0: Yes
X-RAM: Yes
Enumerate All: Yes
EFX 1.0: Yes

Name: OpenAL Soft
Sample Offset: Yes
Linear Distance Model: Yes
Exponent Distance Model: Yes
Capture: Yes
Enumeration: Yes
EAX 2.0: No
EAX 3.0: No
EAX 4.0: No
EAX 5.0: No
X-RAM: No
Enumerate All: Yes
EFX 1.0: Yes

Name: Generic Software
Sample Offset: Yes
Linear Distance Model: Yes
Exponent Distance Model: Yes
Capture: Yes
Enumeration: Yes
EAX 2.0: Yes
Show last 8 lines
                EAX 3.0: No
EAX 4.0: No
EAX 5.0: No
X-RAM: No
Enumerate All: Yes
EFX 1.0: Yes

Reply 19 of 29, by swaaye

User metadata
Rank l33t++
Rank
l33t++
mirh wrote:
swaaye wrote:

Audigy's Alchemy behavior is different than X-Fi's. Both cards work better on XP though IMO.

Are you sure? I thought after daniel_k's fiasco it was the same between the two cards.
Even because if even who uses a Realtek can made it to work... I don't see who's the moron that would block an Audigy

It's not blocked. In fact I use DanielK's Audigy Support Pack 4.5 when I use an Audigy 1/2/4 with Windows 7/8. Though there is a newer official Creative driver for Audigy 4 now IIRC.

Alchemy (or the OpenAL driver) just doesn't always work quite correctly. Or perhaps it doesn't behave as some DirectSound3D games expect it to. I'm not the first person to notice this.