• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
Problem getting Broadcom Crystal HD BMC70015 to work with XBMC
homer_doh Wrote:davilla, is there a roadmap for Crystal HD in Mac mini/ATV? There hasn't been any updates to the driver/kext since october 2010. It works quite well for me, 720p @ 59.94 is pretty much the only (repeatable) issue I have.

The ATV2 has to be a tough competitor (I have one, for the money it's incredible) and I understand if the development focus has shifted to that platform. I'm not complaining or anything, just want to know if Crystal HD in Mac mini is still in active development?

No roadmap except to update it (xbmc code, chd lib/driver) at some time. I don't give out timelines as they are too volatile and tend to change.
Reply
Thumbs Up 
davilla Wrote:No roadmap except to update it (xbmc code, chd lib/driver) at some time. I don't give out timelines as they are too volatile and tend to change.

@davilla, are there many/any fixes in the Crystal/Broardcom drivers/firmware/lib since the current version ?

Is there a road-map of feature that my be supported in better the future like MPEG2 ? utilizing the full capabilities of the Crystal HD card ?

I don't suppose anything can be done to improve the support of VC-1 ?

I understand that if there i no significant demand there is little chance of changes.

Thanks ! Big Grin
Reply
I've got an Intel d510mo atom box running on Ubuntu 10.04 and got a Crystal HD BMC70012 a couple of days ago.

I installed the driver and libs found here:
git://git.wilsonet.com/crystalhd.git

I was then able to compile XBMC from the trunk with Crystal HD being detected when I ran the ./configure

It seems to run fine, I only have a few HD videos but there's about 30% less strain on the CPU and no juddering when it's using CHD as the renderer.

My problem is with suspending the system, which obviously you do with a htpc all the time.
Every time I suspend and wake if I play a HD video the renderer is now FF instead of CHD. If I look in settings > videos > playback I can see that there is no longer any Crystal HD rendering option present.

At this point I jumped back out to the terminal and ran lsmod, the crystalhd driver is still loaded after resume.

So why can't XBMC detect it anymore, is this a known issue? I googled my ass off before posting this as I didn't want to bark up an old tree.

Let me know if xbmc or system logs will help.
Reply
Hi I have a problem.

I have pulled new code from git, and when I try to compile I get the following error.

CC [M] /root/tmp/crystalhd/driver/linux/crystalhd_flea_ddr.o
/root/tmp/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function 'crystalhd_flea_ddr_pll_config':
/root/tmp/crystalhd/driver/linux/crystalhd_flea_ddr.c:152: error: implicit declaration of function 'msleep_interruptible'
cc1: warnings being treated as errors
At top level:
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"


I've tried gcc 4.4.6 and 4.5.3 to no avail. I've also tried to edit the .crystalhd_fleafuncs.o.cmd but it keeps getting overwritten. Any idea how I can get this to compile?
Reply
Hi,
today i have installed BCM70015 on XBMC Live 10.1.
After boot, this is in dmesg and the card is not accelerating video:

Code:
[   12.001757] Loading crystalhd v3.10.0
[   12.001784] crystalhd 0000:02:00.0: Starting Device:0x1615
[   12.002149] crystalhd 0000:02:00.0: PCI INT A -> Link[LNEA] -> GSI 19 (level, low) -> IRQ 19
[   12.002513] crystalhd 0000:02:00.0: irq 27 for MSI/MSI-X
[   12.072046] crystalhd 0000:02:00.0: setting latency timer to 64
[   26.253059] crystalhd 0000:02:00.0: Opening new user[0] handle
[   26.517021] crystalhd 0000:02:00.0: [crystalhd_flea_download_fw]: step 7. Error bit occured. RetVal:c00018
[   26.517027] crystalhd 0000:02:00.0: [crystalhd_flea_download_fw]: step 7. Firmware image signature failure.
[   26.517030] crystalhd 0000:02:00.0: Firmware Download Failure!! - -1
[   26.626713] crystalhd 0000:02:00.0: Closing user[0] handle via ioctl with mode 417a00

lspci output:

Code:
02:00.0 Multimedia controller: Broadcom Corporation Device 1615
        Subsystem: Broadcom Corporation Device 1615
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 27
        Region 0: Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
        Region 2: Memory at fe000000 (64-bit, non-prefetchable) [size=8M]
        Capabilities: <access denied>
        Kernel driver in use: crystalhd
        Kernel modules: crystalhd

I've also tried drivers from Broadcom site, from http://git.wilsonet.com/crystalhd.git/ and from http://code.google.com/p/crystalhd-for-osx/, but it's almost the same issue.

Finally, i've put that card into another PC with windows, and there it is working as expected.

Any ideas?
Thanks.
Reply
Did you also install the lib and firmware?
Reply
Yes I did.

Edit: To be exact, the firmware is located in /lib/firmware

Code:
-rw-r--r--  1 root root 2786404 2011-10-13 17:30 bcm70012fw.bin
-rw-r--r--  1 root root  864276 2011-10-13 17:31 bcm70015fw.bin
-rw-r--r--  1 root root 2786404 2011-10-13 17:31 bcmFilePlayFw.bin

And lib is in /usr/lib/

Code:
lrwxrwxrwx  1 root root       19 2011-10-13 17:30 libcrystalhd.so -> libcrystalhd.so.3.6
lrwxrwxrwx  1 root root       19 2011-10-13 17:30 libcrystalhd.so.3 -> libcrystalhd.so.3.6
-rwxr-xr-x  1 root root   121236 2011-10-13 17:30 libcrystalhd.so.3.6

davilla Wrote:Did you also install the lib and firmware?
Reply
Firmware image signature failure
Reply
davilla Wrote:Firmware image signature failure
Any solution to this problem?
Reply
whitebox:~ davilla$ md5 /usr/lib/bcm70015fw.bin
MD5 (/usr/lib/bcm70015fw.bin) = 71d49df01f360f1581a1cfcf84bd1cfc
Reply
davilla Wrote:whitebox:~ davilla$ md5 /usr/lib/bcm70015fw.bin
MD5 (/usr/lib/bcm70015fw.bin) = 71d49df01f360f1581a1cfcf84bd1cfc

Same
Code:
XBMCLive:/lib/firmware$ md5sum bcm70015fw.bin
71d49df01f360f1581a1cfcf84bd1cfc  bcm70015fw.bin
Reply
Any chance this will be fixed in Eden?
Reply
brendch06 Wrote:Any chance this will be fixed in Eden?

It's not an xbmc problem, it's a crystalhd driver/lib/firmware/something issue.
Reply
Thanks for the reply Davilla, so even though crystal HD works fine in Media Player Classic, other programs- it's a broadcom problem that it doesn't work in XBMC?
Reply
brendch06 Wrote:Thanks for the reply Davilla, so even though crystal HD works fine in Media Player Classic, other programs- it's a broadcom problem that it doesn't work in XBMC?

If it's any consolation, I have exactly the same problem. I've tried several different kernel/driver/lib/firmware combinations, but haven't had a chance to test on "that other OS". At this point, I'm just glad to know that this doesn't appear to be a hardware problem. :-)
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15

Logout Mark Read Team Forum Stats Members Help
Problem getting Broadcom Crystal HD BMC70015 to work with XBMC4