Jump to content

[SCRIPT] Automating the installation of eGPU on OS X (inc display output)


euqlaog

Recommended Posts

Thanks @goalque for the heads up, I have installed 10.10.4 and I have the latest driver, and I'm still getting 4k30. I have also switched off "Automatic graphics switching" in the energy saver settings but it's still no luck.

Link to comment
Share on other sites

Thanks @goalque for the heads up, I have installed 10.10.4 and I have the latest driver, and I'm still getting 4k30. I have also switched off "Automatic graphics switching" in the energy saver settings but it's still no luck.

EDIT: Okay, I have done the following since the original post:

I tracked down the AppleGraphicsDevicePolicy kext, in which I suspect may be the culprit of the 4k30 problem, and removed my board ID. On next reboot, I managed to get 4k60 back! However, on restart, my computer crashed during boot (i.e. partway through the Apple logo when it usually will detect the eGPU at this point)

I have also noticed that when I switched off the computer on the successful boot, the computer will take longer to shut down.

I managed to get an error report from the crash. I can send it to you if you want.

  • Thumbs Up 1
Link to comment
Share on other sites

Thanks @goalque for the heads up, I have installed 10.10.4 and I have the latest driver, and I'm still getting 4k30. I have also switched off "Automatic graphics switching" in the energy saver settings but it's still no luck.

EDIT: Okay, I have done the following since the original post:

I tracked down the AppleGraphicsDevicePolicy kext, in which I suspect may be the culprit of the 4k30 problem, and removed my board ID. On next reboot, I managed to get 4k60 back! However, on restart, my computer crashed during boot (i.e. partway through the Apple logo when it usually will detect the eGPU at this point)

I have also noticed that when I switched off the computer on the successful boot, the computer will take longer to shut down.

I managed to get an error report from the crash. I can send it to you if you want.

Your MBP (11,3) board-id Mac-2BD1B31983FE1663 is also located at

/System/Library/Extensions/AppleGraphicsPowerManagement.kext/Contents/Info.plist

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-2BD1B31983FE1663.plist

You may try different configs, but value "none" is originally proposed by Pike: https://pikeralpha.wordpress.com/2014/05/01/os-x-mavericks-10-9-3-build-13d55-seeded/

to pass the black screen issue.

You can send me PM, preferably two ioreg outputs without personal data as described here, when you have 4K@60Hz and when 4K@30Hz, and I can take a look at those Mac hardware specific parts.

  • Thumbs Up 1
Link to comment
Share on other sites

Nvidia released a driver 346.01.03f01 for 10.10.4 and seems that they are testing my parsing methods :D It's broken at the moment because the version number is missing under the release highlights content.

post-28870-1449500045371_thumb.png

Well, I have to add some parsing checks :)

  • Thumbs Up 2
Link to comment
Share on other sites

@goalque:

I don't know if you've seen the reply to my other thread, but thanks again. The script works beautifully on the Mac Mini with 10.10.3 and I didn't even need to use the -a parameter.

On a related note, has anyone gotten HDMI Audio from the eGPU to work? It works fine on my Intel GPU but audio isn't even an option in System Preferences for the eGPU.

Link to comment
Share on other sites

@goalque:

I don't know if you've seen the reply to my other thread, but thanks again. The script works beautifully on the Mac Mini with 10.10.3 and I didn't even need to use the -a parameter.

On a related note, has anyone gotten HDMI Audio from the eGPU to work? It works fine on my Intel GPU but audio isn't even an option in System Preferences for the eGPU.

Thanks! It may be possible that web drivers don't support HDMI Audio - the first releases for Maxwell cards didn't support HDMI at all. The script does support this, but I haven't confirmed with the Kepler architecture card & OS X official driver.

Link to comment
Share on other sites

Hey All,

is OS X 10.10.4 necessary in order to get a eGPU running?

I´m still on 10.8.5 and i do not have any luck to even see my eGPU setup

My setup:

2011 15" MBP dGPU AMD Radeon 6490M 256mb

Sonnet Echo Express Pro/34 via Thunderbolt

PE4H PCIe adapter

GTX 750 graphic card

700W external PSU

If someone could give me a opinion if that setup would work under 10.10.4 i will update asap.

thanks for reading

Link to comment
Share on other sites

Hey All,

is OS X 10.10.4 necessary in order to get a eGPU running?

I´m still on 10.8.5 and i do not have any luck to even see my eGPU setup

My setup:

2011 15" MBP dGPU AMD Radeon 6490M 256mb

Sonnet Echo Express Pro/34 via Thunderbolt

PE4H PCIe adapter

GTX 750 graphic card

700W external PSU

If someone could give me a opinion if that setup would work under 10.10.4 i will update asap.

thanks for reading

I don't know a definite answer – but my intuition is that this is not about the OS itself. 10.10.4 is definitely not obligatory but it might be that it helps you with configuration issues.

If I were you, I'd take an external usb drive, install Yosemite on it and just try it out. :-)

Link to comment
Share on other sites

Nvidia’s web drivers don’t support Maxwell cards on OS X versions earlier than Yosemite (10.10). GTX 750 is Maxwell. Kepler architecture cards should work without the web driver on older OS X versions - just install with [-skipdriver] parameter. I have a plan that the script could detect the card model.

A new version will be released soon. Automatic mode privilege issues are fixed. It has a completely rewritten web driver download function, which doesn’t use scraping methods as they are not 100% reliable if Nvidia changes the web site content. Instead, it uses the same web server as the Nvidia Driver Manager :) If the web server stops responding, the script uses alternative rewritten data scraping method, which supports also 10.10.4.

  • Thumbs Up 3
Link to comment
Share on other sites

thx goalque and Simurgh5 for the responds....

as i need to have at least 1 functional MACOSX setup still working i now go with the advice from Simurgh5 and install latest Yosemite version on a external HDD.

I will test then the script first without any changes to it. I'll keep you posted on it.

i`m afraid the webdriver will not work, as i cant find any webdriver for 10.10.4 what is the latest possible download from Yosemite in app store.

Will be there a function to use a older driver, lets say for 10.10.3 i.e.?

UPDATE:

i'm currently on 10.10.4. and try to start the script. it might look likes im a idiot (maybe i am),. but with the given cmd i get a syntax error " line2: syntax error near unexpected token `}`

any one that can help with it...

Update: After a long time i managed to install the 10.10.4 nvidia web driver also without support for my model. But still no luck on the syntax error..

Link to comment
Share on other sites

As said a few posts earlier, the current version is broken with the 10.10.4. However, it shouldn’t give syntax error. Download the script, don’t copy-paste. Be patient, I’m finalizing the code. Takes a day or two.

Link to comment
Share on other sites

Version 0.9.3 is now released: https://github.com/goalque/automate-eGPU

Many thanks goalque,

finally i can see my hardware. so excited ... but unfortunate the system is not stable.

after 10-15min with the GTX750 as main GC i have a shut down out of the blue. It looks like it has something to do with the nvda.kext , but i am not a pro with that at all.

Again thanks for the help....

i copy past the crash report,maybe it helps to find the reason for this.

*** Panic Report ***

panic(cpu 0 caller 0xffffff7fae9e3e1c): NVRM[0/195:0:0]: Read Error 0x0008c040: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xa1000000 0xffffff8095067000 0x117010a2, D0, P1/2

Backtrace (CPU 0), Frame : Return Address

0xffffff80924537f0 : 0xffffff802dd2bda1

0xffffff8092453870 : 0xffffff7fae9e3e1c

0xffffff8092453930 : 0xffffff7faec79129

0xffffff80924539d0 : 0xffffff7faec78a1a

0xffffff8092453a30 : 0xffffff7faed95489

0xffffff8092453a60 : 0xffffff7faed955dd

0xffffff8092453aa0 : 0xffffff7faeb3e914

0xffffff8092453ae0 : 0xffffff7faeb45f39

0xffffff8092453b20 : 0xffffff7faeb456af

0xffffff8092453b60 : 0xffffff7faeb02138

0xffffff8092453bb0 : 0xffffff7faeb0179d

0xffffff8092453c30 : 0xffffff7faed83561

0xffffff8092453c90 : 0xffffff7faeb4a517

0xffffff8092453cf0 : 0xffffff7faeb4b1e2

0xffffff8092453d60 : 0xffffff7faed9a91c

0xffffff8092453db0 : 0xffffff7faed7c710

0xffffff8092453e20 : 0xffffff7faeaec5cb

0xffffff8092453e40 : 0xffffff7fae9ea50b

0xffffff8092453ef0 : 0xffffff802e2d617d

0xffffff8092453f40 : 0xffffff802e2d3fed

0xffffff8092453f80 : 0xffffff802e2d40e6

0xffffff8092453fb0 : 0xffffff802de125b7

Kernel Extensions in backtrace:

com.nvidia.web.NVDAResmanWeb(10.0.5)[C4856680-81EF-3373-A372-8C21854F7721]@0xffffff7fae97e000->0xffffff7faec55fff

dependency: com.apple.iokit.IOPCIFamily(2.9)[D8F585E8-2EE9-3135-8E37-A034123FE45C]@0xffffff7fae524000

dependency: com.apple.iokit.IONDRVSupport(2.4.1)[161AE366-94FE-3E53-8ABD-78A603351329]@0xffffff7fae967000

dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6F7F093D-DBEA-356A-9A08-D8EAC7F767DE]@0xffffff7fae920000

dependency: com.apple.AppleGraphicsDeviceControl(3.10.24)[b2B5765C-4EC5-3C51-85D9-91B90D38D485]@0xffffff7fae977000

com.nvidia.web.NVDAGM100HalWeb(10.0.5)[9BD8D55F-2616-35E8-AE6F-475B63C72CC2]@0xffffff7faec65000->0xffffff7faee63fff

dependency: com.nvidia.web.NVDAResmanWeb(10.0.5)[C4856680-81EF-3373-A372-8C21854F7721]@0xffffff7fae97e000

dependency: com.apple.iokit.IOPCIFamily(2.9)[D8F585E8-2EE9-3135-8E37-A034123FE45C]@0xffffff7fae524000

BSD process name corresponding to current thread: kernel_task

Boot args: kext-dev-mode=1 nvda_drv=1

Mac OS version:

14E46

Kernel version:

Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64

Kernel UUID: E3C26B2F-8B97-3F1D-B193-690F7E34F830

Kernel slide: 0x000000002da00000

Kernel text base: 0xffffff802dc00000

__HIB text base: 0xffffff802db00000

System model name: MacBookPro8,2 (Mac-94245A3940C91C80)

System uptime in nanoseconds: 59951674100

last loaded kext at 53067588142: com.apple.driver.AppleHWSensor 1.9.5d0 (addr 0xffffff7fb1514000, size 36864)

loaded kexts:

com.nvidia.CUDA 1.1.0

com.nvidia.web.GeForceWeb 10.0.5

com.nvidia.web.NVDAGM100HalWeb 10.0.5

com.nvidia.web.NVDAResmanWeb 10.0.5

com.nvidia.NVDAStartup 10.0.5

com.apple.driver.AppleHWSensor 1.9.5d0

com.apple.driver.AudioAUUC 1.70

com.apple.driver.AppleGraphicsDevicePolicy 3.7.7

com.apple.filesystems.ntfs 3.13

com.apple.driver.AppleTyMCEDriver 1.0.2d2

com.apple.driver.AGPM 110.19.6

com.apple.filesystems.autofs 3.0

com.apple.iokit.IOBluetoothSerialManager 4.3.5f8

com.apple.driver.AppleOSXWatchdog 1

com.apple.driver.AppleMikeyHIDDriver 124

com.apple.driver.ApplePolicyControl 3.10.24

com.apple.driver.AppleMikeyDriver 272.18.1

com.apple.driver.AppleUpstreamUserClient 3.6.1

com.apple.driver.AppleHDAHardwareConfigDriver 272.18.1

com.apple.kext.AMDFramebuffer 1.3.2

com.apple.iokit.IOUserEthernet 1.0.1

com.apple.driver.AppleHDA 272.18.1

com.apple.iokit.IOBluetoothUSBDFU 4.3.5f8

com.apple.AMDRadeonX3000 1.3.2

com.apple.driver.AppleBacklight 170.7.4

com.apple.driver.AppleIntelHD3000Graphics 10.0.0

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.driver.AppleHWAccess 1

com.apple.driver.AppleHV 1

com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.5f8

com.apple.driver.AppleSMCPDRC 1.0.0

com.apple.driver.AppleThunderboltIP 2.0.2

com.apple.driver.AppleMCCSControl 1.2.12

com.apple.driver.AppleLPC 1.7.3

com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

com.apple.driver.AppleSMCLMU 2.0.7d0

com.apple.kext.AMD6000Controller 1.3.2

com.apple.driver.AppleFIVRDriver 4.1.0

com.apple.driver.AppleMuxControl 3.10.24

com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0

com.apple.driver.AppleIntelSNBGraphicsFB 10.0.0

com.apple.driver.SMCMotionSensor 3.0.4d1

com.apple.driver.AppleUSBTCButtons 240.2

com.apple.driver.AppleUSBTCKeyEventDriver 240.2

com.apple.driver.AppleUSBTCKeyboard 240.2

com.apple.driver.AppleIRController 327.5

com.apple.driver.AppleFireWireStorage 3.5.5

com.apple.driver.initioFWBridge 3.5.5

com.apple.driver.IOFireWireSerialBusProtocolSansPhysicalUnit 3.5.5

com.apple.driver.LSI_FW_500 3.5.5

com.apple.driver.Oxford_Semi 3.5.5

com.apple.driver.StorageLynx 3.5.5

com.apple.driver.AppleFileSystemDriver 3.0.1

com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0

com.apple.BootCache 36

com.apple.iokit.SCSITaskUserClient 3.7.5

com.apple.driver.XsanFilter 404

com.apple.iokit.IOAHCIBlockStorage 2.7.1

com.apple.iokit.IOAHCIPassThrough 1.0.3

com.apple.driver.AppleUSBHub 705.4.2

com.apple.driver.AirPort.Brcm4331 800.20.24

com.apple.driver.AppleSDXC 1.6.5

com.apple.iokit.AppleBCM5701Ethernet 10.1.3

com.apple.driver.AirPort.Brcm4360 930.37.3

com.apple.driver.AppleFWOHCI 5.5.2

com.apple.driver.AppleAHCIPort 3.1.2

com.apple.driver.AppleUSBUHCI 656.4.1

com.apple.driver.AppleUSBEHCI 705.4.14

com.apple.driver.AppleSmartBatteryManager 161.0.0

com.apple.driver.AppleHPET 1.8

com.apple.driver.AppleACPIButtons 3.1

com.apple.driver.AppleRTC 2.0

com.apple.driver.AppleSMBIOS 2.1

com.apple.driver.AppleACPIEC 3.1

com.apple.driver.AppleAPIC 1.7

com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0

com.apple.nke.applicationfirewall 161

com.apple.security.quarantine 3

com.apple.security.TMSafetyNet 8

com.apple.driver.AppleIntelCPUPowerManagement 218.0.0

com.apple.kext.triggers 1.0

com.apple.iokit.IOSerialFamily 11

com.apple.driver.DspFuncLib 272.18.1

com.apple.kext.OSvKernDSPLib 1.15

com.apple.iokit.IOSurface 97.4

com.apple.iokit.IOAcceleratorFamily2 156.16

com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.5f8

com.apple.iokit.IOBluetoothFamily 4.3.5f8

com.apple.driver.AppleSMBusPCI 1.0.12d1

com.apple.driver.AppleThunderboltEDMSink 4.0.3

com.apple.driver.AppleThunderboltDPOutAdapter 4.0.6

com.apple.driver.AppleSMBusController 1.0.13d1

com.apple.driver.AppleHDAController 272.18.1

com.apple.iokit.IOHDAFamily 272.18.1

com.apple.iokit.IOAudioFamily 203.3

com.apple.vecLib.kext 1.2.0

com.apple.iokit.IOUSBUserClient 705.4.0

com.apple.driver.IOPlatformPluginLegacy 1.0.0

com.apple.driver.IOPlatformPluginFamily 5.9.1d7

com.apple.kext.AMDSupport 1.3.2

com.apple.AppleGraphicsDeviceControl 3.10.24

com.apple.driver.AppleBacklightExpert 1.1.0

com.apple.iokit.IONDRVSupport 2.4.1

com.apple.driver.AppleGraphicsControl 3.10.24

com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0

com.apple.iokit.IOGraphicsFamily 2.4.1

com.apple.iokit.IOFireWireIP 2.2.6

com.apple.driver.AppleSMC 3.1.9

com.apple.driver.AppleUSBHIDKeyboard 176.2

com.apple.driver.AppleHIDKeyboard 176.2

com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.5

com.apple.driver.AppleUSBMultitouch 245.2

com.apple.iokit.IOUSBHIDDriver 705.4.0

com.apple.driver.AppleUSBMergeNub 705.4.0

com.apple.driver.AppleUSBComposite 705.4.9

com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.5.1

com.apple.iokit.IOFireWireSBP2 4.2.7

com.apple.driver.AppleThunderboltDPInAdapter 4.0.6

com.apple.driver.AppleThunderboltDPAdapterFamily 4.0.6

com.apple.driver.AppleThunderboltPCIUpAdapter 2.0.2

com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2

com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.5

com.apple.iokit.IOBDStorageFamily 1.7

com.apple.iokit.IODVDStorageFamily 1.7.1

com.apple.iokit.IOCDStorageFamily 1.7.1

com.apple.driver.AppleThunderboltNHI 3.1.7

com.apple.iokit.IOThunderboltFamily 4.2.2

com.apple.iokit.IOAHCISerialATAPI 2.6.1

com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.5

com.apple.iokit.IOEthernetAVBController 1.0.3b3

com.apple.iokit.IO80211Family 730.60

com.apple.driver.mDNSOffloadUserClient 1.0.1b8

com.apple.iokit.IONetworkingFamily 3.2

com.apple.iokit.IOFireWireFamily 4.5.7

com.apple.iokit.IOAHCIFamily 2.7.5

com.apple.iokit.IOUSBFamily 720.4.4

com.apple.driver.AppleEFINVRAM 2.0

com.apple.driver.AppleEFIRuntime 2.0

com.apple.iokit.IOHIDFamily 2.0.0

com.apple.iokit.IOSMBusFamily 1.1

com.apple.security.sandbox 300.0

com.apple.kext.AppleMatch 1.0.0d1

com.apple.driver.AppleKeyStore 2

com.apple.driver.AppleMobileFileIntegrity 1.0.5

com.apple.driver.AppleCredentialManager 1.0

com.apple.driver.DiskImages 397

com.apple.iokit.IOStorageFamily 2.0

com.apple.iokit.IOReportFamily 31

com.apple.driver.AppleFDEKeyStore 28.30

com.apple.driver.AppleACPIPlatform 3.1

com.apple.iokit.IOPCIFamily 2.9

com.apple.iokit.IOACPIFamily 1.4

com.apple.kec.Libm 1

com.apple.kec.pthread 1

com.apple.kec.corecrypto 1.0

Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2 GHz, 2 GB, SMC 1.69f4

Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In

Graphics: AMD Radeon HD 6490M, AMD Radeon HD 6490M, PCIe, 256 MB

Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE,

  • Thumbs Up 1
Link to comment
Share on other sites

thanks @goalque for your great script and thread here.

I have a Sonnet III-D with nMP(6, 1 Late-2013). Could you mind telling me that whether I can use EVAG GTX980Ti with DELL UP2715 5K with it?

I read the full thread but cannot find an answer. Thanks.

Link to comment
Share on other sites

Many thanks goalque,

finally i can see my hardware. so excited ... but unfortunate the system is not stable.

after 10-15min with the GTX750 as main GC i have a shut down out of the blue. It looks like it has something to do with the nvda.kext , but i am not a pro with that at all.

Again thanks for the help....

i copy past the crash report,maybe it helps to find the reason for this.

Sudden kernel panic is often due to hardware configuration:

2011 15" MBP dGPU AMD Radeon 6490M 256mb

Sonnet Echo Express Pro/34 via Thunderbolt

PE4H PCIe adapter

GTX 750 graphic card

700W external PSU

Direct Thunderbolt connection would be likely more stable. If automatic [-a] mode won’t make it stable, I suspect the reason is more hardware related than software. No experience of GTX 750, but GTX 750Ti is stable with my setups.

Link to comment
Share on other sites

hi @goalque, did you test the 980Ti with nMP? I have a III-D and I wondering to know whether the nMP + III-D support GTX980 Ti in OS X? looking forward your reply.

Titan X is confirmed to work with the nMP:

http://forum.techinferno.com/provisional-guides/10351-2014-mac-pro-titan_x%4016gbps-tb2-sonnet-xmac-pro-win-8-1-%5Bmartona%5D-2.html#post138465

with any of those 6 TB ports, when [-a] mode in use. III-D + Titan X combo is also verified with the [-a] mode. An external ATX PSU is likely required since GTX 980Ti’s TDP is 250W and power peaks can reach above that. GTX980Ti is based on the same GM200 as the Titan X, and as long as Nvidia web driver supports it, I don’t see a problem. Unfortunately I cannot test everything :)

  • Thumbs Up 1
Link to comment
Share on other sites

Is there a way to clear the 'cache' for this script? It's thinking that NVidia drivers are installed (Which have been uninstalled about a week ago) and it attempts to run it from a folder. When I manually goto the folder it's looking in, It's empty. There is nothing on the desktop. sure where it's looking for it to think it's been 'already downloaded'

Found non-key inside <dict> at line 29

Current OS X

10.10.4 14E46

Previous OS X

10.10.3 14D131

Latest installed web driver

Version: 346.01.03f01

Source: 3rd Party

Install Date: 7/2/15, 1:27 AM

The latest package for [14E46] is already downloaded.

Do you want to reinstall? (y/n)

y

installer: Error the package path specified was invalid: '/Library/Application Support/NVIDIA/WebDriver-346.01.03f01.pkg'.

Found non-key inside <dict> at line 29

Missing IOPCITunnelCompatible keys.

Found non-key inside <dict> at line 29

Error Reading File: /System/Library/Extensions/NVDAStartup.kext/Contents/Info.plist

IOPCITunnelCompatible mods done.

Found non-key inside <dict> at line 29

Found non-key inside <dict> at line 29

Error Reading File: /System/Library/Extensions/NVDAStartup.kext/Contents/Info.plist

NVDARequiredOS does not match. Changed to 14E46

JMicronATA.kext has no Info.plist file.

2015-07-07 14:06:41.218 kextcache[983:15271] There was an error parsing the Info.plist for the bundle at URL Contents/Info.plist -- file:///System/Library/Extensions/NVDAStartup.kext/

The data couldn’t be read because it isn’t in the correct format.

<CFBasicHash 0x7fe74a56cf60 [0x7fff77a80ed0]>{type = immutable dict, count = 2,

entries =>

0 : <CFString 0x7fff77a4b660 [0x7fff77a80ed0]>{contents = "NSDebugDescription"} = <CFString 0x7fe74a55e680 [0x7fff77a80ed0]>{contents = "Found non-key inside <dict> at line 29"}

1 : <CFString 0x7fff77a586c0 [0x7fff77a80ed0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Malformed data byte group at line 1; invalid hex) UserInfo=0x7fe74a571790 {NSDebugDescription=Malformed data byte group at line 1; invalid hex}

}

Can't read info dictionary for NVDAStartup.kext: IOCFUnserialize: syntax error near line 28.

JMicronATA.kext has no Info.plist file.

2015-07-07 14:06:41.373 kextcache[983:15271] There was an error parsing the Info.plist for the bundle at URL Contents/Info.plist -- file:///System/Library/Extensions/NVDAStartup.kext/

The data couldn’t be read because it isn’t in the correct format.

<CFBasicHash 0x7fe74a7003b0 [0x7fff77a80ed0]>{type = immutable dict, count = 2,

entries =>

0 : <CFString 0x7fff77a4b660 [0x7fff77a80ed0]>{contents = "NSDebugDescription"} = <CFString 0x7fe74a7008e0 [0x7fff77a80ed0]>{contents = "Found non-key inside <dict> at line 29"}

1 : <CFString 0x7fff77a586c0 [0x7fff77a80ed0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Malformed data byte group at line 1; invalid hex) UserInfo=0x7fe74a700560 {NSDebugDescription=Malformed data byte group at line 1; invalid hex}

}

Can't read info dictionary for NVDAStartup.kext: IOCFUnserialize: syntax error near line 28.

JMicronATA.kext has no Info.plist file.

2015-07-07 14:06:41.495 kextcache[983:15271] There was an error parsing the Info.plist for the bundle at URL Contents/Info.plist -- file:///System/Library/Extensions/NVDAStartup.kext/

The data couldn’t be read because it isn’t in the correct format.

<CFBasicHash 0x7fe74a5af720 [0x7fff77a80ed0]>{type = immutable dict, count = 2,

entries =>

0 : <CFString 0x7fff77a4b660 [0x7fff77a80ed0]>{contents = "NSDebugDescription"} = <CFString 0x7fe74a564100 [0x7fff77a80ed0]>{contents = "Found non-key inside <dict> at line 29"}

1 : <CFString 0x7fff77a586c0 [0x7fff77a80ed0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Malformed data byte group at line 1; invalid hex) UserInfo=0x7fe74a5636d0 {NSDebugDescription=Malformed data byte group at line 1; invalid hex}

}

Can't read info dictionary for NVDAStartup.kext: IOCFUnserialize: syntax error near line 28.

JMicronATA.kext has no Info.plist file.

2015-07-07 14:06:41.944 kextcache[983:15271] There was an error parsing the Info.plist for the bundle at URL Contents/Info.plist -- file:///System/Library/Extensions/NVDAStartup.kext/

The data couldn’t be read because it isn’t in the correct format.

<CFBasicHash 0x7fe74a476050 [0x7fff77a80ed0]>{type = immutable dict, count = 2,

entries =>

0 : <CFString 0x7fff77a4b660 [0x7fff77a80ed0]>{contents = "NSDebugDescription"} = <CFString 0x7fe74a4848a0 [0x7fff77a80ed0]>{contents = "Found non-key inside <dict> at line 29"}

1 : <CFString 0x7fff77a586c0 [0x7fff77a80ed0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Malformed data byte group at line 1; invalid hex) UserInfo=0x7fe74a46c700 {NSDebugDescription=Malformed data byte group at line 1; invalid hex}

}

Can't read info dictionary for NVDAStartup.kext: IOCFUnserialize: syntax error near line 28.

JMicronATA.kext has no Info.plist file.

2015-07-07 14:06:42.078 kextcache[983:15271] There was an error parsing the Info.plist for the bundle at URL Contents/Info.plist -- file:///System/Library/Extensions/NVDAStartup.kext/

The data couldn’t be read because it isn’t in the correct format.

<CFBasicHash 0x7fe74a672010 [0x7fff77a80ed0]>{type = immutable dict, count = 2,

entries =>

0 : <CFString 0x7fff77a4b660 [0x7fff77a80ed0]>{contents = "NSDebugDescription"} = <CFString 0x7fe74a69c420 [0x7fff77a80ed0]>{contents = "Found non-key inside <dict> at line 29"}

1 : <CFString 0x7fff77a586c0 [0x7fff77a80ed0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Malformed data byte group at line 1; invalid hex) UserInfo=0x7fe7484ecc20 {NSDebugDescription=Malformed data byte group at line 1; invalid hex}

}

Can't read info dictionary for NVDAStartup.kext: IOCFUnserialize: syntax error near line 28.

All ready. Please restart the Mac.

Link to comment
Share on other sites

Thanks for the input @MacGyverX. The line 29 doesn’t have any key operations. Is that the first error line after password is given?

Line number 235 checks if the pkg exists, and returned true for some reason. The path is correct. The script uses “/tmp” folder as a temporary place where the pkg mods are done, and desktop is no longer used for anything. Tmp folder will be cleared automatically by the operating system.

The space character in the path “/Library/Application Support/NVIDIA/“ caused problems and I had to define a variable test_path to concatenate the final path string. So there must be still some sort of issue with the file existence check, or you have a different kind of character encoding. Did you use the “Download zip” button at GitHub? Did you modify the code? My summer holidays just began, but I try to fix those bugs asap.

Link to comment
Share on other sites

I didn't use the zip, I wget the *.sh file directly. I made no changes to to the code.

wget. chmod. that's it.

Yes. 'Found non-key inside <dict style="color: rgb(51, 51, 51); line-height: 17.2199993133545px; background-color: rgb(242, 246, 248);">at line 29' is the first thing that happens after the script is fired.</dict>

Link to comment
Share on other sites

I didn't use the zip, I wget the *.sh file directly. I made no changes to to the code.

wget. chmod. that's it.

Yes. 'Found non-key inside <dict>at line 29' is the first thing that happens after the script is fired.</dict>

That’s odd. Try to put echo “here1” and echo “here2” on the both sides of the line 24 where the the script executes PlistBuddy command. What do you see then? Maybe the kext is broken. I recommend "sudo nano" for editing the script.

EDIT: better way, run this directly in the terminal:

/usr/libexec/PlistBuddy -c "Print :IOKitPersonalities:NVDAStartup:NVDAType" /System/Library/Extensions/NVDAStartup.kext/Contents/Info.plist

EDIT2:

Have you lately edited NVDAStartup.kext manually? It seems to be broken. NVDAType should be either "Web" or "Official" and now it's missing if the previous command gives error. However, I have to add check there. I think that Driver Manager keeps the original NVDAStartup.kext in the folder “/Library/Application Support/NVIDIA/web-driver/14E46/NVDAStartup.kext” since it has “Official” NVDAType.

Try to uninstall the manager, and then execute the script again.

Link to comment
Share on other sites

Some good and bad news. I am preparing the script for OS X El Capitan 10.11.

post-28870-14495000476578_thumb.png

Current OS X
10.11 15A204h
Previous OS X
10.10.4 14E46
Latest installed web driver
Version: 346.01.03f01
Source: 3rd Party
Install Date: 08/07/15 22:54


Print: Entry, ":IOKitPersonalities:NVDAStartup:NVDARequiredOS", Does Not Exist
You are running official driver due to OS X update or web driver uninstall.
Checking IOPCITunnelCompatible keys...


Print: Entry, ":IOKitPersonalities:NVDAStartup:IOPCITunnelCompatible", Does Not Exist
Missing IOPCITunnelCompatible keys.
Mac board-id found.
Searching for matching driver...


No web driver yet available for build [15A204h].
This script can reinstall the package [346.01.03f01] (y/n)?
y
installer: Package name is NVIDIA Web Driver 346.01.03f01
installer: Upgrading at base path /
installer: The upgrade was successful.
installer: The install requires restarting now.
Checking IOPCITunnelCompatible keys...


Print: Entry, ":IOKitPersonalities:NVDAStartup:IOPCITunnelCompatible", Does Not Exist
Missing IOPCITunnelCompatible keys.
IOPCITunnelCompatible mods done.
NVDARequiredOS does not match. Changed to 15A204h
All ready. Please restart the Mac.

No acceleration yet for Maxwell cards, but I got the eGPU screen output. Apple's System Integrity Protection layer will be a big obstacle, since as default there was many "operation not allowed" messages from terminal even if running commands as root. And you cannot modify Extensions folder kexts without a special NVRAM trick. This explains it:

https://forums.developer.apple.com/message/9062

If that boot-args command is going away in the El Capitan release version, what do we do?

Link to comment
Share on other sites

I think 10.11 will cause that kind of problems for a lot of people. Currently I am hoping that someone finds a way ....

The only problem is that SIP, and when disabled, everything works great. Rootless=0 is just a temporary workaround and removed in the final 10.11 release. Apple says the following:

"System Integrity Protection

A new security policy that applies to every running process, including privileged code and code that runs out of the sandbox. The policy extends additional protections to components on disk and at run-time, only allowing system binaries to be modified by the system installer and software updates. Code injection and runtime attachments to system binaries are no longer permitted.

"

https://developer.apple.com/library/prerelease/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_11.html

Options are to utilize the recovery/installer environment. Maybe self-signed kexts are possible, but that likely requires developer account. As we only need to modify those files once after OS X update, I will try to include the needed modifications for Launch Daemon process responsibility.

Apple's Thunderbolt device programming documentation hasn't changed, IOPCITunnelCompatible is not vanishing away.

  • Thumbs Up 1
Link to comment
Share on other sites

Hi goalque

I recently sold my GTX770 because of persisting stability issues (when gaming, after a random period of time, the screen starts to stutter and crash), and I stepped up to an EVGA GTX960 hoping to get rid of the stability issues. So I went from Kepler to Maxwell and I started to see the "black screen on boot without startup chime" problem. I have a 15" MBPr mid 2014 with nvidia 750 dGPU, and reading through the threads, I seem to be not alone with this problem. However, reading your documentation on the first post, you seemed to get rid of this startup problem.

I understand that it needs to be applied in OS X, but does it affect the boot process for Windows as well? In other words, will it also allow me to boot into windows without problems?

I only run Windows on this machine, no OS X, so that's why I'm asking, if I apply it in OS X, remove it afterwards, will it still run?

Thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.