SliTaz SliTaz Forum

You are not logged in.

#1 2015-03-19 07:42:51

yves04
Member
Registered: 2012-09-23
Posts: 135

Issue with pulseaudio

Hi all

After installation of pulseaudio (tazpkg -gi pulse audio on Slitaz rolling core) and reboot, I got this message in /var/log/message :

Mar 19 06:59:17 (none) user.err pulseaudio[1197]: [pulseaudio] module-alsa-card.c: Failed to find a working profile.

Mar 19 06:59:17 (none) user.err pulseaudio[1197]: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_11.5" card_name="alsa_card.pci-0000_00_11.5" 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""): initialization failed.

Mar 19 06:59:18 (none) user.err pulseaudio[1197]: [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

Mar 19 06:59:18 (none) user.err pulseaudio[1197]: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.

Mar 19 06:59:18 (none) user.err pulseaudio[1197]: [pulseaudio] main.c: Module load failed.

Mar 19 06:59:18 (none) user.err pulseaudio[1197]: [pulseaudio] main.c: Failed to initialize daemon.

Has anyone succeeded to have pulseaudio working ?

Have a nice day.

Offline

#2 2015-03-29 00:49:44

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Issue with pulseaudio

Skype 4.3.0.37 + Pulseaudio works for me with this configuration:

/etc/pulse/daemon.conf

exit-idle-time = 0 # Exit as soon as unneeded

flat-volumes = yes # Prevent messing with the master volume

/etc/pulse/client.conf

# Applications that use PulseAudio *directly* will spawn it,

# use it, and pulse will exit itself when done because of the

# exit-idle-time setting in daemon.conf

autospawn = yes

/etc/pulse/default.pa

# Replace the *entire* content of this file with these few lines and

# read the comments

.fail

    # Set tsched=0 here if you experience glitchy playback. This will

    # revert back to interrupt-based scheduling and should fix it.

    #

    # Replace the device= part if you want pulse to use a specific device

    # such as "dmix" and "dsnoop" so it doesn't lock an hw: device.

    # INPUT/RECORD

    load-module module-alsa-source device="default" tsched=1

    # OUTPUT/PLAYBACK

    load-module module-alsa-sink device="default" tsched=1

    # Accept clients -- very important

    load-module module-native-protocol-unix

.nofail

.ifexists module-x11-publish.so

    # Publish to X11 so the clients know how to connect to Pulse. Will

    # clear itself on unload.

    load-module module-x11-publish

.endif

Reference:

https://wiki.archlinux.org/index.php/PulseAudio/Examples#PulseAudio_as_a_minimal_unintrusive_dumb_pipe_to_ALSA

Offline

#3 2015-03-31 04:24:06

yves04
Member
Registered: 2012-09-23
Posts: 135

Re: Issue with pulseaudio

Thanks a lot mojo, pulseaudio now starts without complaint ; for Skype 4.3.0.37  I guess my processor is to old (AMD Athlon(TM) XP 1500+) ; I'll have to change my computer.

Have a very nice day. Thanks again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]