LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2015, 11:35 AM   #1
chiendarret
Member
 
Registered: Mar 2007
Posts: 303

Rep: Reputation: 16
No pulseaudio daemon Debian


Hello, I got lost in trying to get sound from my new asus H81M-K mainboard, which replaced a server Tyan mainboard where sound was OK. Using the same two mirror-raid HDs. OS Debian amd64 wheezy.

~$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 05)

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

~$ pacmd
No PulseAudio daemon running, or not running as session daemon.

~$ echo "set-default-sink 1" | PULSE_RUNTIME_PATH=/var/run/pulse pacmd
Failed to create secure directory: Permission denied
No PulseAudio daemon running, or not running as session daemon.
(same issue when running as superuser)

$ pavucontrol
connection failed

$ pulseaudio --dump-conf
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = yes
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-2.0/modules
default-script-file =
load-default-script-file = yes
log-target = auto
log-level = notice
resample-method = auto
enable-remixing = yes
enable-lfe-remixing = no
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 25
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 8000
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 1000000

/etc/mplayer/mplayer.conf
##################
# audio settings #
##################

# Specify default audio driver (see -ao help for a list).
ao=alsa,

# Use SDL audio driver with the esd subdriver by default.
#ao = sdl:esd

# Specify the mixer device.
#mixer = /dev/mixer

# Resample the sound to 44100Hz with the lavcresample audio filter.
#af=lavcresample=44100

# Output audio to S/PDIF
#ao=alsa:device=spdif
#ac=hwac3,hwdts,hwmpa,


##################
# other settings #
##################

# Pretend to be Window Media Player.
# Fixes playback when playlist and media file use the same URL.
#user-agent=NSPlayer/4.1.0.3856

# Pretend to be Quicktime
# Fixes playback for apple.com/trailers redirects
#user-agent="QuickTime"

# Pretend to be Realplayer SP
# Fixes playback for some video streaming sites
#user-agent=RMA/1.0

# Pretend to have lots of bandwidth
# Speeds up realmedia rtsp:// streams
#bandwidth=2000000

# Pretend to be Winamp
# Fixes playback of some NSV streams
#user-agent="Winamp NSV Player/5.12 (ultravox/2.0)"

# Drop frames to preserve audio/video sync.
#framedrop = yes

# Specify your preferred skin here (skins are searched for in
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
#skin = Abyss

# Resample the font alphamap.
# 0 plain white fonts
# 0.75 very narrow black outline (default)
# 1 narrow black outline
# 10 bold black outline
#ffactor = 0.75

# cache settings
#
# Use 8MB input cache by default.
#cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50

# DVD: Display English subtitles if available.
#slang = en

# DVD: Play English audio tracks if available.
#alang = en

# get a default OSD font from fontconfig

fontconfig = yes
font = "Sans"
subfont-text-scale = 3

Thanks for advice

chiendarret
 
Old 02-23-2015, 02:36 PM   #2
chiendarret
Member
 
Registered: Mar 2007
Posts: 303

Original Poster
Rep: Reputation: 16
I should add that I launch with "startx" "gnome-session", which irritates gnome and might be a cause of failure.

I wanted to purge remove pulseaudio to carry out a fresh install, however that would remove gnome. I have little familiarity with gnome but I want to keep it on the desktop (on all other machines I am at xfce to avoid gnome taking possession of the whole and causing a loss om mem).

chiendarret
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PulseAudio daemon failed to start after HW upgrade ciforbg Fedora 4 09-17-2012 06:05 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
[Debian Squeeze]Some problems concerning Pidgin Empathy Pulseaudio Keessince1988 Linux - Desktop 0 02-19-2010 02:25 PM
Is it possible to force to cooperate PulseAudio and Music Player Daemon? ffatman Linux - Software 0 08-02-2008 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration