Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

dmix doesn't working

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
tontudelbot
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Thu Jun 08, 2006 12:12 pm

dmix doesn't working

  • Quote

Post by tontudelbot » Sun Jun 25, 2006 7:50 pm

Maybe its a boring toipc, but i need help...
I compiled my kernel wirth alsa as a module and emerge alsa utils and rc-updated alsasound I configured /etc/modues.conf:

Code: Select all

##  ALSA portion
alias snd-card-0 snd-intel8x0
##  OSS/Free portion
alias sound-slot-0 snd-card-0

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=2
and too /etc/asound.conf:

Code: Select all

pcm.intel8x0 {
   type hw
   card 0
}

ctl.intel8x0 {
   type hw
   card 0
}
But i cant get dmixer working :( I think im not missing any step but thats have to be something stupid...
any suggestions? thanks! see you!
Top
wellwhoopdedooo
n00b
n00b
Posts: 69
Joined: Fri Mar 04, 2005 6:06 pm

  • Quote

Post by wellwhoopdedooo » Sun Jun 25, 2006 8:09 pm

Try a blank asound.conf. dmix should be on by default now, your config file is overriding that.
Top
tontudelbot
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Thu Jun 08, 2006 12:12 pm

still no working

  • Quote

Post by tontudelbot » Sun Jun 25, 2006 9:33 pm

not works :( when i execute alsaplayer says:

Code: Select all

$ alsaplayer -o alsa -d plug:dmix '/home/johan/Música/Vespre (nova versió).mp3'
ALSA lib pcm_direct.c:937:(snd_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to initialize slave
snd_pcm_open: Inappropriate ioctl for device (plug:dmix)
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_direct.c:937:(snd_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to initialize slave
snd_pcm_open: Inappropriate ioctl for device (plug:dmix)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load

But it plays the song. Arts doesn't works too. I don't know how really alsa works so i don't see where is the problem. :cry:
Top
wellwhoopdedooo
n00b
n00b
Posts: 69
Joined: Fri Mar 04, 2005 6:06 pm

  • Quote

Post by wellwhoopdedooo » Sun Jun 25, 2006 10:02 pm

Try taking out the "-d plug:dmix".
Top
tontudelbot
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Thu Jun 08, 2006 12:12 pm

  • Quote

Post by tontudelbot » Mon Jun 26, 2006 3:22 pm

Says the same.
The problem is that i can't play a song from amarok while im listening another from kaffeine (for example) or arts doesn't play anything. This is a problem from dmix, isnt? :(
Top
manny15
Guru
Guru
User avatar
Posts: 471
Joined: Sun Dec 01, 2002 11:26 pm
Location: USA

  • Quote

Post by manny15 » Sun Jul 30, 2006 7:00 pm

I've been having dmix issues with alsa 1.0.12_rc1. mplayer and xine produce an error with libsound.so.2.

Code: Select all

alsa-init: using device default

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223869872 (LWP 12868)]
0xb7e243e3 in snd_pcm_direct_parse_bindings () from /usr/lib/libasound.so.2
I tried recompiling mplayer, but it didn't work. So, I downgraded to alsa 1.0.11 in the mean time, and that fixed the problem. The alsa-lib-1.0.12_rc1.ebuild says the following.

Code: Select all

Starting from alsa 1.0.11_rc3 the configuration for dmix is changed.
Leaving around old asound.conf or ~/.asoundrc might make all apps ewarn using ALSA output crash.
Note that dmix output is enabled by default on the 'default' device since ALSA 1.0.9.
The dmix config has changed, but the ebuild does not explain what has changed. It seems to suggest that /etc/asound.conf and $HOME/.asoundrc should be removed. But I find this could be troublesome for users with elaborate alsa config files. So, I'm not sure what needs to be done to make alsa 1.0.12 work properly.
Top
toon
n00b
n00b
Posts: 69
Joined: Sun Jan 26, 2003 9:30 pm
Location: The Netherlands

  • Quote

Post by toon » Mon Jul 31, 2006 7:08 am

It seems to suggest that /etc/asound.conf and $HOME/.asoundrc should be removed.
I was experiencing the same problem, and can confirm that sound started working again after removing ~/.asoundrc
Top
quadbox
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Tue Jun 11, 2002 9:48 am
Location: Brisbane, Australia

  • Quote

Post by quadbox » Fri Aug 11, 2006 3:47 am

what happens if you make your /etc/asound.conf like the following?

Code: Select all

pcm.dsp0 {
  type plug
  slave.pcm "dmix"
}

pcm.!default {
  type plug
  slave.pcm "dmix"
}
Top
Post Reply

8 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic