Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
'Twas brillig, and sibu xolo at 22/09/10 02:04 did gyre and gimble: iii---I I recompiled kdemultimedia also. On restart I obtained sound on the second login but none subsequenty and cdrom sound is practicly mute ~ a tenth as loud as a hungry mosquito. FWIW, unless you are wroking on new features, I'd recommend using the stable-queue branch upstream rather than master. It's effectively 0.9.21 with ~180 odd fixes on top. I'm hoping to release this as 0.9.22 pretty soon. Anyway, if the volume changes, it's typically due to some client changing it. In the case of logins this can be a bit confusing. Typically your user's PA daemon will ignore any volume changes when it is suspended but it will not actually restore them when it is unsuspended (I think, I need to double check this). Changes are what happens is this: 1. You log in and startup a PA process. 2. You log out, but your PA daemon sticks around for some time. 3. KDM or something similar sets the volume either by running it's own PA or via alsa etc. doesn't really matter. 4. You log in again, before your PA process has died. We look at the system volume and see it is lower than before and adjust ourselves to fit. Ironically, I believe if you wait long enough before logging back in, your PA process will die and when you login it will be restarted and will ultimately restore the volume properly. I *think* that's what's going on, but not 100% sure. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Monday 20 September 2010 08:37:02 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 20/09/10 00:41 did gyre and gimble: On Tuesday 14 September 2010 13:58:08 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 14/09/10 13:33 did gyre and gimble: On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. but you really do want to use all the patches from this branch since v0.9.21 tag (there will likely be another 10 fixes landing later today) I downloaded the stuff from GIT. The bundle was labelled as [pulseaudio-0.9.19 which is strange considering the released stuff is labelled 0.9.21. I did not clean out the original installation before I compiled/installed the git stuff so a couple of the libraries had 0.9.21 extensions (I merely labelled them as _X). I then recompiled alsa-plugins and so far I have sound on all logins and logouts as well as the cli. So much progress has been made. Yeah this is just a quirk of how the versions are labelled directly from git... I really do need to fix it at some point. ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins This is likely an issue to do with using analog playback rather than digital extraction (DAE) and subsequent software playback. You can probably use a low level alsamixer (alsamixer -c0) to unmute the CDROM element, but really most applications should be using digital extraction and software playback these days AFAIK. I'd ignore this particular problem until all others are addressed :) I still do not have CDROM sound nither with Kaffeine nor KsCD, I tried an internet search but came up with nowt so any pointers you can give will be grtefully received. Hmm, interesting. I'll try and see what I can find out for you. I managed to fix the problem. It was a udev problem. After I updated to udev-162, the /dev/cdrom and /dev/dvd symlinks to my ide cdrom disappeared. I used a simple udev rule to re-create these and now cdrom sound plays in KsCD Kaffeine et al. Thanks again for your help. and if ever you want to try an already made sample of cblfs on you x86_64-pc please let me know. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
'Twas brillig, and sibu xolo at 21/09/10 11:12 did gyre and gimble: I managed to fix the problem. It was a udev problem. After I updated to udev-162, the /dev/cdrom and /dev/dvd symlinks to my ide cdrom disappeared. I used a simple udev rule to re-create these and now cdrom sound plays in KsCD Kaffeine et al. Ahh good old udev messing things up for us! Excellent. Glad you got it all working :D Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Tuesday 21 September 2010 12:28:04 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 21/09/10 11:12 did gyre and gimble: I managed to fix the problem. It was a udev problem. After I updated to udev-162, the /dev/cdrom and /dev/dvd symlinks to my ide cdrom disappeared. I used a simple udev rule to re-create these and now cdrom sound plays in KsCD Kaffeine et al. Ahh good old udev messing things up for us! Excellent. Glad you got it all working :D oops had a related problem. I had another machine not on the internet so I copied a download of pulse from GIT and did an installation.:- i beforehand I purged it if pulse-0.9.21/ consolekit and hal) iiI noticed that symlinks to the Makefile in the base direcory pf pulse were missing so I replace these iii---I I recompiled kdemultimedia also. On restart I obtained sound on the second login but none subsequenty and cdrom sound is practicly mute ~ a tenth as loud as a hungry mosquito. pacmd ls is below Welcome to PulseAudio! Use help for usage information. Memory blocks currently allocated: 1, size: 63.9 KiB. Memory blocks allocated during the whole lifetime: 1641, size: 7.8 MiB. Memory blocks imported from other processes: 0, size: 0 B. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 0 B. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-_00_07.0.analog-stereo Default source name: alsa_input.pci-_00_07.0.analog-stereo Memory blocks of type POOL: 1 allocated/785 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 0 allocated/0 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/154 accumulated. Memory blocks of type IMPORTED: 0 allocated/702 accumulated. 20 module(s) loaded. index: 0 name: module-device-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute state of devices module.version = 0.9.19-562-g395da-dirty index: 1 name: module-stream-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute/device state of streams module.version = 0.9.19-562-g395da-dirty index: 2 name: module-card-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore profile of cards module.version = 0.9.19-562-g395da-dirty index: 3 name: module-augment-properties argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Augment the property sets of streams with additional static information module.version = 0.9.19-562-g395da-dirty index: 4 name: module-alsa-card argument: device_id=3 name=pci-_00_07.0 card_name=alsa_card.pci-_00_07.0 namereg_fail=false tsched=yes ignore_dB=no card_properties=module-udev-detect.discovered=1 used: 0 load once: no properties: module.author = Lennart Poettering module.description = ALSA Card module.version = 0.9.19-562-g395da-dirty index: 5 name: module-udev-detect argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Detect available audio hardware and load matching drivers module.version = 0.9.19-562-g395da-dirty index: 6 name: module-bluetooth-discover argument: used: -1 load once: yes properties: module.author = Joao Paulo Rechi Vita module.description = Detect available bluetooth audio devices and load bluetooth audio drivers module.version = 0.9.19-562-g395da-dirty index: 7 name: module-esound-protocol-unix argument: used: -1 load once: no properties: module.author = Lennart Poettering module.description = ESOUND protocol (UNIX sockets) module.version = 0.9.19-562-g395da-dirty index: 8 name: module-dbus-protocol argument: used: -1 load once: yes properties: module.author = Tanu Kaskinen module.description = D-Bus interface module.version = 0.9.19-562-g395da-dirty index:
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
'Twas brillig, and sibu xolo at 20/09/10 00:41 did gyre and gimble: On Tuesday 14 September 2010 13:58:08 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 14/09/10 13:33 did gyre and gimble: On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. but you really do want to use all the patches from this branch since v0.9.21 tag (there will likely be another 10 fixes landing later today) I downloaded the stuff from GIT. The bundle was labelled as [pulseaudio-0.9.19 which is strange considering the released stuff is labelled 0.9.21. I did not clean out the original installation before I compiled/installed the git stuff so a couple of the libraries had 0.9.21 extensions (I merely labelled them as _X). I then recompiled alsa-plugins and so far I have sound on all logins and logouts as well as the cli. So much progress has been made. Yeah this is just a quirk of how the versions are labelled directly from git... I really do need to fix it at some point. ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins This is likely an issue to do with using analog playback rather than digital extraction (DAE) and subsequent software playback. You can probably use a low level alsamixer (alsamixer -c0) to unmute the CDROM element, but really most applications should be using digital extraction and software playback these days AFAIK. I'd ignore this particular problem until all others are addressed :) I still do not have CDROM sound nither with Kaffeine nor KsCD, I tried an internet search but came up with nowt so any pointers you can give will be grtefully received. Hmm, interesting. I'll try and see what I can find out for you. When playing via KsCD, does everything look as if it *is* playing but you just cannot hear sound? If so, when something is playing, can you run pacmd list and then attach the output here? Cheers Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Tuesday 14 September 2010 13:58:08 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 14/09/10 13:33 did gyre and gimble: On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. but you really do want to use all the patches from this branch since v0.9.21 tag (there will likely be another 10 fixes landing later today) I downloaded the stuff from GIT. The bundle was labelled as [pulseaudio-0.9.19 which is strange considering the released stuff is labelled 0.9.21. I did not clean out the original installation before I compiled/installed the git stuff so a couple of the libraries had 0.9.21 extensions (I merely labelled them as _X). I then recompiled alsa-plugins and so far I have sound on all logins and logouts as well as the cli. So much progress has been made. ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins This is likely an issue to do with using analog playback rather than digital extraction (DAE) and subsequent software playback. You can probably use a low level alsamixer (alsamixer -c0) to unmute the CDROM element, but really most applications should be using digital extraction and software playback these days AFAIK. I'd ignore this particular problem until all others are addressed :) I still do not have CDROM sound nither with Kaffeine nor KsCD, I tried an internet search but came up with nowt so any pointers you can give will be grtefully received. Once again many thanks for your help. sincerely sibu xolo. Col ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. I'm not sure why udev-detect would cause problems. I would suggest to double check your udev setup and make sure the relevant udev rules are present on your system. udev 147 is pretty old, perhaps a newer version is needed (I can't remember the minimum system requirements), but certainly: /lib/udev/rules.d/78-sound-card.rules I updated udev to udev-162. And I can report some progress and some glitches. PROGRESS: ---a) the first login and logout via kdm gives the welcome and exit sounds ---b)the kde/~Multimedia dialog has a dummy greyed-out icon and another as 'Internal Audio analog stereo' ---c) aplay plays wav files in konsole -as well as on the cli in/before/after startkde/kdm-logout GLITCHES --- ---d) kde/sound is mute for all other logins and logouts bar the first ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins - 'pacmd -ls' looks like this after login via kdm Welcome to PulseAudio! Use help for usage information. Memory blocks currently allocated: 1, size: 63.9 KiB. Memory blocks allocated during the whole lifetime: 85, size: 2.6 MiB. Memory blocks imported from other processes: 0, size: 0 B. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 0 B. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-_00_07.0.analog-stereo Default source name: alsa_input.pci-_00_07.0.analog-stereo Memory blocks of type POOL: 1 allocated/28 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 0 allocated/0 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/57 accumulated. Memory blocks of type IMPORTED: 0 allocated/0 accumulated. 22 module(s) loaded. index: 0 name: module-device-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute state of devices module.version = 0.9.21 index: 1 name: module-stream-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute/device state of streams module.version = 0.9.21 index: 2 name: module-card-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore profile of cards module.version = 0.9.21 index: 3 name: module-augment-properties argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Augment the property sets of streams with additional static information module.version = 0.9.21 index: 4 name: module-alsa-card argument: device_id=0 name=pci-_00_07.0 card_name=alsa_card.pci-_00_07.0 tsched=yes ignore_dB=no card_properties=module-udev-detect.discovered=1 used: 0 load once: no properties: module.author = Lennart Poettering module.description = ALSA Card module.version = 0.9.21 index: 5 name: module-udev-detect argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Detect available audio hardware and load matching drivers module.version = 0.9.21 index: 6 name: module-bluetooth-discover argument: used: -1 load once: yes properties: module.author = Joao Paulo Rechi Vita module.description = Detect available bluetooth audio devices and load bluetooth audio drivers module.version = 0.9.21 index: 7 name: module-esound-protocol-unix argument: used: -1 load once: no properties: module.author = Lennart Poettering module.description = ESOUND protocol (UNIX sockets) module.version = 0.9.21 index: 8 name: module-native-protocol-unix argument: used: -1 load once: no properties: module.author = Lennart Poettering module.description = Native protocol (UNIX sockets)
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
'Twas brillig, and sibu xolo at 14/09/10 13:33 did gyre and gimble: On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. I'm not sure why udev-detect would cause problems. I would suggest to double check your udev setup and make sure the relevant udev rules are present on your system. udev 147 is pretty old, perhaps a newer version is needed (I can't remember the minimum system requirements), but certainly: /lib/udev/rules.d/78-sound-card.rules I updated udev to udev-162. And I can report some progress and some glitches. PROGRESS: ---a) the first login and logout via kdm gives the welcome and exit sounds ---b)the kde/~Multimedia dialog has a dummy greyed-out icon and another as 'Internal Audio analog stereo' Excellent. Both are expected outcomes. Because PA has been run with the Dummy Output in the past, it will remember this for you and keep it in the list as a previously seen sink (the same view would be presented for USB devices you plug in and subsequently remove). You can effectively ignore it or remove the device-manager tdb file in the ~/.pulse folder to purge it (one of these days I'll implement some kind of GUI to remove it). ---c) aplay plays wav files in konsole -as well as on the cli in/before/after startkde/kdm-logout Cool. GLITCHES --- ---d) kde/sound is mute for all other logins and logouts bar the first Hmm, is that with different users or logging out and back in with the same user? When you say mute do you really mean mute or do you just mean that you cannot hear anything. Does the device list in the kde/~Multimedia dialog look the same? Also are you using a Display Manager and if so which one (KDM?), and are you using the stable-queue PA from git or the plain 0.9.21 tarball? The reason I ask is that if it really is muting then it's probably related to a volume adjustment race condition that may be getting in the way. It's been fixed a long time ago in the stable-queue branch and all the distros I know are shipping this fix (well they ship all the patches from stable-queue). The particular fix is: http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=540ec7b961256d6c7702448ca995f61268064190 but you really do want to use all the patches from this branch since v0.9.21 tag (there will likely be another 10 fixes landing later today) More details on the specific bug here: http://pulseaudio.org/ticket/572#comment:19 ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins This is likely an issue to do with using analog playback rather than digital extraction (DAE) and subsequent software playback. You can probably use a low level alsamixer (alsamixer -c0) to unmute the CDROM element, but really most applications should be using digital extraction and software playback these days AFAIK. I'd ignore this particular problem until all others are addressed :) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On 09/12/10 19:04, sibu xolo wrote: pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } Try the following, it should allow alsamixer to control the default device pcm.pulse { type pulse } ctl.pulse { type pulse } #pcm.!default { #type pulse #} #ctl.!default { #type pulse #} ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
'Twas brillig, and sibu xolo at 13/09/10 02:04 did gyre and gimble: a) I am using system5 init and alsamixer refuses to start on the CLI at run- level 3 reporting pulseaaudio' connection refused (or somesuch) but... I guess PA cannot start on the CLI for some reason. alsamixer or aplay should autospawn PA if it's not running (which would be typical with a console login). I suspect not being able to connect to dbus/consolekit is the problem, but to find out, run pulseaudio -vvv from the cli rather than aplay and it should tell you the reasons for not starting. b) alsamixer starts after login in kde in konsole; sound devices are correctly reported (on the cli); aplay reports no errors but no sound is heard and outputs are not mute. Check the profiles in pavucontrol's configuration tab. Post the output from pacmd ls to allow others to have a look at the setup. b) Still in kde, When the ownership/permissions on /usr/lib/dbus-1.0/dbus- daemon-launch-helper file are set as shown above the KDE System Settings/Multimedia dialog reports a dummy device $ ll /lib64/dbus-1/dbus-daemon-launch-helper -rwsr-x--- 1 root messagebus 47384 2010-03-24 09:46 /lib64/dbus-1/dbus-daemon-launch-helper Same perms here... I'm not sure why dbus failure would results in a dummy device. I wonder if it's simply that PA cannot reserve the audio device via the dbus based device reservation protocol and thus can't load the sink. Even still dbus based activation seems to work for me :s Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Monday 13 September 2010 09:28:22 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 02:04 did gyre and gimble: a) I am using system5 init and alsamixer refuses to start on the CLI at run- level 3 reporting pulseaaudio' connection refused (or somesuch) but... I guess PA cannot start on the CLI for some reason. alsamixer or aplay should autospawn PA if it's not running (which would be typical with a console login). I suspect not being able to connect to dbus/consolekit is the problem, but to find out, run pulseaudio -vvv from the cli rather than aplay and it should tell you the reasons for not starting. here is the ooutput from running pulseaudio -vvv on the cli BEFORE kde starts I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted D: core-rtclock.c: Timer slack is set to 50 us. I: core-util.c: Failed to acquire high-priority scheduling: No such file or directory I: main.c: This is PulseAudio 0.9.21 D: main.c: Compilation host: x86_64-unknown-linux-gnu D: main.c: Compilation CFLAGS: -g -O2 -Wall -W -Wextra -pipe -Wno-long-long - Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef - Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self - Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict- prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn - Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno- unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common - fdiagnostics-show-option D: main.c: Running on host: Linux x86_64 2.6.35.4nbf8DRIm #1 SMP PREEMPT Wed Sep 8 15:10:46 BST 2010 D: main.c: Found 2 CPUs. I: main.c: Page size is 4096 bytes D: main.c: Compiled with Valgrind support: yes D: main.c: Running in valgrind mode: no D: main.c: Running in VM: no D: main.c: Optimized build: yes D: main.c: All asserts enabled. I: main.c: Machine ID is 1385ab3a82291ea2800476890006. I: main.c: Using runtime directory /home/sx/.pulse/1385ab3a82291ea2800476890006-runtime. I: main.c: Using state directory /home/sx/.pulse. I: main.c: Using modules directory /opt/lib/pulse-0.9.21/modules. I: main.c: Running in system mode: no I: main.c: Fresh high-resolution timers available! Bon appetit! I: cpu-x86.c: CPU flags: MMX SSE SSE2 SSE3 MMXEXT 3DNOW 3DNOWEXT I: svolume_mmx.c: Initialising MMX optimized functions. I: remap_mmx.c: Initialising MMX optimized remappers. I: svolume_sse.c: Initialising SSE2 optimized functions. I: remap_sse.c: Initialising SSE2 optimized remappers. I: sconv_sse.c: Initialising SSE2 optimized conversions. D: memblock.c: 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 D: database-gdbm.c: Opened GDBM database '/home/sx/.pulse/1385ab3a82291ea2800476890006-device-volumes.x86_64- unknown-linux-gnu.gdbm' I: module-device-restore.c: Sucessfully opened database file '/home/sx/.pulse/1385ab3a82291ea2800476890006-device-volumes'. I: module.c: Loaded module-device-restore (index: #0; argument: ). D: database-gdbm.c: Opened GDBM database '/home/sx/.pulse/1385ab3a82291ea2800476890006-stream-volumes.x86_64- unknown-linux-gnu.gdbm' I: module-stream-restore.c: Sucessfully opened database file '/home/sx/.pulse/1385ab3a82291ea2800476890006-stream-volumes'. I: module.c: Loaded module-stream-restore (index: #1; argument: ). D: database-gdbm.c: Opened GDBM database '/home/sx/.pulse/1385ab3a82291ea2800476890006-card-database.x86_64- unknown-linux-gnu.gdbm' I: module-card-restore.c: Sucessfully opened database file '/home/sx/.pulse/1385ab3a82291ea2800476890006-card-database'. I: module.c: Loaded module-card-restore (index: #2; argument: ). I: module.c: Loaded module-augment-properties (index: #3; argument: ). D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-udev-detect.so': success I: module-udev-detect.c: Found 0 cards. I: module.c: Loaded module-udev-detect (index: #4; argument: ). D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success D: dbus-util.c: Successfully connected to D-Bus system bus 244284b9a8358759ce53123d0008 as :1.7 D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired D: bluetooth-util.c: Bluetooth daemon is apparently not available. I: module.c: Loaded module-bluetooth-discover (index: #5; argument: ). D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success I: module.c: Loaded module-esound-protocol-unix (index: #6; argument: ). I: module.c: Loaded module-native-protocol-unix (index: #7; argument: ). D: cli-command.c: Checking for existance of
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: On Monday 13 September 2010 09:28:22 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 02:04 did gyre and gimble: a) I am using system5 init and alsamixer refuses to start on the CLI at run- level 3 reporting pulseaaudio' connection refused (or somesuch) but... I guess PA cannot start on the CLI for some reason. alsamixer or aplay should autospawn PA if it's not running (which would be typical with a console login). I suspect not being able to connect to dbus/consolekit is the problem, but to find out, run pulseaudio -vvv from the cli rather than aplay and it should tell you the reasons for not starting. here is the ooutput from running pulseaudio -vvv on the cli BEFORE kde starts OK, you've got two problems here: D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-udev-detect.so': success I: module-udev-detect.c: Found 0 cards. I: module.c: Loaded module-udev-detect (index: #4; argument: ). For whatever reason, udev detection has failed and is finding no cards. This means an Auto Null sink will be loaded rather than accessing your real h/w. E: x11wrap.c: XOpenDisplay() failed E: module.c: Failed to load module module-x11-bell (argument: sample=bell- windowing-system): initialization failed. E: main.c: Module load failed. E: main.c: Failed to initialize daemon. This is interesting. The directive for loading module-x11-bell was removed from default.pa a *long* time ago, but apparently your default.pa is still trying to load it. But as your default.pa tries to load module-udev-detect, which was added *after* module-x11-bell was removed, it suggests you have edited the default.pa we ship with your own version. If you want the x11-bell module to be loaded, you should really add it to the /usr/bin/start-pulseaudio-x11 script instead. You can also put the load-module line in default.pa inside a .nofail .fail block. This will mean it will not cause daemon startup to fail, but it obviously will not actually load the module when X11 login actually occurs. That's why putting it in start-pulseaudio-x11 is better. here is the ooutput from running pacmd ls on the cli AFTER kde starts 1 sink(s) available. * index: 0 name: auto_null driver: module-null-sink.c flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: 0: 60% 1: 60% 0: -13.31 dB 1: -13.31 dB balance 0.00 base volume: 100% 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max request: 1722 KiB max rewind: 1722 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 configured latency: 0.00 ms; range is 0.50 .. 1.00 ms module: 10 properties: device.description = Dummy Output device.class = abstract device.icon_name = audio-card Here is the ultimately issue. The Dummy Output. As udev-detect could not detect any cards, you get only the dummy output. I'm not sure why udev-detect would cause problems. I would suggest to double check your udev setup and make sure the relevant udev rules are present on your system. udev 147 is pretty old, perhaps a newer version is needed (I can't remember the minimum system requirements), but certainly: /lib/udev/rules.d/78-sound-card.rules Should be present and should control things in this regard. I'd certainly double check that ACLs are written properly on the /dev/snd/* nodes (getfacl /dev/snd/*) and that your user session is definitely listed in ck-list-sessions as being active. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
Greetings, I am new to this list. I have a computer with these: -cpu-amd64-2 cores, dsp: HDA NVidia/Realtek ALC662 rev1 -o/s cblfs-linux 64-bit kernel-2.6.35.4, xorg-7.5 kde-4.4.5, udev-147 -audio-progs: alsa-1.0.23. pulse-0.9.21 (default configurations in /etc/pulse) my /etc/asound.conf file has these:- == pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } my udev-rule for alsa looks like this:- == # Give the audio group ownership of sound devices SUBSYSTEM==sound, GROUP=audio SUBSYSTEM==snd, GROUP=audio # ALSA Devices # When a sound device is detected, restore the volume settings KERNEL==controlC[0-9]*, NAME=snd/%k, ACTION==add, RUN+=/usr/sbin/alsactl restore %n # Sound devices KERNEL==admmidi*, GROUP=audio KERNEL==adsp*, GROUP=audio KERNEL==aload*,GROUP=audio KERNEL==amidi*,GROUP=audio KERNEL==amixer*, GROUP=audio KERNEL==audio*,GROUP=audio KERNEL==dmfm*, GROUP=audio KERNEL==dmmidi*, GROUP=audio KERNEL==dsp*, GROUP=audio KERNEL==midi*, GROUP=audio KERNEL==mixer*,GROUP=audio KERNEL==music, GROUP=audio KERNEL==sequencer*,GROUP=audio KERNEL==by-path/*, GROUP=audio == sound devices in /dev appear as:- == sx [ ~ ]# ls -l /dev/snd total 0 drwxr-xr-x 2 root root 80 Sep 12 2010 by-path crw-rw 1 root audio 116, 5 Sep 12 2010 controlC0 crw-rw 1 root audio 116, 12 Sep 12 2010 controlC1 crw-rw 1 root audio 116, 11 Sep 12 2010 hwC1D0 crw-rw 1 root audio 116, 4 Sep 12 2010 pcmC0D0p crw-rw 1 root audio 116, 10 Sep 12 2010 pcmC1D0c crw-rw 1 root audio 116, 9 Sep 12 2010 pcmC1D0p crw-rw 1 root audio 116, 8 Sep 12 2010 pcmC1D1c crw-rw 1 root audio 116, 7 Sep 12 2010 pcmC1D1p crw-rw 1 root audio 116, 6 Sep 12 2010 pcmC1D2c crw-rw 1 root audio 116, 3 Sep 12 2010 seq crw-rw 1 root audio 116, 2 Sep 12 2010 timer sx [ ~ ]# ls -l /dev/audio crw-rw 1 root audio 14, 4 Sep 12 2010 /dev/audio sx [ ~ ]# ls -l /dev/dsp crw-rw 1 root audio 14, 3 Sep 12 2010 /dev/dsp sx [ ~ ]# ls -l /dev/mixer* crw-rw 1 root audio 14, 0 Sep 12 2010 /dev/mixer crw-rw 1 root audio 14, 16 Sep 12 2010 /dev/mixer1 sx [ ~ ]# ls -l /dev/audio crw-rw 1 root audio 14, 4 Sep 12 2010 /dev/audio sx [ ~ ]# ls -l /usr/sbin/alsa* -rwxr-xr-x 1 root root 35445 Sep 1 21:09 /usr/sbin/alsaconf -rwxr-xr-x 1 root root 213034 Sep 1 21:09 /usr/sbin/alsactl alsa plugins; appear as:- == sx [ ~ ]# ls -l /usr/lib/alsa-lib total 1376 -rw-r--r-- 1 root root 11034 Sep 12 21:50 libasound_module_conf_pulse.a -rwxr-xr-x 1 root root 1979 Sep 12 21:50 libasound_module_conf_pulse.la -rwxr-xr-x 1 root root 12117 Sep 12 21:50 libasound_module_conf_pulse.so -rw-r--r-- 1 root root 88426 Sep 12 21:50 libasound_module_ctl_arcam_av.a -rwxr-xr-x 1 root root 1098 Sep 12 21:50 libasound_module_ctl_arcam_av.la -rwxr-xr-x 1 root root 63182 Sep 12 21:50 libasound_module_ctl_arcam_av.so -rw-r--r-- 1 root root 39098 Sep 12 21:50 libasound_module_ctl_oss.a -rwxr-xr-x 1 root root 1063 Sep 12 21:50 libasound_module_ctl_oss.la -rwxr-xr-x 1 root root 32449 Sep 12 21:50 libasound_module_ctl_oss.so -rw-r--r-- 1 root root 84188 Sep 12 21:50 libasound_module_ctl_pulse.a -rwxr-xr-x 1 root root 1972 Sep 12 21:50 libasound_module_ctl_pulse.la -rwxr-xr-x 1 root root 60745 Sep 12 21:50 libasound_module_ctl_pulse.so -rw-r--r-- 1 root root 88870 Sep 12 21:50 libasound_module_pcm_a52.a -rwxr-xr-x 1 root root 1095 Sep 12 21:50 libasound_module_pcm_a52.la -rwxr-xr-x 1 root root 63461 Sep 12 21:50 libasound_module_pcm_a52.so -rw-r--r-- 1 root root 41592 Sep 12 21:50 libasound_module_pcm_jack.a -rwxr-xr-x 1 root root 1132 Sep 12 21:50 libasound_module_pcm_jack.la -rwxr-xr-x 1 root root 34058 Sep 12 21:50 libasound_module_pcm_jack.so -rw-r--r-- 1 root root 38126 Sep 12 21:50 libasound_module_pcm_oss.a -rwxr-xr-x 1 root root 1063 Sep 12 21:50 libasound_module_pcm_oss.la -rwxr-xr-x 1 root root 30615 Sep 12 21:50 libasound_module_pcm_oss.so -rw-r--r-- 1 root root 91208 Sep 12 21:50 libasound_module_pcm_pulse.a -rwxr-xr-x 1 root root 1972 Sep 12 21:50 libasound_module_pcm_pulse.la -rwxr-xr-x 1 root root 67065 Sep 12 21:50 libasound_module_pcm_pulse.so -rw-r--r-- 1 root root 33066 Sep 12 21:50 libasound_module_pcm_speex.a -rwxr-xr-x 1 root root 1122 Sep 12 21:50 libasound_module_pcm_speex.la -rwxr-xr-x 1