SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-07-18 19:46:53

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Broken sound mixer?

When I try to run some games that used to work or some do but don't give me any sound I get this error

ALSA lib ../../src/conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib ../../../src/pcm/pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
Couldn't open audio device!
Wrong device format. Mixer is broken!

And I do indeed have lib32asound2    , libasound2, and libasound2-plugins installed.

Last edited by MarioMaster100 (2012-07-18 19:47:25)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

Be excellent to each other!

#2 2012-07-25 12:30:28

jelloir
#! CrunchBanger
From: Outside the garden wall
Registered: 2009-08-21
Posts: 210

Re: Broken sound mixer?

Looks like you need "lib32asound2-plugins" but this is not in Wheezy.  So you will have to grab it from squeeze and install.

http://forums.debian.net/viewtopic.php?f=10&t=79199

Offline

#3 2012-07-28 19:17:06

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

Well that made the error go away but now some things that I used to have sound on I have no sound on like mednafen hmm


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#4 2012-07-31 22:54:43

iamnutz
#! Member
Registered: 2012-07-27
Posts: 55

Re: Broken sound mixer?

something I've had to do in several distros and to resolve the headphone switching prob with statler also was to add a few lines in alsa-base.conf (use geany though I like nano)

options your_sound_device index=0
options your_sound_device model=auto

note the auto will show accurate settings in you alsamixer in terminal

Offline

#5 2012-08-03 16:22:00

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

iamnutz wrote:

something I've had to do in several distros and to resolve the headphone switching prob with statler also was to add a few lines in alsa-base.conf (use geany though I like nano)

options your_sound_device index=0
options your_sound_device model=auto

note the auto will show accurate settings in you alsamixer in terminal

Hmm would that still apply if the problem was with the regular laptop speakers?


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#6 2012-08-03 16:55:27

iamnutz
#! Member
Registered: 2012-07-27
Posts: 55

Re: Broken sound mixer?

pulseaudio calls the alsa-base.conf for HW settings, even though alsa is supposed to default to auto, it doesnt but telling it model=auto will set your correct PCM default and add the correct HW capablities of your card i.e., if you have front and built in mic, quad speakers, etc. the alsa-base file i found in
/etc/modprobe.d/
@ worst you may have to remove pulseaudio and let alsa work on its own

Offline

#7 2012-08-04 02:47:44

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

iamnutz wrote:

pulseaudio calls the alsa-base.conf for HW settings, even though alsa is supposed to default to auto, it doesnt but telling it model=auto will set your correct PCM default and add the correct HW capablities of your card i.e., if you have front and built in mic, quad speakers, etc. the alsa-base file i found in
/etc/modprobe.d/
@ worst you may have to remove pulseaudio and let alsa work on its own

Well I don't see that model part:

# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#8 2012-08-06 18:35:17

iamnutz
#! Member
Registered: 2012-07-27
Posts: 55

Re: Broken sound mixer?

type this in terminal

cat /proc/asound/cards

at the bottom of the alsa-base file add the options lines using the sound card found from the cmd

Offline

#9 2012-08-07 03:28:23

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

iamnutz wrote:

type this in terminal

cat /proc/asound/cards

at the bottom of the alsa-base file add the options lines using the sound card found from the cmd

Alright well that gave me

0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdfc00000 irq 50

So I added it to the file at the bottom

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }

# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2

# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options HDA-Intel - HDA Intel PCH index=0
options HDA-Intel - HDA Intel PCH model=auto
options HDA Intel PCH at 0xdfc00000 irq 50 index=0
options HDA Intel PCH at 0xdfc00000 irq 50 model=auto

Not sure if I added it right but I'm still having no sound on some things after restarting alsa.


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#10 2012-08-07 17:15:18

iamnutz
#! Member
Registered: 2012-07-27
Posts: 55

Re: Broken sound mixer?

I'm not a big fan of pulseaudio but learning to work with it but meanwhile throw this @ terminal command

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2

after that either  reload alsa or reboot and see if the programs work, to see if its a pulseaudio problem
preceed the program name with pasuspender at the command line, i.e., if you were to start audacity
you would type pasuspender audacity at the command line, that will release pulseaudio control over your sound device and let alsa have full control

Offline

#11 2012-08-07 18:38:03

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

iamnutz wrote:

I'm not a big fan of pulseaudio but learning to work with it but meanwhile throw this @ terminal command

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2

after that either  reload alsa or reboot and see if the programs work, to see if its a pulseaudio problem
preceed the program name with pasuspender at the command line, i.e., if you were to start audacity
you would type pasuspender audacity at the command line, that will release pulseaudio control over your sound device and let alsa have full control

That didn't work out so well

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-3.2.0-2-amd64 libasound2
The following packages will be REINSTALLED:
  alsa-base alsa-utils libasound2 linux-image-3.2.0-2-amd64 linux-sound-base 
0 packages upgraded, 0 newly installed, 5 reinstalled, 0 to remove and 69 not upgraded.
Need to get 0 B/461 kB of archives. After unpacking 0 B will be used.
E: I wasn't able to locate a file for the linux-image-3.2.0-2-amd64 package. This might mean you need to manually fix this package.
E: I wasn't able to locate a file for the linux-image-3.2.0-2-amd64 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download

And I didn't have anything installed that was labeled as linux-ubuntu.


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#12 2012-08-07 18:59:37

iamnutz
#! Member
Registered: 2012-07-27
Posts: 55

Re: Broken sound mixer?

^^that's ok aptitude is smarter than u think and looks like u should do an upgrade, anyways you might want to visit www.pulseaudio.org and read the community section

Offline

#13 2012-08-07 19:06:36

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

iamnutz wrote:

^^that's ok aptitude is smarter than u think and looks like u should do an upgrade, anyways you might want to visit www.pulseaudio.org and read the community section

Well I did a

sudo apt-get update

and a

sudo apt-get -u upgrade

already today, so everything is up to date.


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#14 2012-08-19 16:24:08

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

Finally decided to try removing pulse and rebooted and it's still being like that hmm

Edit: now I have no sound sad

Edit: Reinstalling pulse gave me the sound I had back except for a certain emulator that wasn't working with sound before.

Last edited by MarioMaster100 (2012-08-19 16:44:28)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#15 2012-08-19 16:46:27

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,004

Re: Broken sound mixer?

@Mario:  This thread is in Polish, but I think the most important parts are the code blocks with the apt-get commands.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#16 2012-08-19 17:05:05

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

pvsage wrote:

@Mario:  This thread is in Polish, but I think the most important parts are the code blocks with the apt-get commands.

Well thank you for freeing me from pulse smile but that seems to have removed the sound icon which let me change the volume with an fn key combo.

Edit: installed volumeicon-alsa and that fixed the icon problem.

Last edited by MarioMaster100 (2012-08-19 17:12:58)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#17 2012-08-19 18:52:24

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,004

Re: Broken sound mixer?

^ You may also need to install gstreamer0.10-alsa if you want to be able to call xfce4-mixer from volumeicon.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#18 2012-08-19 20:00:29

MarioMaster100
#! CrunchBanger
Registered: 2011-04-02
Posts: 184

Re: Broken sound mixer?

pvsage wrote:

^ You may also need to install gstreamer0.10-alsa if you want to be able to call xfce4-mixer from volumeicon.

Yep that's installed. Still unsure why some games I tried from desura and snes9x aren't using the sound when pretty much everything else is.

Last edited by MarioMaster100 (2012-08-19 20:00:42)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo