Kodi Community Forum

Full Version: [LINUX] Problems compiling crystalhd branch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
dan1son Wrote:Still having slow ethernet problems. Not sure what else to try. Maybe upgrading the kernel manually or even running ubuntu 9.10 (assuming all of this stuff works on that).

Any other ideas to try?

EDIT:
Found what was causing it... now to find out why. I had "/bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg" running when killed everything got speedy again.

I've this proccess too... Is there any way to disable it? Because when I kill it, it apears again.
ok trying to get the driver/lib installed

dan1son Wrote:If you download the source from broadcom http://www.broadcom.com/support/crystal_hd/

unzip it in your home directory.
run 'dos2unix crystalhd/driver/linux/* crystalhd/linux_lib/libcrystalhd/* crystalhd/include/* crystalhd/include/link/*' from your home directory

Code:
xbmc@appletv:~$ dos2unix crystalhd/driver/linux/* crystalhd/linux_lib/libcrystalhd/* crystalhd/include/* crystalhd/include/link/*
dos2unix: File read/write error while converting crystalhd/include/link.
xbmc@appletv:~$

even tried with sudo same

Quote:Download davilla's patch posted a page or two ago. Put it in your home directory and type 'patch -p0 < patchfilename'


Code:
xbmc@appletv:~$ patch -p0 < davillapatch
patch: **** Only garbage was found in the patch input.

I assume from the error above.

I'll keep re-reading the thread incase I missed another post.
the official Broadcom released source code is now mirrored at

Code:
http://code.google.com/p/crystalhd-for-osx/source/browse/#svn/trunk/crystalhd

This svn also contains the line ending fixes, udev patches and anything else I have found so far. It's intended as the upstream osx kext/lib location but the Linux driver/lib are also contained here.

Note that osx kext/lib is not up yet, getting there Smile
Downloaded, compiled, installed and working, but xmbc doesn't... There is no support to crystalhd...
i5Js Wrote:Downloaded, compiled, installed and working, but XBMC doesn't... There is no support to crystalhd...

Sounds like the module isn't loaded. Is crystalhd listed when you do a lsmod? If it is, then go ahead and try forcing xbmc to use the crystalHD render method: System -> Video -> Playback -> Render method. I saw sdavilla just added the auto detect code for render method a day or so ago.

If it isn't listed in lsmod, run the bcm_70012_run.sh script to get it to load. If you are using the code from the code.google.com web page that sdavilla pointed to above, copy "20-crystalhd.rules" to "/etc/udev/rules.d/" so the module will load after a reboot.
Thanks for the answer..

aTV:~/post-install/crystalhd$ lsmod
Module Size Used by
crystalhd 47400 0

I think the module is loaded, but there is no support when I run ./configure --enable-crystalhd, I don't no why...

Thanks anyway.
i5Js Wrote:Thanks for the answer..

aTV:~/post-install/crystalhd$ lsmod
Module Size Used by
crystalhd 47400 0

I think the module is loaded, but there is no support when I run ./configure --enable-crystalhd, I don't no why...

Thanks anyway.

Ok, didn't know you were still compiling. Do you have /usr/include/libcrystalhd with these files in it: bc_dts_defs.h bc_dts_types.h libcrystalhd_if.h ? If so, I would question the branch or version of code you have checked out. Your using trunk and not the old crystalHD branch?
grrr i'm using the old crystalhd branch!!!!! I'm stupid!!!!

so, I have to checkout from https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ ?

BR
i5Js Wrote:grrr i'm using the old crystalhd branch!!!!! I'm stupid!!!!

so, I have to checkout from https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ ?

BR
Yep, should compile then.

svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk XBMCtrunk
At last!!!

------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: Yes
CrystalHD: Yes

Thank you very very much cj43!.

Compiling right now.
Finally compiled and installed, but I still having issues watching 1080p movies, this is "the pastebin"

http://pastebin.com/m47c8da44

BR
i5Js Wrote:Finally compiled and installed, but I still having issues watching 1080p movies, this is "the pastebin"

http://pastebin.com/m47c8da44

BR

I've seen the same issues on my build. Hopefully Davilla will figure out what is causing it and fix it when he gets a chance. Iam trying some older builds to see if they have the same problems.
i5Js Wrote:Finally compiled and installed, but I still having issues watching 1080p movies, this is "the pastebin"

http://pastebin.com/m47c8da44

BR

Your build looks old, can't tell since you clipped the log. but I see

Creating YUV NPOT texture of size

and svn@26268 has

Creating NV12 POT texture of size
Here is my xbmc.log. Same problem other people are reporting in this thread with playing 1080p. Seems to be something that started when it went to trunk and/or the switch to the official drivers. Here is the mediainfo if that will help.

Basically I just see the following lines over and over in the log while the video stutters:

DEBUG: CrystalHD: SetDropState... 0
DEBUG: CrystalHD: SetDropState... 1
cj43 Wrote:Here is my xbmc.log. Same problem other people are reporting in this thread with playing 1080p. Seems to be something that started when it went to trunk and/or the switch to the official drivers. Here is the mediainfo if that will help.

Basically I just see the following lines over and over in the log while the video stutters:

DEBUG: CrystalHD: SetDropState... 0
DEBUG: CrystalHD: SetDropState... 1

try killing PulseAudio, I've never had good luck running it. It does strange things.

quit xbmc, "pulseaudio -k" on the command-line.
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