Posts: 53
Joined: Nov 2012
Reputation:
1
I have this problem since I added a SSD to the HTPC.
Based on previous solution a have added a sleep 10 in /etc/init/lightdm.conf just before the actual start of lightdm.
The audio subsystem is not initialized yet without this wait which yields in not finding any audio devices.
Somehow there needs to be soms check that (all) sound systems are intialized or you need to make sure lightdm is the absolute last process to boot.
Vincent
Posts: 24
Joined: Sep 2009
Reputation:
0
Slurp
Junior Member
Posts: 24
I had almost the smae problem. The wrong outputs where displayed. Removal of pulse audio did the trick to select the correct one.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
(2012-11-30, 11:11)Quiptix Wrote: I have slightly changed the workaround:
I have changed /etc/init/lightdm.conf
In the conditions:
Code:
start on ((filesystem
and runlevel [!06]
and started dbus
and started udev-finish
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
or runlevel PREVLEVEL=S)
I have added the condition 'started udev-finish'. This event is fired when the udev-initializer thinks it is finished. This still doesn't mean that all devices are up and usable. That's why I still of the sleep command in the script, however reduced to 3.
Now the system is up and running in 10 to 15 seconds.
Be aware that with the next beta these changes probably will be lost! (I'm not sure who to contact to have this solved in the distribution)
Vincent
lcapriotty is one of the XBMCbuntu devs. I would ask a mod to ping them and have a look at this solution of yours and if thers maybe a more elegant solution taht would work for everyone, since you guys are less than 0.0001% of everyone using betas. (there arent that many ppl testing betas allround anyway.) pointless point there.
uNi
Posts: 3,025
Joined: Sep 2011
Reputation:
255
DDDamian
Team-XBMC Developer
Posts: 3,025
We *could* incorporate some kind of wait-for-device-ready loop but it would be a low priority. If someone made a feature-request on Trac it would at least be documented as such.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
Feature request on trac are closed asap now.
Apparently Feature request are now moved to forums IIRC.
uNi
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
Ah /updated
thx for info
uNi
Posts: 53
Joined: Nov 2012
Reputation:
1
Allthough I'm an IT-man I'm lost in your discussion now.
Who has the ball?
Vincent