[LINUX] HOW-TO get AmbX with X11 working using Boblight and CombustD

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pluppp Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Post: #131
bobo1on1 Wrote:Are you running an X server when starting boblight-X11 ?
xserver is installed.. but startx gives this output:
Code:
xauth:  error in locking authority file /home/mikko/.Xauthority
xauth:  error in locking authority file /home/mikko/.Xauthority


Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.

ddxSigGiveUp: Closing log
No protocol specified
giving up.
xinit:  Resource temporarily unavailable (errno 11):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
xauth:  error in locking authority file /home/mikko/.Xauthority

Im am noob with linux so i followed these instructions when i installed xbmc. So im not allways sure what i install to linux Big Grin. Im using Arduiono microcontroller to control my led stripes so i didnt do every step what is in the first post. So maybe i missed something.
(This post was last modified: 2011-02-13 20:38 by pluppp.)
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,753
Joined: Dec 2008
Reputation: 20
Post: #132
If you can see XBMC, you're running an X server.
find quote
pluppp Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Post: #133
bobo1on1 Wrote:If you can see XBMC, you're running an X server.
Ok.. I can see XBMC and its working just fine. So xserver is running.
find quote
jaap Offline
Junior Member
Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #134
Can anyone fill me in on the size of the wallwasher? My TV is mounted on the wall and i'm wondering where to put the wallwasher.

Besides that: I use a 5mtr HDMI cable to get from the HTPC to the TV. Can I use a same size USB cable?

Final one: seems to me only the wallwasher is used, not the side towers. Is that correct?
find quote
illiac4 Offline
Fan
Posts: 434
Joined: May 2009
Reputation: 1
Post: #135
Hi!

I'm also interested if this will work with ATV and linux on it? Is someone using such a working setup?
find quote
LastMile Offline
Member+
Posts: 72
Joined: Nov 2008
Reputation: 0
Post: #136
Trying to configure boblight.conf for my atmolight.

How do I find out what COM port my atmolight is on?

lsusb returns:

Bus 002 Device 006: ID 0403:6001 Future Technology Devices International, LTD TF 232 USB-Serial (UART) IC

Edit:

boblight.conf is currently:
Code:
[global]
timeout        20
interface    127.0.0.1
port        19333
interpolation    on
proportional    5.0
saturation    3.0
value        10.0
valuerange    0.0 1.0
use        yes
method        average
threshold    20

[device]
name        ambilight
type        atmo
output        "com1"
rate        38400
channels    15
interval    16000
prefix        FF

[color]
name        red
rgb        FF0000
gamma        1.0
adjust        1.0
blacklevel    0.0

[color]
name        green
rgb        00FF00
gamma        1.0
adjust        1.0
blacklevel    0.0

[color]
name        blue
rgb        0000FF
gamma        1.0
adjust        1.0
blacklevel    0.0

[light]
name        left
color        red     ambilight 4
color        green     ambilight 5
color        blue     ambilight 6
hscan        0 50
vscan        0 100

[light]
name        right
color        red     ambilight 7
color        green     ambilight 8
color        blue     ambilight 9
hscan        50 100
vscan        0 100

[light]
name        top
color        red     ambilight 10
color        green     ambilight 11
color        blue     ambilight 12
hscan        0 100
vscan        0 50

[light]
name        bottom
color        red     ambilight 13
color        green     ambilight 14
color        blue     ambilight 15
hscan        0 100
vscan        50 100


Starting the daemon returns:

Code:
com1: No such file or directory

I've tried editing the conf file for com1-4 so far with the same error.
(This post was last modified: 2011-03-17 21:20 by LastMile.)
find quote
LastMile Offline
Member+
Posts: 72
Joined: Nov 2008
Reputation: 0
Post: #137
Got it working! Looks fantastic.

Code:
[device]
name        ambilight
type        atmo
output        "/dev/ttyUSB0"
rate        38400
channels    15
interval    16000
prefix        FF

Any tips on getting boblightd and boblight-X11 to load on startup, quit on suspend and reload on resume(running Live 10.1)?
(This post was last modified: 2011-03-17 21:19 by LastMile.)
find quote
Wikking Offline
Junior Member
Posts: 30
Joined: Aug 2010
Reputation: 1
Post: #138
illiac4 Wrote:Hi!

I'm also interested if this will work with ATV and linux on it? Is someone using such a working setup?

Yes it will! I'm running Sams Image (Ubuntu 8.04) with Crystal HD, Rf-remote on a 1TB hdd ATV.

It consumes some CPU power though. Actually if i enable AMBX then high bitrate 1080p Movies will lose some frames constantly.
find quote
derDaywalker Offline
Junior Member
Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #139
hi @all

I'm using the latest unstable xbmc ppa for Ubuntu 10.10.
I just want to ask, if a special XBMC branch is required to get boblight (with ambx) working.

I ask that question because i got boblight working under my desktop (started boblightd + boblight-X11 without any options), but as soon as i start xbmc the lights turn off. Or are there any options that i have to turn on?

I hope that someone can help me, because it would be great to get ambx working with XBMC.

Best Regards!
(This post was last modified: 2011-03-25 00:55 by derDaywalker.)
find quote
Eoghlear Offline
Member
Posts: 99
Joined: Aug 2009
Reputation: 0
Location: Netherlands
Post: #140
Bobo1on1,

Got everything working like a charm, but have a few questions:

1. How do i get it to change a bit smoother? It now changes with even the smallest change of color, and that causes some rough transitions from time to time. Will changing the interval help? like increasing or decreasing the interval amount?

2. How can i start/stop the deamon (boblightd) and the client (boblight x-11 code thing) from xbmc itself? A script or something in combination with advanced launcher? Did you ever try such a thing?

Thnx

[Image: widget]
find quote
Post Reply