Jump to content

Enabling FULL graphics acceleration


27 posts in this topic

Recommended Posts

Hi everyone,  

 

I'm running 10.8.2 on my Lenovo z710 laptop and of course booting with "Graphics Mode"="1600x900x32" (no video kexts) but it's not full acceleration.  The desktop is a nice resolution of course, but videos will NOT play with VLC, MPlayerX, (audio works, but black empty screen for video)....and this is a huge downer for me.  I can't make the switch to this Mac until I have full Video functionality.

 

I even have Final Cut Pro X installed and it won't open up either because it complains that hardware acceleration is required :-(

 

Any clues?

 

Link to comment
Share on other sites

Unfortunately, 10.8.5 and all flavors of Mavericks will not load on this laptop - I've trolled all the forums, patching kernels for this cpu etc....The closest I got was the install of 10.9.1 to load, but never could get the system to boot back up and finish the installation.   Niresh's 10.8.2 distro was pretty much hassle-free to load off of DVD and only needs "IGPEnabler=Yes" to boot and work :-)


I figure it's a patched kext or something I am missing - the "About this Mac" reports that no kext is loaded for the graphics (Unknown model of course), and that it is only 32MB of memory which I know is untrue.

Link to comment
Share on other sites

I think you have  better chance to enable HD4600 with Mavericks 

 

Did you try the latest Chameleon  and the  Intel HD5000 (Mobile) AAPL,ig-platform-id.

169.jpg

Link to comment
Share on other sites

Wasted 3 hours with the new Mavericks 10.9.2 tonight....can't even get the Installer GUI to launch with "-x" safe mode like I could with the previous versions.  10.8.2 is the only OSX that will load on this darn thing :-(

Link to comment
Share on other sites

Only 10.8.5 and Mavericks support the HD4400

 

Use "GraphicsEnabler=Yes IntelAzulFB=12"

 

Take care of the spelling and syntax.

 

And please tell me how it goes :)

Link to comment
Share on other sites

Thanks for your input guys, I've tried all of these flags you all mentioned last night with no luck.  I did manage to get the new Mavericks 10.9.2 to finally install this morning, but I am super-confused now.  The only way it would install is to use 'Clover' for bootloader, then boot into single user to mount the USB install drive, move all of the video kext files to a /kext_backup directory and then exit out of single user....that installed (phase 1 anyway).

 

Phase 2 requires you to boot off the USB drive but then to select the HD to boot so the installation can continue, and this is where it gets confusing:

 

1) Using Chameleon will only get the machine rebooted pretty quickly no matter what boot options/flags I use (including -x, which is supposed to be safe mode)

2) Using Clover got me in, but ONLY using 'safe mode' which sucks.  The installation finished though - but now when you restart the machine, 'safe mode' is the only mode that will give me a desktop.  It just hangs at the console screen with complaints of IOBlueToothHostController that I don't care about anyway...I've never used bluetooth in my life lol.

 

What do I do to get my desktop functioning without safe mode booting?  I want to use the machine like 10.8.2....I didn't have to use safe mode with Niresh's version?


Also, if it helps, when I was in single user mode, I browsed the kext directories in S/L/E and I saw the newer directory I didn't have before with ML, "AppleIntelHD5000.kext", and I browsed the Info.plist file in there and saw my PCI device ID in the 'IOPriorityMatch' string, 0x04168086....so I know that is the one I will eventually use to get graphics working?  I have moved all of the older AppleIntelHD3000 and HD4000 directories to /kext_backup fyi.

Link to comment
Share on other sites

Chameleon doesn't support Haswell power management which is why your system is rebooting. (You'll need a patched kernel if you insist on using it)

I'd strongly recommend you stick to clover since you have a Haswell system. 

 

Now, reinstall the graphics kexts and in Clover's graphics options, enable intel injection.

 

And if anything goes wrong, post a screenshot.

Link to comment
Share on other sites

Okay, here's what I got with "-v npci=0x2000 GraphicsEnabler=Yes IntelAzulFB=12 dart=0"  and this is pretty much what I get with any flags I try with clover if it's not safe mode:

post-1305056-0-37366800-1393698369_thumb.jpg

Link to comment
Share on other sites

Okay, here's what I got with "-v npci=0x2000 GraphicsEnabler=Yes IntelAzulFB=12 dart=0"  and this is pretty much what I get with any flags I try with clover if it's not safe mode:

 

The GraphicsEnabler=Yes and IntelAzulFB=12 flags are Chameleon-specific. They won't work with Clover.

 

Did you reinstall all the graphics kexts you removed?

 

In Clover, enable intel injection in the graphics menu.

Link to comment
Share on other sites

Okay, I moved all of the other IntelHD kexts from /kext_backup to /S/L/E like they were originally.  I'm in the "Graphics Injection" menu now, it already lists my correct Model in that line and detects the correct deviceID=0416, but do I change/edit any other lines?  FakeID?  

Link to comment
Share on other sites

Well by 'enable injection' you mean going to Graphics Options and verify it detected everything and then selecting Return....then yes, I've enabled it.  The Options say:

 

Number of VideoCards=1

Card DeviceID=0416

 

InjectEDID: [  ]

Model: Intel HD Graphics 4600

InjectIntel: [+]

FakeID: 0x00000000

FBConfig: NA

Ports: 01

RefCLK: 0

LoadVideoBIOS: [  ]

Return

 

I hit return, and it goes back to the main menu and the 'default' flags are left "-v npci=0x2000"

 

I boot with that on the HDD and not the USB drive.

 

Still freezes at the complaints of the Bluetooth Controller like the picture attached above?

Link to comment
Share on other sites

Well by 'enable injection' you mean going to Graphics Options and verify it detected everything and then selecting Return....then yes, I've enabled it.  The Options say:

 

Number of VideoCards=1

Card DeviceID=0416

 

InjectEDID: [  ]

Model: Intel HD Graphics 4600

InjectIntel: [+]

FakeID: 0x00000000

FBConfig: NA

Ports: 01

RefCLK: 0

LoadVideoBIOS: [  ]

Return

 

I hit return, and it goes back to the main menu and the 'default' flags are left "-v npci=0x2000"

 

I boot with that on the HDD and not the USB drive.

 

Still freezes at the complaints of the Bluetooth Controller like the picture attached above?

 

I think I just discovered a bug with Clover, but only one way to confirm!!

 

Could you please download maciasl (google it) and use it to extract and upload your dsdt.

 

Edit:

I reported the bug to the Clover team. Hopefully they'll fix it in the next release.

Link to comment
Share on other sites

I got 159 compile errors!

 

Disable intel graphics injection, and disable (uncheck) all the DSDT patches in Clover then boot and re-extract the DSDT.

Or extract the DSDT from windows.

Link to comment
Share on other sites

159 compile errors, or 1,000 errors - pretty much meaningless to me as I don't run this program.   I took the '+' sign out of the injection option, and the "DSDT fix mask" options had no check boxes in them to be unchecked; the page was just about blank. 

 

You still need another DSDT extraction, with nothing much changed?  I did read some info that said not to extract this DSDT when booted from the HDD after install.....like I am doing today?

 

Would it just be easier to put my Windows 8 HDD back in and boot from that and do this extraction process?  Whatever is easier, but we have reached a point where this DSDT stuff is 'over my head' now :-(

 

Thanks,

Link to comment
Share on other sites

OK, let me explain the whole thing for you..

 

Clover is injecting a desktop-compatible platform-id for your GPU. This makes OS X expect an external monitor rather than a laptop display, which is why GUI doesn't load.

What I'm trying to do is manually inject a laptop ig-platform-id via DSDT to enable your HD4600 but the DSDT you provided is missing a lot code and cannot be used.

 

So, yeah. I'd like a clean DSDT either extracted from Windows or from OS X after disabling all the DSDT and graphics patches in Clover.

 

I've reported the issue to the Clover team and hopefully a fix will be released in a Clover update in a couple of days.

 

PS. I'm have to leave now. I'll be back tomorrow night. 

 

This is what needs to be injected into your DSDT via maciasl (if case you or someone else here wants to help).

#Maintained by: RehabMan for: Laptop Patches
#graphics_Haswell_0a260006.txt


#
# Use this patch if your laptop has Haswell graphics
#


into method label _DSM parent_adr 0x00020000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
    Return (Package()\n
    {\n
        "AAPL,ig-platform-id", Buffer() { 0x06, 0x00, 0x26, 0x0a },\n
        "hda-gfx", Buffer() { "onboard-1" },\n
        "AAPL00,DualLink", Buffer() { 0x01, 0x00, 0x00, 0x00 },\n
    })\n
}\n
end;
Link to comment
Share on other sites

Thanks for the explanation :-)  I'll put my Windows HDD in the machine and see if I can run the program to extract a clean file and I'll post it here.

Link to comment
Share on other sites

Ok, hopefully this is a 'cleaner' DSDT file.  I generated this from Windows 8.  Can I patch that code in myself with this Windows version?  I would rather not have to keep swapping hard drives out of this machine if I can help it.

 

Thanks!

 

Lenovo-z710-Win8.zip

Link to comment
Share on other sites

I have the Windows dsdt file on the mac's hdd now.  When I click on 'Patch' it wants me to select a sub-tree under 'Sourceforge' on the left of the screen.  I assume I use the patch you mentioned before on the tree "HD4k GFX" ?  


It's still complaining about 159 errors on my machine as well - I have no idea what to do and this 'Mavericks' idea is a major hassle.  I only bought this laptop a few weeks ago because all of it's hardware was supposedly 'supported' and clearly it is not :-(  I just find it hard to believe that an older OS like 10.8.2 will run this machine with less hassles than the latest OS.

Link to comment
Share on other sites

One more reason to hate Lenovo. Your default BIOS/DSDT is buggy. 

Another example of a big PC manufacturer abusing its market share and shipping machines not complying with ACPI standards... sigh :(

 

Anyway, here's your patched DSDT (after an excruciatingly painful fix).

 

Put it in the /EFI/ACPI/patched folder and in Clover's options menu, *disable* the inject intel option.

 

Good Luck!!

DSDT.zip

Link to comment
Share on other sites

Thank you, I'll give this a try!!  I did manged to get the darn thing to boot ONE time last night with no flags and no safe mode; never could get it to do that again though.

 

I will copy this over soon, and also need to copy Clover over to my actual hdd; still booting off of the USB stick.  I can do that from Clovers menu options though I think?  

 

Thanks again!  I'll let you know how it goes :-)

Link to comment
Share on other sites

 Share

×
×
  • Create New...