[RELEASE] Official XBMC boblight Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Elbert Offline
Senior Member
Posts: 131
Joined: Oct 2009
Reputation: 4
Location: Netherlands
Post: #21
Thanks a lot for this addon. This makes it so much easier to handle and tune the great boblight-script from within XBMC.
find quote
lordindy Offline
Junior Member
Posts: 43
Joined: Apr 2011
Reputation: 0
Post: #22
Hellz yeah! Finally, I way to tune my Adalight. Will try tonight!
find quote
Elbert Offline
Senior Member
Posts: 131
Joined: Oct 2009
Reputation: 4
Location: Netherlands
Post: #23
I have some problems getting the addon working properly.

For some reason, during playback, the topleft lights are not running and I also have the feeling that the wrong colors are sent to the other lights. When there is no playback, the constant background light is working correctly (on all leds).

All the lights are properly working when I use boblight-X11 to control them. Therefore boblight.conf is probably correctly configured.

I'm running a nightly build from 4th of november (crystalbuntu distribution). Boblightd is running local and I'm using atmolight as a hardware controller. Here is my xbmc.log

Do you have any suggestions where I could look?

--------------------------
Edit: After updating to a more recent nightly (4 dec 2011) the lights seem to work correct!
(This post was last modified: 2011-12-10 14:48 by Elbert.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #24
Elbert Wrote:I have some problems getting the addon working properly.

For some reason, during playback, the topleft lights are not running and I also have the feeling that the wrong colors are sent to the other lights. When there is no playback, the constant background light is working correctly (on all leds).

All the lights are properly working when I use boblight-X11 to control them. Therefore boblight.conf is probably correctly configured.

I'm running a nightly build from 4th of november (crystalbuntu distribution). Boblightd is running local and I'm using atmolight as a hardware controller. Here is my xbmc.log

Do you have any suggestions where I could look?

--------------------------
Edit: After updating to a more recent nightly (4 dec 2011) the lights seem to work correct!

update to a more recent xbmc nighlty version ... there where issues in the image capture code in older versions...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Elbert Offline
Senior Member
Posts: 131
Joined: Oct 2009
Reputation: 4
Location: Netherlands
Post: #25
I've encountered another problem. When i'm running a video that is software decoded (xvid) the lights every now and then stall for a couple of seconds. Pausing the video directly sets the lights correct to the current scene. I do not see this stalling when I'm running a video that uses hardware acceleration (crystalhd-card).

As I am on a relatively low-powered AppleTV1, this makes me think that the addon somehow cannot keep up when it's displaying software decoded stuff.

Please let me know if you need more info.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #26
yeah might be a lack of cpu issue...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Elbert Offline
Senior Member
Posts: 131
Joined: Oct 2009
Reputation: 4
Location: Netherlands
Post: #27
Is there a way to set the priority of addons within XBMC? I guess the addon is not much more cpu intensive than boblight-X11, with which I did not see this issue with sf-decoded media.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #28
Elbert Wrote:Is there a way to set the priority of addons within XBMC? I guess the addon is not much more cpu intensive than boblight-X11, with which I did not see this issue with sf-decoded media.

in fact it might be a bit more intensive imho ... but this is something bobo1on1 could have a better knowledge off. You could decrease the speed for a first try...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,752
Joined: Dec 2008
Reputation: 20
Post: #29
When this addon runs, XBMC reads back videoframes from the gpu via OpenGL, how well this works is dependent on the gpu and the videodriver.

You can try adding this to advancedsettings.xml:

Code:
<advancedsettings>
  <video>
    <useocclusionquery>0</useocclusionquery>
  </video>
</advancedsettings>
find quote
Elbert Offline
Senior Member
Posts: 131
Joined: Oct 2009
Reputation: 4
Location: Netherlands
Post: #30
Thanks for the suggestions guys.

I tried both the 'slow' and 'fast' settings, and added the lines to advancedsettings.xml but they did not make a difference. One thing I noticed though is that I used to run boblight-X11 with the -x setting (-x use XGetImage instead of XRender) to get a good result.
find quote
Post Reply