AMD issues with nVidia cards running Lion 64-bits/Mountain Lion
#21
Posted 08 January 2013 - 09:44 PM
If you can achieve full resolution in Safe Mode with NVIDIA card, try the following with stock 10.8.2 or NVIDIA 304.00.05f02 kexts:
Disable (or remove from /S/L/E) GeForceGA.plugin and GeForceGLDriver.bundle, e.g. using
cd /S/L/E
sudo mv GeForceGA.plugin GeForceGA.plugin.dis
sudo mv GeForceGLDriver.bundle GeForceGLDriver.bundle.dis
sudo touch /S/L/E
sudo reboot
Doing this with my GTX 560 Ti gives me Normal Mode with Software-OpenGL, i.e. like Safe Mode, but just a bit better...
Phenom II x4 965 with Andy's rc4 Kernel (thanks a lot btw)
Background: on my system WindowServer crashes in Normal Mode because of GeforceGLDriver calling bzero$VARIANT$sse2, which in turn causes an EXC_BAD_ACCESS with KERN_INVALID_ADDRESS. This is from the first WindowServer crash log after a Normal Boot.
Since bzero() is just about the simplest function one can imagine, it either gets called with incorrect parameters, which would point to something bad happening inside GeforceGLDriver, or in itself creates an invalid access, which would indicate that this bzero function fails in some way. Is it possible that this "sse2 variant" fails because of the AMD kernel? Maybe cpuid related in any way?
- byransays, pauℓzurrr., theconnactic and 1 other like this
#22
Posted 09 January 2013 - 03:55 AM
Your workaround worked, thank you very much indeed. It's a relief to boot normally, even to a system that's not fully working. About the cpuid issues: well, i found quite a lot of cpuid instructions by disassembling NVDAResman with otool. I don't remember if i also searched GeForceGLDriver for cpuids, so i'll disassemble it later. Perhaps we're on the verge of isolate the problem, the first step towards finding an actual solution. Thank you very much for your answer and welcome onboard!
Best regards!
#23
Posted 09 January 2013 - 05:56 AM
#24
Posted 09 January 2013 - 06:29 AM
Best regards!
#25
Posted 09 January 2013 - 07:15 AM
#26
Posted 09 January 2013 - 01:44 PM
Hi Guys, first post to tell you this:
If you can achieve full resolution in Safe Mode with NVIDIA card, try the following with stock 10.8.2 or NVIDIA 304.00.05f02 kexts:
Disable (or remove from /S/L/E) GeForceGA.plugin and GeForceGLDriver.bundle, e.g. using
cd /S/L/E
sudo mv GeForceGA.plugin GeForceGA.plugin.dis
sudo mv GeForceGLDriver.bundle GeForceGLDriver.bundle.dis
sudo touch /S/L/E
sudo reboot
Doing this with my GTX 560 Ti gives me Normal Mode with Software-OpenGL, i.e. like Safe Mode, but just a bit better...
Phenom II x4 965 with Andy's rc4 Kernel (thanks a lot btw)
Background: on my system WindowServer crashes in Normal Mode because of GeforceGLDriver calling bzero$VARIANT$sse2, which in turn causes an EXC_BAD_ACCESS with KERN_INVALID_ADDRESS. This is from the first WindowServer crash log after a Normal Boot.
Since bzero() is just about the simplest function one can imagine, it either gets called with incorrect parameters, which would point to something bad happening inside GeforceGLDriver, or in itself creates an invalid access, which would indicate that this bzero function fails in some way. Is it possible that this "sse2 variant" fails because of the AMD kernel? Maybe cpuid related in any way?
Also confirmed working on Athlon with 8600GT!
Edit:
Just tried patching the GeForceGA.plugin and GeForceGLDriver.bundle.
./amd_insn_patcher_ext GeForceGA.plugin/Contents/MacOS/GeForceGA GeForceGAPatched Patching universal binary (2 architectures) Patching I386 part (processor 7, architecture 0) Code signature removed succesfully (32bit)Patch report (1): 4 instructions patched, 0 bad instructions, patches bypassed: NO Patching X86_64 part (processor 16777223, architecture 1) Code signature removed succesfully (64bit)Patch report (2): 0 instructions patched, 62 bad instructions, patches bypassed: NO
./amd_insn_patcher_ext GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver GeForceGLDriverPatched Patching universal binary (2 architectures) Patching I386 part (processor 7, architecture 0) Code signature removed succesfully (32bit)Patch report (1): 79 instructions patched, 411 bad instructions, patches bypassed: NO Patching X86_64 part (processor 16777223, architecture 1) Code signature removed succesfully (64bit)Patch report (2): 0 instructions patched, 40646 bad instructions, patches bypassed: NO
./amd_insn_patcher_ext GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib libclh.dylibPatched Patching universal binary (2 architectures) Patching I386 part (processor 7, architecture 0) Code signature removed succesfully (32bit)Patch report (1): 53 instructions patched, 252 bad instructions, patches bypassed: NO Patching X86_64 part (processor 16777223, architecture 1) Code signature removed succesfully (64bit)Patch report (2): 1 instructions patched, 34144 bad instructions, patches bypassed: NO
I then replaced the orginal files with the patched ones and gave them the correct permissions.
Then i tried booting with those files, got the following kernel panic. This is in normal mode..
I've also patched NVDAResman and GeForceVADriver which resulted in not getting any kernel panic but now i just get this screen.
#27
Posted 09 January 2013 - 07:06 PM
Hi Guys, first post to tell you this:
If you can achieve full resolution in Safe Mode with NVIDIA card, try the following with stock 10.8.2 or NVIDIA 304.00.05f02 kexts:
Disable (or remove from /S/L/E) GeForceGA.plugin and GeForceGLDriver.bundle, e.g. using
cd /S/L/E
sudo mv GeForceGA.plugin GeForceGA.plugin.dis
sudo mv GeForceGLDriver.bundle GeForceGLDriver.bundle.dis
sudo touch /S/L/E
sudo reboot
Doing this with my GTX 560 Ti gives me Normal Mode with Software-OpenGL, i.e. like Safe Mode, but just a bit better...
Phenom II x4 965 with Andy's rc4 Kernel (thanks a lot btw)
Background: on my system WindowServer crashes in Normal Mode because of GeforceGLDriver calling bzero$VARIANT$sse2, which in turn causes an EXC_BAD_ACCESS with KERN_INVALID_ADDRESS. This is from the first WindowServer crash log after a Normal Boot.
Since bzero() is just about the simplest function one can imagine, it either gets called with incorrect parameters, which would point to something bad happening inside GeforceGLDriver, or in itself creates an invalid access, which would indicate that this bzero function fails in some way. Is it possible that this "sse2 variant" fails because of the AMD kernel? Maybe cpuid related in any way?
Right, you're looking at the right things. Bzero is not located inside the kernel though, and from what I gather it rather fails inside a memory allocation routine, and this would be inside the kernel. Besides, I already tried patching Bzero and Memset and ali. to no avail.
There is still hope, if we could find more about what really hangs that'd be a good first step.
gotta run, y'all take it easy folks
#28
Posted 09 January 2013 - 10:39 PM
#29
Posted 10 January 2013 - 05:26 AM
#30
Posted 10 January 2013 - 06:20 AM
#31
Posted 14 January 2013 - 05:22 PM
I have serious problems. These problems occur for a few days is very often, it is very annoying!
After I installed and adjusted the V10.8.2 Nvidia graphics drivers for example by rob.muc, I get :
Kernel Extensions in backtrace: com.apple.AppleFSCompression.AppleFSCompressionTypeZlib problems.
before the panic comes, I get error messages and then the system collapses. The problem also occurs when I want try to install drivers or software.
Attached Files
#32
Posted 14 January 2013 - 06:12 PM
the nvidia stuff isn't working because of cpuid, right?
if so, couldn't we just use this script to remove the cpuid's? i do not have the skills to say if it works oob, but maybe the modifications aren't that big?!?
statements?
#33
Posted 14 January 2013 - 06:43 PM
see here AMD Patcher 0.31 by zephyroth
#34
Posted 14 January 2013 - 08:31 PM
/System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
Is where it needs to be installed.
Appararently there is a cpuid check inside the meminit function of libclh.dylib
I've uploaded both files...
They need testing...
libclh.dylib should work, NVDAResman is an experiment.
Both are for ML 10.8.2
Attached Files
- spakk likes this
#35
Posted 14 January 2013 - 08:34 PM
#36
Posted 14 January 2013 - 09:20 PM
cant load kext.com.apple.nividia.nvGF100Hal -link failed
failed to load exrcutable for kext.com.apple.nividia.nvGF100Hal
Attached Files
#37
Posted 14 January 2013 - 09:30 PM
And with stock NVDAResman and modified libclh?with dylid+modified Driver+ V10.8.2 Driver , boot flag : npci=0x3000 -v -f
cant load kext.com.apple.nividia.nvGF100Hal -link failed
failed to load exrcutable for kext.com.apple.nividia.nvGF100Hal
#38
Posted 14 January 2013 - 09:34 PM
And with stock NVDAResman and modified libclh?
Yes!
#39
Posted 14 January 2013 - 09:36 PM
2 hours ago i thought i modify the script because it doesn't work. then i went to a friend and had some sort of.... i call it a "sports cigarette"
so what does spakk's test mean? just removing the cpuid doesn't work? for my understanding, if you remove cpuid's and a function inside the binary checks if cpuid's is there, does it fail then? i mean you could just do "if cpuid is fnord then run code" .... but you could do also "if cpuid isn't there than exit"... you understand me?
in the past apple just checked for cpuid and, if right, then executed the code, right? maybe they changed cuz they realised it doesn't work
sorry if the questions are bit "lowlevel", but i'm not a experienced programmer... just want to know how things work
#40
Posted 14 January 2013 - 09:46 PM
In libclh I could remove both the cpuid and the check for it.
It seems Apple does an extra tamper check, yes...
Also tagged with one or more of these keywords: AMD, nVidia, GeForce, Mountain Lion, Lion, 64-bits, hackintosh, legacy kernel, QE/CI
| Topic | Stats | Last Post Info | ||
|---|---|---|---|---|
|
OSx86 Project →
New Users Lounge →
HP Mini 110-3605TUStarted by Moin_khan, 23 Apr 2013 |
|
|
|
|
OSx86 Project →
OSx86 Installation →
OSx86 10.8 (Mountain Lion) →
Hackintosh Compatible Gaming NotebookStarted by aspen1135, 20 Apr 2013 |
|
|
|
|
OSx86 Project →
Post-Installation →
OSx86 10.8 (Mountain Lion) →
Hackintosh ML INSTALL SUCCESS but No app store?Started by jkb242, 16 Apr 2013 |
|
|
|
|
OSx86 Project →
Post-Installation →
OSx86 10.8 (Mountain Lion) →
HD 7970 and Asus P8Z77-VStarted by elstan, 16 Apr 2013 |
|
|
|
|
International →
Português →
Lion (10.7) →
HELP! iAtkos L2 não sai da tela da maçã!(Fica o tempo todo carregando)Started by Fabricio Marques, 11 Apr 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account











