Jump to content

Dell Studio 1557 + eGPU Discussion Thread

1557 Studio 1557 eGPU

  • Please log in to reply
63 replies to this topic

#21
crowebster

crowebster

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi Kizwan!

Here is the snap of IORegEx.
It is matched as pci14e4,4353 but I think I saw in Win7 dell wireless control panel application it was identified as some other model something like BRCM 43224 (can't remember right now) or else..!!!???
See if you can work with this

Thanks

Bye
Mario

Attached File  Screen Shot 2012-02-01 at 16.32.33.png   145.06KB   35 downloads

#22
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
Did you get these error when booting?
Kext com.apple.iokit.IO80211Family - library kext com.apple.iokit.IONetworkingFamily not compatible with requested version 1.9.
Can't load kext com.apple.driver.AirPortBrcm43xx - failed to resolve library dependencies.
Kext com.apple.driver.AirPortBrcm43xx failed to load (0xdc00800e).
Failed to load kext com.apple.driver.AirPortBrcm43xx (error 0xdc00800e).
Couldn't alloc class "AirPort_Brcm43xx"
If yes, try boot with this kernel flag:-
max_valid_dma_addr=1024

If still doesn't work, probably need to rebrand the card, change the sub-device id to Apple.

#23
crowebster

crowebster

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi Kizwan!

Still no wifi!

Here are errors (some of them!?) form System Info Kernel Log:


Feb 2 13:34:39 dell kernel[0]: kxld[com.apple.driver.AirPortBrcm43xx]: The vtable '__ZTV16AirPort_Brcm43xx' is malformed. Make sure your kext has been built against the correct headers.
Feb 2 13:34:39 dell kernel[0]: kxld[com.apple.driver.AirPortBrcm43xx]: The super class vtable '__ZTV16IO80211Interface' for vtable '__ZTV25AirPort_Brcm43xxInterface' is out of date. Make sure your kext has been built against the correct headers.
Feb 2 13:34:40 dell kernel[0]: Can't load kext com.apple.driver.AirPortBrcm43xx - link failed.
Feb 2 13:34:40 dell kernel[0]: Failed to load executable for kext com.apple.driver.AirPortBrcm43xx.
Feb 2 13:34:40 dell kernel[0]: Kext com.apple.driver.AirPortBrcm43xx failed to load (0xdc008016).
Feb 2 13:34:40 dell kernel[0]: Failed to load kext com.apple.driver.AirPortBrcm43xx (error 0xdc008016).

P.S. - How to get entire verbose output while booting in some .txt file ? (There were some other lines on screen that are not in this log)

Back to wifi - I put in the kernel flag - max_valid_dma_addr=1024 and some times I got same result and some times IORegEx showed two (2) identical devices ?!

Any suggestion for me ?

Thanks

Bye
Mario

#24
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
Try bdmesg. bdmesg is compiled from Kabyl's Chameleon branch. You can download the file at post #2, see "Preparing Chameleon boot files".

#25
crowebster

crowebster

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi Kizwan!

Well I have two questions for you if you could help me

bdmesg is showing everything before kernel kicks in
I am interested in what kernel is putting out
Should-could I use some kind of debug flag in kernel or debug version of kernel? And how to ...?
I also saw that chameleon detected my processor max speed of 1600 MHz
Its is proc with TurboBoost Technology! In Win7 it goes up to 2800 MHz (but switching off some threads/cores)
Does this means that 1600 MHz it really max in OS X? No TurboBoost?
When kernel kicks in in verbose mode I see a line that says something like: "TurboRatios initialized 1169" ore something like that
Maybe you can explain this to me

Regarding wifi I found out some info saying that this chip is integrated whit Bluetooth chip
In SysInfo I got two USB Composite devices not configured and both attached to Broadcom chip that third device (BT) is attached to (and working as long as bcc9's DellBluetoothHCI.kext is loaded). If kext is not loaded no Broadcom chip is detected and non of three devices is shown (no BT).

I am providing snaps of SysInfo and IORegEx
Maybe it will be easier to understand

Attached File  Screen Shot 2012-02-03 at 14.18.05.png   159.27KB   22 downloads
Attached File  Slika zaslona 2012-02-03 u 01.48.07.png   161.98KB   25 downloads
Attached File  Slika zaslona 2012-02-03 u 01.48.17.png   157.42KB   18 downloads

So if you have any ideas what to do, please share!
Thank you
Bye
Mario

And two more things

I saw this in kernel log

Feb 3 14:18:31 dell kernel[0]: Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2963 goto Exit
Feb 3 14:18:31 dell kernel[0]: Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2043 goto Exit

and when I press button for volume up or volume down on my keyboard widget shows up and it doesn't do one (1) state (click) as it should but it goes on and doesn't stops until it goes out of memory (I guess) meaning it can go on up/down for hours
Is this happening to you?

And my keyboard can't be automatically detected. I have to go to Skip button and select type (ANSI, ISO, JIS) my self
On Dell keyboard Command key is on Alt button and if I connect USB keyboard it can be automatically detected and Command key is on Windows button
Any solution for this?

Maybe volume buttons and AppleHDAWidget error got something to do with Dell keyboard not being able to get detected?!

Anyway thanks
Bye
Mario

#26
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
I can see a lot of stuf when I run dmesg immediately after boot. You might want to try that.

1.6 GHz is normal frequency for i7-720QM. So, the detection is correct. Turbo Boost only kicked in when there is demand for it but it is limited by thermal design power, current limit, power limit, number of cores active & temperature. If any of these limits reached, CPU frequency will throttle down until they under the limits again. Regarding the "TurboRatios initialized 1169", it is what the name said, is Turbo Ratio. This is how to calculate Turbo Boost:-
Intel Core i7-720QM
Turbo Ratio 1/1/6/9
- The first number is the multiple of 133.33 MHz supported when four cores are active,
- The second number is the multiple of 133.33 MHz supported when three cores active,
- The third number is the multiple of 133.33 MHz supported when two cores active,
- The fourth number is the multiple of 133.33 MHz supported when one active core.
Normal operating frequency is 1.6 GHz = 1600 MHz
* With 3 or 4 cores active: 1600 + 1 x 133.33 = 1600 + 133.33 ≃ 1733.33 (1.733 GHz)
* With 2 cores active: 1600 + 6 x 133.33 = 1600 + 799.98 ≃ 2399.98 (2.400 GHz)
* With only 1 core active: 1600 + 9 x 133.33 = 1600 + 1199.97 ≃ 2799.97 (2.800 GHz)
i7-720QM when entered LFM mode, when there is light load, CPU frequency will go down to 933 MHz.

Regarding the bluetooth, it is exactly what I got on mine. The bluetooth is actually seperate device, not integrated in wireless card.

Feb 3 14:18:31 dell kernel[0]: Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2963 goto Exit
Feb 3 14:18:31 dell kernel[0]: Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2043 goto Exit
This is known error. I can't get rid of it. I don't know exactly what is the source of the error. I mean I know it is AppleHDA error but exactly what (e.g. ConfigData? PathMap?) I don't know.

The volume key on the keyboard is known issue too, since Snow Leopard. I use the Mac volume slider instead. I also use external keyboard which also have volume key. On the external keyboard, volume keys works. Our internal keyboard required ApplePS2 or VoodooPS2 to work. So, I'm not surprise some feature doesn't work. :)

#27
BobNL131

BobNL131

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Thanks a lot Kizwan! I had some problem getting everything to work but it works now, I'm going to update to 10.7.2 and hopefully that works (I know 10.7.3 is out). BTW, I don't know if the replacemend 64 bit kexts you linked work for anyone else, but they make OS X unbootable for me.

EDIT
Instant kernel panic after installing 10.7.2

#28
crowebster

crowebster

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi all!

Just to inform everyone my update to 10.7.3 went OK except update brings new ATI4600Controller.kext and AppleHDA.kext so I had to do Shrike patch again and replace HDA kext. Now on 10.7.3 with Shrike patch QE/CI, internal and VGA displays are working fine. I don't have HDMI device to test that port.

My system has these kexts:
FakeSMC.kext
DellBluetoothHCI.kext
ATI4600Controller.kext
AppleHDA.kext
AppleACPIPS2Nub.kext
ApplePS2Controller.kext containing Keyboard, Mouse and Trackpad kexts
AppleACPIPlatform2.kext
RealtekRTL81xx.kext
VoodooBattery.kext
and
DSDT.aml

Kizwan, a wired situation happening to me... I still get CMOS reset! I am using your DSDT but found in it no fix for reset. So I applied the fix but still getting reset. But every other time! Some time it is OK for about 10-20 boots and then it gets reset!

And temperatures are sometime around 65-75 degrees Celsius only for Safari web surfing! Is it to high? Running Final Cut Pro X 10.0.3 Trial temp got up to 95 on all cores/threads.

Still no sleep/wake! Read somewhere it has something to do with FireWire preventing sleep.
"FireWire conservation disabled" line in verbose boot
Maybe you knew that but...

Anyway thanks.
Bye
Mario

#29
BobNL131

BobNL131

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Hi all!

Just to inform everyone my update to 10.7.3 went OK except update brings new ATI4600Controller.kext and AppleHDA.kext so I had to do Shrike patch again and replace HDA kext. Now on 10.7.3 with Shrike patch QE/CI, internal and VGA displays are working fine. I don't have HDMI device to test that port.

My system has these kexts:
FakeSMC.kext
DellBluetoothHCI.kext
ATI4600Controller.kext
AppleHDA.kext
AppleACPIPS2Nub.kext
ApplePS2Controller.kext containing Keyboard, Mouse and Trackpad kexts
AppleACPIPlatform2.kext
RealtekRTL81xx.kext
VoodooBattery.kext
and
DSDT.aml

Kizwan, a wired situation happening to me... I still get CMOS reset! I am using your DSDT but found in it no fix for reset. So I applied the fix but still getting reset. But every other time! Some time it is OK for about 10-20 boots and then it gets reset!

And temperatures are sometime around 65-75 degrees Celsius only for Safari web surfing! Is it to high? Running Final Cut Pro X 10.0.3 Trial temp got up to 95 on all cores/threads.

Still no sleep/wake! Read somewhere it has something to do with FireWire preventing sleep.
"FireWire conservation disabled" line in verbose boot
Maybe you knew that but...

Anyway thanks.
Bye
Mario


If you have the time and are willing to, could you upload your kexts because I'm having the same problem with 10.7.3 as with 10.7.2, I patch ATI4600controller.kext and reinstall AppleHDA.kext but it still makes OS X unbootable for me so it might be another kext I have installed.

#30
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Thanks a lot Kizwan! I had some problem getting everything to work but it works now, I'm going to update to 10.7.2 and hopefully that works (I know 10.7.3 is out). BTW, I don't know if the replacemend 64 bit kexts you linked work for anyone else, but they make OS X unbootable for me.

EDIT
Instant kernel panic after installing 10.7.2


I use 10.7.2 combo update to update from 10.7.0 to 10.7.2. Did you use the same installer? Also need to remember after installing the 10.7.2 update, do not reboot yet. You need to patch ATI4600Controller.kext before reboot. If not you will have problem booting into Lion.

I usually after deleting/editing/installing new kexts in /S/L/E, I'll make sure to run these command immediately in terminal:-
sudo -s
touch /System/Library/Extensions ; kextcache -system-prelinked-kernel ; kextcache -system-caches

Kizwan, a wired situation happening to me... I still get CMOS reset! I am using your DSDT but found in it no fix for reset. So I applied the fix but still getting reset. But every other time! Some time it is OK for about 10-20 boots and then it gets reset!

And temperatures are sometime around 65-75 degrees Celsius only for Safari web surfing! Is it to high? Running Final Cut Pro X 10.0.3 Trial temp got up to 95 on all cores/threads.

Still no sleep/wake! Read somewhere it has something to do with FireWire preventing sleep.
"FireWire conservation disabled" line in verbose boot
Maybe you knew that but...

Anyway thanks.
Bye
Mario

Hmmm...Probably something else in play here. I didn't use Mac OS X much, so I didn't realized the CMOS reset issue. The DSDT already have RTC fixed, exactly the same I use in Snow Leopard. Probably Lion need different fixed. I'll keep diggin' to find the fixed for this issue.

I usually got 65C to 70C while browsing. Even macbook also running hot. I never get higher than 75C-80C. I don't have final cut pro to test but I have Left 4 Dead 2. I'll try that later.

That is not true. Even real mac also get "FireWire conservation disabled". Don't believe to any baseless claims.

(P/S: Posting in this forum is really PITA! Most of the time I can't reply to any post in one click. I have to refresh & click quote multiple time before I can post anything.)

#31
BobNL131

BobNL131

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

I use 10.7.2 combo update to update from 10.7.0 to 10.7.2. Did you use the same installer? Also need to remember after installing the 10.7.2 update, do not reboot yet. You need to patch ATI4600Controller.kext before reboot. If not you will have problem booting into Lion.

I usually after deleting/editing/installing new kexts in /S/L/E, I'll make sure to run these command immediately in terminal:-

sudo -s
touch /System/Library/Extensions ; kextcache -system-prelinked-kernel ; kextcache -system-caches


I know, I did all that but it's still not working for me so like i said it may be another kext. I'll wait and see if crowebster uploads his kexts and go from there to see if I still have issues updating.

#32
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
@crowebster,

Silly me! :) Sorry, it turn out I didn't apply RTC fixed in DSDT. This is original RTC in DSDT:-
                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x08,               // Length
                            )
                    })
                    Name (BUF1, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x08,               // Length
                            )
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (LGreaterEqual (OSYS, 0x07D1))
                        {
                            If (HPAE)
                            {
                                Return (BUF1)
                            }
                            Else
                            {
                                Return (BUF0)
                            }
                        }
                        Else
                        {
                            Return (BUF0)
                        }
                    }
                }

For RTC fixed, need to change the "// Length" from 0x08 to 0x02:-
                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                    })
                    Name (BUF1, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (LGreaterEqual (OSYS, 0x07D1))
                        {
                            If (HPAE)
                            {
                                Return (BUF1)
                            }
                            Else
                            {
                                Return (BUF0)
                            }
                        }
                        Else
                        {
                            Return (BUF0)
                        }
                    }
                }


#33
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
I just updated our DSDT. I added RTC, LPC & SBUS fixed in this new DSDT. LPC fixed allow AppleLPC to be loaded & this make CPU run much cooler (see here for detail information).

You can find new DSDT (DSDT Update 05022012.zip) at post #2, the same place where you can find Extra.zip. In DSDT Update 05022012.zip, there are two DSDT; 1) dsdt_witheGPU.aml & 2) dsdt_withouteGPU.aml. You will need dsdt_withouteGPU.aml if you don't have eGPU.

#34
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
I ran Cinebench benchmark software & I got reasonable CPU temperatures (room temperature is 32C & I'm using cooling pad). One of the screenshots also show all cores/threads are fully utilized which show mutithreaded software will be able to utilized i7-720QM just fine.

Attached File  Screen Shot 2012-02-05 at 7.20.33 PM.png   1.6MB   34 downloads

Attached File  Screen Shot 2012-02-05 at 7.23.31 PM.png   1.33MB   27 downloads

#35
crowebster

crowebster

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi BobNL131!

I have packed and uploaded an archive of my kexts and miscs that I use on my Dell to my iDisc Public folder.
You can go to this link and download it.

https://public.me.com/mario.kusnjer

You will find inside nine (9) kexts listed in my previous post, Extra folder with Boot, SMBios plist's, now old DSDT (you can get new from Kizwan's post) and in root folder there is boot file, Champlist.app (GUI for Boot.plist, SMBios,plist. boot and kernel) and Chameleon Installer (after install just replace stuff in /Extra folder with stuff from my Extra folder and use Champlist.app to install kexts and run Rebuild cache).

If any questions or problems, do ask.
Let us know how it goes.
Good luck!

Bye
Mario

#36
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
I updated Make the Lion Disk Bootable section. I forgot to mention that I rename IONetworkingFamily.kext to IONetworkingLegacy.kext in the /Extra/Extensions/, before moving all the kexts into /System/Library/Extensions/ folder. This way it will not overwrite the original IONetworkingFamily.kext in /S/L/E/.

@BobNL131, if you put extra Extensions in /Extra/ folder, make sure you do not use UseKernelCache=Yes in com.apple.Boot.plist file.

#37
crowebster

crowebster

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi all!

To share with you some weird findings
So I unplugged power adapter from laptop to see how long will the battery last since temperature is around 75 deg C and fan is running all the time and display brightness is maxed
So after less then an hour battery is about to die when I see a LED blinking in a way that was kind a known to me from before (here comes the punchline...) but I let it die completely
Then I plugged adapter back in and powered laptop on when I get this message on the screen:

"WARNING ! Battery can't be identified. This system will not be able to charge it!"

So I was trying to make it start charging but no way! When charger is plugged in Lion (VoodooBattery.kext or AppleACPIPlatform2.kext) is saying that battery is 100% full and it is not charging!

I decided to delete both kext's!
When rebooted no way to get info on battery in OS but LED is saying it is charging!
Think I'm gonna stay without those kext's until better solution

Learned something new

P.S. Kizwan - this is the model of my wifi card: BCM943224HMS
Read through all forums and no success making it work
On one forum interesting line saying that kext is seeing the card but PCI bus for some reason does not power it on (there is a line in plist that says: "<key>TruePowerOff</key></true>") and solution should be checking IOPCIFamily.kext or similar (depending which one is responsible for PCI bus devices).

Bye
Mario

#38
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
Do not let battery discharged completely because it can ruined the battery. Better recharge the battery when the charge only 10% to 20% left.

#39
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
I found how to get Lion AppleHDA.kext to work. I found in some Chinese forum mention that we need to patch AppleHDA binary; search & replace all occurrence of 8319D411 with 00000000. Tried it & it does work. I already updated this information in post #2.

#40
BobNL131

BobNL131

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

I found how to get Lion AppleHDA.kext to work. I found in some Chinese forum mention that we need to patch AppleHDA binary; search & replace all occurrence of 8319D411 with 00000000. Tried it & it does work. I already updated this information in post #2.


Maybe a stupid question but what are the advantages of Lion AppleHDA vs Snow Leopard AppleHDA?

@crowebster

Dell's battery doesn't like it when you let it discharge completely, I had a Toshiba before the Dell Studio 1557 and I let the battery die regularly and it still worked fine after 2,5 years, but the battery of my Dell was completely dead after the third complete discharge.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy