2013-09-09, 02:26
Hey guys,
I'm new here - greetings to the xbmc community - and I'm no native speaker ... means who ever finds mistakes can keep them. ;-)
Not sure if it was already discussed here, but as I already saw some threads with same/similar topics:
I just set up ubuntu 13.04 with fglrx (sticked to ubuntu ppa version 12.9, since 13.6b was laggy) and xbmc-xvba following this guide (thx wsnipex, great work!!!) and stumbled into issues with hdmi passthrough.
Starting XBMC via unity desktop session worked fine, I got all the HDMI audio output devices listed, passthrough was working. Swichting to XBMC standalone mode all HDMI audio output devices went gone and passthrough output device read "Failed to initialize audio device".
As I didn't want to deinstall and lose pulseaudio for the desktop session, I took a look in how and when pulseaudio is being initialized and learned that upstart is doing this job - at least for Ubuntu 13.04. Checking the respective upstart script /etc/init/pulseaudio.conf, it read:
I did both and got my XBMC standalone passthrough issues fixed :-)
1. Edit upstart configuration file for pulseaudio:2. Search for follwoing line: and change it to: 3. Assuming xbmc as user, add it to group pulse-access:
Even though it does seem trivial, it took me long hours to get the trick (newbie). Still, I hope it might also help others. :-)
BTW: Maybe someone can find a way that does not change the default behaviour of how pulseaudio is being invoked (per-session mode over system mode)?
I'm new here - greetings to the xbmc community - and I'm no native speaker ... means who ever finds mistakes can keep them. ;-)
Not sure if it was already discussed here, but as I already saw some threads with same/similar topics:
I just set up ubuntu 13.04 with fglrx (sticked to ubuntu ppa version 12.9, since 13.6b was laggy) and xbmc-xvba following this guide (thx wsnipex, great work!!!) and stumbled into issues with hdmi passthrough.
Starting XBMC via unity desktop session worked fine, I got all the HDMI audio output devices listed, passthrough was working. Swichting to XBMC standalone mode all HDMI audio output devices went gone and passthrough output device read "Failed to initialize audio device".
As I didn't want to deinstall and lose pulseaudio for the desktop session, I took a look in how and when pulseaudio is being initialized and learned that upstart is doing this job - at least for Ubuntu 13.04. Checking the respective upstart script /etc/init/pulseaudio.conf, it read:
Code:
# uncomment the 'start on' to start pulseaudio in system mode
# (enables the pulseaudio init script - requires that users be in the
# pulse-access group):
I did both and got my XBMC standalone passthrough issues fixed :-)
1. Edit upstart configuration file for pulseaudio:
Code:
sudo nano /etc/init/pulseaudio.conf
Code:
#start on runlevel [2345]
Code:
start on runlevel [2345]
Code:
sudo adduser xbmc pulse-access
Even though it does seem trivial, it took me long hours to get the trick (newbie). Still, I hope it might also help others. :-)
BTW: Maybe someone can find a way that does not change the default behaviour of how pulseaudio is being invoked (per-session mode over system mode)?