#8980 closed defect (fixed)
pulseaudio not correctly linked.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 8.1 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Trying 'pulseaudio -c' on the off-chance that getting it to work might be quick:
ken@plexi ~ $pulseaudio -c pulseaudio: Relink `/usr/lib/libICE.so.6' with /lib/libpthread.so.0' for IFUNC symbol `longjmp' pulseaudio: invalid option -- 'c' E: [pulseaudio] main.c: Failed to parse command line.
Change History (17)
follow-ups: 2 4 comment:1 by , 8 years ago
comment:2 by , 8 years ago
Replying to bdubbs@…:
I rebuilt libICE with:
./configure $XORG_CONFIG ICE_LIBS=-lpthread
and the Relink message went away.
The -c shoule be -C I think.
I still had an error though:
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
Have you run the command:
rm /etc/dbus-1/system.d/pulseaudio-system.conf
We do not use --disable-bluez5. Rebuilding with that gets rid of all warnings/errrors.
I'm not sure what pulseaudio -C does however. It just seems to hang.
I've built pulseaudio several times as per the book instructions, and it seems to work out of the box. It is even able to find the correct sound device, while I need to pass some switch to the kernel (or to the snd-hda-intel module) to be able to use alsa-{lib,utils}.
comment:3 by , 8 years ago
On my machine, I've renamed it to /etc/dbus-1/system.d/pulseaudio-system.conf.hidden (deleting can be expensive)
I've just had sound working by manually enabling alsa and disabling pulse in firefox, will need to rebuild firefox again to debug pulse.
comment:4 by , 8 years ago
Replying to bdubbs@…:
The -c shoule be -C I think.
Yes, that gives me
N: [pulseaudio] alsa-util.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel. N: [pulseaudio] alsa-util.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel. E: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed. E: [pulseaudio] main.c: Module load failed. E: [pulseaudio] main.c: Failed to initialize daemon.
I was fooled because the command renders very small in my choice of fonts, and the capital -C is smaller than the following a of 'and then'
comment:5 by , 8 years ago
I do not have /etc/dbus-1/system.d/pulseaudio-system.conf. I do not recall creating or deleting that file.
I was testing on my -dev system (via ssh) and although the dbus daemon was running, a window manager was not. I can run speaker-test or play an mp4 file and audio works.
I'm not sure if my configuration is complete or not.
comment:6 by , 8 years ago
Owner: | changed from | to
---|
comment:7 by , 8 years ago
Status: | new → assigned |
---|
comment:8 by , 8 years ago
The libICE change definitely helps. After metaphorically running around the block a few times, I looked at syslog and realised I didn't use the sed to suppress loading the console-kit module: whenever I've installed pulse in the past it has come after console-kit, I need to extend the tests in my script.
comment:9 by , 8 years ago
That fixed it for me, so apart from libICE it was user error.
On this machine I have found sound to often be very quiet, but now with pulse both the volume seems perfectly adequate. I think I can decide to like pulse.
Bruce: re bluez5 - do you have any of that installed ? My original log shows that both BlueZ 4 and BlueZ 5 are not enabled.
I'll add the switch, and fix libICE.
follow-up: 12 comment:11 by , 8 years ago
Replying to bdubbs@…:
Yes, I have BT5 installed, but I disabled it for PA.
Thanks for the reply, but I don't understand what you did to disable it for pulse.
On the build where you reported
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
had pulse been built against BlueZ5 ?
In the configure script, BLUEZ 5 support depends on sbc and D-Bus. It defaults to enabled if D-Bus and sbc are installed AND BLUEZ 5 has NOT been disabled.
Ah : perhaps you had D-Bus and SBC installed, and did not explicitly use --disable-bluez5 ?
follow-up: 13 comment:12 by , 8 years ago
Replying to ken@…:
Replying to bdubbs@…:
Yes, I have BT5 installed, but I disabled it for PA.
Thanks for the reply, but I don't understand what you did to disable it for pulse.
--disable-bluez5
On the build where you reported
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service fileshad pulse been built against BlueZ5 ?
That was before I disabled BT.
In the configure script, BLUEZ 5 support depends on sbc and D-Bus. It defaults to enabled if D-Bus and sbc are installed AND BLUEZ 5 has NOT been disabled.
Ah : perhaps you had D-Bus and SBC installed, and did not explicitly use --disable-bluez5 ?
Two instances. The first with BT5. The second without.
comment:13 by , 8 years ago
Replying to bdubbs@…:
Replying to ken@…:
Replying to bdubbs@…:
Yes, I have BT5 installed, but I disabled it for PA.
Thanks for the reply, but I don't understand what you did to disable it for pulse.
--disable-bluez5
I think we are at cross-purposes. On that earlier build where you got the error at runtime, did you have bluez when you compiled pulse, and if so, had you done anything to remove bluez between the compile and runtime ?
I understand that you have now had to rebuild pulse with bluez disabled, but I'm still trying to understand *why*. I suggested that if SBC and D-Bus are present, then bluez5 might be enabled by default, but I'm not yet convinced that actually happens.
comment:14 by , 8 years ago
Forget the question, please - I've now confirmed that if D-Bus and SBC are both installed, bluez5 *is* enabled by default without any test to see if it is present.
Also, bluez appears to now be a compile-time dependency.
I rebuilt libICE with:
and the Relink message went away.
The -c shoule be -C I think.
I still had an error though:
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
We do not use --disable-bluez5. Rebuilding with that gets rid of all warnings/errrors.
I'm not sure what pulseaudio -C does however. It just seems to hang.