cake Wrote:I've tried compiling latest trunk, i've tried the rev before r25048 (as davilla suggested) but there is just no compiling it.
That better be crystalhd branch not latest trunk
Pastebin your compile errors, that's always a good start.
Installing 8.04 onto an atv-bootloader card now. Hopefully 4gigs is enough.
I'll be getting gstreamer working first (looks to be fairly straight forward with the drivers out in the wild) then I'll give compiling CrystalHD XBMC branch a go. I'll definitely post my progress here.
EDIT: After taking FAR too freakin long to install onto a USB flash drive, I replaced the hard disk in the appletv with an old one out of a laptop. Gonna try this again.
One thing is for sure, totem didnt want to play any x264 on my karmic install
A view hints :
Copy the files from
http://trac.xbmc.org/changeset/22347/branches/xdmx/XBMC to /usr/include/crystalhd
ls -l /usr/include/crystalhd/
-rwxr-xr-x 1 root root 86870 Nov 26 09:41 7411d.h
-rwxr-xr-x 1 root root 16587 Nov 26 09:41 bc_dts_defs.h
-rwxr-xr-x 1 root root 1910 Nov 26 09:41 bc_dts_types.h
-rwxr-xr-x 1 root root 43370 Nov 26 09:41 bc_ldil_if.h
drwxr-xr-x 2 root root 4096 Nov 26 09:41 link
drwxr-xr-x 2 root root 4096 Nov 26 09:41 linux
-rwxr-xr-x 1 root root 15568 Nov 26 09:41 vdec_info.h
drwxr-xr-x 3 root root 4096 Nov 26 09:41 windows
bc_ldil_if.h is a copy of windows/bc_drv_if.h
Copy bcmFilePlayFw.bin -> /usr/lib/bcmFilePlayFw.bin
Copy libldil.so.1.0 -> /usr/lib/libldil.so.1.0
Link /usr/lib/libldil.so.1.0 //usr/lib/libldil.so.1
Link /usr/lib/libldil.so.1.0 /usr/lib/libldil.so
On archlinux i had to edit /usr/include/crystalhd/bc_dts_types.h and remarked "typedef void VOID;" ( //typedef void VOID; )
bcm_70012_dev.sh is found in linux_release_generic/Driver/.
I also copied /usr/include/crystalhd -> xbmc_src/lib/.
gimli : got it all compiled under ubuntu, but i am getting :
*ERR*:...bc_link_cmds.c:315: Link invalid state 0
Probably missing 'bcmFilePlayFw.bin'. Where did you get that ?
hisper Wrote:gimli : got it all compiled under ubuntu, but i am getting :
*ERR*:...bc_link_cmds.c:315: Link invalid state 0
Probably missing 'bcmFilePlayFw.bin'. Where did you get that ?
The HP Mini 110 distro has it.
davilla Wrote:The HP Mini 110 distro has it.
Any hints on where? Having some problems finding that one in the plethora of information...
EDIT:
Scratch that... It was installed with one of the debs in the right place.
OK. I just want to make sure this is still the case. I need to go through the steps on the bootloader to get sound working even on 8.04? I'm not getting any sound right now (I really want optical AC3 pass-through to work). Is that a possibility at all?
I should clarify I'm only trying sound playback in totem right now. Can't get anything to play through HDMI or optical. (assuming those use the same output on the card?)
dan1son Wrote:OK. I just want to make sure this is still the case. I need to go through the steps on the bootloader to get sound working even on 8.04? I'm not getting any sound right now (I really want optical AC3 pass-through to work). Is that a possibility at all?
I should clarify I'm only trying sound playback in totem right now. Can't get anything to play through HDMI or optical. (assuming those use the same output on the card?)
yes.
I'm also running nvidia 185.18.14 but analog out. Not sure if audio over hdmi works with this version.
Other hints, install cpufreq as Ubuntu 8.04 will cycle down to 600MHz when CPU drops below 20 percent.
sudo cpufreq-set -d 1000MHz -u 1000MHz
will stop that silliness.
Add "processor.max_cstate=2" to the kernel boot args in menu.1st to keep out of C3.
gimli, that makes this much less sporting!
crystalhd branch is safe now, I highly recommend enabling pixel buffer objects in settings -> system -> video