Kodi Community Forum

Full Version: Audio settings changed on reboot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone; bit of a random problem has occurred to my setup:

50" Sony TV
Yamaha 5.1 Amp
custom built intel HTPC

all connected using HDMI, logging directly into XBMC using the Ubuntu login screen (little circle dropdown above the password box, select XBMC)

Recently updated Linux to 13.10 to resolve DTS-HD MA audio; works a treat... That is until I reboot... then my Audio settings change... it seems to lose the playback and passthrough settings for HDMI (they aren't an option to select). If I quit XBMC and get to the login screen, and then login back into XBMC, the audio options reappear and DTS-HD MA works again...

Has anyone else encountered this issue?
Logfile with working settings and logfile with non working settings.

More info on how you start xbmc
working: http://pastebin.com/8R74Hh7k

not working: http://pastebin.com/CjVzV9ev

I set my username to login automatically; after logging into the Ubuntu desktop i clicked the little gear icon top right; selected logout, which took me back to the default Ubuntu login screen.

I then clicked the ubuntu icon next to the username; selected XBMC as my default desktop, entered my password and XBMC starts. This persists reboots as my user is set to login automatically.
Yeah, the second time, if you see your log the HDMI device is not existent. Was the TV switched on? AVR on? Does your lightdm wait for udev?

In short: Make your login manager wait, xbmc cannot play audio if the device is missing.
yes that's what I was thinking; everything was switched on; not sure lighted is waiting for udev...

will adjust the lightdm.conf to allow a wait; will report back if this resolves it.
just tried adding the line: and stopped udevtrigger to lightdm.conf and it didn't work... any further suggestions?
No.
well thankyou for the help so far; if I find anything that works i'll post back
After a brief bit of testing i've found the following steps from the XBMC wiki (http://wiki.xbmc.org/index.php?title=Arc...u/HOW-TO_1) works:

7 Autostart XBMC (optional alternative)

From the desktop click System -> Administration -> Login Screen
From the "Security" tab choose "Enable Automatic Login" and select your username.
Click "OK" to exit.
From the desktop click System -> Preferences -> Startup Applications
Click "Add"
Name: XBMC
Command: xbmc
Comment: XBMC
Click "OK"
You're DONE, Ubuntu will now load gnome first then xbmc straight after, slightly slower but it keeps your ubuntu session available.

NOTE: this slows down the boot process quite a bit; but seems to be consistent in having the audio working as intended.