[systemd-bugs] [Bug 82447] New: Custom xbmc.service starts x-session and xbmc before pulseaudio is fully initialized
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Aug 10 22:56:45 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82447
Priority: medium
Bug ID: 82447
Assignee: systemd-bugs at lists.freedesktop.org
Summary: Custom xbmc.service starts x-session and xbmc before
pulseaudio is fully initialized
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: da_audiophile at yahoo.com
Hardware: All
Status: NEW
Version: unspecified
Component: general
Product: systemd
Created attachment 104408
--> https://bugs.freedesktop.org/attachment.cgi?id=104408&action=edit
proposed xbmc.service
Overview: Using the attached service file on an Arch Linux system running
pulseaudio, the xsession starts, but xbmc is started before pulseaudio is fully
initialized which causes it to miss seeing all audio devices. I do not believe
that the 'After = systemd-user-sessions.service network.target sound.target'
line is adequate and am soliciting some feedback from the gurus :)
As a proof of concept, I modified /usr/bin/xbmc-standalone (which is simply a
wrapper script) by adding a `sleep 6s` line before it calls the executable.
This is a dirty hack and not broadly applicable to all systems.
Steps to reproduce:
1) Install Arch Linux with pulseaudio and xbmc.
2) Pull down the AUR package "xbmc-standalone-service" which provides this
xbmc.service as well as creates the needed user/groups[1].
3) Start xbmc.service and attempt to change audio sources.
1. https://aur.archlinux.org/packages/xbmc-standalone-service
Actual result: None of the audio sources (system>system>audioAudio output
device) are available; the option is simply grayed out.
Expected result: All available outputs should be present and selectiable by the
user, eg, [HDMI,Analog,Digital,Optical].
Build date and platform: Verified on two different Arch Linux x86_64 machines.
Both running systemd 215-4.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140811/c030fe3b/attachment.html>
More information about the systemd-bugs
mailing list