You are not logged in.
Pages: 1
I've recently installed KDE and I can't seem to get Pulseaudio to work. I'm on a Thinkpad W510, I've followed both the ALSA and Pulseaudio wikis and still no sound.
On startup I receive multiple KDE notifications to the effect of:
KDE detected that one or more internal devices were removed.
Do you want KDE to permanently forget about these devices?
This is the list of devices KDE thinks can be removed:
Capture: HDA Intel MID (CX20585 Analog)
Capture: HDA Intel MID, CONEXANT Analog (Default Audio Device)
Capture: PulseAudio Sound Server
Output: HDA Intel MID (CX20585 Analog)
Output: HDA Intel MID, CONEXANT Analog (Default Audio Device)
Output: PulseAudio Sound ServerHere's the output of aplay -l
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: CX20585 Analog [CX20585 Analog]
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 #0When I try the following:
aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Monothere are no errors, but no sound. I've checked that the channels are unmuted in alsamixer, and I'm using the default /etc/asound.conf
/etc/asound.conf
# 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:I've switched phonon backends, originally tried gstreamer, now using vlc but still the same result.
The weird thing is that when I restart pulseaudio:
pulseaudio -k
pulseaudio -Deverything works fine...until I reboot.
Now I guess I could just write a script to do this at login, but I'd like to know if there's a deeper issue and try to correct that. Hopefully this is enough info, thanks for the help in advance!
Offline
What are your outputs from the following two commands before and after you kill and restart PA
ewaller$@$odin ~ 1010 %pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 28
Server Protocol Version: 28
Is Local: yes
Client Index: 3
Tile Size: 65472
User Name: ewaller
Host Name: odin
Server Name: pulseaudio
Server Version: 3.99.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: e540:f6ec
ewaller$@$odin ~ 1011 %aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
HDA Intel, 92HD71B7X Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, 92HD71B7X Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
ewaller$@$odin ~ 1012 %Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Before:
[bskjerven@fermat ~]$ pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 27
Server Protocol Version: 27
Is Local: yes
Client Index: 18
Tile Size: 65472
User Name: bskjerven
Host Name: fermat
Server Name: pulseaudio
Server Version: 3.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: e67a:544e
[bskjerven@fermat ~]$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=MID
HDA Intel MID, CX20585 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
Front speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output After:
[bskjerven@fermat ~]$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 27
Server Protocol Version: 27
Is Local: yes
Client Index: 1
Tile Size: 65472
User Name: bskjerven
Host Name: fermat
Server Name: pulseaudio
Server Version: 3.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: e42d:76f8
[bskjerven@fermat ~]$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=MID
HDA Intel MID, CX20585 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
Front speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, CX20585 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio OutputOffline
I don't see anything wrong there. How about before and after of pacmd dump ??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Before:
[bskjerven@fermat ~]$ pacmd dump
Welcome to PulseAudio! Use "help" for usage information.
>>> ### Configuration dump generated at Wed May 15 22:36:39 2013
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-alsa-card device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1"
load-module module-udev-detect
load-module module-jackdbus-detect
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-esound-protocol-unix
load-module module-native-protocol-unix
load-module module-combine-sink
load-module module-combine
load-module module-gconf
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-dbus-protocol
load-module module-switch-on-port-available
load-module module-x11-publish display=:0
load-module module-device-manager do_routing=1
load-module module-x11-xsmp display=:0 session_manager=local/fermat:@/tmp/.ICE-unix/739,unix/fermat:/tmp/.ICE-unix/739
load-module module-alsa-card device_id="0" 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 card_properties="module-udev-detect.discovered=1"
load-module module-cli-protocol-unix
set-sink-volume alsa_output.pci-0000_01_00.1.hdmi-stereo 0x10000
set-sink-mute alsa_output.pci-0000_01_00.1.hdmi-stereo no
suspend-sink alsa_output.pci-0000_01_00.1.hdmi-stereo yes
set-sink-volume combined 0x10000
set-sink-mute combined no
suspend-sink combined yes
set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 0x10000
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo no
suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo yes
set-source-volume alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor no
suspend-source alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor yes
set-source-volume combined.monitor 0x10000
set-source-mute combined.monitor no
suspend-source combined.monitor yes
set-source-volume alsa_output.pci-0000_00_1b.0.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_00_1b.0.analog-stereo.monitor yes
set-source-volume alsa_input.pci-0000_00_1b.0.analog-stereo 0x1e2
set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo yes
suspend-source alsa_input.pci-0000_00_1b.0.analog-stereo yes
set-card-profile alsa_card.pci-0000_01_00.1 output:hdmi-stereo
set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo
### EOFAfter:
[bskjerven@fermat ~]$ pacmd dump
Welcome to PulseAudio! Use "help" for usage information.
>>> ### Configuration dump generated at Wed May 15 22:37:43 2013
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-alsa-card device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="0" 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 card_properties="module-udev-detect.discovered=1"
load-module module-udev-detect
load-module module-jackdbus-detect
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-esound-protocol-unix
load-module module-native-protocol-unix
load-module module-combine-sink
load-module module-combine
load-module module-gconf
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-dbus-protocol
load-module module-switch-on-port-available
load-module module-cli-protocol-unix
set-sink-volume alsa_output.pci-0000_01_00.1.hdmi-stereo 0x10000
set-sink-mute alsa_output.pci-0000_01_00.1.hdmi-stereo no
suspend-sink alsa_output.pci-0000_01_00.1.hdmi-stereo no
set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 0x10000
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo no
suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo no
set-sink-volume combined 0x10000
set-sink-mute combined no
suspend-sink combined yes
set-source-volume alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor no
suspend-source alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor no
set-source-volume alsa_output.pci-0000_00_1b.0.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
set-source-volume alsa_input.pci-0000_00_1b.0.analog-stereo 0x1e2
set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo yes
suspend-source alsa_input.pci-0000_00_1b.0.analog-stereo yes
set-source-volume combined.monitor 0x10000
set-source-mute combined.monitor no
suspend-source combined.monitor yes
set-card-profile alsa_card.pci-0000_01_00.1 output:hdmi-stereo
set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo
### EOFOffline
There it is:
In the before:
suspend-sink alsa_output.pci-0000_01_00.1.hdmi-stereo yessuspend-sink alsa_output.pci-0000_01_00.1.hdmi-stereo yes
suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo yes Since the before and after both, defsult output is set to analog-stereo, we don't care about HDMI being disabled.
Try this. Get to the 'before' state, and issue the following command:
pacmd suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo no
Then, try to play something.
Last edited by ewaller (2013-05-16 04:24:13)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
[bskjerven@fermat ~]$ pacmd suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> [bskjerven@fermat ~]$Still no sound....not even
aplay /usr/share/sounds/alsa/Front_Center.wavRestarting pulseaudio restores sound.
Last edited by Superego (2013-05-16 13:25:49)
Offline
Drat !!
I am running low on ideas. How are you starting Pulseaudio in the first place? (i.e. the one that is mute that you have to kill). Also, check the owner of the process in the before and after state.
Also, at this point I would install and run pavucontrol. On the playback tab, does a playback client appear when you try to play sounds using aplay with the initial mute load of pulseaudio? Do the level meters bounce? If you muck with the source and sink controls, can you cause it to work? Are all of the channels is pavucontrol turned up and not muted?
One last thing you can try is to delete or move your ~/.pulse directory and your ~/.pulse-cookie file and try again.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
There is a way to get pulseaudio working - have you tried the volume control manager "pavucontrol" if you have that installed then go to the configuration menu - disable the onboard sound card which mine appears like "Cedar HDMI Audio" and then go to output devices and switch the analog audio sterio to on and see if that works.
Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago. --- Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way
Offline
Sounds much like my problem -- to which I have not found a solution:
Matt
"It is very difficult to educate the educated."
Offline
I had today after a system upgrade a similar problem and I discovered somehow pulsaudio had been muted.
Run pavucontrol and check it out ...
Offline
Hi, I have the very same problem with KDE 4.10, after switching from Gnome 3.8.
With Gnome all was ok. With KDE I get a notification about sound devices removed at every reboot. Sometimes sound works, sometimes not. When sound doesn't work, I see both in pavucontrol and in the KDE settings the "internal audio" device with "digital output" as the only available profile; restarting the system and\or pulseaudio all the profiles are available again, and sounds works too (selecting "analog surround 4.0 Output + Analog Stereo Input" that is the right one). I tried also to delete the ~/.pulse directory and restarting pulse: all worked until next reboot, as usual.
I have an ATI Radeon with HDMI that shows up as a sound source, disabled in pavucontrol (but I can always see the HDMI), and an Intel HD Audio Controller ICH9 as the Built-in audio. On this computer I've been running Gnome for years, with both Arch, Debian and Ubuntu, and pulseaudio always worked out of the box, so I think it should be something related to KDE, my configuration or some update, not to the computer itself.
Offline
Sorry for the delay, I've been traveling all weekend.
I am running low on ideas. How are you starting Pulseaudio in the first place? (i.e. the one that is mute that you have to kill). Also, check the owner of the process in the before and after state.
Honestly I'm not sure....I installed Pulseaudio and per the wiki, assumed it was started automatically. I checked in System Settings->Startup & Shutdown and I don't see anything related to Pulseaudio (no Autostart entry nor a KDE service). However it seems like Pulseaudio is running:
[bskjerven@fermat ~]$ ps -ef | grep pulse
bskjerv+ 842 1 1 10:15 ? 00:00:01 /usr/bin/pulseaudio --start
bskjerv+ 872 842 0 10:15 ? 00:00:00 /usr/lib/pulse/gconf-helper
bskjerv+ 1327 864 0 10:17 pts/1 00:00:00 grep --color pulseAnd after I restart Pulseaudio:
[bskjerven@fermat ~]$ pulseaudio -k
[bskjerven@fermat ~]$ pulseaudio --start
[bskjerven@fermat ~]$ ps -ef | grep pulse
bskjerv+ 1334 1 1 10:18 ? 00:00:00 pulseaudio --start
bskjerv+ 1338 1334 0 10:18 ? 00:00:00 /usr/lib/pulse/gconf-helper
bskjerv+ 1341 864 0 10:18 pts/1 00:00:00 grep --color pulseTwo things stand out to me. 1) My username is incorrect and 2) the restarted instance of pulse doesn't have the full path. This seems like it would be trivial, but at this point I don't know.
One last thing you can try is to delete or move your ~/.pulse directory and your ~/.pulse-cookie file and try again.
The strange thing is...I don't have either of those. That, along with the incorrect username above, indicates to me that something is screwy with how I'm starting Pulseaudio at startup, but I'm not sure about this.
Also, at this point I would install and run pavucontrol. On the playback tab, does a playback client appear when you try to play sounds using aplay with the initial mute load of pulseaudio? Do the level meters bounce? If you muck with the source and sink controls, can you cause it to work? Are all of the channels is pavucontrol turned up and not muted?
There is a way to get pulseaudio working - have you tried the volume control manager "pavucontrol" if you have that installed then go to the configuration menu - disable the onboard sound card which mine appears like "Cedar HDMI Audio" and then go to output devices and switch the analog audio sterio to on and see if that works.
With pavucontrol I'm able to get sound. In Configuration I set the HDMI Audio Controller to of, the Built-In Audio is set to "Analog Stereo Output". In Output Devices the only device is "Built-in Audio Analog Stereo" and it's on. The changes survive a reboot, and I do have sound now without having to restart Pulseaudio. I'm going to hold off marking this as solved, I'd like to try and figure out if the username/.pulse issues are something I should be worried about.
Last edited by Superego (2013-05-19 16:13:13)
Offline
@poogliamarci, pretty much my deal exactly. The only difference is I have an nVidia card. HDMI always shows up, but it's random as to whether sound works or not. Heck, one time I even had "KDE Event Sounds", but nothing else -- YouTube, video/audio files, etc. wouldn't play.
If I use GDM to log in to KDE -- sound works. If I use KDM to log in to KDE sound DOES NOT work (reliably, anyway).
It's going to take a smarter brain than mine to figure it out I think!
Matt
"It is very difficult to educate the educated."
Offline
Pages: 1