Linux Sound Problems

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
Para45
Private First Class
Private First Class
Posts: 5
Joined: Tue Mar 15, 2005 4:41 am
Location: Opp, AL
Contact:

Linux Sound Problems

Post by Para45 »

Hello all,
I'm running Fedora Core 3 with kernel 2.6.10-1.770_FC3 on the following system:
AMD 1.4 Athlon
1 gb DDR Ram
64 mb nVidia AGP -- latest nVidia driver 7167
Creative Soundblaster PCI (shows up as: "Ensoniq 5880 AudioPCI")
80 gb Maxtor HD
This system runs great and has had various version of linux on it with no problems. Both sound and graphics are excellent.

Okay, here's the problem, before the update to the latest version of BZFlag <Current version is: BZFlag client 2.0.0.20050128-STABLE-linux-gnu-SDL>, the sound was working fine and video was fast and clean. Now with this new version, the sound is a series of "short stutters" instead of nice clean sound as before. Video is still fine :) I tried some different setting in the options with no luck. I don't remember having to set anything before. I also tried running it as "root" from a terminal. Game comes up with normal sound (?) and now has low res video which is unacceptable. Is anyone else having sound problems in Linux, specifically Fedora Core 3? If you have and have it fixed, how did you do it?

Thanks!
Allen
--editied shortly after original post to include new kernel version and nvidia update--
Para45
1veedo
Private First Class
Private First Class
Posts: 184
Joined: Sat Feb 05, 2005 1:26 am
Location: usa

Post by 1veedo »

Hm... I nkow I had some problems w/ BZFlag on FC3 but found that runnign it as root :shock: fixes this. I'm relatively new to Linux, or I would have tried to fix this. As far as I can tell, there are no security risks w/ BZFlag?
1veedo (libcurl.so.2) I have version 3!
User avatar
the enemy
Private First Class
Private First Class
Posts: 72
Joined: Sat Aug 21, 2004 2:18 am
Location: UK

Post by the enemy »

I can't offer suggestions except to say that I have bzflag with fine sound on FC3.

Running as root is not a good idea, but it's your choice.
grc
Private First Class
Private First Class
Posts: 11
Joined: Fri Mar 18, 2005 4:04 am

Post by grc »

I had same problem - I fixed it in my case by turning off KDE sounds from control panel. There seem to be issues with sharing sound device/.

g/
1veedo
Private First Class
Private First Class
Posts: 184
Joined: Sat Feb 05, 2005 1:26 am
Location: usa

Post by 1veedo »

Yeah. I tried playing my music in the background only to find out that
a) it sounds wierd
and b) bzflag doesnt make any sounds.

However, my theory is that it only has to start w/ no sounds in the background. If it's up and running BEFORE there's background noise, then everything works just fine. IM still makes noise behind it and bzflag runs just fine. I'm thinking abotu setting some time of dellay to start playing, or wright a script to start xmms after 5 seconds or something.

I'll let everybody know when I actaully do this..right now I'm reconfiguring a whole bunch of stuff and its last on my list :)
1veedo (libcurl.so.2) I have version 3!
Para45
Private First Class
Private First Class
Posts: 5
Joined: Tue Mar 15, 2005 4:41 am
Location: Opp, AL
Contact:

Post by Para45 »

I have my KDE sound system set to give up access to the sound card after being idle for 5 seconds. I am not running anything else while running BZFlag. Just seems odd that this would happen after I upgraded it to the latest. Before the upgrade, there were no problems with the audio side.
Para45
grc
Private First Class
Private First Class
Posts: 11
Joined: Fri Mar 18, 2005 4:04 am

Post by grc »

Ya - me too. Did you try turning it off like I suggested? Go ahead ... ya never know.

g/
Para45
Private First Class
Private First Class
Posts: 5
Joined: Tue Mar 15, 2005 4:41 am
Location: Opp, AL
Contact:

sound worked...

Post by Para45 »

Okay....turned off the KDE sound system and the game sounds returned to normal. Now, when I re-enable the KDE sound system, my KDE sounds no longer play. Any idea on that one? I have checked and rechecked everything but can't find anything out of whack. On system startup, when KDE is starting, the start-up sound would play, but not anymore. I just don't see how that could have killed the KDE sounds. I can't even play the KDE sounds from the control center/sound section anymore.
Para45
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

I had this problem, if you compile for i586 it seems ok as long as nothing is using /dev/dsp (notun xmms amarok etc.)
1veedo
Private First Class
Private First Class
Posts: 184
Joined: Sat Feb 05, 2005 1:26 am
Location: usa

Post by 1veedo »

Sometimes the sound is "stored" when other things are playing. Depending on the program. When I run XMMS, all my "log in, log out, sent message, recieved" etc just all go bling bling bling for an hour! :lol-old:

I read someware that if the "buffer" (I think) is too big, it'll just stop playing because new sounds are added to the end of this already too large quene of output. There's a command to clear it, but I have no idea what it is.
1veedo (libcurl.so.2) I have version 3!
Para45
Private First Class
Private First Class
Posts: 5
Joined: Tue Mar 15, 2005 4:41 am
Location: Opp, AL
Contact:

workaround found

Post by Para45 »

Okay...I found a workaround for getting my KDE system sounds back. In the Control Center > Sound & Multimedia > System Notifications I changed the player settings from the default to "use external player" and added this path: /usr/bin/play. Now it's working, but I still can't grasp why it stopped working just because I turned off the KDE sound system to play the darn game.
Para45
1veedo
Private First Class
Private First Class
Posts: 184
Joined: Sat Feb 05, 2005 1:26 am
Location: usa

Post by 1veedo »

When you turned it off, I bet it used the same config file that you altered w/ your GUI manager.
1veedo (libcurl.so.2) I have version 3!
Para45
Private First Class
Private First Class
Posts: 5
Joined: Tue Mar 15, 2005 4:41 am
Location: Opp, AL
Contact:

Post by Para45 »

Sorry to be ignorant, but how do you mean?
Para45
1veedo
Private First Class
Private First Class
Posts: 184
Joined: Sat Feb 05, 2005 1:26 am
Location: usa

Post by 1veedo »

In Linux, everything is controlled by these configuration files. The OS, services, kernel, application, etc reads these files to determine how to behave. Most of these files are stored in /etc. For example, /etc/httpd/conf/httpd.conf is the configuration file for how the web server should act. FTP reads etc/vsftpd/vsftpd.conf. And samba uses /etc/samba/smb.conf.

I'm guessing that your GUI manager (Sound & Multimedia > System Notification) altered the same file that you initially altered to turn the sound off.
1veedo (libcurl.so.2) I have version 3!
Post Reply