Counter-Strike: Source 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

Game exits when map finished loading

I just installed the latest version of Crossover Games on Ubuntu 9.04 x64 and downloaded and installed CSS through Steam. I've got the graphics setup and working fine, the video stress test works perfectly. However whenever I try and join a game or create a server when the map is finished loading the game quits. The speaker test thing run fine too.

Does anyone know what might be happening or at least how I might determine what is going on?

Hello
I am also using Ubuntu 9.04

May i know what is your computers specs?
And also is there any conflicting software like pulseaudio running in the background?

This could be a problem with the server's MOTD on game start. Do the web pages in Steam render correctly?

Its an Intel Q6600, 4GB RAM with a GeForce 8800GT.

Ubuntu 9.04 uses Pulse Audio by default so yes I am using Pulse Audio. As I said before though the sound test in the setup works fine.

Web pages in steam are rendering fine. It happens when I create a server too so I dont think it is a problem with loading the web page at the start of the map.

Take a look here
http://www.codeweavers.com/compatibility/browse/name/?app_id=3379;forum=1;msg=48288

Which sound test did you run?
Judging by the problems other people have , just give disabling pulseaudio and use alsa or oss if you want sound..

If its not pulseaudio ...it would be good if you ran in debug mode..

Sam! wrote:

Which sound test did you run?
The one in the settings inside CS:S. There is a button that says "Test audio settings" or something and it loads up a mini map of a room and plays some ambient noise and a bloke saying "LEFT/RIGHT". That worked fine so I think the audio is working correctly.

Sam! wrote:

Judging by the problems other people have , just give disabling
pulseaudio and use alsa or oss if you want sound..

I guess I would do this by running pasuspend followed by the command line to launch CS:S?

Sam! wrote:

If its not pulseaudio ...it would be good if you ran in debug mode..

Run what in debug mode? Wine/CrossOver or CS:S? How do I launch CS:S in a console so I can see the stdout/stderr messages? I have no idea where I can get any additional information about what is going wrong from.

Thanks for your help so far ;)

Wayne Wiltshire wrote:

Run what in debug mode? Wine/CrossOver or CS:S? How do I launch CS:S
in a console so I can see the stdout/stderr messages? I have no idea
where I can get any additional information about what is going wrong
from.

Thanks for your help so far ;)

Actually, it is really easy to grab a log file for us:

http://www.codeweavers.com/support/wiki/submittechsupportlog

~/cxgames/bin/wine --verbose --debugmsg=+seh --cx-log notepad-(memorablename).log --cx-app NameOfProgram.exe

Of course, when it comes time to show off your log file, it would be nice if you didn't post it here and maybe instead sent in a support ticket (or emailed info@codeweavers.com) and attached the log file. This would ensure that nothing got lost from the cut and paste & keep the forums cleaner.

If/when you submit a ticket, please include a link to this forum thread!

um..disable pulseaudio..dont pause it ..
switch to ALSA for a moment...see if it works =)

OK I figured out how to totally disable pulseaudio and indeed it starts up fine using just ALSA. Bit stuttery though (got 125fps in the video test).

Wonder why it crashes using pulseaudio?

Its a bit stuttery as the videotests does tests regardless of how the internet connection is , how the servers tick is like , your ping and so on.
My average ingame fps is bout 32 to 85 ...

I got a feeling that pulseaudio prevents other drivers from accessing the sound card and therefore does not work with Crossover or wine.

Wayne Wiltshire wrote:

OK I figured out how to totally disable pulseaudio and indeed it
starts up fine using just ALSA. Bit stuttery though (got 125fps in
the video test).

Wonder why it crashes using pulseaudio?

There are multiple caveats as to why pulseaudio causes so many problems. There's a blame game, there's hardware, there's software... so, I'm going to do my best to explain it to my level of understanding.

For more advanced hardware (specifically sound cards), pulseaudio and ALSA (OSS... etc, etc) (therefore CrossOver/Wine) play well together (not always perfectly...). This is because more advanced sound cards have a built-in mixer that supports multiple streams. Less advanced sound cards only support one sound stream and when pulseaudio is enabled it takes over that sound stream, therefore not allowing any other sound to stream (which causes all kinds of problems, namely that games played through CrossOver don't get sound but sometimes the games crash completely).

There is a push for Wine/CrossOver to support pulseaudio which would get around the single streaming sound cards because pulseaudio has it's own mixer that supports multiple input streams... but this has not yet happened. If you want to learn more about this, you can read up on pulseaudio in the Wine community forums or on various other forums. I must warn that it is a heated topic in some forums and stirring up the bees nest is not advisable.

The stuttering is occuring in a local server, i.e. its a problem with the graphics not a latency issue.

As for the pulseaudio issue, yeah it would be nice if wine had native pulseaudio support. However it it should be possible to play games while still using pulseaudio, I run other windows applications (specifically foobar2000 a music player) which output sound through pulseaudio despite wine only having the capability to connect to ALSA (amongst others). This is possible because there is an ALSA plugin which re-routes the output of ALSA to pulsaudio which then in turn connects to the actual physical sound card using an ALSA driver.

So yeah it should work like this:
Counterstrike -> ALSA -> pulsaudio -> ALSA -> sound card

I see point taken.
thanks for the info :)

Yea i also do get the sudden lag and stuttering

Here's what I did to fix this crashing issue:
http://www.codeweavers.com/support/tickets/browse/?ticket_id=743064;list=16;ticket_level=3

1 to 14 of 14

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...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiOEtMN21KenNzdDZ6Q1VLeiIsImdkcHIiOjB9