Manually installing CrystalHD driver/lib/firmware

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pistolsnipe Offline
Junior Member
Posts: 5
Joined: Aug 2010
Reputation: 0
Post: #121
okay actually my driver version is 3.6.0 not 3.0.6.

here is more unabridged infromation

top:http://pastebin.com/zBbLhhBE
dmesg:http://pastebin.com/rPvC3auw
log:http://pastebin.com/iMXm43N5

it seems to be slow for two seconds then jump to the right time. repeat over and over again


thanks again
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #122
pistolsnipe Wrote:okay actually my driver version is 3.6.0 not 3.0.6.

here is more unabridged infromation

top:http://pastebin.com/zBbLhhBE
dmesg:http://pastebin.com/rPvC3auw
log:http://pastebin.com/iMXm43N5

it seems to be slow for two seconds then jump to the right time. repeat over and over again


thanks again

"0.0% idle", you are maxed out with CPU.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
pistolsnipe Offline
Junior Member
Posts: 5
Joined: Aug 2010
Reputation: 0
Post: #123
okay, how would i go about fixing that? or is the apple tv just out of luck? i dont think i have anything else running....


thanks again
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #124
pistolsnipe Wrote:okay, how would i go about fixing that? or is the apple tv just out of luck? i dont think i have anything else running....


thanks again

atv(linux).


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
pistolsnipe Offline
Junior Member
Posts: 5
Joined: Aug 2010
Reputation: 0
Post: #125
sorry, but i dont follow. is there a more streamlined os to install on the apple tv than osx?
thanks
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #126
pistolsnipe Wrote:sorry, but i dont follow. is there a more streamlined os to install on the apple tv than osx?
thanks

atv(linux) Smile http://wiki.xbmc.org/index.php?title=HOW...he_AppleTV


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
pistolsnipe Offline
Junior Member
Posts: 5
Joined: Aug 2010
Reputation: 0
Post: #127
thank you sir, i will give it a go
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #128
I am having some problems installing the latest crystalhd driver. This might be because I installed it manually some time ago.

Anyway I followed these instructions substituting 2.0.1 for 3.6.0.

http://todayguesswhat.blogspot.com/2010/...tions.html

I had to use:

sudo mount -uw /
sudo touch /.readwrite

...to get it to overwrite the old files.



The problem is that under "Render method" I don't see a "CrystalHD" option.
I only get:
"Auto detect"
"Software"
"Advanced shaders (GLSL)"
"Basic shaders (ARB)"

There is however a checkbox "Allow hardware acceleration (CrystalHD)" and this is filled.


The main thing that worries me about the intallation is that when I type:

kextstat | grep crystalhd

I get:

64 0 0x301dd000 0xb000 0xa000 com.broadcom.crystalhd.driver (0.9.2.6) <5 4 3 2>

I thought this would show the version as (3.6.0) rather than (0.9.2.6) so I'm assuming something has gone wrong!


Here is dmesg:

BroadcomCrystalHD::start
allocated 18 elem
Starting BCM70012 Device
clock is moving to 175 with n 35 with vco_mg 2
CStopping BCM70012 Device
BroadcomCrystalHD: Found HW and started driver SW.
Starting BCM70012 Device
clock is moving to 175 with n 35 with vco_mg 2



I am using the latest svn r33078.

Any ideas how to fix this?
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #129
-Matt- Wrote:I am having some problems installing the latest crystalhd driver. This might be because I installed it manually some time ago.

Anyway I followed these instructions substituting 2.0.1 for 3.6.0.

http://todayguesswhat.blogspot.com/2010/...tions.html

I had to use:

sudo mount -uw /
sudo touch /.readwrite

...to get it to overwrite the old files.



The problem is that under "Render method" I don't see a "CrystalHD" option.
I only get:
"Auto detect"
"Software"
"Advanced shaders (GLSL)"
"Basic shaders (ARB)"

There is however a checkbox "Allow hardware acceleration (CrystalHD)" and this is filled.


The main thing that worries me about the intallation is that when I type:

kextstat | grep crystalhd

I get:

64 0 0x301dd000 0xb000 0xa000 com.broadcom.crystalhd.driver (0.9.2.6) <5 4 3 2>

I thought this would show the version as (3.6.0) rather than (0.9.2.6) so I'm assuming something has gone wrong!


Here is dmesg:

BroadcomCrystalHD::start
allocated 18 elem
Starting BCM70012 Device
clock is moving to 175 with n 35 with vco_mg 2
CStopping BCM70012 Device
BroadcomCrystalHD: Found HW and started driver SW.
Starting BCM70012 Device
clock is moving to 175 with n 35 with vco_mg 2



I am using the latest svn r33078.

Any ideas how to fix this?

did you reboot after updating the kext ?

cat /System/Library/Extensions/BroadcomCrystalHD.kext/Contents/Info.plist

CFBundleVersion should be 3.6.0


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
ds129 Offline
Junior Member
Posts: 35
Joined: Aug 2010
Reputation: 0
Post: #130
davilla Wrote:driver is 3.6.0

Yes. Mine is 3.6.0. Typo. Smile
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #131
davilla Wrote:did you reboot after updating the kext ?

Yes



davilla Wrote:cat /System/Library/Extensions/BroadcomCrystalHD.kext/Contents/Info.plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>BroadcomCrystalHD</string>
        <key>CFBundleIdentifier</key>
        <string>com.broadcom.crystalhd.driver</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        [b][color=red]<key>CFBundleVersion</key>
        <string>0.9.26</string>[/color][/b]
        <key>IOKitPersonalities</key>
        <dict>
                <key>FirstPersonality</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.broadcom.crystalhd.driver</string>
                        <key>IOClass</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOMatchCategory</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOPCIMatch</key>
                        <string>0x161214e4</string>
                        <key>IOProviderClass</key>
                        <string>IOPCIDevice</string>
                </dict>
        </dict>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.iokit</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.libkern</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.mach</key>
                <string>8.0.0</string>
        </dict>
</dict>
</plist>



davilla Wrote:CFBundleVersion should be 3.6.0

Still stuck on 0.9.2.6. For some reason I can't seem to overwrite the old version. I must be missing a step to make the hard disk writable.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #132
-Matt- Wrote:Yes





Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>BroadcomCrystalHD</string>
        <key>CFBundleIdentifier</key>
        <string>com.broadcom.crystalhd.driver</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        [b][color=red]<key>CFBundleVersion</key>
        <string>0.9.26</string>[/color][/b]
        <key>IOKitPersonalities</key>
        <dict>
                <key>FirstPersonality</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.broadcom.crystalhd.driver</string>
                        <key>IOClass</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOMatchCategory</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOPCIMatch</key>
                        <string>0x161214e4</string>
                        <key>IOProviderClass</key>
                        <string>IOPCIDevice</string>
                </dict>
        </dict>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.iokit</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.libkern</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.mach</key>
                <string>8.0.0</string>
        </dict>
</dict>
</plist>





Still stuck on 0.9.2.6. For some reason I can't seem to overwrite the old version. I must be missing a step to make the hard disk writable.

and also ignoring the error message that would result Smile


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #133
Ok, I think I now have 3.6.0 installed properly.

Code:
-bash-2.05b$ kextstat | grep crystal
64    0 0x301e7000 0x18000    0x17000    com.broadcom.crystalhd.driver (3.6.0) <5 4 3 2>

Here is what I did (thanks to herod98 for suggesting adding the rm -rf commands):

Code:
sudo -s
mount -uw /
touch /.readwrite
rm -rf /System/Library/Extensions/BroadcomCrystalHD.kext
rm -rf /usr/lib/libcrystalhd.dylib
rm -rf /usr/lib/bcm70012fw.bin
rm -rf /usr/lib/bcm70015fw.bin
wget http://crystalhd-for-osx.googlecode.com/files/crystalhd-for-osx-3.6.0.zip
unzip crystalhd-for-osx-3.6.0
mv crystalhd-for-osx-3.6.0/BroadcomCrystalHD.kext /System/Library/Extensions/
mv crystalhd-for-osx-3.6.0/libcrystalhd.dylib /usr/lib/
mv crystalhd-for-osx-3.6.0/libcrysbcm70012fw.bin /usr/lib/
mv crystalhd-for-osx-3.6.0/libcrysbcm70015fw.bin /usr/lib/
chown -R root:wheel /System/Library/Extensions/BroadcomCrystalHD.kext
chmod -R 755 /System/Library/Extensions/BroadcomCrystalHD.kext
chown -R root:wheel /usr/lib/libcrystalhd.dylib
chmod -R 755 /usr/lib/libcrystalhd.dylib
chown -R root:wheel /usr/lib/bcm70012fw.bin
chmod -R 644 /usr/lib/bcm70012fw.bin
chown -R root:wheel /usr/lib/bcm70015fw.bin
chmod -R 644 /usr/lib/bcm70015fw.bin
touch /.readwrite
mount -uw /


Pretty sure that is effectively the same as what I tried last night. Anyway, I did everything really carefully one step at a time (checking that the files were removed after the rm commands etc) it seems to have worked this time.

davilla Wrote:and also ignoring the error message that would result Smile

By the way, last night, the mv commands did not result in an error message but for some reason they failed to overwrite the existing files.
(This post was last modified: 2010-08-25 22:49 by -Matt-.)
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #134
...So now I am allowed to use my tv! Upon testing the install I still don't get a "CrystalHD" option under "Settings>Video>Playback>Render method".

Please can someone confirm what is the expected behaviour if the install has worked? Should there be a "CrystalHD" option or am I mistaken?

I do have the: "Settings>Video>Playback>Allow hardware acceleration (CrystalHD)" checkbox checked.

Is that all I should expect?



dmesg

Code:
BroadcomCrystalHD::start
crystalhd_hw_open: setting up functions, device = Link
Starting Crystal HD Device
Opening HW. hw:0x1e94404, hw->adp:0x1f4ad00
Stopping Crystal HD Device
BroadcomCrystalHD: Found HW and started driver SW.
netsmb_dev: loaded
Opening new user[0] handle
crystalhd_hw_open: setting up functions, device = Link
Starting Crystal HD Device
Opening HW. hw:0x22ef404, hw->adp:0x1f4ad00
BroadcomCrystalHD opened
allocated 18 elem
Initializing Dio pool 10 1024 305c 0x1df0e64
crystalhd_link_download_fw entered
Firmware Downloaded Successfull
crystalhd_link_do_fw_cmd entered
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #135
-Matt- Wrote:...So now I am allowed to use my tv! Upon testing the install I still don't get a "CrystalHD" option under "Settings>Video>Playback>Render method".

Please can someone confirm what is the expected behaviour if the install has worked? Should there be a "CrystalHD" option or am I mistaken?

I do have the: "Settings>Video>Playback>Allow hardware acceleration (CrystalHD)" checkbox checked.

The setting for CrystalHD moved from Renderer to it's own checkbox several months ago. This is normal.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Post Reply