• 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 19
[AppleTV] Compiling crystalhd-for-osx Lib/Kext
TeknoJnky Wrote:ok not sure what that means exactly, this?

Code:
20:19:19 T:52662272 M:  3796992   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:19 T:52662272 M:  4165632   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:19 T:52662272 M:  4087808   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:19 T:52662272 M:  3915776   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:19 T:53996544 M:  3911680   DEBUG: CrystalHD: SetDropState... 1
20:19:19 T:52662272 M:  3874816   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:19 T:52662272 M:  4165632   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:52662272 M:  4124672   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:52662272 M:  4083712   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:53996544 M:  4079616   DEBUG: CrystalHD: SetDropState... 0
20:19:20 T:52662272 M:  3874816   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:52662272 M:  4030464   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:52662272 M:  4001792   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:52662272 M:  3911680   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period
20:19:20 T:53996544 M:  3907584   DEBUG: CrystalHD: SetDropState... 1
20:19:20 T:52662272 M:  3805184   ERROR: ffmpeg[3239000]: [NULL] non-existing SPS 1 referenced in buffering period

http://pastebin.com/mf982560

ffmpeg demuxer does not like something about this m2ts video file.
Reply
well its a straight rip from the bluray disk, I will start checking some others.

I had dark knight work once awhile back, but it hasnt since.
Reply
TeknoJnky Wrote:now I'm getting the bcm crystalhd rendrer and cpu is down to 30-50%, so it seems to be detected and working...

How do you determine the cpu load ? - Thanks in advance !
Reply
babbe Wrote:How do you determine the cpu load ? - Thanks in advance !

ssh in then type top
Reply
thank you !
Is there another way to determine whether the card works ?
Reply
I've found a couple of movies that were stuttering a lot so I split them into segments and here are the logs.

http://pastebin.com/m535ea877
http://pastebin.com/m2545e25d

I uploaded the samples to rapidshare and if they could be of some use to you Davilla/Developers let me know and I'll send you the link.

Also I'm using XBMC SVN revision 26558 and crystalhd r17.

Thanks
Reply
herod98 Wrote:I used Davilla's binary

http://crystalhd-for-osx.googlecode.com/...-1.0.0.zip

And the following instructions :-

http://todayguesswhat.blogspot.com/2010/...le-tv.html

I followed the instructions 1-by-1. No apparent error message. Also, I downloaded XBMC R26558 per the instruction. Unfortunately, upon launch it is still the XBMC Camelot version (the official release from Dec 23). I click "System Info" to find out the release number.

Anyone any thoughts?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
TeknoJnky Wrote:@ bobby, the rc.local file is supposed to take care of loading on reboot

(or so I thought), but actually it doesn't seem to be doing that.

edit more duhhhhh, rc.local had turbo kext instead of turbo atv
now that I fixed my rc.local, it loads the turbo atv and crystalhd kext correctly on boot.

This is how I understood it should work, but it does not - I still have to enter the following manually:
Code:
cd /sbin
chmod 755 turbo_atv_enabler.bin
sudo ./turbo_atv_enabler.bin
sudo kextload -v 6 /System/Library/Extensions/BroadcomCrystalHD.kext

Here is the content of my rc.local:

Code:
/sbin/kextload -v 6 /System/Library/Extensions/BroadcomCrystalHD.kext

All files are where they should be (otherwise the manual method would not work).

Any ideas anyone?
Reply
Bobby Blixberg Wrote:This is how I understood it should work, but it does not - I still have to enter the following manually:
Code:
cd /sbin
chmod 755 turbo_atv_enabler.bin
sudo ./turbo_atv_enabler.bin
sudo kextload -v 6 /System/Library/Extensions/BroadcomCrystalHD.kext

Here is the content of my rc.local:

Code:
/sbin/kextload -v 6 /System/Library/Extensions/BroadcomCrystalHD.kext

All files are where they should be (otherwise the manual method would not work).

Any ideas anyone?

Thanks to your instruction I was able to get my CrystalHD working!
Mine is loading autmatically, and the only difference I see, is the content of my rc.local:
/sbin/turbo_atv_enabler.bin
/sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext

Not sure if that's the reason, but it might help you.

A big thank you to Davilla and the team for making this possible for us!
Reply
Changed the /etc/rc.local as suggested - does not work in my case...wtf?

I wonder why it works for you, as I get following error message when I enter the commands as user frontrow:

error: requires root.
-bash-2.05b$ /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
you must be running as root to load modules into the kernel
Reply
Bobby Blixberg Wrote:Changed the /etc/rc.local as suggested - does not work in my case...wtf?

I wonder why it works for you, as I get following error message when I enter the commands as user frontrow:

error: requires root.
-bash-2.05b$ /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
you must be running as root to load modules into the kernel

try sudo /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext

BR
Reply
Bobby Blixberg Wrote:Changed the /etc/rc.local as suggested - does not work in my case...wtf?

I wonder why it works for you, as I get following error message when I enter the commands as user frontrow:

error: requires root.
-bash-2.05b$ /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
you must be running as root to load modules into the kernel

Try this:
sudo -S chmod -R 755 /System/Library/Extensions/BroadcomCrystalHD.kext
sudo -S chown -R root:wheel /System/Library/Extensions/BroadcomCrystalHD.kext

and then:
/sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
Reply
Hmmm. Why i'm getting this error ( Read-only file system)? I'm logged as SU.


bash-2.05b# chmod -R 755 /System/Library/Extensions/BroadcomCrystalHD.kext
chmod: /System/Library/Extensions/BroadcomCrystalHD.kext/Contents/Info.plist: Read-only file system
chmod: /System/Library/Extensions/BroadcomCrystalHD.kext/Contents/MacOS/BroadcomCrystalHD: Read-only file system
bash-2.05b#
Reply
illiac4 Wrote:Hmmm. Why i'm getting this error ( Read-only file system)? I'm logged as SU.

Notes: First, you'll need to mount your root partition read-write. You only need to do this once.
If you've already done this, skip down to loading the kexts.
Code:

sudo mount -uw /
sudo touch /.readwrite
sudo sync


From http://0xfeedbeef.com/appletv/

not2fast Wrote:Try this:
sudo cp -r BroadcomCrystalHD.kext /System/Library/Extensions/
sudo -S chmod -R 755 /System/Library/Extensions/BroadcomCrystalHD.kext
sudo -S chown -R root:wheel /System/Library/Extensions/BroadcomCrystalHD.kext

and then:
/sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext

Same error message appears (error: requires root.
-bash-2.05b$ /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
you must be running as root to load modules into the kernel)

As far a I understand sudo requires entering the root password, but how shall this be done when apple TV reboots...?
Or is there any way to avoid this?
Why do you change the owner to root (chown).

Sorry if any of my questions is too dumb...
Reply
Bobby Blixberg Wrote:[COLOR="Blue"]
Why do you change the owner to root (chown).

Sorry Bobby, I don't know.
It's just one of the steps I did to get mine working and booting at startup.

What happens if you try:
sudo -s
enter password (frontrow)

and then try to load the kext?
Reply
  • 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 19

Logout Mark Read Team Forum Stats Members Help
[AppleTV] Compiling crystalhd-for-osx Lib/Kext0