View previous topic :: View next topic |
Author |
Message |
danizmax Tux's lil' helper
Joined: 26 Nov 2004 Posts: 115 Location: Slovenia
|
Posted: Mon Mar 07, 2005 7:31 pm Post subject: oss doesn't work |
|
|
I have problems with programs that use oss. These are amarok, quake3, doom3, skype, even arts seems not to work propertly.
Quake3 output:
Quote: |
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance code)
/dev/adsp: Input/output error
Could not mmap /dev/adsp
------------------------------------
|
I tried Code: | aoss mplayer /something.mp3
|
Quote: |
....
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/sound/dsp: Device or resource busy
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
|
and this Code: | alsaplayer -d ossmix |
Quote: | ALSA lib pcm.c:1975:(snd_pcm_open_noupdate) Unknown PCM ossmix
snd_pcm_open: No such file or directory (ossmix)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm.c:1975:(snd_pcm_open_noupdate) Unknown PCM ossmix
snd_pcm_open: No such file or directory (ossmix)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
jack: server not running?
/usr/lib/alsaplayer/output/libjack_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/lib/alsaplayer/output/liboss_out.so failed to load
ALSA lib pcm_hw.c:1172:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
ALSA lib pcm_hw.c:1172:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libesound_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!! |
If I test arts in kcontrol center, then works, but actual events don't. Whats the problem?
Amarok only woks with arts engine. It doesn't work with gstreamer engine. Don't know why!
I have these installed:
Quote: |
media-libs/alsa-lib-1.0.7 *
media-libs/alsa-oss-1.0.7 *
media-sound/alsa-utils-1.0.6 *
media-sound/alsa-driver-1.0.8_rc1 *
media-sound/alsa-headers-1.0.8_rc1 *
media-sound/alsaplayer-0.99.76 *
media-plugins/gst-plugins-alsa-0.8.5-r1 *
media-plugins/alsa-jack-1.0.7 *
|
my lsmod output:
Quote: | Module Size Used by
snd_pcm_oss 52640 0
snd_mixer_oss 19776 2 snd_pcm_oss
snd_seq_oss 37056 0
snd_seq_midi_event 7552 1 snd_seq_oss
snd_seq 54672 4 snd_seq_oss,snd_seq_midi_event
snd_via82xx 27648 7
snd_ac97_codec 77152 1 snd_via82xx
snd_pcm 94408 8 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 25796 2 snd_seq,snd_pcm
snd_page_alloc 9924 2 snd_via82xx,snd_pcm
snd_mpu401_uart 8064 1 snd_via82xx
snd_rawmidi 24928 1 snd_mpu401_uart
snd_seq_device 8972 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 58404 18 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10272 2 snd
fglrx 239936 7
|
it seems that arts and oss don't work, or at least propertly.
I hope this is not too confusing to you guys as it is to me. I have tried all the howtos!
Please HELP! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54550 Location: 56N 3W
|
Posted: Mon Mar 07, 2005 8:39 pm Post subject: |
|
|
DFMax,
It appears that you have ALSA built outside the kernel. ALSA drivers 1.0.8 has problems with some 2.6 kernels, you get undefibed symbols all over the place. There is no reason to use alsa-drivers with a 2.6 kernel and a via82xx sound chip. USe the ALSA modules supplied with your kernel.
I prefer to make ALSA as modules but you don't have to, you can make it 'built in' if you must. As you use alsa-driver, you must use modules at the moment. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Fri Mar 11, 2005 6:02 pm Post subject: |
|
|
Just unmerge alsa-driver from your system _________________ Flatland Life is a Choice !
emerge avatar |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|