Topfs2 Wrote:I have some questions about this, I though HAL was needed for the more recent X versions. Atleast it says so in the logs.
Also since dbus is vital for XBMC integration with linux in an easy manor it would be good to have it possible to work perfect without compromising speed.
Have you tried starting dbus after XBMC? then it shouldn't be noticeable in terms of "boot" and we don't use dbus until after start, i.e shutdown and such and I think code should be safe for that usage as it is right now.
Hal can probably be altered for this purpose aswell incase you would want to try it.
Cheers,
Tobias.
xbmc launches its own dbus by itself.
I also changed some stuff around and changed harddisk(boot chart is not with the sata_nv driver), so still at the same time, but with dbus and udev started during init as well. Though xbmc still launches dbus on init(which annoys me)
HAL is needed by XBMC for shutdown/reboot to work. So i'm starting that as well, even though it pushes me over the 10seconds mark.
But, once there is a good catalyst patch for 2.6.30(and 30 is final) I'll use that, and I'll probably go below the 10seconds mark again.
My current setup is actually workable, in contrast to the one above
What i have done:
- Made my own kernel.
- Made my own xinitrc.
- Don't use gdm.
- Made my own readahead files(one for basic OS boot+X. One for xbmc).
- Changed some xorg and xbmc stuff to make them start faster.(disabled randr)
- Don't use usplash. Xorg starts after ~5 seconds.
- Starting hal after xbmc to make effective boot time a bit over 10seconds, but perceived boot time is still 10seconds. (I still intend to get this fixed)
Basically, i did this as a test. I intend to buy an nvidia ion with bluray soon. Put coreboot in it, and do what i did to this system. It will run with an SSD. I hope i can get total boot time(that includes coreboot/bios replacement) to be at max 10seconds.
SSD will probably slash my above time in half... And coreboot should be able to launch grub within 3 seconds... with 1second grub(for if something fatal happens) that will be around 9seconds...