LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-23-2006, 10:51 PM   #1
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Rep: Reputation: 15
Question Sound with some programs but none with others?


I'm using OpenSuse 10.1 on a Dell Inspiron 640m laptop. The sound works for xmms, mpg123, mplayer, vlc, stuff that can use alsa I guess... The sound in Neverwinter Nights works but the sound in Quake3 does not. The sound doesn't work in KDE, firefox (flash), amsn, play (sox)... I've made it to kcontrol -> Sound.. no luck. tried alsaconf... Yast -> hardware -> Sound... no dice.

Not sure what to do here...
Thanks,
Drew


snippet from quake3 output:

------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------

Last edited by Moses420ca; 12-23-2006 at 11:36 PM.
 
Old 12-24-2006, 01:37 AM   #2
fireant
LQ Newbie
 
Registered: Nov 2006
Location: Dalmatovo, Russia
Distribution: Debian GNU Linux Sarge
Posts: 26

Rep: Reputation: 15
Quote from ALSA FAQ:

Quote:
Q: The driver is loaded, but OSS programs say: Can't open /dev/dsp.
What is wrong?
A: The OSS compatible PCM (digital audio) emulation comes as an add-on module
which is not loaded by default. If you have got modified /etc/conf.module
as suggested in the INSTALL file, it should be loaded with kerneld or kmod.
Check it - if this method for some reason doesn't work - you need to insert
the 'snd-pcm-oss' module manually.
So, load appropriate module.

In my Debian Sarge it's snd_psm_oss.
 
Old 12-24-2006, 10:53 AM   #3
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Original Poster
Rep: Reputation: 15
I have that module loaded already but thanks... good idea.


Sound is working software:
program - driver - info
-xmms - alsa - hw:0,0
-xmms - oss - /dev/dsp and /dev/mixer
-mplayer - alsa - hw=0.0
-mplayer - oss - /dev/dsp and /dev/mixer
-xine - alsa - plug:front:default
-xine - oss - ?


Sound is NOT working software:
program - driver - error message
-Helix Banshee - helix remote and Gstreamer 0.10 - no error
-Amarok - helix and xine - general error message
-RealPlayer - ? - Can not open audio device
-firefox - youtube, flash... - no error
 
Old 12-24-2006, 12:40 PM   #4
fireant
LQ Newbie
 
Registered: Nov 2006
Location: Dalmatovo, Russia
Distribution: Debian GNU Linux Sarge
Posts: 26

Rep: Reputation: 15
Interesting.

But, I have a bunch of oss emulation modules loaded:

Code:
lsmod |grep oss

snd_pcm_oss            48168  0 
snd_mixer_oss          16640  1 snd_pcm_oss
snd_pcm                85384  2 snd_intel8x0,snd_pcm_oss
snd_seq_oss            29440  0 
snd_seq_midi_event      7552  2 snd_seq_oss,snd_seq_midi
snd_seq_device          7944  3 snd_seq_oss,snd_seq_midi,snd_rawmidi
snd_seq                46480  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd                    50660  15
For my integrated sound in Nvidia Nforce2.

And one more question:

In syslog, or dmesg output, do you see any errors, related to soundcard?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE blocks sound? cant play sound from other programs. Smurfen Linux - Hardware 1 04-02-2005 07:14 PM
no sound in some programs kulmis Linux - Newbie 1 01-27-2005 05:18 PM
While XMMS is outputing sound, sound from other programs doesn't output untill after. brynjarh Linux - Newbie 2 07-09-2004 04:39 PM
Only sound in some programs tijs Mandriva 2 03-13-2004 02:03 PM
sound and programs..... c0rderr0y Linux - Hardware 4 03-03-2004 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration