Problem getting Broadcom Crystal HD BMC70015 to work with XBMC

  Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #211
icedtrip Wrote:Or I guess I should ask, is SD content offloaded to the CHD card or only HD content? This question isn't for you umpa, just anyone that knows.

only HD content.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
umpa Offline
Junior Member
Posts: 27
Joined: Jun 2004
Reputation: 0
Post: #212
I know I don't have a log file yet ( need to find out where ATV stores it) but do you have any idea why it will play 1080p .mkv files perfect, but not any other media type, from sd divx to .mt2s files, all fail to play.

I have tried all versions from 10.1 to Eden beta 2 and it's the same result.

Cheers

Ump.
find quote
umpa Offline
Junior Member
Posts: 27
Joined: Jun 2004
Reputation: 0
Post: #213
It seems to be my nas drive and nothing to do with the card, weird shits happening over at our place lol.

Just to add my card is playing everything fine....

I did not realise that the LAN is only 100mb, I thought it was 1gb, ahh well !!!
(This post was last modified: 2012-01-31 22:32 by umpa.)
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,155
Joined: Jan 2011
Reputation: 276
Location: Arizona, USA
Post: #214
davilla Wrote:only HD content.

Those specs you sent me the other day did mention some SD codecs. Is it just in XBMC that it only does HD, or that those SD formats are in the minority (or my web browser jumped to a page about chocolate chip muffins while I was half awake, again)?
find quote
mbeyer Offline
Junior Member
Posts: 21
Joined: Dec 2009
Reputation: 0
Post: #215
I have now tried multiple versions of libcrystalhd, bcm70015 firmware, xbmc and even switched the os, but still no where near fluent seeking...
I'd really aprechiate some help with this...
find quote
drdeft Offline
Junior Member
Posts: 2
Joined: Jan 2012
Reputation: 0
Post: #216
I haven't had any luck with bcm70015 on Linux either. In addition to trying multiple versions of the driver, libcrystalhd and firmware, I have compiled them on different kernel versions for 32 bit and 64 bit. I ended up with the same errors in /var/log/messages every time as reported by Zipiju earlier in this thread [2011-10-13, 13:04]... "Error bit occurred, RetVal:c00018/ Firmware image signature failure/ Firmware download failure" during playback. The card works fine under windows xp - able to play 1080p streaming video. I am using an Intel D510MO motherboard.

I can certainly use some help as well...
find quote
Spaff Offline
Junior Member
Posts: 3
Joined: Jun 2010
Reputation: 0
Post: #217
drdeft Wrote:I haven't had any luck with bcm70015 on Linux either. In addition to trying multiple versions of the driver, libcrystalhd and firmware, I have compiled them on different kernel versions for 32 bit and 64 bit. I ended up with the same errors in /var/log/messages every time as reported by Zipiju earlier in this thread [2011-10-13, 13:04]... "Error bit occurred, RetVal:c00018/ Firmware image signature failure/ Firmware download failure" during playback. The card works fine under windows xp - able to play 1080p streaming video. I am using an Intel D510MO motherboard.

I can certainly use some help as well...

I've got the exact same problems - I've tried various things, even completely reinstalling my crystalbuntu, and self-compiling drivers and libs from broadcom, googlecode, git, svn, etc, etc. Nothing works.

Here's my details from dmesg, etc:
http://stmlabs.com/forum/topic/repair-cr...-libdriver

Davilla - do you have any insights why this happens?
find quote
mudd1 Offline
Junior Member
Posts: 4
Joined: Oct 2011
Reputation: 0
Post: #218
(2011-08-08 09:03)An9eluS Wrote:  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.

It's an issue with the Crystal HD driver (got nothing to do with XBMC, no other player will be able to use Crystal HD after resume) that's still not fixed in Ubuntu 12.04. However, there is quite an easy workaround:

In /etc/pm/sleep.d/ (in 10.04 it might still be /etc/sleep.d) you have to put a file called 20_crystalhd or suchlike. In it put:

Code:
#!/bin/bash
case "${1}" in
    resume|thaw)
        modprobe -r crystalhd
        modprobe crystalhd && chmod a+rw /dev/crystalhd
;;
esac

Actually, I use a slightly different command line as I have a media group that's granted write access to the device file, not everybody. Well, probably doesn't matter either way on an HTPC. The important thing is to unload and then reload the crystalhd kernel module and on Ubuntu 12.04 to make the device writable again. This might not be necessary for you at all since you didn't seem to have had the problem of /dev/crystalhd being only writable for root in the first place.

Anyway, don't forget to make the file in /etc/pm/sleep.d/ executable and voila, you should have a working Crystal HD, no matter if you suspended or not.

The syslog looks something like this BTW:

Code:
Mar 15 07:43:43 Saffron kernel: [43680.046482] crystalhd 0000:0b:00.0: restoring config space at offset 0xf (was 0x159, writing 0x10b)
Mar 15 07:43:43 Saffron kernel: [43680.046521] crystalhd 0000:0b:00.0: restoring config space at offset 0x6 (was 0x4, writing 0xf0000004)
Mar 15 07:43:43 Saffron kernel: [43680.046538] crystalhd 0000:0b:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf0800004)
Mar 15 07:43:43 Saffron kernel: [43680.046551] crystalhd 0000:0b:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x8)
Mar 15 07:43:43 Saffron kernel: [43680.046567] crystalhd 0000:0b:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100106)
Mar 15 07:43:43 Saffron kernel: [43680.049191] crystalhd 0000:0b:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
Mar 15 07:43:43 Saffron kernel: [43680.049206] crystalhd 0000:0b:00.0: setting latency timer to 64
Mar 15 07:43:43 Saffron kernel: [43680.049377] crystalhd 0000:0b:00.0: irq 47 for MSI/MSI-X
Mar 15 07:43:43 Saffron kernel: [43680.049439] crystalhd_hw_resume: Invalid Arguments

Mar 15 07:43:43 Saffron kernel: [43680.049445] crystalhd 0000:0b:00.0: Crystal HD Resume 1
Mar 15 07:43:43 Saffron kernel: [43681.576203] Unloading crystalhd 3.10.0
Mar 15 07:43:43 Saffron kernel: [43681.578872] crystalhd 0000:0b:00.0: released api device - 251

Mar 15 07:43:43 Saffron kernel: [43681.598430] Loading crystalhd v3.10.0
Mar 15 07:43:43 Saffron kernel: [43681.598502] crystalhd 0000:0b:00.0: Starting Device:0x1615
...

So the Crystal HD driver tries to resume, fails miserably and then the unload/reload code kicks in. Maybe it would be cleaner to unload the module before suspend and then load it after resume but well, this works and it takes no time.
find quote
momaku Offline
Junior Member
Posts: 49
Joined: Jan 2013
Reputation: 0
Post: #219
Hi.

I am thinking to make a HTPC with Atom D2700, Broadcom Crystal HD BCM970015 and Openelec.

And I read the lasts post about problems with the Crystal with Linux. And now I have doubts.

Does this card work without problem with Linux? Are people having many problems with this card?

Thanks.
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,155
Joined: Jan 2011
Reputation: 276
Location: Arizona, USA
Post: #220
Still works great for me.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
momaku Offline
Junior Member
Posts: 49
Joined: Jan 2013
Reputation: 0
Post: #221
(2013-01-23 15:43)Ned Scott Wrote:  Still works great for me.

Thanks.

I was worried it was good hardware but bad drivers.
find quote
d1no Offline
Junior Member
Posts: 1
Joined: Feb 2013
Reputation: 0
Post: #222
I just updatet from 12.04.1 to 12.04.2 and quantal kernel and now the crystal hd module is broken:

https://bugs.launchpad.net/ubuntu/+sourc...ug/1075814

Is it possible to build a new module from source or how can i fix it?


//solved

http://forum.xbmc.org/showthread.php?tid...pid1294123
(This post was last modified: 2013-02-16 15:39 by d1no.)
find quote
Post Reply