Bug 436744
Summary: | sound not working at all | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Hally <rhallyx> | ||||
Component: | pulseaudio | Assignee: | Lennart Poettering <lpoetter> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | lkundrak, pierre-bugzilla | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-12 10:30:52 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: |
|
Description
Richard Hally
2008-03-10 07:26:19 UTC
Sound is configured by pulseaudio now. Quite sure not the alsa-lib bug. Quite sure Martin didn't guess the right component this time :) This looks like a kernel ALSA problem. Please try the following: 1.) Does sound work without pulseaudio? $ aplay -d hw:0 /usr/share/sounds/startup3.wav do you hear a (remarkably awful) sound? 2.) What warnings does pulseaudio output when being verbose? $ pulseaudio -k kill the runnning daemon $ pulseaudio -vvv run it being very verbose no sound from the aplay command. creating an attachment with the cut and paste from the pulseaudio output. p.s. I checked that aplay command by booting the Fedora 8 partition on the same box and it plays that ugly sound. Created attachment 297427 [details]
terminal commands and output
I am stupid. I meant aplay -D hw, not (lowercase) -d. Please pardon me and repeat that. [richard@new3Linux ~]$ aplay -D hw:0 /usr/share/sounds/startup3.wav Playing WAVE '/usr/share/sounds/startup3.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo [richard@new3Linux ~]$ still no sound. So it looks like this is really not a pulseaudio thing. I assume you looked at all ALSA controls that you haven't audio muted. May I ask -- is there a difference in what goes to the kernel message buffer (dmesg) when you do the aplay above on F8 and Rawhide? Could you please add version numbers of kernels where sound works and where it doesn't to this report, as it will likely get reassigned to kernel? Thanks! this is weird -- after booting F8 and then booting back to rawhide sound now works on the rawhide install as well. We can close this bug. thanks for looking at it. I appreciate your work. Had to change udev rules to get sound working. Added MODE="0666" to 40-alsa.rules [root@bgo-s-101 ~]# more /etc/udev/rules.d/40-alsa.rules # do not edit this file, it will be overwritten on update KERNEL=="controlC[0-9]*", NAME="snd/%k", MODE="0666" KERNEL=="hwC[D0-9]*", NAME="snd/%k", MODE="0666" KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k", MODE="0666" KERNEL=="midiC[D0-9]*", NAME="snd/%k", MODE="0666" KERNEL=="timer", NAME="snd/%k", MODE="0666" KERNEL=="seq", NAME="snd/%k", MODE="0666" KERNEL=="mixer0", SYMLINK+="mixer", MODE="0666" KERNEL=="dsp0", SYMLINK+="dsp", MODE="0666" KERNEL=="audio0", SYMLINK+="audio", MODE="0666" My laptop is T61p, and I had same hda_codec errors and couldn't adjust sound from Gnome volume applet until above workaround. But I still see do see errors in syslog Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_intel.c:1813: chipset global capabilities = 0x4401 Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_intel.c:749: codec_mask = 0x3 Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:2239: hda_codec: model 'thinkpad' is selected for config 17aa:0 (Lenovo Thinkpad) Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Mono Playback Volume, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Front Mic Playback Volume, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave CD Playback Volume, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Docking Mic Playback VolumeBeep Playback Volume, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Front Playback Switch, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Surround Playback Switch, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Center Playback Switch, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave LFE Playback Switch, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Side Playback Switch, skipped Mar 13 00:40:52 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:1076: Cannot find slave Mono Playback Switch, skipped Mar 13 00:41:21 bgo-s-101 kernel: ALSA sound/pci/hda/hda_intel.c:1293: azx_pcm_prepare: bufsize=0x1800, fragsize=0x800, format=0x4011 Mar 13 00:41:21 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:686: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 13 00:41:21 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:686: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 13 00:41:21 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:686: hda_codec_setup_stream: NID=0x4, stream=0x0, channel=0, format=0x0 Mar 13 00:41:21 bgo-s-101 kernel: ALSA sound/pci/hda/hda_codec.c:686: hda_codec_setup_stream: NID=0x2, stream=0x0, channel=0, format=0x0 Suggestions? [torel@bgo-s-101 ~]$ pulseaudio -k E: main.c: Failed to kill daemon. [torel@bgo-s-101 ~]$ pulseaudio -vvv I: main.c: PolicyKit refuses acquire-high-priority privilige. I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling. I: core-util.c: Successfully gained nice level -11. W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted I: main.c: Page size is 4096 bytes I: main.c: Fresh high-resolution timers available! Bon appetit! D: cli-command.c: Checking for existance of '/usr/lib64/pulse-0.9/modules/module-hal-detect.so': success I: module-hal-detect.c: Trying capability alsa D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_playback_1 D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0' D: alsa-util.c: Trying front:0... I: module-alsa-sink.c: Successfully opened device front:0. I: module-alsa-sink.c: Successfully enabled mmap() mode. ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0 I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory I: alsa-util.c: Successfully attached to mixer 'hw:0' I: alsa-util.c: Using mixer control "Master". I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0" with sample spec "s16le 2ch 44100Hz" I: source.c: Created source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz" I: module-alsa-sink.c: Using 4 fragments of size 4352 bytes. I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control. D: module-alsa-sink.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29 I: module-alsa-sink.c: Starting playback. I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0"). D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0' D: alsa-util.c: Trying front:0... I: module-alsa-source.c: Successfully opened device front:0. I: module-alsa-source.c: Successfully enabled mmap() mode. ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0 I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory I: alsa-util.c: Successfully attached to mixer 'hw:0' I: alsa-util.c: Using mixer control "Capture". I: source.c: Created source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz" I: module-alsa-source.c: Using 4 fragments of size 4352 bytes. I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control. D: module-alsa-source.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28 I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0"). D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_hw_specific_0 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1 I: module-hal-detect.c: Loaded 2 modules. I: module.c: Loaded "module-hal-detect" (index: #2; argument: ""). I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: ""). I: protocol-native.c: loading cookie from disk. I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: ""). I: module-volume-restore.c: starting with empty ruleset. I: module.c: Loaded "module-volume-restore" (index: #5; argument: ""). D: module-default-device-restore.c: No previous default sink setting, ignoring. D: module-default-device-restore.c: No previous default source setting, ignoring. I: module.c: Loaded "module-default-device-restore" (index: #6; argument: ""). I: module.c: Loaded "module-rescue-streams" (index: #7; argument: ""). D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0 becomes idle. D: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0.monitor becomes idle. D: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0 becomes idle. I: module.c: Loaded "module-suspend-on-idle" (index: #8; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib64/pulse-0.9/modules/module-x11-publish.so': success D: module-x11-publish.c: using already loaded auth cookie. I: module.c: Loaded "module-x11-publish" (index: #9; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib64/pulse-0.9/modules/module-gconf.so': success I: module.c: Loaded "module-gconf" (index: #10; argument: ""). I: main.c: Daemon startup complete. D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired I: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0 idle for too long, suspending ... I: module-alsa-source.c: Device suspended... I: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0.monitor idle for too long, suspending ... I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... I: client.c: Created 0 "EsounD client (UNIX socket client)" I: client.c: Created 1 "EsounD client (UNIX socket client)" I: client.c: Created 2 "EsounD client (UNIX socket client)" (In reply to comment #9) > Had to change udev rules to get sound working. Added MODE="0666" to 40-alsa.rules Install this, or fix your desktop environment configuration https://admin.fedoraproject.org/updates/F8/FEDORA-2008-2246 (In reply to comment #10) > My laptop is T61p, and I had same hda_codec errors and couldn't adjust sound > from Gnome volume applet until above workaround. But I still see do see errors > in syslog What kernel? > Suggestions? My only suggestion here is not to spam closed bugs with non-related comments. |