You are not logged in.
Hi,
Just recently installed Arch and installed Gnome-Shell. I have no sound at all and there is no devices listed in the output tab of the sound settings in Gnome Settings.
I can change volume but of course there is no sound.
Any help on how to diagnose and fix this would be appreciated.
Last edited by Dobbie03 (2014-08-31 05:35:10)
Offline
aplay -lL;
lspci -vnn | grep -A1 -i audio;
cat /proc/asound/modules;
lsmod | grep ^snd;
systool -vm relevant_snd_module;
for i in /proc/asound/card[0-9]*; do echo "--- $i ---"; amixer -c $(cat $i/id); done;
lsusb #if there is a usb sound card;
# or use the alsa-info script
Futhermore, are you using a sound server like pulseaudio or jack? Any alsa configuration in /etc/modprobe.d/*.conf or /etc/asound.conf or ~/.asoundrc?
Offline
Ok, I have no config in /etc/modprobe.d/*.conf or in ~/.asoundrc
This is what is in /etc/asound/.conf :
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:
These are the outputs from everything else:
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=MID
HDA Intel MID, ALC662 rev1 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
Front speakers
surround21:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=MID,DEV=0
HDA Intel MID, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
lspci -vnn etc;
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:0427]
--
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series] [1002:aa60]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:aa60]
cat /proc/asound/modules:
0 snd_hda_intel
1 snd_hda_intel
2 snd_usb_audio
systool -vm......:
Error opening module relevant_snd_module
Cheers
Offline
cat /proc/asound/modules:
0 snd_hda_intel 1 snd_hda_intel 2 snd_usb_audio
systool -vm......:
Error opening module relevant_snd_module
Cheers
systool -vm relevant_snd_module;
I am not Nostradamus. Snd-hda-intel is very common, but a little user interaction is not too much to ask, you just posted the relevant modules one step above. Read* before you paste and execute a command. And amixer and lsusb are missing.
So it seems you have pulseaudio-alsa installed. Is pulseaudio running? Do I have to ask twice?
Edit: *And if you are uncertain about something first search for the manual and read it, then ask here if still not sure how to proceed.
Edit2: I assume you use pulseaudio, so take a look here:
https://wiki.archlinux.org/index.php/Pu … leshooting
Last edited by emeres (2014-08-31 03:16:49)
Offline
Yes Pulseaudio is running. This what the output in terminal is:
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
Amixer:
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 54799 [84%] [on]
Front Right: Playback 54799 [84%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right - Rear Left - Rear Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]
Rear Left: Capture 65536 [100%] [on]
Rear Right: Capture 65536 [100%] [on]
Lsusb:
Bus 002 Device 005: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 002 Device 004: ID 0bc2:3008 Seagate RSS LLC FreeAgent Desk 1TB
Bus 002 Device 003: ID 0bc2:2300 Seagate RSS LLC Expansion Portable
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0bda:0181 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 001 Device 003: ID 04ca:002f Lite-On Technology Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This is what I get for the systool -vm relevant_snd_module:
[dobbie@arch-dobbie ~]$ systool -vm relevant_snd_module
Error opening module relevant_snd_module
Offline
This is what I get for the systool -vm relevant_snd_module:
[dobbie@arch-dobbie ~]$ systool -vm relevant_snd_module Error opening module relevant_snd_module
There is no relevant_snd_module, that is my hint to the user to replace its name, you have to use those that 'cat /proc/asound/modules' outputs. Just post this instead:
for i in $(awk '{print $2}' /proc/asound/modules | sort | uniq); do echo "--- $i ---"; systool -vm $i; done
This is mainly to get current power options anyway.
The amixer is only for one card, namely card 0, but it should be sufficient here. If you look up my first post there is a 'for loop' to get amixer for every sound card.
I suggest you go through the troubleshooting steps for pulseaudio and then report back. You may want to take a look at pavucontrol and start pulseaudio in verbose mode using '-vvvv'.
Edit: missed two words.
Edit2: Added the wiki reference again. Go through it and post exactly what you did. Which of the listed usb equipment has an audio device in them?
Last edited by emeres (2014-08-31 03:46:58)
Offline
I have added this to ~/.asoundrc:
pcm.dsp {
type plug
slave.pcm "dmix"
}
but to no avail. I have also installed paprefs and my sound card isn't listed, only the HDMI output which I don't use. I also tried this:
Using paprefs, simply select "Add virtual output device for simultaneous output on all local sound cards" from under the "Simultaneous Output" tab. Then, under GNOME's "sound settings", select the simultaneous output you have just created.
Nothing.
I also tried the verbose option too with the same result.
EDIT:
This is the output of for i in $(awk '{print $2}' /proc/asound/modules | sort | uniq); do echo "--- $i ---"; systool -vm $i; done
--- snd_hda_intel ---
Module = "snd_hda_intel"
Attributes:
coresize = "26327"
initsize = "0"
initstate = "live"
refcnt = "7"
taint = ""
uevent = <store method only>
Parameters:
align_buffer_size = "-1"
bdl_pos_adj = "32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
beep_mode = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
enable_msi = "-1"
enable = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
id = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
index = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
jackpoll_ms = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
model = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
patch = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
position_fix = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
power_save = "0"
power_save_controller= "Y"
probe_mask = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
probe_only = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
single_cmd = "N"
snoop = "Y"
Sections:
.bss = "0xffffffffa0302a80"
.data = "0xffffffffa0302000"
.data.unlikely = "0xffffffffa03027d0"
.exit.text = "0xffffffffa02ff930"
.gnu.linkonce.this_module= "0xffffffffa0302800"
.init.text = "0xffffffffa0305000"
.note.gnu.build-id = "0xffffffffa0300000"
.rodata = "0xffffffffa0300040"
.rodata.str1.1 = "0xffffffffa0300f02"
.rodata.str1.8 = "0xffffffffa03012e0"
.smp_locks = "0xffffffffa0301618"
.strtab = "0xffffffffa0308508"
.symtab = "0xffffffffa0306000"
.text = "0xffffffffa02fd000"
__mcount_loc = "0xffffffffa0301848"
__param = "0xffffffffa0301628"
__verbose = "0xffffffffa0302640"
--- snd_usb_audio ---
Module = "snd_usb_audio"
Attributes:
coresize = "135316"
initsize = "0"
initstate = "live"
refcnt = "2"
taint = ""
uevent = <store method only>
Parameters:
autoclock = "Y"
device_setup = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
enable = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
id = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
ignore_ctl_error = "N"
index = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
pid = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
vid = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
Sections:
.bss = "0xffffffffa05b30c0"
.data = "0xffffffffa05ae000"
.exit.text = "0xffffffffa05a4ee9"
.gnu.linkonce.this_module= "0xffffffffa05b2e40"
.init.text = "0xffffffffa05c7000"
.note.gnu.build-id = "0xffffffffa05a5000"
.rodata = "0xffffffffa05a5040"
.rodata.str1.1 = "0xffffffffa05aacfe"
.rodata.str1.8 = "0xffffffffa05ac360"
.smp_locks = "0xffffffffa05aded8"
.strtab = "0xffffffffa05ced08"
.symtab = "0xffffffffa05c8000"
.text = "0xffffffffa0595000"
__mcount_loc = "0xffffffffa05ad978"
__param = "0xffffffffa05ad878"
__verbose = "0xffffffffa05b2670"
Last edited by Dobbie03 (2014-08-31 03:37:03)
Offline
ouch.
please undo those last steps. delete ~/.asoundrc and remove the virtual sound device.
kill pulseaudio
pulseaudio -k
restart it
pulseaudio --start
Then show the amixer output for all cards, so we can see if maybe a card is muted.
amixer -c0
amixer -c1
amixer -c2
Last but not least make sure that the correct card is selected in gnomes sound options and that it uses the correct profile.
oh and by the way, once you start playing sound, does the application get listed there?
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Hi Rasi,
Yes, I am using MPD and Sonata and MPD shows up in the Sound tab of the Gnome Settings.
Outputs as follows
amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%]
Front Right: Playback 255 [100%]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 17 [55%] [12.00dB] [on]
Front Right: Capture 17 [55%] [12.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-13.50dB] [off]
Front Right: Capture 0 [0%] [-13.50dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
amixer -c1:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
amixer -c2:
amixer: Mixer hw:2 load error: Invalid argument
I have no card in Gnome sound options to select, see screenshot link:
http://i.imgur.com/OGEkebZ.png
Offline
@dobbie03 this is getting a bit tedious on a forum. is it possible that you /query me on irc.freenode.net?
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
@dobbie03 this is getting a bit tedious on a forum. is it possible that you /query me on irc.freenode.net?
I have never used IRC before, what channel are you on?
Offline
just connect to the server and type "/query Rasi hello"
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Rasi solved my issue. Thanks for taking the time.
Offline
for future reference: the issue was a) gdm pulseaudio process not being killed after login
which was b) most likely caused by a fluid synth process blocking the sound device.
The solution to this is in wiki:
https://wiki.archlinux.org/index.php/Pu … t_detected
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
I asked for adding this or similar to fluidsynth.install post_install():
if (pidof pulseaudio > /dev/null); then sed -i 's/a\ alsa/a\ pulseaudio/' /etc/fluidsynth.conf; fi
This should take care of such issues in the future, at least to some extent.
Offline