You are not logged in.

#1 2015-07-11 06:24:27

dlrdlrdlr
Member
Registered: 2015-06-14
Posts: 10

Alsa Sound not working speaker-test Setting of hwparams failed:

After installing skype I noticed I had no sound. I then installed apulse to deal with skype without using pulseaudio, when that didn't work I installed pulseaudio, Still without sound I removed pulse audio and skype and I still have no sound.

aplay works however running speaker-test give me

speaker-test 1.0.29

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument

Here is my alsa-info.sh http://pastebin.com/CZzk4CDz

I have checked: fuser -fv /dev/snd/* /dev/dsp* and got filename does not exist.

Not sure if this is a related issue however youtube videos don't play in chrome, no errors, it loads and just never plays.

Sorry I know how common alsa issues are and tried to find my solution in other's posts before posting this.

adding options snd_hda_intel enabled=0,1 lets youtube videos play, though without sound, but now aplay doesn't work.


Also is there a way to reset alsa without restarting to check if my settings have helped.

Ended up uninstalling back to base packages and starting over. It seems to be working now

Last edited by dlrdlrdlr (2015-07-12 18:14:35)

Offline

#2 2015-07-11 12:49:07

colinh
Member
Registered: 2014-08-23
Posts: 19

Re: Alsa Sound not working speaker-test Setting of hwparams failed:

Hi,

I'm just installing Arch on my Dell XPS 13. I got sound working by following some advice to install (and run) asoundconf(AUR). You might try that (but YMMV).

Offline

#3 2015-07-11 13:53:59

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Alsa Sound not working speaker-test Setting of hwparams failed:

You have mis-spelt "snd".

Pay attention to the details wink

Offline

#4 2015-07-11 15:08:01

dlrdlrdlr
Member
Registered: 2015-06-14
Posts: 10

Re: Alsa Sound not working speaker-test Setting of hwparams failed:

brebs wrote:

You have mis-spelt "snd".

Pay attention to the details wink

My bad, however I checked my bash history and I misspelled it only in this post not when I ran it.

Offline

#5 2015-07-11 15:20:36

dlrdlrdlr
Member
Registered: 2015-06-14
Posts: 10

Re: Alsa Sound not working speaker-test Setting of hwparams failed:

colinh wrote:

Hi,

I'm just installing Arch on my Dell XPS 13. I got sound working by following some advice to install (and run) asoundconf(AUR). You might try that (but YMMV).

I did install it but says that the .asound.asoundconf file has to be included in my .asoundrc which I'm not sure how to do.

Offline

#6 2015-07-11 16:04:29

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Alsa Sound not working speaker-test Setting of hwparams failed:

You've got 3 sound cards installed.  (Nvidia, Intel, and usb)
That's not an issue unless alsa/jack/pulse/whatever doesn't know which you want to use.

So which is your default?  And which is the one that you want to actually be using?  (hopefully they are the same)

Also, speaker-test as a device option, so you can test each one specifically.


Knute

Offline

#7 2015-07-11 16:42:44

dlrdlrdlr
Member
Registered: 2015-06-14
Posts: 10

Re: Alsa Sound not working speaker-test Setting of hwparams failed:

Knute wrote:

You've got 3 sound cards installed.  (Nvidia, Intel, and usb)
That's not an issue unless alsa/jack/pulse/whatever doesn't know which you want to use.

So which is your default?  And which is the one that you want to actually be using?  (hopefully they are the same)

Also, speaker-test as a device option, so you can test each one specifically.

The Nvidia is HDMI output and USB is my webcam, I want to output sound to the Intel one

aplay -L lists

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

So I ran speaker-test -Dfront:PCH

speaker-test 1.0.29

Playback device is front:PCH
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
 

I believe I have set PCH as default with this in my .asound

pcm.!default {
				type hw
				card 1
}

ctl.!default {
				type hw
				card 1
}

Offline

Board footer

Powered by FluxBB