[LINUX] Problems compiling crystalhd branch

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pouldam Offline
Member
Posts: 61
Joined: May 2009
Reputation: 0
Post: #41
Following this thread with great interest I may just dive in and try Cake's guide on setting up XBMC on Ubuntu (http://dingleberry.me/2009/11/compile-xb...t-on-linux) -- kudos to all directly and indirectly involved... and please keep it up-to-date for us noobs Nod

Apart form the obvious benefit of utilizing the Broadcom I think Dan1son's comments on a much smoother GUI sounds very interesting indeed! Before diving in...

1. Can I just connect a USB keyboard and mouse and use these with Ubuntu (I believe not everything step can be done via SSH)?

2. And, is it possible to use the Apple remote running Ubuntu? Does it take a lot of work?
find quote
cbm64 Offline
Junior Member
Posts: 3
Joined: Nov 2009
Reputation: 0
Post: #42
<slightly off-topic />

I'm trying to give the crystalhd branch a swing with distcc as I have 2 machines in the network with enough cores to spare (trying to beat the 15min speed record Davilla spoke of earlier). I think I have to do some magic with the bootstrapping as the ./configure chokes on distcc --version

any pointers?

thanks!
Martijn
(This post was last modified: 2009-11-30 20:25 by cbm64.)
find quote
andrereis Offline
Junior Member
Posts: 30
Joined: Sep 2009
Reputation: 0
Post: #43
Dear Davilla,

Just got my ATV+Ubuntu8.04+XBMC setup working, and it's fabulous. Fabulous, I tell you. I cannot begin to tell you how many levels of awsomeness you're into right now.

I am experiencing an annoying bug with subtitles though. They play for 4-5 seconds and then they're gone; if I stop the movie and play it again, they work for another 4-5 seconds before vanishing.

Is this a known issue?

Cheers
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,397
Joined: Feb 2008
Reputation: 58
Post: #44
andrereis Wrote:Dear Davilla,

Just got my ATV+Ubuntu8.04+XBMC setup working, and it's fabulous. Fabulous, I tell you. I cannot begin to tell you how many levels of awsomeness you're into right now.

I am experiencing an annoying bug with subtitles though. They play for 4-5 seconds and then they're gone; if I stop the movie and play it again, they work for another 4-5 seconds before vanishing.

Is this a known issue?

Cheers

Hehe, I like it Smile

Possible, not even begun to resolve subtitle issues, if any.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,397
Joined: Feb 2008
Reputation: 58
Post: #45
cbm64 Wrote:<slightly off-topic />

I'm trying to give the crystalhd branch a swing with distcc as I have 2 machines in the network with enough cores to spare (trying to beat the 15min speed record Davilla spoke of earlier). I think I have to do some magic with the bootstrapping as the ./configure chokes on distcc --version

any pointers?

thanks!
Martijn

configure does not know about distcc so configure like normal. then

mkdir -p /usr/lib/distcc/bin
cd /usr/lib/distcc/bin
ln -s ../../../bin/distcc cc
ln -s ../../../bin/distcc c++
ln -s ../../../bin/distcc gcc
ln -s ../../../bin/distcc g++


export PATH=/usr/lib/distcc/bin:"${PATH}"

only need to make the symlinks once. you can add the PATH to your login. I just paste and run it from a ssh session.

bootstrap and configure does not use distcc so they are poky, same with the link.

"make -j8" and away you go.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
dan1son Offline
Fan
Posts: 608
Joined: Dec 2008
Reputation: 0
Post: #46
pouldam Wrote:1. Can I just connect a USB keyboard and mouse and use these with Ubuntu (I believe not everything step can be done via SSH)?

2. And, is it possible to use the Apple remote running Ubuntu? Does it take a lot of work?

1. Yes you'll probably need a hub since you'll be using a USB stick as a bootloader. But any standard HID keyboard/mouse should work fine. I used my handy hacker keyboard Smile.

2. It's possible, http://code.google.com/p/atv-bootloader/...teIRDriver, (you shouldn't need to mess with the HIDDEV part of that), but holding the button doesn't throw an event, so you're limited to 6 instead of the 12 you get in OSX/ATV OS. Which was enough to make me drop $40 on a proper MCE remote.
find quote
cbm64 Offline
Junior Member
Posts: 3
Joined: Nov 2009
Reputation: 0
Post: #47
Ah. So no special sauce is needed to prepare this project for distcc.

I've tried this approach earlier and also a make -j7 CXX=distcc LD=g++ as I expected some troubles with linkage and recalled some notions about local linking in the '80-pages-plus thread'. Still no dice.

Well. Everything breaks /eventually/ on cpp cross-compiling. Occasionally some simple cpp slips through. As the slaves are x86_64 it breaks somewhere... I'll get back. This is not XBMC related.

Thanks for clearing out,
cheers,
M
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,397
Joined: Feb 2008
Reputation: 58
Post: #48
cbm64 Wrote:Ah. So no special sauce is needed to prepare this project for distcc.

I've tried this approach earlier and also a make -j7 CXX=distcc LD=g++ as I expected some troubles with linkage and recalled some notions about local linking in the '80-pages-plus thread'. Still no dice.

Well. Everything breaks /eventually/ on cpp cross-compiling. Occasionally some simple cpp slips through. As the slaves are x86_64 it breaks somewhere... I'll get back. This is not XBMC related.

Thanks for clearing out,
cheers,
M

might check out this link, deals with distcc but the interesting bits are the setup for installing the required gcc bits if your distro is not the same flavor.

EDIT, http://ubuntuforums.org/showthread.php?t=28454


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
cake Offline
Junior Member
Posts: 35
Joined: Nov 2009
Reputation: 2
Post: #49
davilla Wrote:"horizontal lines 'scrolling' down the screen" sounds like a vsync problem.

Here is how it looks:
[Image: 118kkdd.png]
find quote
dan1son Offline
Fan
Posts: 608
Joined: Dec 2008
Reputation: 0
Post: #50
cake Wrote:Here is how it looks:

Same thing I'm occasionally getting. Either that or a black bar at the top portion of that split. Can't seem to figure it out since it's not consistent and not even at the same place in the same movies. I've tried every combination of vsync settings I can think of (nvidia-settings or xbmc).

I did just switch from SMB to NFS seeing as though with SMB I was getting around 4-5MB/s and with NFS I get 9-10MB/s (same as wget from my local server). This is over 802.11n. We'll see how that works out when I get home.
find quote
Post Reply