Kodi Community Forum
[LINUX] Problems compiling crystalhd branch - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [LINUX] Problems compiling crystalhd branch (/showthread.php?tid=62708)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


- waldo22 - 2009-12-06

davilla Wrote:Cool, thanks for the info. This matches the latest firmware that we have internally. So no firmware change to support FLASH, good.

Yes, there is a DirectShow filter, don't think you would need CrystalHD branch as the decoding is handled by the DirectShow filter. Not sure how that all works, tiben20 would know. I think all he needs to know are the DirectShow filter details and it should just work. Bluray demuxing might/might not work, CrystalHD branch is using the demuxer from the xdmx branch to demux m2ts files.

Glad to help. This is really awesome to give users so much choice for HW acceleration.

We soon will be able to use your CrystalHD branch for all platforms, VDPAU for Linux, DXVA for Windows, or DirectShow and CrystalHD for Windows.

Lots of good options.


replace bcmFilePlayFw.bin - cake - 2009-12-06

waldo22 Wrote:MD5 of bcmFilePlayFw.bin Version: 2.60.34.0 is:
358334f95b44079cb8492d30b36c261c

FYI, when you run an EXE or MSI installer, it usually extracts the contents to "Local Settings\Temp\"

This one put another msi installer in that folder, so I had to copy the contents to my own folder, c:\broadcomdriver, before closing the installer.

I then used the command
Code:
msiexec /a "Broadcom CrystalHD Decoder.msi" /qb TARGETDIR=c:\BroadcomMSIContents

I don't have the card yet, but I think this worked fine.

This left me with a folder with a whole lot of stuff in it, but most importantly, in the
Code:
c:\BroadcomMSIContents\program files\Broadcom\Broadcom CrystalHD Decoder
folder, I have the following:
(all dated 8/14/2009)
Code:
# Broadcom WDM Driver for 7001X series Controller. (Version:2.36.0.0)
## brcmhd32.inf
## brcmhd32.sys
## brcmhd32.cat
# Driver Interface Library (bcmDIL.dll) - (Version:2.37.0)
# DirectShow Filter (bcmDFilter_ns.dll) - (Version:2.57.0)
# Firmware file (bcmFilePlayFw.bin)  - (Version: 2.60.34.0)

... so there is a DirectShow filter Big Grin

What does that mean for tiben20's DS branch? If we use his DSPlayer with that filter, do we need to compile the CrystalHD branch at all on Windows?

-Wes

PS. now if I could just do that type of stuff in Linux, I would be much more useful

I suppose this is a newer version of the firmware than what was found in the "leaked" linux driver. Anyone know any specific difference? Is it worth "upgrading" ?


- davilla - 2009-12-07

I've moved the AppleTV event client for Linux dicussion to its own thread, looks like promising work Smile

http://forum.xbmc.org/showthread.php?tid=63513


- TeknoJnky - 2009-12-07

should noobish (and potentially unrelated to this particular thread) questions regarding atv > linux > crystalhd be posted here, the atv forum or the linux forum?


- davilla - 2009-12-07

TeknoJnky Wrote:should noobish (and potentially unrelated to this particular thread) questions regarding atv > linux > crystalhd be posted here, the atv forum or the linux forum?

crystalhd development question, here.

ATV does not really have it's own forum, part of XBMC for Mac forum but that should be kept XBMC for Mac on the ATV related.

XBMC for Linux on the ATV, belongs in Linux forum.

if linux os related (how do I install, blah, blah, xorg, blah, blah) linux forums.


- padukes - 2009-12-08

Hi All,

Does the below mean that the crystalhd didn't start properly?

Quote:Dec 7 20:04:40 mini kernel: [1341061.661403] Loading mpclink 0.9.26
Dec 7 20:04:40 mini kernel: [1341061.661447] PCI_INFO: Vendor:0x14e4 Device:0x1612 s_vendor:0x14e4 s_device: 0x2612
Dec 7 20:04:40 mini kernel: [1341061.661475] Broadcom 70012 Decoder 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Dec 7 20:04:40 mini kernel: [1341061.661731] allocated 18 elem
Dec 7 20:04:40 mini kernel: [1341061.661887] Starting BCM70012 Device
Dec 7 20:04:41 mini kernel: [1341061.868050] CStopping BCM70012 Device

I ask because I get this when I try to watch videos in XBMC:
Quote:19:14:58 T:2905459568 M:830345216 NOTICE: Opening video stream: 0 source: 256
19:14:58 T:2905459568 M:830345216 NOTICE: Creating video codec with codec id: 28
19:14:58 T:2905459568 M:830345216 INFO: Trying Broadcom Crystal HD Decoder...
19:14:58 T:2905459568 M:830345216 DEBUG: FactoryCodec - Video: - Opening
19:14:58 T:2905459568 M:830345216 ERROR: CrystalHD: Failed to open Broadcom Crystal HD
19:14:58 T:2905459568 M:830345216 ERROR: DVDVideoCodecCrystalHD: Failed to open Broadcom Crystal HD
19:14:58 T:2905459568 M:830345216 DEBUG: FactoryCodec - Video: - Failed

Thanks!
P

p.s. This is in Ubuntu 9.10


- davilla - 2009-12-08

padukes Wrote:Hi All,

Does the below mean that the crystalhd didn't start properly?



I ask because I get this when I try to watch videos in XBMC:


Thanks!
P

p.s. This is in Ubuntu 9.10

ls /usr/lib/bcmFilePlayFw.bin


- pouldam - 2009-12-08

Uncertain if this is the right forum, so please bear with me...

ATV + Ubuntu + Broadcom + XBMC is really nice, however, there is one thing that bugs me. With my Playstation 3 I can play DVDs and have these upscaled to 1080p with great results. When I run XBMC in 1080p I am not getting anywhere near as good results. Are there any options in XBMC or the NVidia control panel in Ubuntu that need to be tweaked or will I never be able to achieve good scaling on the ATV platform -- I would really like to get rid of my noisy PS3 ;-)


- padukes - 2009-12-08

davilla Wrote:ls /usr/lib/bcmFilePlayFw.bin

Here's the ouput of the ls and an md5sum just to be safe:

Quote:root@mini:~# ls -als /usr/lib/bcmFilePlayFw.bin
2728 -r-xr-xr-x 1 root root 2786404 2009-12-07 20:03 /usr/lib/bcmFilePlayFw.bin
root@mini:~# md5sum /usr/lib/bcmFilePlayFw.bin
358334f95b44079cb8492d30b36c261c /usr/lib/bcmFilePlayFw.bin



- TeknoJnky - 2009-12-08

well I managed to get ubuntu installed to my atv, the bcm drivers installed and crystalhd compiled and xbmc actually runs and plays video, but I'm not seeing any hardware assist, I'm missing audio (over hdmi), and I must have screwed up something with the lirc/event server because the remotes not working.

I'll dig through xbmc log, and all the threads/wiki's to figure out what I missed as soon as I get time.

Thanks to all who have contributed and shared there knowledge/experience, I wouldn't have gotten this far without it.


- Evinyatar - 2009-12-08

Did you compile XBMC from the crystalhd branch?
Audio over HDMI is not supported with the latest NVidia drivers. It should be possible with older drivers though but I haven't tried that yet myself. (See here).
Forget LIRC, use the native xbmc client. See here.


- TeknoJnky - 2009-12-08

yea crystalhd+ the xbmx parts

I'm using whatever nvidia drivers were install with ubuntu and/or the xbmc dependencies

ill check out the links, thanks!


- davilla - 2009-12-08

padukes Wrote:Here's the ouput of the ls and an md5sum just to be safe:

humm, odd. And crystalhd lib is also in /usr/lib ?

just noticed that you mentioned ubuntu 9.10. You did make the driver patch to support operation with that kernel version right?


- padukes - 2009-12-09

davilla Wrote:humm, odd. And crystalhd lib is also in /usr/lib ?

just noticed that you mentioned ubuntu 9.10. You did make the driver patch to support operation with that kernel version right?

I didn't :-( Can you give me a pointer (no pun intended) on where to look?

Thanks!
P


- TeknoJnky - 2009-12-09

a couple quickie questions

- is it considered 'safe' to svn up, from say 'svn co -r 25101' on the crystalhd branch ? assuming there aren't any issues with latest rev at that point in time. IE Will it break the norco (or other) drivers ?

- now that there are a few different driver releases floating around, is there a 'better' or more preferred one than the norco?

- I wonder why the exact revision wasn't listed in the system info (said something about alpha 2 if I remember)

Asking now so I don't screw everything up if/when I get what I got working...