Bug 746470
Summary: | no soundcard detected by pulseaudio | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew <travneff> | ||||||
Component: | pulseaudio | Assignee: | Lennart Poettering <lpoetter> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 16 | CC: | alex, anand.tandon, atu, dhowells, dzrudy, lkundrak, lpoetter, panormitis, rick.foos, silfreed, stinkoid | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-02-13 16:18:44 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 528380 [details]
`pactl list` output without alsa device
I had much the same problem. Partially it was due to this: bug 753160. Running "authconfig --update --nostart" fixed part of the problem (the login wasn't being recorded by systemd and so permissions weren't being correctly set). Then deleting ~/.pulse/ and logging out and logging back in again fixed it for me. Thanks David, authconfig --update fixed this for me. I've updated from F15 to F16 using preupgrade and since that I had no audio devices available after login, but root had access to them (for example by "sudo aplay -l"). The same steps as David Howells did worked for me too and it is all ok now. I've updated from F15 to F16 using preupgrade and since that I had no audio devices available after login, Root did not have access to the either. The same steps as David Howells did worked for me to find the devices on login but when I run test speakers from the sound icon, it crashes. Rythmbox also crashes with a different fault. Both pulseaudio, and later rythmbox fail. Previously, from fedora unity, this has worked for all users: su -c "usermod -aG pulse,pulse-access,jackuser,audio root" But I don't think this gets to the bottom of the problem. Hear are fail logs from pulseaudio and rythmbox after authconfig --updateall --nostop (reboot as well). ---- /var/log/messages Dec 5 11:33:11 montechristo kernel: [ 541.201550] pulseaudio[2720]: segfault at 74 ip 00007f6acabd5311 sp 00007fff2822ac10 error 4 in module-combine.so[7f6acabd0000+9000] Dec 5 11:34:55 montechristo rsyslogd: imuxsock: recvfrom UNIX: Resource temporarily unavailable Dec 5 11:39:25 montechristo kernel: [ 914.577721] rhythmbox[3933]: segfault at 0 ip 00000037e2ac46e1 sp 00007fff45f18920 error 4 in librhythmbox-core.so.4.0.0[37e2a00000+127000] ---- Going through the commands from the original post, here is what I get after authconfig --updateall --nostop (reboot as well). fyi, pactl list fails with permission problems. [root@montechristo ~]# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: VT2020 Digital [VT2020 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 2: VT2020 HP [VT2020 HP] 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 [root@montechristo ~]# amixer ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused amixer: Mixer attach default error: Connection refused [root@montechristo ~]# LANG=C pactl stat Connection failure: Connection refused pa_context_connect() failed: Connection refused [root@montechristo ~]# aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default Default front:CARD=SB,DEV=0 HDA ATI SB, VT2020 Analog Front speakers surround40:CARD=SB,DEV=0 HDA ATI SB, VT2020 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=SB,DEV=0 HDA ATI SB, VT2020 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=SB,DEV=0 HDA ATI SB, VT2020 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=SB,DEV=0 HDA ATI SB, VT2020 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=SB,DEV=0 HDA ATI SB, VT2020 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=SB,DEV=0 HDA ATI SB, VT2020 Digital IEC958 (S/PDIF) Digital Audio Output hdmi:CARD=NVidia,DEV=0 HDA NVidia, HDMI 0 HDMI Audio Output [root@montechristo ~]# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: VT2020 Digital [VT2020 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 2: VT2020 HP [VT2020 HP] 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 [root@montechristo ~]# pactl list Connection failure: Connection refused pa_context_connect() failed: Connection refused [root@montechristo ~]# rpm -qa \*alsa\* alsa-plugins-pulseaudio-1.0.24-2.fc15.i686 alsa-tools-firmware-1.0.24.1-3.fc16.x86_64 alsa-lib-1.0.24-2.fc15.i686 alsa-utils-1.0.24.1-5.fc16.x86_64 alsa-plugins-jack-1.0.24-2.fc15.x86_64 alsa-firmware-1.0.24.1-2.fc15.noarch alsa-plugins-pulseaudio-1.0.24-2.fc15.x86_64 alsa-lib-devel-1.0.24-2.fc15.x86_64 python-alsa-1.0.24-1.fc16.x86_64 alsa-lib-1.0.24-2.fc15.x86_64 alsa-tools-1.0.24.1-3.fc16.x86_64 [root@montechristo ~]# rpm -qa \*pulse\* pulseaudio-module-zeroconf-0.9.23-1.fc16.x86_64 pulseaudio-module-x11-0.9.23-1.fc16.x86_64 pulseaudio-module-bluetooth-0.9.23-1.fc16.x86_64 pulseaudio-libs-glib2-0.9.23-1.fc16.x86_64 pulseaudio-module-jack-0.9.23-1.fc16.x86_64 alsa-plugins-pulseaudio-1.0.24-2.fc15.i686 pulseaudio-libs-0.9.23-1.fc16.x86_64 pulseaudio-equalizer-2.7-8.fc16.noarch pulseaudio-libs-zeroconf-0.9.23-1.fc16.x86_64 pulseaudio-gdm-hooks-0.9.23-1.fc16.x86_64 pulseaudio-0.9.23-1.fc16.x86_64 alsa-plugins-pulseaudio-1.0.24-2.fc15.x86_64 pulseaudio-module-gconf-0.9.23-1.fc16.x86_64 pulseaudio-libs-0.9.23-1.fc16.i686 pulseaudio-utils-0.9.23-1.fc16.x86_64 [root@montechristo ~]# Blog Might be easier to read. 4 links to come up with this...so far. http://rickfoosusa.blogspot.com/2011/12/howto-pulseaudio-fedora-16-no-sound.html fyi, I also lost X11, and ran nvidia-xconfig to restore. AsRock MB has onboard AC97, Nvidia has HDMI Audio. Audio hardware reported is correct. I had this exact same problem. David Howells solution above fixed it ! Note that for me sound worked when logged in as root but didn't when logged in as any other user. This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 528379 [details] `pactl list` output with existing alsa device Note 1: all of the following is an issue appeared after update fc15->fc16 by yum distro-sync. Note 2: If matters, I have runlevel 3 as default. Description of problem: PA doesn't detect soundcard in most cases. Just null output exists. Audio card: MB integrated Realtek ALC850 / nForce4 $ lspci -nn | grep audio 00:04.0 Multimedia audio controller [0401]: nVidia Corporation CK804 AC'97 Audio Controller [10de:0059] (rev a2) Some output: $ aplay -l aplay: device_list:240: no soundcards found... $ aplay -L default Default $ amixer xcb_connection_has_error() returned true Simple mixer control 'Master',0 Capabilities: pvolume pswitch pswitch-joined penum Playback channels: Front Left - Front Right Limits: Playback 0 - 65536 Mono: Front Left: Playback 9257 [14%] [on] Front Right: Playback 9257 [14%] [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch cswitch-joined penum Capture channels: Front Left - Front Right Limits: Capture 0 - 65536 Front Left: Capture 10053 [15%] [on] Front Right: Capture 10053 [15%] [on] $ LANG=C pactl stat Currently in use: 1 blocks containing 63.9 KiB bytes total. Allocated during whole lifetime: 958 blocks containing 3.3 MiB bytes total. Sample cache size: 0 B User name: w0mbat Host Name: localhost.localdomain Server Name: pulseaudio Server Version: 0.9.23 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: auto_null Default Source: auto_null.monitor Cookie: 991340f8 Sometimes such output is quite different. Seems like depending at session type (console/X11) and PA starting sequence: $ aplay -L default Default front:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 Front speakers surround40:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 4.0 Surround output to Front and Rear speakers surround41:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 - IEC958 IEC958 (S/PDIF) Digital Audio Output $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 Sometimes messages like following are printed to /var/log/messages: Oct 16 12:49:38 localhost pulseaudio[1566]: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. Sometimes "alsa_output.pci-0000_00_04.0.analog-stereo" appears in `pactl stat` and `pactl list` after execution of following, but sound still absent: $ pactl load-module module-alsa-card device_id="0" name="pci-0000_00_04.0" card_name="alsa_card.pci-0000_00_04.0" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1" Failure: Module initalization failed After this, playing mp3 by mplayer just hangs at "Starting playback..." until switch to tty1. Then sound is started. Version-Release number of components: $ rpm -qa \*alsa\* alsa-plugins-freeworld-a52-1.0.24-2.fc16.x86_64 alsa-plugins-pulseaudio-1.0.24-2.fc15.x86_64 alsa-lib-1.0.24-2.fc15.x86_64 alsa-utils-1.0.24.1-3.fc15.x86_64 alsa-lib-1.0.24-2.fc15.i686 alsa-plugins-pulseaudio-1.0.24-2.fc15.i686 wine-alsa-1.3.29-1.fc16.i686 $ rpm -qa \*pulse\* alsa-plugins-pulseaudio-1.0.24-2.fc15.x86_64 pulseaudio-libs-0.9.23-1.fc16.i686 pulseaudio-libs-glib2-0.9.23-1.fc16.x86_64 kde-settings-pulseaudio-4.7-12.fc16.noarch alsa-plugins-pulseaudio-1.0.24-2.fc15.i686 pulseaudio-libs-0.9.23-1.fc16.x86_64 wine-pulseaudio-1.3.29-1.fc16.i686 pulseaudio-0.9.23-1.fc16.x86_64 pulseaudio-utils-0.9.23-1.fc16.x86_64 pulseaudio-module-x11-0.9.23-1.fc16.x86_64 $ uname -r 3.1.0-0.rc9.git0.0.fc16.x86_64 Temporary workaround can be moving /etc/alsa/pulse-default.conf to other place and add you to group "audio". Alsa output works for me in this case.