Kyle_C, on May 24 2011, 03:11 PM, said:
Correct me if I'm wrong, but I think AppleIntelHDGraphics is the part that contains the common denominator used by both Sandy Bridge macs and the earlier macs with hybrid Intel/Nvidia graphics. So it really does do stuff.
Fear not, quite right you are... © Yoda

No offense, really. Please excuse my attempt to humour, no offense intended.
In fact, I was so sure AppleIntelHDGraphics does contain "general" code, while AppleIntelHDGraphicsFB and AppleIntelSNBGraphicsFB do include the rest ("specific"), that did not even bother to delete AppleIntelHDGraphicsFB and other kexts related to i3-i5-i7 1st generation graphics (it might be the 5th generation of Intel onboard GFX in fact, while SB's HD is the 6th, if I am not mistaken).
But then I read bcc9's report about "os-info" related code found in AppleIntelHDGraphicsFB kext only, which is not shown by kextstat on my system, while I definitely saw the influence of the "os-info" injection (regadless of modified DSDT.aml, by the way).
Well, I do trust most people (until they prove I should not), thus my paranoia strikes and I start to suspect AppleIntelHDGraphicsFB for dirty tricks, like loading, messing up my settings and unloading silently (with no evidence in kextstat).
I would consider it as a bad practice, since according to Info.plist the kext is not supposed to interfere as long as the newest HD 2000/3000 graphics is concerned. By the way, did you notice that format of values for IOPCIPrimary match varies? It is not alwas explicitly hex (with 0x prefix). Almost sure it does not matter but IMHO strange to see such a mix in the production code.
And then bcc9 confirmed that he was writing about 10.7 kexts only.
Kyle_C, on May 24 2011, 03:11 PM, said:
Okay, thanks for clearing that up. I'll experiment with it a bit.
I see screen artifacts now and then. Maybe it is a mild incarnation of the problem you have? I see two different types: a sort of checkered gray pattern that shows up in some windows (especially Microsoft Word), and lots of thin horizontal lines (especially on the desktop). It seems to be fairly random how badly I suffer from the problem on any particular boot: if I get a good one, there aren't any. Anyway, just thought I'd describe that in case you think your issue is related.
If my memory still serves me, the 1st type of artifacts was seen (on Screen Sharing) with "single port layout, not internal display" configurations.
Whenever I use "double port layout", even strange "Display on port #0 (detected and native 1600x900 selected) + Display connector on port #0 (not detected)", my Screen Sharing is perfectly artifact free, while internal LCD is either blank (backlit, not switched off) or contains the boot time image (gray background with apple logo and a frozen wheel-style progress bar (not sure what is a proper name for this stuff).
The 2nd type described above reminds me artifacts I do see while using openSUSE LiveCD 11.4 for dumping hardware info, etc. -- any touch down menu (the whole rectangular area) is heavily corrupted, while the rest of the X11 interface looks pretty good.
The distortion mentioned by me earlier looks like "bad timings", it occurs on internal LCD with "Display on single port #0" configurations (01h or 8ah in the 5th byte of "os-info"). But EDID is always detected correctly! Still tried to force EDID manually Display Override trick, no difference.
I suspect, that some part of my "os-info" forces wrong timings, overriding the EDID (my os-info mostly contains nils, in fact). Still have to try "AAPL,Tn" / "AAPL,overried-has-edid-digital" and other values.
Kyle_C, on May 24 2011, 03:11 PM, said:
I did my fresh install of 10.6.8, here are the notes I took. This is considerably simpler now that improved Sandy Bridge bootloaders are available.
* use iBoot to install SL retail
** I installed onto an MBR-formatted disk (here's a neat trick I just discovered: you can do this by plugging in a USB flash drive and then doing 'cd /Volumes/USBFLASH/ ; /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer /System/Installation/Packages/OSInstall.mpkg'. No need to patch OSInstall.mpkg!)
* remove ACPI_SMC_PlatformPlugin.kext (to prevent a KP during OS update), touch /System/Library/Extensions, and reboot
* update to 10k524, but don't reboot
* use multibeast 3.6.0 to install fakesmc, nullcpupowermanagement and macbookpro8,1 definition
* install chimera 1.4
* (because of my screwy hard drive) boot into linux to manually write the boot1h file)
* add the device-properties string posted by lenovo3000 to the Boot plist
* reboot with working graphics and proceed to install whatever other kexts
I have the same SMboardproduct that you all have mentioned, the one from the MacBookPro8,1, but I still can't get anything to happen with 'detect displays'. I do have an AppleIntelFramebuffer device for the HDMI port in my ioreg, and when I plug in a monitor the screen flashes, but I don't end up with any additional IODisplayConnect device (I can see from a comparison of ioreg dumps that the 'display0' IODisplayConnect device for the LCD gets recreated with the same device details under a new id number, and that's it). I guess the next thing to try would be to fix my connector-type so that it is 0x800 instead of 0x400.
Thanks a lot indeed for the details! I noticed your earlier claims and came to conclusion, that writing step-by-step guides is not your favourable hobby. No offense, once again

Hope to try 10.6.8 full update today, just before the Lion testing. I would expect 10.6.8 to deal more correctly with HD2000/3000, since it is a common release for all the hardware, including the newest SB models (not a separate MBP-only update, I mean).