No sound with ALSA & Fluidsynth enabled (as normal user)
Ahoy!
I'm using pure ALSA (no pulseaudio) and I have a problem that when I start Fluidsynth I have no sound anymore. Without starting Fluidsynth, everything is working just fine.
I can play sound with Fluidsynth enabled though when I add myself to the audio group. However, I didn't need to do that in the past. In fact, I have Fluidsynth up and running with ALSA on my laptop and everything works just fine and I remember reading in the wiki that the user is not supposed to be added to the audio group.
Here's some information:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: A2G [AuzenTech X-Meridian 2G], device 0: Multichannel [Multichannel]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: A2G [AuzenTech X-Meridian 2G], device 1: Digital [Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
cat /proc/asound/cards
0 [A2G ]: CMI8788 - AuzenTech X-Meridian 2G
C-Media Oxygen HD Audio at 0xc000, irq 17
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfa080000 irq 17
aconnect -o
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'AuzenTech X-Meridian 2G' [type=kernel]
0 'AuzenTech X-Meridian 2G MIDI'
And here's how it looks like when I start Fluidsynth (including the error message I get):
USER@PROBLEM ~ % speaker-test -c 2
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
1 - Front Right
^CWrite error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call
USER@PROBLEM ~ % sudo systemctl start fluidsynth.service
USER@PROBLEM ~ % sudo systemctl status fluidsynth.service
● fluidsynth.service - FluidSynth Daemon
Loaded: loaded (/usr/lib/systemd/system/fluidsynth.service; disabled)
Active: active (running) since Sat 2014-10-04 10:11:18 UTC; 6s ago
Main PID: 1017 (fluidsynth)
CGroup: /system.slice/fluidsynth.service
└─1017 /usr/bin/fluidsynth -is -a alsa -m alsa_seq -r 48000 /usr/s...
Oct 04 10:11:19 PROBLEM fluidsynth[1017]: fluidsynth: warning: Requested...d
Hint: Some lines were ellipsized, use -l to show in full.
USER@PROBLEM ~ % speaker-test -c 2
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:989:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied
aconnect -o
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'AuzenTech X-Meridian 2G' [type=kernel]
0 'AuzenTech X-Meridian 2G MIDI'
client 128: 'FLUID Synth (1017)' [type=user]
0 'Synth input port (1017:0)'
Any ideas?
Last edited by Janusz11 (2014-10-04 08:26:54)
Thanks. I've set Fluidsynth up the way it is described in the wiki (FluidSynth). If I'm not mistaken it is already started with the "-a alsa" option through the config file (SYNTHOPTS="-is -a alsa -m alsa_seq -r 48000" ).
Well, since adding the user to the audio group fixes the problem I'll do that now.
Similar Messages
-
[SOLVED]No Sound with ALSA - Intel Corporation 82801G HD Audio
Hey all,
I've succesfully installed Arch Linux. My past two attempts have met with failure, all because of my own failure to read and follow directions correctly. This time everything is installed correctly. I am running Kdemod3 on my laptop with Arch and everything works great. I LOVE Pacman and the simplicity of Arch's configuration files. It's super fast and all together simple. My only remaining problem is this:
My sound with ALSA is not functioning. I followed the installation instructions at the arch wiki and after unmuting all of my channels I still would not get any sound. My sound module is snd_hda_intel and it is detected, loaded and the whole nine yards (as far as I can tell). My user is a member of the 'audio' user group also. I looked at the troubleshooting tips on the bottom of the Wiki but decided not to try them as they do not seem to pertain to my card (snd_hda_intel) but I will try them if anyone would like me to.
If anyone has any ideas, they'd be greatly appreciated!:D Anything I can provide that you need I will be more than willing to provide.
Thanks for such a great distribution,
Dan
Last edited by JazzDan (2008-06-29 05:06:35)Problem resolved. I ran alsaconf, selected my soundcard, and everything was working from there out. Thanks MisfitI38 on the IRC!!!
-
[Solved] No sound with ALSA (change default sound card)
I installed Arch on another laptop and I am unable to get sound working.
# lspci | grep -i audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 9840
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
Two devices show up in alsamixer. The first (the default, I assume) shows up only an S/PDIF button that I can toggle. If I select the other sound card, I can change volume normally.
I followed this solution in the wiki with no success.
How can I make the second sound card the default one?
Last edited by Gradient (2014-09-09 18:17:14)Here is the requested info with the cards in the corrected order:
$ aplay -lL;
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Generic_1
HD-Audio Generic, ALC3227 Analog
Default Audio Device
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC3227 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
Front speakers
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC3227 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Generic_1 [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat $i/id); done;
--- /proc/asound/card0 ---
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [off]
Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [36.00dB]
Front Right: 3 [100%] [36.00dB]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 39 [62%] [12.00dB] [on]
Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [36.00dB]
Front Right: 3 [100%] [36.00dB]
Simple mixer control 'Mute-LED Mode',0
Capabilities: enum
Items: 'On' 'Off' 'Follow Master'
Item0: 'Follow Master'
--- /proc/asound/card1 ---
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
$ lspci -vnn | grep -A 1 -i audio
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:9840]
Subsystem: Hewlett-Packard Company Device [103c:22cd]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 02)
Subsystem: Hewlett-Packard Company Device [103c:22cd]
emeres wrote:What do you mean 'is visible in alsamixer'? F6 does not list it? Did you use index or enable?
Yes, that is what I meant; F6 did not list them both when I use your options. I must have done something wrong the first time, because now it does.
emeres wrote:Read this alsa documentation and 'mad modprobe'.
Thanks for the link. That was what I was looking for. -
[SOLVED] Low sound with ALSA
Hi! I'm using alsa on a laptop with master, speaker and PCM at 100%, and I still can't get an output as loud as I'd like.
On ubuntu with pulseaudio, I had the option of setting the volume to 120% on the sound preferences menu, which made a desirable volume level for me. Is there an equivalent thing in arch? Is this like setting PCM to something higher than 0b?
Cheers!
Last edited by orlox (2010-08-14 20:09:46)Just installed pulseaudio. Not really a solution to the name of this thread, since I didn't get a loud volume with ALSA, but it solves my problem of having low volume on my PC
-
Cant get stereo sound with alsa
i installed arch about 5 or 6 months ago and setup alsa for sound
The problem is that only the left speaker is working. Somehow i have gone all this time without ever noticing. I probably would still have not noticed except i booted into windows the other day, for the first time in about a year, and realized that I had two speakers working with media player.
i've scanned through the wiki and done some google and forum searching, but i can't seem to find anything about getting stereo sound to work with alsa.
Is anybody else having this problem? What can i do to make both speakers work?
Last edited by tjwoosta (2009-04-30 19:35:44)[tj@myhost ~]$ amixer contents
numid=2,iface=MIXER,name='Master Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=1,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=31,31
| dBscale-min=-46.50dB,step=1.50dB,mute=0
numid=7,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
: values=255,255
| dBscale-min=-51.00dB,step=0.20dB,mute=0
numid=5,iface=MIXER,name='Capture Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=4,iface=MIXER,name='Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
: values=15,15
| dBscale-min=0.00dB,step=1.50dB,mute=0
numid=8,iface=MIXER,name='Digital Capture Volume'
; type=INTEGER,access=rw---RW-,values=2,min=0,max=120,step=0
: values=0,0
| dBscale-min=-30.00dB,step=0.50dB,mute=0
numid=3,iface=MIXER,name='Input Source' ; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'Mic'
; Item #1 'Front Mic'
; Item #2 'CD'
: values=0
numid=6,iface=MIXER,name='Mux Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=4,step=0
: values=0,0
| dBscale-min=0.00dB,step=10.00dB,mute=0
[tj@myhost ~]$
i have no idea what any of this means -
ALSA device busy for normal user (not root) after systemd [resolved]
I'm not able to get audio when using a normal user (device or resource busy) but root works just fine. I think I've messed something up since I just removed consolekit and switched to systemd.
Here's what my .xinitrc looks like
#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#exec gnome-session
#exec startkde
#exec startxfce4
#exec enlightenment_start
# ...or the Window Manager of your choice
#exec ck-launch-session startlxde
exec dbus-launch startlxde
I use LightDM via systemd service and LXDE. My devices in /dev/snd aren't actually busy. Nobody is using them and they work fine for root.
Where else should I be looking for trouble? Anyone have a similar experience?
Last edited by royallthefourth (2013-06-12 17:32:20)It says I'm in the audio group. Here's the permission on the audio devices:
crw-rw----+ 1 root audio 116, 6 Jun 12 03:45 controlC0
crw-rw----+ 1 root audio 116, 9 Jun 12 03:45 controlC1
crw-rw----+ 1 root audio 116, 11 Jun 12 03:45 controlC2
crw-rw----+ 1 root audio 116, 8 Jun 12 03:45 hwC1D0
crw-rw----+ 1 root audio 116, 5 Jun 12 03:45 pcmC0D0c
crw-rw----+ 1 root audio 116, 4 Jun 12 03:45 pcmC0D0p
crw-rw----+ 1 root audio 116, 3 Jun 12 03:45 pcmC0D1c
crw-rw----+ 1 root audio 116, 2 Jun 12 03:45 pcmC0D1p
crw-rw----+ 1 root audio 116, 7 Jun 12 03:45 pcmC1D3p
crw-rw----+ 1 root audio 116, 10 Jun 12 03:45 pcmC2D0c
crw-rw----+ 1 root audio 116, 1 Jun 12 03:45 seq
crw-rw----+ 1 root audio 116, 33 Jun 12 03:45 timer
I ought to have access to these, right? -
[Solved] Sound with ALSA and PulseAudio at the same time?
Hi, I am using arch linux to play Counter Strike on.
While it works fine and all, I just don't get any sound in CS because I am using Mangler, which only seems to work with my microphone if I use PulseAudio.
I hope this is a rather simple issue, basicly, I just want to enable sound in PulseAudio and ALSA at the same time, is this possible?
Last edited by Paaskehare (2010-08-12 15:39:09)I have read that PulseAudio decreases sound quality, and therefore I would not like to use this as a systemwide driver, but rather only where it is needed.
Please correct me if I am wrong
Edit:
Ok, sound quality isn't noticeably worse, so this will do. HOWEVER, while I am in Counter Strike my sound is delayed by ~1 second, and it is therefore useless, any thoughts on that matter?
Edit again .. Solved this time:
I set my ALSA plugin in winecfg to "Hardware Acceleration: Emulation" - that seemed to do the trick.
Last edited by Paaskehare (2010-08-12 15:38:56) -
No sound with alsa and integrated Intel sound card, any advice???
I just got a new computer, erased the OEM windows install and installed Arch linux with xfce. I have an Integrated HDA intel sound card with Realtek ALC888 chip
Sound worked just fine in the windows install, so I know the card and speakers work.
I installed alsa and made sure to unmute PCM and Front speakers. Unmuting all of the entries didn't help. Any advice would be greatly appreciated.
lsmod|grep '^snd'
snd_seq_oss 35584 0
snd_seq_midi_event 9344 1 snd_seq_oss
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 9364 2 snd_seq_oss,snd_seq
snd_hda_intel 531252 0
snd_pcm_oss 45440 0
snd_mixer_oss 18944 1 snd_pcm_oss
snd_hwdep 10632 1 snd_hda_intel
snd_pcm 82952 2 snd_hda_intel,snd_pcm_oss
snd_timer 24720 2 snd_seq,snd_pcm
snd 65096 9 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc 11792 2 snd_hda_intel,snd_pcm
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is my rc.conf
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: Type locale -a to see location listing
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="America/Detroit"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="yes"
# NETWORKING
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="Lychee"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network.d
# This now requires the netcfg package
#NETWORKS=(main)
# DAEMONS
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng network netfs crond hal fam)
I am going through the wikiarticl on alsa as well, but if anyone can point out what the issue is hear I would greatly appreciate it.Hmm. I have an onboard Intel sound chipset as well.. I noticed your rc.conf doesn't have "snd-hda-intel" in the MODULES array; make sure you add that.
I never figured out how to read the right side of lsmod's output, so I'll assume that, despite having the snd-hda-intel module, you haven't enabled it yet. Try (as root or through sudo) `modprobe snd-hda-intel`. It may need underscores instead of hyphens; they seem to be interchangeable. -
No sound with ALSA and Creative Recon3D
I have been working on this issue for several days now and still cannot get my sound card to work. Basically, I have a Creative Sound Blaster Recon3D sound card installed in a PCI slot and I am unable to play any sound through it. Note that I have the on board sound disabled in the BIOS. Also, it is my understanding that this sound card is supported as of kernel 3.5. I dual boot this system and sound does work on my Windows install. I am certain that I do not have any channels muted and that the sound card is being detected by the kernel.
I have already gone through the relevant troubleshooting steps listed in the following Wiki pages:
https://wiki.archlinux.org/index.php/Ad … sound_card
https://wiki.archlinux.org/index.php/Al … leshooting
As suggested by the above pages, I have tried:
- Setting the default card in /etc/asound.conf
- Setting all instances of "card 0" to "card 2" (which is the ID of the card listed in "aplay -l") in /usr/share/alsa/alsa.conf
- Verified the sound modules were loaded
- Double checked to make sure that all channels were unmuted
A couple of interesting things I noticed:
1) Speaker-test fails:
# speaker-test -c 2
speaker-test 1.0.26
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
2) Here is some more information regarding my sound modules and hardware devices:
# lsmod | grep '^snd' | column -t
snd_hda_codec_ca0132 8244 1
snd_hda_codec_hdmi 24487 1
snd_usb_audio 102808 1
snd_hda_intel 26180 2
snd_usbmidi_lib 18744 1 snd_usb_audio
snd_rawmidi 18479 1 snd_usbmidi_lib
snd_hda_codec 98033 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_ca0132
snd_seq_device 5268 1 snd_rawmidi
snd_hwdep 6300 2 snd_usb_audio,snd_hda_codec
snd_pcm 75167 4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
snd_timer 18934 1 snd_pcm
snd 59989 17 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_hda_codec_ca0132
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 0: CA0132 Analog [CA0132 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 1: CA0132 Digital [CA0132 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
Can anyone help point me in the right direction? This is driving me crazy and I feel like I am just a few steps away from getting this working properly.
One last note, I tried going the PulseAudio route as well, and I was unsuccesful.I think it's little too late now but i guess i post this for anyone searching for a fix
Recon3d works since few major kernel versions back... but there buffer allocation problem on default configuration (Card sometimes will do random loopy noice while trying to play, which means right sound data going somewhere where it does not suppose to) , it can be fixed by loading snd_hda_intel module with position_fix=1 parameter. For some reason this does not work on udev (or i'm doing something wrong ) so i did script:
rmmod snd_hda_intel
modprobe snd_hda_intel position_fix=1
...and i turn it to systemd service, which starts on boot and it seems to work. There 3 bugs i notice:
1. Sometime card mutes, but when i do sound is soem other application it goes back, i think there init problem or something, this seems to fixed since 3.8
2. On system wake sounds gone sometimes, guess what fix that .... you need to boot Windows and go back to Linux and it works, i think this has soemthing to do with firmware
3. Optical Input does work in Audacity
3.9 inludes firmware loading which should fix lot of problems + support for What U Hear (sound loopback) and digital mic. Hopefully it also fix buffer problem
Last edited by Shadowriver (2013-04-28 20:43:09) -
No sound with ALSA and/or Pulse from built-in Intel 5 Series Card
Hello,
I posted a thread about a similar problem to this 4 years ago, but that solution is no longer working for me, and I'm just now returning to Arch after floating between a few different distros, so I'm not as knowledgeable about this as I might once have been.
Basically, my problem is that sound does not work on my laptop, neither through the internal speakers or headphone jack, and neither with plain ALSA nor Pulseaudio. This leads me to believe that there is some underlying problem that once solved, will allow plain ALSA and Pulse to work properly, but that's just speculation. I've put several hours of research into this so far with no luck. Everything in alsamixer is unmuted and looks right. I'm going to dump as much relevant info on my setup below in hopes that someone more knowledgeable than I can spot the issue:
The relevant section of lspci:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
Subsystem: Dell Device 0447
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at fbd00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
The output of aplay -l
card 0: MID [HDA Intel MID], device 0: 92HD81B1X5 Analog [92HD81B1X5 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
The output of aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=MID
HDA Intel MID, 92HD81B1X5 Analog
Default Audio Device
sysdefault:CARD=MID
HDA Intel MID, 92HD81B1X5 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
Front speakers
surround21:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=MID,DEV=0
HDA Intel MID, HDMI 0
HDMI Audio Output
The contents of /proc/asound/cards
0 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xfbd00000 irq 32
The contents of /proc/asound/devices
2: [ 0] : control
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0- 3]: digital audio playback
6: [ 0- 0]: hardware dependent
7: [ 0- 3]: hardware dependent
33: : timer
/etc/asound.conf is empty and my user has no .asoundrc file in its home directory.
I ran the ALSA Information Script and the results of that can be found here.
Any help would be greatly appreciated; this is a very frustrating issue. Thank you very much!same problem with me on Intel Corporation 7 Series/C210 Series.
actually, internal speakers works, it's just on mute (you can change it with alsamixer), but headphone/external speakers doesn't work. and there's no sound card detected in gnome control center -> audio section.
"00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)" -
[SOLVED]No sound with ALSA. I'm looking for help with troubleshooting.
Hi!
Recently I bought a new laptop (HP Probook 450 G1). For some reason I can't hear sound from the laptop's speaker or headphones. I already read the troubleshooting guide on wiki. Unfortunately none of the solutions described on the wiki helped. I'm not using PulseAudio and I'm out of ideas.
Additional information:
Alsamixer screenshot.
~ lsmod |grep snd
snd_hda_codec_realtek 54803 1
snd_hda_codec_generic 56366 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 40396 1
snd_hda_intel 22831 6
snd_hda_controller 22975 1 snd_hda_intel
snd_hda_codec 104665 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 6652 1 snd_hda_codec
snd_pcm 83207 6 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 19294 3 snd_pcm
snd 61276 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore 5551 2 snd,snd_hda_codec
~ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
~ speaker-test
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Time per period = 2.651060
0 - Front Left
lspci |grep Audio
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
~ cat /proc/asound/cards
cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe024000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfdffc000 irq 43
Last edited by Skitter (2014-09-01 06:22:30)brebs wrote:
emeres wrote:Why disable a card?
So that the right output becomes the all-important *default* output. And it's conveniently a simple one-liner.
I am very aware of that, why not use index instead? It is as convenient as enable. Why leave the user with a disabled device, when it can continue to work? I consider this highly inefficient, because it does not solve the actual issue and creates a potential problem in the future.
In this case, user interaction was the cause, so it does not matter.
Edit: Typo.
Last edited by emeres (2014-08-29 17:45:29) -
[SOLVED] No Sound with ALSA & Pulseaudio
Recently I made the transition from Debian to Arch, installed on a
seperate partition using the chroot install method.
All went smoothly, with the exception that there is no audio whatsoever.
Over the last week I've read through the related topics on the wiki and searched the forum,
but to no avail
Any assistance would be appreciated.
Here are some details;
lspci | grep audio
00:1b.0 Audio device [0403]: Intel Corporation 82801FB/FBM/FR/FW/FRW
(ICH6 Family) High Definition Audio Controller [8086:2668] (rev 03)
lsmod | grep snd
snd_intel8x0m 9736 0
snd_ac97_codec 89404 1 snd_intel8x0m
ac97_bus 910 1 snd_ac97_codec
snd_hda_codec_realtek 35187 1
snd_hda_intel 31255 0
snd_hda_codec 128666 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 4750 1 snd_hda_codec
snd_pcm_oss 33509 0
snd_mixer_oss 12450 1 snd_pcm_oss
snd_pcm 63880 5
snd_pcm_oss,snd_ac97_codec,snd_hda_codec,snd_hda_intel,snd_intel8x0m
snd_page_alloc 5978 3 snd_pcm,snd_hda_intel,snd_intel8x0m
snd_seq_dummy 1131 0
snd_seq_oss 25116 0
snd_seq_midi 4104 0
snd_seq_midi_event 4484 2 snd_seq_oss,snd_seq_midi
snd_rawmidi 14828 1 snd_seq_midi
snd_seq 41044 6
snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_seq_device 4256 5
snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_timer 14946 2 snd_pcm,snd_seq
snd 44566 14
snd_hda_codec_realtek,snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_se$
soundcore 4386 1 snd
ls /dev/snd/*
/dev/snd/controlC0
/dev/snd/hwC0D2
/dev/snd/seq
/dev/snd/timer
/dev/snd/by-path:
pci-0000:00:1b.0
cat /proc/asound/modules
0 snd_hda_intel
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
**** List of PLAYBACK Hardware Devices ****
Screenshots of alsamixer
http://www.imgbin.org/index.php?page=image&id=15874
http://www.imgbin.org/index.php?page=image&id=15875
pavucontrol shows no devices for configuration
Last edited by naesk (2013-12-13 08:11:44)a couple of days i had a similar problem, because sound modules for my internal modem were loaded. maybe you can try to blacklist the snd_hda_codec_realtek module, which looks like a network card.
you can achieve that by putting
blacklist snd_hda_codec_realtek
in /etc/modprobe.d/modprobe.conf and reboot.
rgds
hcjl
Last edited by hcjl (2013-12-13 08:39:48) -
No sound with ALSA on Intel ICH5/ICH5R
Howdy.
I just installed Arch and can't seem to get sound working.. I have an Intel ICH5/ICH5R as displayed by lspci..
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
cat /proc/asound/cards
1 [ICH5 ]: ICH4 - Intel ICH5
Intel ICH5 with AD1981B at irq 17
/proc/asound/card sees it and so does "alsaconf" but when I eventually go to use alsamixer..
# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
It displays ^ that. (Which is being run by root)
Any ideas? (I've seen a lot of people suggesting moving to OSS which would be a bother..)grizzeledtop wrote:check out
http://wiki.archlinux.org/index.php/ALSA
I included all the information that I did to show that I've already that wiki entry. -
No sound with ALSA, using an intel sound card
Hello !
I have got a problem about sound on my computer. Indeed, my soundcard doesn't seems to be recognize by ALSA. It's weird, I'll show you. Well, my soundcard is :
lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
Next, my sound modules loaded are
lsmod | grep snd
snd_hda_intel 21837 0
snd_seq_dummy 1479 0
snd_seq_oss 29240 0
snd_seq_midi_event 5516 1 snd_seq_oss
snd_seq 50562 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 5281 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 39509 0
snd_hda_codec 74609 1 snd_hda_intel
snd_mixer_oss 17730 1 snd_pcm_oss
snd_hwdep 6222 1 snd_hda_codec
snd_pcm 72321 3 snd_hda_intel,snd_pcm_oss,snd_hda_codec
snd_timer 19537 2 snd_seq,snd_pcm
snd 58906 10 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_hda_codec,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer
soundcore 6161 1 snd
snd_page_alloc 7361 2 snd_hda_intel,snd_pcm
Then, I want sound. I use alsaconf, of course, and I can choose my soundcard in a list (the other choice is "legacy"). I answer yes to the question "Do you want to modify /etc/modprobe.d/sound.conf [...] ", and then, during a few seconds :
Loading driver...
:: Saving ALSA Levels [BUSY]
/usr/sbin/alsactl: save_state:1519: No soundcards found... [FAIL]
It's eerie, I found my card in the list, and then not >_<
Then, alsamixer say me : "cannot open mixer: No such file or directory".
Here is my /dev/snd directory :
lsi /dev/snd
total 0
crw-rw---- 1 root audio 116, 3 Mar 4 15:06 seq
crw-rw---- 1 root audio 116, 2 Mar 4 15:06 timer
/dev/dsp and /dev/mixer don't exist.
So, to summarize, I finally don't have sound in my computer (I never had since I made it). I also tried using OSS, but it didn't work as well.
So I need you help, if you need some more informations, I can get them. Thank you very much !
Last edited by Germanof (2011-03-04 14:23:45)stlarch wrote:Hi, did you install alsa-utils and add alsa to your daemons array in /etc/rc.conf? Also, you need to add yourself to the audio group, #gpasswd -a yourusername audio. The wiki has an article on alsa that should help, or check the beginners guide.
Yes, of course, alsa-utils is installed (so is alsa-firmware, and alsa-oss). I'm in audio group.
ewaller wrote:can you post the output of
cat /proc/asound/cards
Also, you should have a directory /proc/asound/card0/ Which should have one or more files with names of the form codec#n, where n is a sequential integer starting with 0. If those files are not hellaciously long, post them here (With code tags). Otherwise, could you pastebin them and provide a link?
Edit: fixed typo
~ $ cat /proc/asound/cards
--- no soundcards ---
The directory /proc/asound/card0 doesn't exist :
~ $ lsi /proc/asound/
total 0
-r--r--r-- 1 root root 0 Mar 5 12:38 cards
-r--r--r-- 1 root root 0 Mar 5 12:38 devices
-r--r--r-- 1 root root 0 Mar 5 12:38 hwdep
-r--r--r-- 1 root root 0 Mar 5 12:38 modules
dr-xr-xr-x 2 root root 0 Mar 5 12:38 oss/
-r--r--r-- 1 root root 0 Mar 5 12:38 pcm
dr-xr-xr-x 2 root root 0 Mar 5 12:38 seq/
-r--r--r-- 1 root root 0 Mar 5 12:38 timers
-r--r--r-- 1 root root 0 Mar 5 12:38 version
Thanks for helping ! -
Can't save sound with alsa on HDA intel card
Hello,
I just installed arch in this machine and I cannot get sound to function properly.
I have tried using alsactl store but it does no good. After every reboot I need to turn the volume up on the speaker channel within alsa.
Another related note, alsaconf does not exist. A lot of the solutions that I have found involve running that command but it does not exist.
I have install both alsa-lib and asla-utils but alsaconf still does not exist.
Any help would be much appreciated, Thanks.Ok so I gave that a shot here is the output:
[john@goldfish ~]$ sudo systemctl enable alsa-store.service
[sudo] password for john:
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
[john@goldfish ~]$ sudo systemctl enable alsa-restore.service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
[john@goldfish ~]$
Maybe you are looking for
-
I have an HP Officejet 6310xi All-in-One that I've had for quite a while. I used to be able to bring up the ink level status but not anymore. I had a bluetooth connection and thought that was the problem. But I switched to a USB cable to be able to c
-
Acrobat 7 pro installation issues in windows 7
I am trying to install acrobat 7 pro on a windows 7 machine. I followed the directions from chat to download updated program and new serial number because of activation issues. All went well until setup said I didn't have access to files in programfi
-
Hi All, We are facing syntax erro with ABAP query. We have a infoset/query which is perfectly working in one system and we downloaded the both infoset and query from this system.But the same query when it is uploaded to other system is not working. I
-
HT201081 Can't get rid of "Family" in calendar
I want to get rid of "Family" in my iCal. I'm willing to get rid of family sharing if that will do it. I looked of settings/icloud/family on my phone as shown on an Apple article, but that must be for an earlier version of IOS. Actually, I'd li
-
Resume music playlist after power off?
Just graduated from a 3G iPod to a 32gb 2nd gen iTouch. On my old iPod, I could listen to a playlist, power off in the middle, and the iPod would resume playback from that exact point. This isn't happening with the iTouch. Am I missing a setting? I'v