• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 34
[LINUX] Problems compiling crystalhd branch
#61
csbook Wrote:I have bcmFilePlayFW.bin in /usr/lib but it doesn't seem to make much difference being there. Is there a step I'm missing to get this picked up?

"bcmFilePlayFw.bin", not "bcmFilePlayFW.bin"
Reply
#62
davilla Wrote:Strange, how can you have two files with the exact name in the same place ? Ahh, I see "w" vs "W" at the end. Needs to be "bcmFilePlayFw.bin"
I guess it would be problematic in ATV's native system, as it is typically case-insensitive HFS.

Quote:No matches to anything I have Smile
I gotta hack into your computer one of these days, try and get a hold of all that good stuff you've been keeping to yourself =P

I just hope Broadcom doesn't pull the rug under our feet (arrington's crunchpad style). Cheers
Edit: it's late, and I now realize it wouldn't make any sense for such a thing to happen, nor does it bear any resemblance to what happened to the CrunchPad. My bad Smile
Reply
#63
andrereis Wrote:I just hope Broadcom doesn't pull the rug under our feet (arrington's crunchpad style). Cheers
Edit: it's late, and I now realize it wouldn't make any sense for such a thing to happen, nor does it bear any resemblance to what happened to the CrunchPad. My bad Smile

I see no sign of this, big corporate just moves slow.
Reply
#64
davilla Wrote:"bcmFilePlayFw.bin", not "bcmFilePlayFW.bin"

That did it, thanks!
Reply
#65
** Never Mind - Fixed **

Following the instructions from README.ubuntu

# sudo apt-get build-dep xbmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Build-Depends dependency for xbmc cannot be satisfied because no available versions of package debhelper can satisfy version requirements

What did I fubar?

sources.list additions:

deb http://ppa.launchpad.net/team-xbmc/hardy-ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/team-xbmc/hardy-ppa/ubuntu hardy main

deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu hardy main

deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu hardy main

** Don't put stable and SVN ***
deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu hardy main


deb http://ppa.launchpad.net/team-xbmc/previ...ble/ubuntu hardy main
deb-src http://ppa.launchpad.net/team-xbmc/previ...ble/ubuntu hardy main
Reply
#66
I used the "manual" line..
Reply
#67
I can't seem to get the nvidia stuff working...

When I start XBMC it complains the it needs hardware...

No module on modprobe...

Compile complains: No rule to make target `arch/x86/kernel/asm-offsets.c (for 190)

So, what should be installed?
Reply
#68
(from the other crystalhd thread)
andrereis Wrote:- Apple Remote button holds (press and hold) recognized by LIRC
- A decent keymap for the Apple Remote, something that works like Plex does. There are so many things wrong with the way it's currently set up, I won't even begin to discuss them here.

A bit of a follow-up on this. Running 'irw' shows that holding down a button on my remote generates the correct "repeat" codes, so the only thing that's missing is getting XBMC to recognize those events.

I'm a bit surprised to see that the latest keymaps and Lircmaps in svn don't yet have a decent config for the Apple Remote. Doesn't anyone use this thing around here?
Reply
#69
agehring Wrote:I can't seem to get the nvidia stuff working...
I'm somewhat confused. By nvidia stuff you mean the restricted driver? On a clean boot of Ubuntu 8.04 in the AppleTV, the system suggests that you install the restricted module, and doing so works perfectly. It'll fetch version 163.something, which works fine.

Quote:When I start XBMC it complains the it needs hardware...
What hardware, the Broadcom card or something NVidia-related?

Quote:Compile complains: No rule to make target `arch/x86/kernel/asm-offsets.c (for 190)
What are you trying to compile here, when this error occurs? Broadcom module, nvidia module?
Reply
#70
davilla Wrote:1) yes. kernel version related, a double free of a semaphore. older kernels don't care, newer ones will panic.

I took a stab at patching the driver for Ubutnu 9.04 since that's what I'm running. I noticed an extra mpc_unlock_irq in bc_link_dioq_fetch_wait() and by fixing that I don't have any more panics.

However, all I get now is the audio playing and a video update every 30 seconds or so. The log is packed with crystalhd timeouts:

http://pastebin.com/m194c1623
Reply
#71
csbook Wrote:I took a stab at patching the driver for Ubutnu 9.04 since that's what I'm running. I noticed an extra mpc_unlock_irq in bc_link_dioq_fetch_wait() and by fixing that I don't have any more panics.

However, all I get now is the audio playing and a video update every 30 seconds or so. The log is packed with crystalhd timeouts:

http://pastebin.com/m194c1623

your patch would be more interesting to seeSmile
Reply
#72
Evinyatar Wrote:I just set up a new session type for XBMC, so instead of going into a gnome desktop at logon it goes straight into XBMC. You can choose the session at the logon prompt. No memory hogging desktop environments for me.
Just create a simple script /usr/bin/launch-xbmc containing:
Code:
#!/bin/sh
/usr/local/bin/xbmc --standalone
Chmod 755 it. Then create the file /usr/share/xsessions/xbmc.desktop:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=XBMC
Comment=XBMC
Exec=/usr/bin/launch-xbmc
Icon=
Type=Application

In the logon screen click 'Options' and 'Select session'. Choose XBMC from the list et voila.

This works perfectly, is there anyway to make this log in automatically?

EDIT: Nevermind, combining the following with Evinyatar's solution above boots me directly in XBMC from a cold boot. Perfect!

http://wiki.xbmc.org/?title=HOW-TO_insta...ptional.29

ATV-Bootloader -> Unbuntu -> Xfce (Auto Login) -> XBMC

YAY!

I couldn't figure out how to compile the Crystal HD trunk correctly (I'm a Windows/Visual Studio dev), but even with Ubuntu 8.04 and XBMC 9.11b1, the skin is fluid, DVD ISO's load in half the time and I can safely say I haven't have this perfect of a XBMC install since the XBox builds.

I also have to give it up for Jezz_X and his wonderful work on Confluence, it is an absolute beauty on the ATV. No sluggishness at all!
Reply
#73
I set up two accounts; one for xbmc and one for myself. The xbmc account has XBMC as the default session, mine Gnome. In the 'Sessions' administration tool xbmc is set to log on after 10 seconds. That way I can still easily log into gnome without too much clicking, and XBMC launches automatically if I don't.
Reply
#74
davilla Wrote:your patch would be more interesting to seeSmile

Code:
--- ../../bcm70012_linux_01142009/linux_release_generic/Driver/bc_link_misc.c   2009-01-14 15:00:45.000000000 -0500
+++ bc_link_misc.c      2009-12-02 08:02:08.000000000 -0500
@@ -681,6 +681,7 @@

                bc_link_wait_on_event(&ioq->event, (ioq->count>0), 1000, rc, 0);
                if(rc == 0){
+                        mpc_lock_irq(&ioq->lock,flags);
                        break;
                }else if(rc == -EINTR){
                        MPCLOG(MPCLOG_INFO,"Cancelling fetch wait\n");
Reply
#75
andrereis Wrote:I'm somewhat confused. By nvidia stuff you mean the restricted driver? On a clean boot of Ubuntu 8.04 in the AppleTV, the system suggests that you install the restricted module, and doing so works perfectly. It'll fetch version 163.something, which works fine.

I did a netboot install of 8.04 - at the time the only "package" I installed was the openssh. Then I installed xfce "after the fact". When I try and start XBMC, it complains that I don't have hardware acceleration.

I played with the nvidia drivers (nvidia-glx-legacy, nvidia-glx and nvidia-glx-new) with no success. I did get the nvidia-glx to load (according to lsmod, but xbmc still complained about no hardware acceleration.


andrereis Wrote:What hardware, the Broadcom card or something NVidia-related?
I think the Broadcom is OK, at least according to dmesg (although I see a CDisconnect right after the connect). My issue seems to be solely with the nvidia drivers...


andrereis Wrote:What are you trying to compile here, when this error occurs? Broadcom module, nvidia module?

I had tried installing the nvidia-190 drivers, and compiling the module in /usr/src/nvidia-190.68(? / recalling from memory). The error is received when trying to do a "make module"

While I had success compiling the CrystalHD source according the guide posted elsewhere, I'm going to start over - Does anyone have some sort of guide to a base install of Ubuntu 8.04 on a ATV via netboot? (I've 'googled' it..., no / poor results).

Or at least a guide to getting the nvidia stuff setup after a netboot install...
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 34

Logout Mark Read Team Forum Stats Members Help
[LINUX] Problems compiling crystalhd branch2