Digital Paint Discussion Board
Paintball 2: The Game => Help and Support => Resolved Help & Support => Topic started by: Nate-n-Nator on July 25, 2006, 10:55:23 AM
-
Hello. I have a bit of a problem with the sound. When I first extracted paintball, I didn't get any sound. I looked at the terminal and saw this:
bassmannate@bassmannate-laptop:~/paintball2$ ./paintball2
Paintball 2 -- Version 3.21+r0.16
execing configs/config.cfg
Console initialized.
------- sound initialization -------
Initializing Linux sound.
/dev/dsp: Device or resource busy
SNDDMA_Init: Could not open /dev/dsp.
Obviously /dev/dsp is being used by something else, right? I read somewhere to kill esd so I did. When I run it, I get this:
Console initialized.
------- sound initialization -------
Initializing Linux sound.
sound sampling rate: 11025
------------------------------------
And I get sound but it's EXREMELY choppy. I get about 1/3 sec. every second. If I try to restart the sound when esd isn't running, then it just crashes paintball.
Edit: I should also say that when paintball crashes, it crashes with a seg. fault.
-
I've had the same problem ever since I updated my sound drivers. I didn't have to kill esd, though. OSS used to work OK, but I had problems with ALSA, then they went and deprecated OSS and made it wrap through ALSA, so now nothing works well. Apparently the drivers for my sound card just suck, though.
-
You need to have OSS emulation working in ALSA setup.
I didn't have too many sounds problems with 6.06 LTS, but there were some issues. When I get home I'll find the post on linux-gamers that will allow you to setup OSS emulation.
-
Ok. I installed alsa-oss and wrapped paintball2 with aoss and I at least get something different. It's just lots of noise...Kinda weird.
-
That's normal DP sounds!!
Looks like you got it fixed!!
-
rofl. KnacK is right there...
-
Ok. I installed alsa-oss and wrapped paintball2 with aoss and I at least get something different. It's just lots of noise...Kinda weird.
Same here! I have the exact same problem with choppy sound every 1sec or half sec or so.
I also tried alsa-oss, and ran "aoss ./paintball2", and I get quick and close-together beeping-static weird noises that sound annoying, they are the same and 100% repeititive.
So any other ideas on how to get sound working?
-
Use Windows. ;D
-
I'm very disappointed in you jitspoe.
:*(
-
Jitspoe, sometimes Windows tempts me, but after running 64-bit Ubuntu with an SMP kernel on my dual-core AMD, I installed Windows on an extra harddrive I had, gave up on it by the end of the day because it took so much longer to install things than it did in linux, and then running a game like Quake 4 would take forever to load. Never realized how amazingly slow windows was till I ran it after 64-bit and SMP in linux man...
-
Use Windows. ;D
See toasted? I told you.
...or was that someone else? darn.
-
Yeah. It's just a bunch of static noise. I thought just to see what would happen, I would start a game with that setting. just get the same beepy static. Now, I got quake2 installed today and got it running. Had the choppy sound issue. I ran quake2 with the option +set snddriver ao and it worked fine. Guessing we don't have that option with paintball.
-
Is someone testing the installer i'd created, give a try http://qudos.quakedev.com/tmp
The CVS version features the snd_driver from quake2forge, also oss sound driver is fixed too, here running alsa with an integrated i810 chip works perfectly, oss, sdl and alsa.
Once installed, modify the start script in /usr/local/games/paintball2 to set your preferences.
-
Works beautifully. Fixed sound problems and all. Had to make a sym link though because I wanted it installed elsewhere.
-
Where did you want it installed?
-
/usr/share/games/paintball2 That's where all the games installed from the repositories on Ubuntu are installed. I'm just anal about things like that.
I think I spoke too soon. I get the game running but after I get a game started, it goes for about 10-20 seconds and then freezes. I have to do a hard reset of my computer. I think it's my computer though because I had that problem with the extracted binary on the web site.
-
Personally, when i can i put all games in my home dir.
Nate-n-Nator
Are you running SSE binaries or basic?
Run the installer again and install the another ones binaries.
It's freezing the whole system or just paintball2? you can always to try debug or switch a virtual console and kill pb2 process.
-
/usr/share/games/ is where all the games that come out of .deb's go, all the commercial/loki installer games go to /usr/local/games/, Nate, you need to check out some of the awesome games you're missing out on if you didn't know that :P
-
It's locking the whole system because I tried to bring up a console to kill pb2. I'm using the regular binaries. Should I try the SSE binaries instead?
-
its locking because you killed your sound server
-
So it's either no sound or sound with locking up? I uninstalled and tried the install script again and just let it install where it wanted to. I'm getting no sound when I start it. However, when I kill esd, I get sound in the menu. It's all normal sound and not choppy or anything. However, I start a game and add bots so that the round will actually start. When the round actually starts it's freezing right away. And all I wanted to do was play a little paintball.
Edit: Is there any way that I can switch it to use alsa instead of oss? (I'm gonna try aoss real quick and see what happens.)
Edit again: Well, I tried aoss and saw that the sound server actually was able to start (before, it just said that /dev/dsp was busy) but then when the round starts, I get all this buzzing sound.
-
killall esd...works now. Don't know why it was weird before but it is fine. I have sound now. No freezing of the game either.
-
killall esd...works now. Don't know why it was weird before but it is fine. I have sound now. No freezing of the game either.
Nice to hear you got it, btw, what distro, window manager are you running?
-
Sorry for the late reply.
I'm running Ubuntu 6.06 with Gnome.
-
http://dpball.com/forums/index.php?topic=2734.0
http://qudos.quakedev.com/tmp
Try that installer.
-
whenever I run the game i get this Error:
Initializing Linux sound.
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.
Anyone know how to fix it?
-
That problem occurs in the original b16 linux binary release, it is because q2 is old.
QuDos has worked out those audio problems in his build of it:
http://dpball.com/forums/index.php?topic=2734.0
http://qudos.quakedev.com/tmp
Try that installer.
If you experience the /dev/dsp error in his version, then I suggest making sure that /dev/dsp exhists, looking into it problems with it on your distro, making sure your system is up to date, and notifying QuDos about it in the thread for his installer.
-
When I got that installer and tried to use that to install the game wouldnt run for some reason....
EDIT: The game I mean...
EDIT2: I am on Dapper Drake Ubuntu
-
Try this in a terminal:
cd ~/
wget -c http://qudos.quakedev.com/tmp/Paintball2_build017_full_linux.run
chmod +x Paintball2_build017_full_linux.run
sudo sh Paintball2_build017_full_linux.run
When the installer is done, if it asks you if you'd like to run the game, select no. (Most loki installers ask this, I'm not sure if this one has it set up like that, I forgot)
If you already ran it right after the installer, then it was run with sudo, so the permissions on your user's files are owned by root, which might explain it not running, I'm not sure.
To fix this do: sudo chown -R <user> ~/.paintbal
where "<user>" is your username.
Then try running paintball2 from a terminal, if it gives you an error, post it back here.
-
Ok, I installed using the build 17 installer and it worked once, but now it gives me this error
------- sound initialization -------
load /usr/local/games/paintball2/snd_oss.so failed: No such file or directory
------- Loading ref_pbgl.so -------
LoadLibrary("ref_pbgl.so") failed: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!
EDIT: I found snd_oss.so in the paintball2 folder, so i dont know why it says its not there...
-
Ok, I installed using the build 17 installer and it worked once, but now it gives me this error
------- sound initialization -------
load /usr/local/games/paintball2/snd_oss.so failed: No such file or directory
------- Loading ref_pbgl.so -------
LoadLibrary("ref_pbgl.so") failed: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!
EDIT: I found snd_oss.so in the paintball2 folder, so i dont know why it says its not there...
How did you to run pb2, script or binary?
Also, be sure the game it's installed under /usr/local/games/paintball2, by default will create a start script under /usr/local/bin/paintball2
Maybe there is something wrong in the installer, sometimes i'm forgotting do changes to the files because i'm testing in 6/7 distros and two FreeBSD releases.
Get the last installer in my tmp dir, if this installer works fine the next only will be component updates.
Btw, works with some crashes with compiz enabled but i can't get fullscreen at all, any suggestion? I'm new about compiz.
-
Fullscreen doesn't work in almost anything with XGL/Compiz...I read the reson why...but forgot. I run anything that I want fullscreen (games) using this nonXgl script: http://ubuntuforums.org/showthread.php?t=176636&highlight=nonXgl
It works fine for me. Without it, water looks rainbow-like in paintball2 too.
-
Ok, I installed using the build 17 installer and it worked once, but now it gives me this error
------- sound initialization -------
load /usr/local/games/paintball2/snd_oss.so failed: No such file or directory
------- Loading ref_pbgl.so -------
LoadLibrary("ref_pbgl.so") failed: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!
EDIT: I found snd_oss.so in the paintball2 folder, so i dont know why it says its not there...
How did you to run pb2, script or binary?
Also, be sure the game it's installed under /usr/local/games/paintball2, by default will create a start script under /usr/local/bin/paintball2
Maybe there is something wrong in the installer, sometimes i'm forgotting do changes to the files because i'm testing in 6/7 distros and two FreeBSD releases.
Get the last installer in my tmp dir, if this installer works fine the next only will be component updates.
Btw, works with some crashes with compiz enabled but i can't get fullscreen at all, any suggestion? I'm new about compiz.
I'm running wtih script, i cant run it any other way for some reason. There isnt a paintball2 folder in /usr/local/games, how can i make one there?
-
You didn't install it as root. Make sure that you run the installer with "sudo sh xxx.run"
-
Ok I installed it as root, now it cant open with the libGO.so, so how do i reconfigure it?
-
libGL.so?
cd ~/.paintball2
ln -s /usr/lib/libGL.so.1 libGL.so
should work, if not, do locate libGL.so
and post back the results.
-
Thanks, got it all fixed, it runs now, and with sound! Thanks again for the help! ;D
-
No prob.