Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Counter Strike: Condition Zero crash on connecting to a server

  1. #1
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Counter Strike: Condition Zero crash on connecting to a server

    Hi all. I started using Ubuntu 9.04 yesterday and everything appears to be working fine with Wine except for Counter Strike: Condition Zero. Something seems to be wrong with PulseAudio and Wine, as I'm getting the following error followed by a Windows-esque messagebox saying "hl.exe has encountered a problem and needs to close, to report this blah blah blah."

    This is encountered during the "precaching resources" stage of connecting to a game:
    Code:
    E: shm.c: mmap() failed: Cannot allocate memory
    E: shm.c: mmap() failed: Cannot allocate memory
    E: memblock.c: Assertion 'b' failed at pulsecore/memblock.c:438, function pa_memblock_acquire(). Aborting.
    I've already seen a bug on launchpad related to this, but I'm just wondering if anyone has a solution. I really don't want to REMOVE pulseaudio as it works fine for everything but Wine, and I don't want to break my sound by trying to remove something that seems like its part of the ubuntu-desktop package.

    Any help is appreciated.

    Bensky

  2. #2
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Hmm, a little progress.

    I disabled the auto spawning of the pulseaudio process in client.conf, then did a "killall pulseaudio" - I noticed my volume level shot way down, but this time when I launched Condition Zero I actually got in to the game. I hit ok to join a team, picked Counter Terrorist, noticed some sounds and players moving around, then the game just completely froze and kept playing the same sound over and over. I had to do a hard shutdown to get out of it.

    Is there a better solution?

  3. #3
    Join Date
    Nov 2008
    Location
    Brooklyn, NY, USA
    Beans
    426
    Distro
    Kubuntu Development Release

    Re: Counter Strike: Condition Zero crash on connecting to a server

    just remove pulseaudio. It is not compatible with wine. Once removed make everything work with alsa instead and all will be well.

  4. #4
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Quote Originally Posted by NightMKoder View Post
    just remove pulseaudio. It is not compatible with wine. Once removed make everything work with alsa instead and all will be well.
    How do I do this?

    Earlier I tried the usual "sudo aptitude remove pulseaudio" but I got some messages saying "ubuntu-desktop" would be broken and some other random things would be removed, so I pressed "q" to quit out of it. Is this the proper way to remove it? Should I have continued?

  5. #5
    Join Date
    Nov 2008
    Location
    Brooklyn, NY, USA
    Beans
    426
    Distro
    Kubuntu Development Release

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Yep, just continue. ubuntu-desktop is a meta package, doesn't actually have anything in it.

    If you decide you no longer like PulseAudio and would like to disable it: Remove the added lines to /etc/asound.conf If /etc/asound.conf did not exist when you installed PulseAudio, you may remove /etc/asound.conf entirely.

    After this, you may remove all of the installed PulseAudio packages.
    Last edited by NightMKoder; May 24th, 2009 at 08:35 PM.

  6. #6
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Quote Originally Posted by NightMKoder View Post
    Yep, just continue. ubuntu-desktop is a meta package, doesn't actually have anything in it.
    I don't have a /etc/asound.conf apparently. I also did a "find / -name 'asound.conf'" and that turned up nothing. I guess I'll go ahead and just remove it.

  7. #7
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Unhappy Re: Counter Strike: Condition Zero crash on connecting to a server

    More problems.

    Pulseaudio was removed completely. That part was fine. I then tried to launch Condition Zero again. This time it completely loaded and started the game, then when I picked "Counter Terrorist" for team it froze again. That was fixed by setting the game to run in Windows 98 mode. I was then able to play at around 20 FPS, which was somewhat playable. However, I started getting random crashes every few minutes. Sometimes I can't even spawn before it crashes and locks up my whole system.

    I have an ATI card (ATI Radeon 9600 XT), which I'm guessing is the main problem since I've heard of a bunch of other people with the same problem. I also don't think I'm using the right driver. Most people seem to have flgrx and I have something else. I can't even find the restricted drivers program.

    glxinfo:

    Code:
    OpenGL vendor string: DRI R300 Project
    OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX/SSE2 TCL
    OpenGL version string: 1.3 Mesa 7.4
    Last edited by Bensky; May 24th, 2009 at 10:17 PM.

  8. #8
    Join Date
    Oct 2007
    Location
    United States
    Beans
    79
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Quote Originally Posted by Bensky View Post
    ....I have an ATI card (ATI Radeon 9600 XT)....
    Found your problem.

    You're not using the actual 3D driver.

    http://support.amd.com/us/gpudownload/Pages/index.aspx
    Last edited by mikezila; May 25th, 2009 at 01:34 AM. Reason: Removed bad advice.
    The Windows/Linux/OS X holy wars are pointless. Use what you like. It's just an operating system on a computer. Seriously.

  9. #9
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Quote Originally Posted by mikezila View Post
    Found your problem.

    You're not using the actual 3D driver.

    http://support.amd.com/us/gpudownload/Pages/index.aspx
    That driver did not support the kernel version I had for some reason - it gave me an error message about something not being compatible after I unpacked it. Thanks anyway. I've moved back to Windows XP for now, I'll wait until I get a new computer with a NVIDIA video card to try this again, ATI + Linux = too much hassle

  10. #10
    Join Date
    Jul 2008
    Beans
    28

    Re: Counter Strike: Condition Zero crash on connecting to a server

    Having problems installing the ATI driver? Most likely, you don't have the pakages the installer needs installed. The necessary packages can be found in the driver readme. Also this website has helpful information about properly installing the drivers:
    http://wiki.cchtml.com/index.php/Ubuntu

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •