Kodi Community Forum
[AppleTV] Compiling crystalhd-for-osx Lib/Kext - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: [AppleTV] Compiling crystalhd-for-osx Lib/Kext (/showthread.php?tid=66174)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


- WeakATV - 2010-01-07

davilla Wrote:try a ff .

Weird, results are inconsistent... Now it plays at 24 fps for a little bit (10-30 seconds), then drops to 10-11fps.

Line 212 is where it dropped - http://pastebin.com/m62d3e42b


- rastersize - 2010-01-07

davilla Wrote:try a ff .
May I ask what "try a ff ." means?

I've got similar issues with a 1080p movie (The Dark Knight, _size-of-rip_ / _movie-length_ = ~10 Mbit/s), frame drops began after line 957. Which in the movie was when you see the skyscraper and from there it just got worse. I endured about 2 minutes of it.
http://pastebin.com/m486f4c0e

Sorry for the giganormous log, I've highlighted some lines which at that time seemed somewhat relevant to Crystal HD.

Edit: I've been unable to find information on how to cut out a, say 100 MiB, section of a x264 encoded file packaged inside a mkv. If that would make debugging easier for you davilla? It's going to be troublesome supplying you with the full rip (~11 GiB). It's the proper version by CiNEFiLE, and yes I own a hard copy on BluRay so no need to scream at me Smile


- WeakATV - 2010-01-07

rastersize Wrote:May I ask what "try a ff ." means?

I've got similar issues with a 1080p movie (The Dark Knight, _size-of-rip_ / _movie-length_ = ~10 Mbit/s), frame drops began after line 957. Which in the movie was when you see the skyscraper and from there it just got worse. I endured about 2 minutes of it.
http://pastebin.com/m486f4c0e

Sorry for the giganormous log, I've highlighted some lines which at that time seemed somewhat relevant to Crystal HD.

Edit: I've been unable to find information on how to cut out a, say 100 MiB, section of a x264 encoded file packaged inside a mkv. If that would make debugging easier for you davilla? It's going to be troublesome supplying you with the full rip (~11 GiB). It's the proper version by CiNEFiLE, and yes I own a hard copy on BluRay so no need to scream at me Smile

Code:
tail -[b]ff[/b] /Users/frontrow/Library/Logs/xbmc.log



- fredaroony - 2010-01-07

fredaroony Wrote:I must have done something wrong when compiling the driver because I get this.

Code:
10:45:07 T:2684407808 M: 27897856   DEBUG: SECTION:LoadDLL(libcrystalhd.dylib)
10:45:07 T:2684407808 M: 27877376   DEBUG: Loading: libcrystalhd.dylib
10:45:07 T:2684407808 M: 27512832   ERROR: Unable to load libcrystalhd.dylib, reason: dlopen(libcrystalhd.dylib, 1): no suitable image found.  Did find:
                                                /usr/lib/libcrystalhd.dylib: mach-o, but wrong architecture
10:45:07 T:2684407808 M: 27512832   DEBUG: Dll libcrystalhd.dylib was not found in path
10:45:07 T:2684407808 M: 27512832    INFO: CrystalHD: broadcom crystal hd not found
10:45:07 T:2684407808 M: 27512832  NOTICE: initialize done

Got it working finally!!! Smile I downloaded the driver source again and it worked this time. The original one compiled at x86_64 instead of i386. On the first go the video worked for a couple minutes then stuttered but the CPU usage was ok then I tried it again and its been fine.


- agehring - 2010-01-07

davilla Wrote:xbmc.org

I'm not trying to be "pushy", but am I just missing it - or not there yet?


I do appreciate all of the work and contribution.

p.s. I am running the DMG posted elsewhere in this thread...


- TeknoJnky - 2010-01-07

hehe, if you can't see it, then its not there. ...yet


- runelind - 2010-01-07

kimsharma Wrote:Hello, late to the party by a couple of days Smile
I tried installing the headers but here is the error I get
http://pastebin.com/m1aa15d1b

I am not sure what I am missing but appreciate any pointers. thanks.

davilla Wrote:post the output of "ls -l /Developer/SDKs/MacOSX10.4u.sdk" Smile

Getting the same error message as kimsharma, and I don't have the directory specified by davilla, only 10.5 and 10.6

This is running on a system running 10.6.2


- TheQuestor - 2010-01-07

Quick note. My nightly builds for OS X now are compiled with CrystalHD enabled Smile
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: No
CrystalHD: Yes
Joystick: Yes

Enjoy.


- DaSal - 2010-01-07

TheQuestor Wrote:Quick note. My nightly builds for OS X now are compiled with CrystalHD enabled Smile
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: No
CrystalHD: Yes
Joystick: Yes

Enjoy.

Can I just download that build, put it on my Mini with Crystal HD and it'll work? Or do I need to compile the driver manually too? Sorry I'm new to this stuff...Confused


- guibaa - 2010-01-07

DaSal Wrote:Can I just download that build, put it on my Mini with Crystal HD and it'll work? Or do I need to compile the driver manually too? Sorry I'm new to this stuff...Confused


The same question for install on apple TV?


- Cybernation - 2010-01-07

You need to compile the driver yourself.. or someone should upload it somewhere..


- sircube - 2010-01-07

Cybernation Wrote:You need to compile the driver yourself.. or someone should upload it somewhere..

Yeah! Could somebody upload the compiled crystalHD driver for ATV, please.
Would give more tester to the project I assume.


- gangsta75 - 2010-01-07

TheQuestor Wrote:Quick note. My nightly builds for OS X now are compiled with CrystalHD enabled Smile
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: No
CrystalHD: Yes
Joystick: Yes

Enjoy.

Good job! Will test it asap.

Gangsta75


- Cybernation - 2010-01-07

sircube Wrote:Yeah! Could somebody upload the compiled crystalHD driver for ATV, please.
Would give more tester to the project I assume.

If it's ok with Davilla i'll upload the drivers..

@davilla is it ok for you that i upload these drivers?


- TheQuestor - 2010-01-07

guibaa Wrote:The same question for install on apple TV?

I'm sure you will need to have the drivers er kext's and what not installed as well as a CrystalHD card installed or else the included support is worthless to you.

And I would be leary of precompiled drivers on hackintoshes. But I guess just about every AppleTV is running the exact same kernel/libs so it should not be as worrysome on ATV.