You are not logged in.

#1 2015-08-19 22:23:38

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

No Audio Using Alsamixer

Hello all,

Find my info here from alsa-info.sh:
http://www.alsa-project.org/db/?f=2cfc3 … 4da5356909

I see this relevant part in the report above, but I don't know how to fix it:

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No

Also, I get the following output even when using root user instead of jav:

[root@jav jav]# sudo speaker-test -c 2

speaker-test 1.0.29

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Home directory not accessible: Permission denied
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory

root@jav jav]# ls -la /home
total 16
drwxr-xr-x  4 root root  4096 Jan 26  2015 .
drwxr-xr-x 17 root root  4096 Aug 15 20:20 ..
drwx------ 45 jav  users 4096 Aug 19 18:09 jav
drwx------  2 jav2 users 4096 Jan 26  2015 jav2

In my Google Chrome tab I see that Youtube is producing output, but I hear nothing from either speakers or earphones.
Help please.



PS: I have done an update on my kernel, but the problem was present even before the update.

Last edited by knowNothing23 (2015-08-19 22:30:34)

Offline

#2 2015-08-19 22:26:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No Audio Using Alsamixer

If you're running a command as root, why use sudo? Are you running Google Chrome as root too?

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2015-08-19 22:28:33

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

Re: No Audio Using Alsamixer

Chrome is ran without the sudo.
Apologies. I fixed the post, now I am using the tags.

Offline

#4 2015-08-19 22:30:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No Audio Using Alsamixer

knowNothing23 wrote:

Chrome is ran without the sudo.

How exactly are you launching it? Is it run as root?
Do you have problems with the sound just in Chrome browser? does it work in other applications?

Offline

#5 2015-08-19 22:32:38

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

Re: No Audio Using Alsamixer

I ran Chrome from the terminal as the default

$google-chrome-stable.

I don't know about Firefox, but it is certainly not exclusive to Chrome.

[jav@jav Desktop]$ vlc M_ns_Zelmerl_w_-_Heroes_\(mp3.pm\).mp3 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
/usr/bin/pulseaudio: error while loading shared libraries: libspeexdsp.so.1: cannot open shared object file: No such file or directory
[00000000008121b8] pulse audio output error: PulseAudio server connection failure: Connection refused
[000000000070e128] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
[00000000008121b8] alsa audio output error: cannot open ALSA device "default": No such file or directory
[00000000008121b8] core audio output error: module not functional
[00007fea00c04d98] core decoder error: failed to create audio output

Last edited by knowNothing23 (2015-08-19 22:35:02)

Offline

#6 2015-08-19 23:48:38

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

Re: No Audio Using Alsamixer

This thread did the job.
https://bbs.archlinux.org/viewtopic.php?id=125092
Now, I have audio in Chrome.

However, I get this error when I try to run VLC:

Audio output failed:
The audio device "default" could not be used:
Device or resource busy.

And, in the terminal:

$ vlc ~/Desktop/M_ns_Zelmerl_w_-_Heroes_\(mp3.pm\).mp3 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
/usr/bin/pulseaudio: error while loading shared libraries: libspeexdsp.so.1: cannot open shared object file: No such file or directory
[00000000010b91b8] pulse audio output error: PulseAudio server connection failure: Connection refused
[0000000000fb5128] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000010b91b8] alsa audio output error: cannot open ALSA device "default": Device or resource busy
[00000000010b91b8] core audio output error: module not functional
[00007f6f3cc04e38] core decoder error: failed to create audio output

Last edited by knowNothing23 (2015-08-19 23:49:09)

Offline

Board footer

Powered by FluxBB