Jump to content
wbpluto

Why HD4000 on Surface Pro with heavy snow effect?

24 posts in this topic

Recommended Posts

Hi Guys, I am trying to run OS X on Surface Pro natively through Clover UEFI, not in VM. Now, the biggest problem is HD4000 with heavy grayed snow effect (and QE/CI/AirPlay/Brightness is supported)...It's so strange, and how to resolve this problem? Who can help me to resolve it? I have recorded a video for this:http://v.youku.com/v_show/id_XNTM2ODM1NDEy.html

acpi_dsdt-SurfacePro-fromAIDA64.zip

post-39845-0-13958300-1364908724_thumb.jpg

post-39845-0-30601600-1364908743_thumb.jpg

post-39845-0-99712600-1364908761_thumb.jpg

Share this post


Link to post
Share on other sites
Advertisement

test if this work for you, put in Extra

 

 

 

Patched DSDT.zip

Awsome! It really WORKS! I cannot thank you more~~~ The only problem: external display is primary with dock, and internal display is seconary, how to resolve it?

post-39845-0-81917400-1365332161_thumb.jpg

Share this post


Link to post
Share on other sites

look in System Preferences/Display and change this

 

thanks, but why FrameBuffer0(Internal display) is secondary, and FrameBuffer1 (External) is primary display? May I fix it in DSDT?

 

BTW, I found that your DSDT.aml just work while external MiniDisplayPort is connected before launch, if there's only internal display, the screen will be only just top half with many horizontal lines. just like this picture:

post-39845-0-94936900-1365393792_thumb.jpg

Share this post


Link to post
Share on other sites

virallink, the kexts are in the system, Intel HD4000, if this is for surface Pro with i5 ivy bridge

Share this post


Link to post
Share on other sites

I know it's not related to your issue, but is touch stuff working?

 

Pen is working with some offset, but Finger touch is not working.

Share this post


Link to post
Share on other sites

wbpluto,you cam post a Darwin Dump report from your system? with it is more easy identify the problems

Share this post


Link to post
Share on other sites

wbpluto, can you please send your clover config.plist and dsdt.aml and kext in EFI/kexts/10.8 . Thanks

 

Any config.plist is OK I think, DSDt.aml is iFRIE one, EFI/kexts no any files.

Share this post


Link to post
Share on other sites

now I inject EDID in your DSDT, I look in your kextload and the system not load the AIFramenbuferCapry.kext, I suggest to you delete all ATI* NVDA* GeForce*kexts

 

 

PatchedSurface.zip

Share this post


Link to post
Share on other sites

now I inject EDID in your DSDT, I look in your kextload and the system not load the AIFramenbuferCapry.kext, I suggest to you delete all ATI* NVDA* GeForce*kexts

 

 

PatchedSurface.zip

 

Sorry, I noticed youhave made some mistakes in your DSDT.aml, so it was not work, for example, you added a new _DSM method out of the scope of IGPU.

 

And After I open the aml file in DSDT Editor, it reported there are some warnings of the file.

 

post-39845-0-01427500-1365944199_thumb.png

 

After all, thanks for your kind again so much!

Share this post


Link to post
Share on other sites

HI, iFIRE, I found that although Internal display didn't work correctly without External display connected before launch, but if I switch the rotation to 90/180/270 degrees, it will be extremely OK! If I switch it back to 0 degree, it go back to didn't work.

 

Maybe it is a pregnant discovery. Do you have some advice on this?

Share this post


Link to post
Share on other sites

the warning is not important, is only warnings not errors, if you switch rotation and this work, you can make a script and add it in launch app in SP/Accounts, and the internal display can be a problem with EDID of your display, I inject it but appears that not work with this fix.

 

 

 

 

EDIT. Take a look in it, if the rotation work for you from terminal app, we can make a script and add this for launch with the system,is very easy, test with terminal comands, and see that work for you.

 

 

 

A Unix Utility to Change the Primary Display on OSX

Share this post


Link to post
Share on other sites

wbpluto, can you post your Clover config.plist and list of injected kexts? I'm trying to get OS X running on my Surface Pro as well, and am not getting as far as you.

Share this post


Link to post
Share on other sites

the warning is not important, is only warnings not errors, if you switch rotation and this work, you can make a script and add it in launch app in SP/Accounts, and the internal display can be a problem with EDID of your display, I inject it but appears that not work with this fix.

 

 

 

 

EDIT. Take a look in it, if the rotation work for you from terminal app, we can make a script and add this for launch with the system,is very easy, test with terminal comands, and see that work for you.

 

 

 

A Unix Utility to Change the Primary Display on OSX

 

Sorry, this domain *.lefora.com is blocked by Chinese government because it's a public blog hosting some sensitive contents, so we cannot access it in China.

 

wbpluto, can you post your Clover config.plist and list of injected kexts? I'm trying to get OS X running on my Surface Pro as well, and am not getting as far as you.

 

Hi,guy. Any config.plist is OK I think, DSDt.aml is iFRIE one, and my EFI/kexts/10.8 folder is empty.

Share this post


Link to post
Share on other sites

 

A Unix Utility to Change the Primary Display on OSX

 

 

Categories > Tips, Tricks, and Scripts

 

Page 1

1–3

 

 

 

 

 

 

 

fb-rotate” is a nifty little Unix utility that I've been slowly improving and, in the process, using it to give some of my AppleScripts the ability to rotate displays, determine display arrangement, determine mouse cursor location and, now, the ability to change the primary display. The utility began as a bare-bones display rotation program from Amit Singh's OSX Internals, which I've added to as I've learned more about Objective-C and Cocoa.

On OSX, the primary, or main, display is the display with the menu bar. Ordinarily, you change the main display by dragging the menu bar box to a different display in System Preferences' Displays tab.

SwitchDisplayMain1.png

Using fb-rotate, you can now do this in Terminal. After downloading or compiling the utility and changing the working directory to fb-rotate's folder, changing the primary display works as follows:

 

$
./fb-rotate -i
# info on displays

# Display_ID Resolution ____Display_Bounds____ Rotation

0 0x19156030 1280x800 0 0 1280 800 0 [main][internal]

1 0x76405c2d 1344x1008 1280 0 2624 1008 0

Mouse Cursor Position: ( 32 , 464 )

$
./fb-rotate -d 0x76405c2d -m
# set main display to ‘
0x76405c2d

$
./fb-rotate -i

# Display_ID Resolution ____Display_Bounds____ Rotation

1 0x76405c2d 1344x1008 0 0 1344 1008 0 [main]

0 0x19156030 1280x800 -1280 0 0 800 0 [internal]

Mouse Cursor Position: ( 32 , 464 )

[Note that the main display moved from ‘0x19156030’ to ‘0x76405c2d’.]

Download: fb-rotateNEW2.zip [updated June 28, 2010]

 

This addition to fb-rotate should make it possible for the menu bar to follow the mouse between displays in my display switching AppleScript: SwitchTabletDisplay — a significant improvement. Stay tuned.

 

reply

quote

29 June 2010 05:49 AM

 

 

 

 

 

 

 

To acquaint everyone with the other things that fb-rotate can do, I'll walk though each of the options.

After you've changed the current directory to the one fb-rotate is stored, then,

 

./fb-rotate -l

will list the display id's, e.g.

$ cd /Applications/Modbook\ Tools/fb-rotateNEW2

$ ./fb-rotate -l

Display ID Resolution

0x19156030 1280x800 [main display]

0x76405c2d 1344x1008

 

 

./fb-rotate -i

will list the display id's with other information, e.g.

$ ./fb-rotate -i

# Display_ID Resolution ____Display_Bounds____ Rotation

0 0x19156030 1280x800 0 0 1280 800 0 [main][internal]

1 0x76405c2d 1344x1008 1280 0 2624 1008 0

Mouse Cursor Position: ( 528 , 409 )

[unlike the file com.apple.windowserver.plist, fb-rotate's information is always accurate and current.]

 

 

./fb-rotate -d 0 -r 180

will rotate the main display 180 degrees, e.g.

$ ./fb-rotate -d 0 -r 180

$ ./fb-rotate -i

# Display_ID Resolution ____Display_Bounds____ Rotation

0 0x19156030 1280x800 0 0 1280 800 180 [main][internal]

1 0x76405c2d 1024x768 1280 0 2304 768 0

Mouse Cursor Position: ( 1047 , 359 )

[You can rotate to the 0, 90 and 270 degree orientations as well.]

 

 

./fb-rotate -d <display ID> -r 0

will rotate the display with the indicated ID back to the standard orientation, e.g.

$ ./fb-rotate -d 0x19156030 -r 0

$ ./fb-rotate -i

# Display_ID Resolution ____Display_Bounds____ Rotation

0 0x19156030 1280x800 0 0 1280 800 0 [main][internal]

1 0x76405c2d 1344x1008 1280 0 2624 1008 0

Mouse Cursor Position: ( 226 , 103 )

[Again, you can also rotate to the 90, 180 and 270 degree orientations.]

 

Finally, as noted earlier,

 

./fb-rotate -d <display ID> -m

will set the display with the indicated ID to be the primary (main) display that has the menu bar, e.g.

$ ./fb-rotate -d 0x76405c2d -m

$ ./fb-rotate -i

# Display_ID Resolution ____Display_Bounds____ Rotation

1 0x76405c2d 1344x1008 0 0 1344 1008 0 [main]

0 0x19156030 1280x800 -1280 0 0 800 0 [internal]

Mouse Cursor Position: ( 1122 , 438 )

And that's all there is to it.

EricN

 

reply

quote

01 July 2010 01:53 AM

 

 

 

hi, you cam make a test, delete all kexts Graphics, backup first, repairPermissions/reboot, and look if you have this in mode vesa with internal display only, if with any graphic kexts AppleIntelHD this work in vesa mode, this is a problem with IntelHD kexts.

Share this post


Link to post
Share on other sites

Awsome! It really WORKS! I cannot thank you more~~~ The only problem: external display is primary with dock, and internal display is seconary, how to resolve it?

 

now I inject EDID in your DSDT, I look in your kextload and the system not load the AIFramenbuferCapry.kext, I suggest to you delete all ATI* NVDA* GeForce*kexts

 

 

attachicon.gifPatchedSurface.zip

I want to download this file but insanelymac does not allow me

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×