Team Fortress 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

TF2 Sounds crashes

Hey all,

I've been searching all over the place trying to find this problem, and there doesn't seem to be any solutions that work. When I try to play TF2, maps get about 3/4 of the way done loading when the game crashes with an error that says: "CAudioSourceMemWave (random sound file) GetDataPointer failed"

I tried running TF2 through wine and CrossOver, and both have the exact same problem. Stuff I've tried:

  • Disabling microphone boost
  • Disabling mic all together
  • Disabling community stuff in game
  • Emulating without Driver Emulation (??)
  • Emulating with Driver Emulation
  • Disabling ALSA (the only sound enabled)

If I disable all sound drivers, I'm able to actually play but obviously without sound. This isn't all that fantastic, so I'm hoping somebody knows a way to fix this.

I'm running Ubuntu 9.04 64-bit with the latest demo version of CrossOver. I installed Steam from the CDs and TF2 through a game backup file I created from my Windows partition.

Not sure if these matter since I'm pretty sure this is strictly sounds, but my hardware specs are:
Intel Q6600
2gb RAM
GeForce 8800GTX
Onboard sound

Thanks for reading :)

Just out of curiosity, Is Team Fortress 2 listed as a installed application? Not in Steam but in crossover.

Okay HOT NEWS!!!!

Click your "applications" menu and select "Crossover" then select "Configuration"

In that window click "configure"

In that window in the "sound driver load order:" put "oss"

And that works for me!

No dice, still crashed with the same error.

Yes, in the Configuration window, Team Fortress 2 is listed as installed.

I appreciate the reply!

By setting OSS in winecfg , it doesnt change the setting that ubuntu uses for sound..
By default ubuntu uses Pulseaudio .

Disable or uninstall pulseaudio and use OSS or ALSA instead if you want sound

yea i got 4 cents -.-.... :D !!! YESSS MY 4 CENTS!!!!! Finally after such a long wait :D!

Sam! wrote:

By setting OSS in winecfg , it doesnt change the setting that ubuntu
uses for sound..
By default ubuntu uses Pulseaudio .

Disable or uninstall pulseaudio and use OSS or ALSA instead if you
want sound

yea i got 4 cents -.-.... :D !!! YESSS MY 4 CENTS!!!!! Finally after
such a long wait :D!

Yes, you will also need to set the Ubuntu Sound Setting to "AutoDetect"

Sorry for the bad info you have to change the "WineConfig" not the driver loader.

Under Crossover select "Configuration" in that window select "Configure"
Press the "Control Panel" tab and select the "winecfg" icon to run it
Press the "Audio" tab and select "ALSA" to not be checkmarked and select "OSS" to be checkmarked

And that should fix it as long as you are on "Autodetect" not "PulseAudio" in Ubuntu.

This is getting crazy frustrating!!

I followed two different guides to remove pulseaudio because I was apparently missing parts of each.

http://www.ubuntugeek.com/how-to-rem...epid-ibex.html
http://idyllictux.wordpress.com/2009...eaudio-at-bay/

pulseaudio isn't in the list in winecfg audio list anymore, but it is still in the dropdowns in System->Preferences->Sound.

I'm assuming everything's removed, but I'm still getting this error.

Is anybody able to play TF2 in Jaunty? If so, do you have pulseaudio installed? What are your TF2 settings? What are your winecfg settings? What am I missing? It doesn't matter if I set winecfg audio to ALSA or OSS, I still error out.

Thanks again for your help.

i am using ubuntu jautny 9.04 (but moving to arch linux soon)and so heres the thing

Pulse audio Starts up automatically EVEN when not set to use.
Either you disable it from starting up or uninstall it via sudo apt-get purge pulseaudio
..The latter is the easiest and fixes the problem of not being able to play...but you wouldnt get any sound unless you make sure ALSA or OSS is installed and is SET to be used by your system.
Of course you could leave pulseaudio there ...and disable it from starting up if you arent using it ...But if its still there...you cannot use autodetect for those options...choose ALSA or OSS...for the System->Preferences->Sound

Ya..sorry to get you frustrated.....ya..so..tell me if you are able to play TF2 after ridding pulseaudio..

i am..able ..but my 1 gig ram get maxed out >.<

Thanks For your kind patience

Jesster wrote:

This is getting crazy frustrating!!

I followed two different guides to remove pulseaudio because I was
apparently missing parts of each.

http://www.ubuntugeek.com/how-to-rem...epid-ibex.html
http://idyllictux.wordpress.com/2009...eaudio-at-bay/

pulseaudio isn't in the list in winecfg audio list anymore, but it
is still in the dropdowns in System->Preferences->Sound.

I'm assuming everything's removed, but I'm still getting this error.

Is anybody able to play TF2 in Jaunty? If so, do you have pulseaudio
installed? What are your TF2 settings? What are your winecfg
settings? What am I missing? It doesn't matter if I set winecfg
audio to ALSA or OSS, I still error out.

Thanks again for your help.

After you select "OSS" to be the sound option used by WINE. You !HAVE! to log out for it to take effect. Even if you press "Simulate Reboot" In WINE you still have to log out of Ubuntu and I'm sure a clean reboot wouldn't hurt anything either.

Sam! wrote:

Either you disable it from starting up or uninstall it via sudo
apt-get purge pulseaudio
..The latter is the easiest and fixes the problem of not being able
to play...but you wouldnt get any sound unless you make sure ALSA or
OSS is installed and is SET to be used by your system.

And this wouldn't hurt either... BUT if you did this you would have to select either "Autodetect" or "ALSA - Advanced Linux Sound Architecture" or "OSS - Open Sound System"(For which ever one your using) in you -System-Preferences-Sound- Toolbar.

hmmm this ended up in the middle... weird

Tried the purge, but turns out I was successful in removing pulseaudio already.

Sound preferences are all set to ASLA.

Wine preferences, both from hitting configure from the Add/Remove tab and from the Manage Bottles tab are all set to use OSS with Driver Acceleration set to Emulation and "Driver Emulation" checked.

I've done multiple restarts along the way.

Nothing to really note in the TF2 sound preferences.

The game still crashes 3/4 through server load. The most common files it's crashing on seem to have to do with the scout. Map type doesn't matter either.

What could I be missing? Nobody else is having/have had this type of problem?

Thanks for your time! I appreciate it.

Do try to type in terminal glxinfo

This will tell you if 3d rendering is enabled
If is not enabled...disable XGL or get a new nvidia driver

For the sound driver load order..Put ALSA first

For the audio tab is winecfg set it to ALSA
Sometimes.. if driver is not specified , well...a default sound driver would be used ..
The settings are in the registry in..
HKEY_CURRENT_USER\Software\Wine\Drivers

Mine by default is Alsa since i kicked pulseaudio away ..ya..sob i still feel sad for it :(
Ya so if its anything else...change it to alsa.

Do remember to change your swapiness value if it swaps to much..
Maybe disabling GLSL does help give it a try ?
HKEY_CURRENT_USER\Software\Wine\Direct3D\UseGLSL -> "disabled"
and maybe reduce the graphic settings..
to maybe -dxlevel 80 or -dxlevel 81

..yea i know it isnt much..but...i will try to help :)

:D I am rooting for You!!! Please do tell if it works :D

I have the same problem on Ubuntu 8.10

Jesster wrote:

Tried the purge, but turns out I was successful in removing
pulseaudio already.

Sound preferences are all set to ASLA.

Wine preferences, both from hitting configure from the Add/Remove
tab and from the Manage Bottles tab are all set to use OSS with
Driver Acceleration set to Emulation and "Driver Emulation" checked.

I've done multiple restarts along the way.

Nothing to really note in the TF2 sound preferences.

The game still crashes 3/4 through server load. The most common
files it's crashing on seem to have to do with the scout. Map type
doesn't matter either.

What could I be missing? Nobody else is having/have had this type
of problem?

Thanks for your time! I appreciate it.

If Ubuntu is using ALSA you need to set WINECFG to use ALSA as well. Don't them set to different things.

And I'm assuming you've done the file verification thing in Steam... right

In winecfg, Alsa is now the only one selected. It was also already set in the registry to Alsa. My sound preferences are all set to Alsa instead of auto detect.

I have indeed done the file verification. Nothing to report there.

I haven't done the graphics checks because I'm able to play if I don't have any drivers set in winecfg. I don't imagine changing directx versions would affect the sound.

Just for the sake of checking, what do you guys have set for Hardware Acceleration in the winecfg? Also, do you have the little "Driver Emulation" checkbox selected?

I can't say enough how much I appreciate your help!

Um..Was just thinking if your computer has more than one problems other than sounds..
yea..

So is it working yet?

Oh ya ..btw my driver emulation is unticked
and i got full hardware acceleration..

Um ..oh yea btw .. Onboard sound..may i know which driver is supporting the sound?

Still not working.

When you ask about driver info, do you just mean Alsa?

I'm going to submit a problem ticket and see what happens. I'll report back

I mean the default mixer track..in ubuntu ..

or the device that controls the sounds.

for me , as hp computers has a certain liking to nvidia , my sound card too is controlled by Hda nvidia which is a alsa mixer

1 to 18 of 18

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM5NTcwNzYwLCJjc3JmX3Rva2VuIjoiNkphUDhtazJacDZNZmZSeCIsImdkcHIiOjB9