You are not logged in.
Pages: 1
First of all, the audio does work under windows (dual boot), so it is not a hardware problem.
output from uname -a Linux sparklingtoo 4.5.1-1-ARCH
I have tried both with only alsa and pulseaudio, same output, no audio.
speaker test only works with speaker-test -t sine -D plughw:1,0
speaker test alone, for example, doesnt work.
interesting output from pulseaudio, I get:
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
pacmd list-sinks gives me: https://ptpb.pw/5jhH
I have been trying to get this working for the last 3-4 weeks, and I don't manage to get it.
I also downgraded my kernel to LTS, same problem.
The sound card is the integrated one.
The cpu is Intel(R) Core(TM) i5-4690
as said, i don't know what else to try. thanks for any help!
Last edited by joanmanel (2016-06-15 15:23:37)
Offline
Are you saying that speaker-test works with the specified card? Can you post
aplay -l
sudo fuser -v /dev/snd/*
in [ code ] tags? Might be one of the MIDI services blocking access to your card like e.g. in https://bbs.archlinux.org/viewtopic.php?id=212083
Last edited by V1del (2016-05-05 22:50:03)
Offline
Are you saying that speaker-test works with the specified card? Can you post
aplay -l sudo fuser -v /dev/snd/*
in [ code ] tags? Might be one of the MIDI services blocking access to your card like e.g. in https://bbs.archlinux.org/viewtopic.php?id=212083
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: juanma 8237 F.... pulseaudio
Checking your link, I don't have neither of those packages installed
Offline
I am just bumping this up to see if anyone can help me. I still have no audio.
Offline
Yeah sorry this one fell off a bit. Output of the two commands looks fine, can you try resetting pulseaudio configuration by removing ~/.config/pulse and restarting it afterwards? If that didn't help can you post your /etc/pulse/default.pa and the output of the last command of the following set
systemctl --user mask pulseaudio.socket
pulseaudio -k
pulseaudio -vvv
Do you have an /etc/asound.conf or ~/.asoundrc (you should have an etc/asound.conf that redirects ALSA output to pulse, but nothing more)
Last edited by V1del (2016-05-23 13:20:47)
Offline
I had some trouble a time ago with Alsa, this page saved me, so i saved the page back
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Yeah sorry this one fell off a bit. Output of the two commands looks fine, can you try resetting pulseaudio configuration by removing ~/.config/pulse and restarting it afterwards? If that didn't help can you post your /etc/default.pa and the output of the last command of the following set
systemctl --user mask pulseaudio.socket pulseaudio -k pulseaudio -vvv
Do you have an /etc/asound.conf or ~/.asoundrc (you should have an etc/asound.conf that redirects ALSA output to pulse, but nothing more)
Restarting didn't work.
I don't have a file called default.pa
The output from pulseaudio -vvv is 1467 lines. I don't know if you want to see something in particular, but if I copy paste it here can get a bit crazy
I have an etc asound.conf, like this:
# 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:
thanks for your help!
Offline
I had some trouble a time ago with Alsa, this page saved me, so i saved the page back
I have tried that, it looked very good because it seems to be my exact problem, and after following it now I have the PCH as card 0 (and HDMI as 1). But I have still no audio.
speaker-test
speaker-test 1.1.1
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
thank you very much. I think soon I will have sound again. hopefully!
Offline
Gah this is like the third time I fumbled the path your /etc/pulse/default.pa is what I need. While setting the index will be beneficial anyway if you are using pulseaudio they don't matter as much. Post the whole pulseaudio -vvv contents to some pastebin client somewhere, i'd like to have the full output. And because you didn't specifically mention it: You did remove your ~/.config/pulse folder?
Last edited by V1del (2016-05-23 13:29:09)
Offline
dockland wrote:I had some trouble a time ago with Alsa, this page saved me, so i saved the page back
I have tried that, it looked very good because it seems to be my exact problem, and after following it now I have the PCH as card 0 (and HDMI as 1). But I have still no audio.
speaker-test speaker-test 1.1.1 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave Playback open error: -2,No such file or directory
thank you very much. I think soon I will have sound again. hopefully!
I dont remember exactly, but it might require a log off and back in
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
@dockland it would require a reboot or a rmmod/modprobe, but we're already past that stage if he has the PCH as index 0.
@joanmanel Something like
dmesg | grep 'snd|hda'
might also help, but I don't think that the kernel is the underlying issue
Last edited by V1del (2016-05-23 13:28:19)
Offline
@dockland it would require a reboot or a rmmod/modprobe, but we're already past that stage if he has the PCH as index 0.
@joanmanel Something like
dmesg | grep 'snd|hda'
might also help, but I don't think that the kernel is the underlying issue
This is my default.pa
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)
.nofail
### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
#load-sample-lazy pulse-hotplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-coldplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-access /usr/share/sounds/freedesktop/stereo/message.oga
.fail
### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties
### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available
### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish
### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv
### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor
### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink
### Honour intended role device property
load-module module-intended-roles
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif
### Enable positioned event sounds
load-module module-position-event-sounds
### Cork music/video streams when a phone stream is active
load-module module-role-cork
### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply
# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.
### Load X11 bell module
#load-module module-x11-bell sample=x11-bell
### Register ourselves in the X11 session manager
#load-module module-x11-xsmp
### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif
### Make some devices default
#set-default-sink output
#set-default-source input
and the dmesg
[ 5.086771] snd_hda_intel: unknown parameter 'vid' ignored
[ 5.086773] snd_hda_intel: unknown parameter 'pid' ignored
[ 5.086774] snd_hda_intel: unknown parameter 'vid' ignored
[ 5.086775] snd_hda_intel: unknown parameter 'pid' ignored
[ 5.094382] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 5.100082] snd_hda_codec_realtek hdaudioC0D2: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[ 5.100083] snd_hda_codec_realtek hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.100083] snd_hda_codec_realtek hdaudioC0D2: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 5.100084] snd_hda_codec_realtek hdaudioC0D2: mono: mono_out=0x0
[ 5.100084] snd_hda_codec_realtek hdaudioC0D2: inputs:
[ 5.100085] snd_hda_codec_realtek hdaudioC0D2: Rear Mic=0x18
[ 5.100085] snd_hda_codec_realtek hdaudioC0D2: Front Mic=0x19
[ 5.100086] snd_hda_codec_realtek hdaudioC0D2: Line=0x1a
[ 5.100087] snd_hda_codec_realtek hdaudioC0D2: CD=0x1c
Offline
I am bumping this up in case anyone can help me. Still no sound
Offline
Don't know if it would help, but for my sound card "C-Media Electronics Inc CMI8788 [Oxygen HD Audio]" I open pavucontrol and go to the Configuration tab and disable all that I'm not using. Then I open alsamixer by typing alsamixer -c 2 or hitting F6 after to choose the right card and switching a setting called analog output from Stereo Headphones FP (which gives no sound) to Stereo Headphones.
Offline
That doesn't work. I can only see the HDMI ones.
Also, I have installed Gnome (before I had i3) to see if it was related somehow to the DE, but it is not. With Gnome it is also not working
Offline
I'm also with the alsamixer suggestion maybe there's a control switch, can you post
amixer -c0 #Given the integrated card is still index 0
if we don't find anything there you might be able to experiment and fix your PIN layout with hdajackretask
Adding the output of a verbose pulse start as detailed in one of my earlier posts might also help
Last edited by V1del (2016-06-15 14:00:41)
Offline
I'm also with the alsamixer suggestion maybe there's a control switch, can you post
amixer -c0 #Given the integrated card is still index 0
if we don't find anything there you might be able to experiment and fix your PIN layout with hdajackretask
amixer -c0
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
amixer -c1
Simple mixer control 'Master',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 'Headphone',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 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
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] [on]
Front Right: Playback 0 [0%] [-34.50dB] [on]
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 20 [65%] [-4.50dB] [off]
Front Right: Playback 20 [65%] [-4.50dB] [off]
Simple mixer control 'Line 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 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Beep',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 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 28 [61%] [12.00dB] [on]
Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Rear Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
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: 1 [33%] [10.00dB]
Front Right: 1 [33%] [10.00dB]
Offline
A fresh installation solved the issue. I have sound again. No idea what went wrong. This time I installed gnome, when before I installed i3
Offline
Pages: 1