Summary: | No sound at all with ALC892 | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Dieter Sauerwein <Dieter_Sauerwein> |
Component: | alsa | Assignee: | pulseaudio-bugs |
Status: | RESOLVED NOTOURBUG | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Dieter Sauerwein
2016-03-05 15:01:27 UTC
Can you attach the output from "pactl list"? pactl list No protocol specified xcb_connection_has_error() returned true Verbindungsfehler: Zugriff verweigert ( means Access denied) Am 05.03.2016 um 16:17 schrieb bugzilla-daemon@freedesktop.org: > pactl list Ok, what does "LANG=C PULSE_LOG=99 pactl info" print? As root: LANG=C PULSE_LOG=99 pactl info No protocol specified xcb_connection_has_error() returned true Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 Not doing autospawn since we are root. Trying to connect to /run/user/1000/pulse/native... SHM possible: yes Connection failure: Access denied As user: LANG=C PULSE_LOG=99 pactl info Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 Failed to create secure directory (/run/user/1000/pulse): Permission denied Trying to connect to /var/run/pulse/native... connect(): No such file or directory (2) Trying to autospawn... D: [pulseaudio] caps.c: Cleaning up privileges. Connection failure: Connection refused pa_context_connect() failed: Connection refused Am 05.03.2016 um 16:42 schrieb bugzilla-daemon@freedesktop.org: Ok, what does "LANG=C PULSE_LOG=99 pactl info" print? Why as root? PulseAudio is designed to be used by normal users. Do you have some unusual requirements? Sorry, I saw only the "as root" part in my mail client, and rushed to reply. Check the permissions of /run/user/1000 and /run/user/1000/pulse. They should be owned by your normal user, but they may have changed the owner to root when you ran pactl as root. This should be already fixed, but it may be that Debian 8.0 doesn't have new enough pulseaudio. I checked, and Debian 8 has pulseaudio 5.0, and the fix was introduced in pulseaudio 6.0. Here's the fix: https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=076601ee28a442868ba4ab92a6f379190f6fa0ab Until you upgrade to a newer pulseaudio, avoid doing audio stuff as root. The permission of /run/user/1000 are set to my user but /run/user/1000/pulse are set to root I changed it to may normal user, But no sound! Am 05.03.2016 um 17:07 schrieb bugzilla-daemon@freedesktop.org: > *Comment # 6 <https://bugs.freedesktop.org/show_bug.cgi?id=94404#c6> on > bug 94404 <https://bugs.freedesktop.org/show_bug.cgi?id=94404> from Tanu > Kaskinen <mailto:tanuk@iki.fi> * > > Sorry, I saw only the "as root" part in my mail client, and rushed to reply. > > Check the permissions of /run/user/1000 and /run/user/1000/pulse. They should > be owned by your normal user, but they may have changed the owner to root when > you ran pactl as root. This should be already fixed, but it may be that Debian > 8.0 doesn't have new enough pulseaudio. > > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You reported the bug. > Ok, what does "LANG=C pactl list" print now? Thanks for help, but I have to stop this cause I leave my office now. I will upgrade tomorrow to the newer pulseaudio and tell you the result Am 05.03.2016 um 17:16 schrieb bugzilla-daemon@freedesktop.org: > *Comment # 7 <https://bugs.freedesktop.org/show_bug.cgi?id=94404#c7> on > bug 94404 <https://bugs.freedesktop.org/show_bug.cgi?id=94404> from Tanu > Kaskinen <mailto:tanuk@iki.fi> * > > I checked, and Debian 8 has pulseaudio 5.0, and the fix was introduced in > pulseaudio 6.0. Here's the fix: > https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=076601ee28a442868ba4ab92a6f379190f6fa0ab > > Until you upgrade to a newer pulseaudio, avoid doing audio stuff as root. > > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You reported the bug. > I have updated pulseaudio 5.0 to pulseaudio 7.1. I restart the computer, un-mute all outputs but no sound The output of "LANG=C pactl list" is now Module #0 Name: module-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute state of devices" module.version = "7.1" Module #1 Name: module-stream-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute/device state of streams" module.version = "7.1" Module #2 Name: module-card-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore profile of cards" module.version = "7.1" Module #3 Name: module-augment-properties Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Augment the property sets of streams with additional static information" module.version = "7.1" Module #4 Name: module-switch-on-port-available Argument: Usage counter: n/a Properties: Module #5 Name: module-udev-detect Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Detect available audio hardware and load matching drivers" module.version = "7.1" Module #6 Name: module-alsa-card Argument: device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" 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" Usage counter: 0 Properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "7.1" Module #7 Name: module-native-protocol-unix Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Native protocol (UNIX sockets)" module.version = "7.1" Module #8 Name: module-default-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the default sink and source" module.version = "7.1" Module #9 Name: module-rescue-streams Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is removed, try to move its streams to the default sink/source" module.version = "7.1" Module #10 Name: module-always-sink Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Hält stets einen Sink geladen, selbst wenn dies ein Null-Sink ist" module.version = "7.1" Module #11 Name: module-intended-roles Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically set device of streams based on intended roles of devices" module.version = "7.1" Module #12 Name: module-suspend-on-idle Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is idle for too long, suspend it" module.version = "7.1" Module #13 Name: module-console-kit Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Create a client for each ConsoleKit session of this user" module.version = "7.1" Module #14 Name: module-systemd-login Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Create a client for each login session of this user" module.version = "7.1" Module #15 Name: module-position-event-sounds Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them." module.version = "7.1" Module #16 Name: module-role-cork Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Mute & cork streams with certain roles while others exist" module.version = "7.1" Module #17 Name: module-filter-heuristics Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Detect when various filters are desirable" module.version = "7.1" Module #18 Name: module-filter-apply Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Load filter sinks automatically when needed" module.version = "7.1" Module #19 Name: module-x11-publish Argument: display=:0 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 credential publisher" module.version = "7.1" Module #20 Name: module-x11-cork-request Argument: display=:0 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Synthesize X11 media key events when cork/uncork is requested" module.version = "7.1" Module #21 Name: module-device-manager Argument: do_routing=1 Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role" module.version = "7.1" Module #22 Name: module-x11-xsmp Argument: display=:0 session_manager=local/corsair:@/tmp/.ICE-unix/1581,unix/corsair:/tmp/.ICE-unix/1581 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 session management" module.version = "7.1" Sink #0 State: SUSPENDED Name: alsa_output.pci-0000_00_1f.3.analog-stereo Description: Internes Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 6 Mute: yes Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "ALC892 Analog" alsa.id = "ALC892 Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xdf220000 irq 141" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1f.3" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "a170" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internes Audio Analog Stereo" alsa.mixer_name = "Intel ID 2809" alsa.components = "HDA:10ec0892,1462f971,00100302 HDA:80862809,80860101,00100000" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-output-lineout: Line Out (priority: 9900, not available) analog-output-headphones: Analoge Kopfhörer (priority: 9000, not available) Active Port: analog-output-lineout Formats: pcm Source #0 State: SUSPENDED Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor Description: Monitor of Internes Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 6 Mute: no Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor of Sink: alsa_output.pci-0000_00_1f.3.analog-stereo Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of Internes Audio Analog Stereo" device.class = "monitor" alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xdf220000 irq 141" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1f.3" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "a170" device.form_factor = "internal" device.string = "0" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Formats: pcm Client #0 Driver: module-systemd-login.c Owner Module: 14 Properties: application.name = "Login Session 1" systemd-login.session = "1" Client #7 Driver: protocol-native.c Owner Module: 7 Properties: application.name = "KMix" native-protocol.peer = "UNIX socket client" native-protocol.version = "30" application.process.id = "1741" application.process.user = "dieter" application.process.host = "corsair" application.process.binary = "kmix" application.language = "de_DE.UTF-8" window.x11.display = ":0" application.process.machine_id = "66fbe9acb7644311a46871bb1a3ef705" application.process.session_id = "1" application.icon_name = "kmix" Client #9 Driver: module-x11-xsmp.c Owner Module: 22 Properties: application.name = "XSMP Session on KDE as 10c4d8e473000145720201000000015810017" xsmp.vendor = "KDE" xsmp.client.id = "10c4d8e473000145720201000000015810017" Client #11 Driver: protocol-native.c Owner Module: 7 Properties: application.name = "KMix" native-protocol.peer = "UNIX socket client" native-protocol.version = "30" application.process.id = "1557" application.process.user = "dieter" application.process.host = "corsair" application.process.binary = "kdeinit4" application.language = "de_DE.UTF-8" window.x11.display = ":0" application.process.machine_id = "66fbe9acb7644311a46871bb1a3ef705" application.process.session_id = "1" Client #13 Driver: protocol-native.c Owner Module: 7 Properties: application.name = "pactl" native-protocol.peer = "UNIX socket client" native-protocol.version = "30" application.process.id = "2142" application.process.user = "dieter" application.process.host = "corsair" application.process.binary = "pactl" application.language = "C" window.x11.display = ":0" application.process.machine_id = "66fbe9acb7644311a46871bb1a3ef705" application.process.session_id = "1" Card #0 Name: alsa_card.pci-0000_00_1f.3 Driver: module-alsa-card.c Owner Module: 6 Properties: alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xdf220000 irq 141" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1f.3" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "a170" device.form_factor = "internal" device.string = "0" device.description = "Internes Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes) output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes) output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 800, available: yes) output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes) output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 700, available: yes) output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes) output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 800, available: yes) output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes) output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 700, available: yes) output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes) output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 800, available: yes) output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes) output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 700, available: yes) output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes) output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes) output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5460, available: yes) output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: yes) output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 360, available: yes) output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: yes) output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 360, available: yes) off: Aus (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: output:analog-stereo Ports: analog-input-front-mic: Front Microphone (priority: 8500, latency offset: 0 usec, not available) Properties: device.icon_name = "audio-input-microphone" Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo analog-input-rear-mic: Rear Microphone (priority: 8200, latency offset: 0 usec, not available) Properties: device.icon_name = "audio-input-microphone" Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available) Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo analog-output-lineout: Line Out (priority: 9900, latency offset: 0 usec, not available) Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo analog-output-headphones: Analoge Kopfhörer (priority: 9000, latency offset: 0 usec, not available) Properties: device.icon_name = "audio-headphones" Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available) Properties: device.icon_name = "video-display" Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo What output do you want to use? Pulseaudio detects headphone and lineout outputs. Both of those appear to be not plugged in. Either the jack detection is broken, or there's some third output that you want to use, but which is not detected by pulseaudio. The broken jack detection in itself doesn't prevent audio from working. The currently selected output is lineout, so if you want to use headphones, you can switch the port with command pactl set-sink-port alsa_output.pci-0000_00_1f.3.analog-stereo analog-output-headphones (bugzilla will probably show that on two lines, but the command is supposed to be all on one line) I have plugged in the lineout output which I want to use! I have checked the motherboard. All according then motherboard users guide. All connectors (Front Headphones and rear Line Out) are dead. I switched the outputs with System -> Multimedia Ok, does this produce noise? speaker-test -Dhw:0 --channels=2 If it's silent, it seems like an alsa bug. no, nothing to hear Am 06.03.2016 um 11:21 schrieb bugzilla-daemon@freedesktop.org: > speaker-test -Dhw:0 --channels=2 speaker-test -Dhw:0 --channels=2 speaker-test 1.0.28 Playback device is hw:0 Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left -- and after 10 sec Write error: -5,Input/output error xrun_recovery failed: -5,Input/output error Transfer failed: Input/output error I'll close this report, since the problem doesn't seem to be in pulseaudio. You can report the problem to the alsa developers, here are some instructions: http://alsa-project.org/main/index.php/Bug_Tracking FWIW, today in IRC reported similar errors in speaker-test that were fixed by a kernel update. Thanks for the tip, but I have other problems to be done first. I will continue with this problem in a few weeks! Thanks Dieter Am 08.03.2016 um 09:53 schrieb bugzilla-daemon@freedesktop.org: > *Comment # 19 <https://bugs.freedesktop.org/show_bug.cgi?id=94404#c19> > on bug 94404 <https://bugs.freedesktop.org/show_bug.cgi?id=94404> from > Tanu Kaskinen <mailto:tanuk@iki.fi> * > > FWIW, today in IRC reported similar errors in speaker-test that were fixed by a > kernel update. > > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You reported the bug. > |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.