Jump to content
Ivan92

Disabling NVIDIA Optimus on ASUS U41SV

2 posts in this topic

Recommended Posts

Hi all

 

I got an ASUS U41SV with a discrete NVIDIA graphics card, and I have reached a solution to disable it in OS X.

 

Spec of the laptop

  • CPU: Intel Core i5-2410M 2.3 GHz
  • Memory: 8GB DDR3 1333 MHz
  • Chipset: Intel HM65
  • Graphics: Intel HD3000 + NVIDIA GeForce GT540M
  • Display: 14" 1366 x 768
  • Audio codec: Realtek ALC269
  • WiFi: Atheros 9285

 

OS X Configuration

  • Niresh's distro of Yosemite
  • A whole SSD reserved for OS X
  • Chameleon bootloader
  • SMBIOS: MacBookPro8,1 (13-inch, Early 2011)
  • Updated to 10.10.1 via App Store

 

Disabling Optimus

 

The guide here does not fit this laptop, but after some modifications, it works on U41SV.

  • I first extracted DSDT under Windows with AIDA64
  • Back to OS X, I used MaciASL to edit the DSDT extracted from Windows
  • At the begging of the file, I added the following line:
// ...
DefinitionBlock ("iASLnv4Cgf.aml", "DSDT", 1, "_ASUS_", "Notebook", 0x00000000)
{

    // the line below was added
    External (\_SB_.PCI0.PEG0.GFX0.SGOF, MethodObj) 

// ...
  • Then I added the following method before Method (_WAK, 1, Serialized)
// ...
    Method (M_OF, 0, NotSerialized)
    {
        If (CondRefOf (\_SB.PCI0.PEG0.GFX0._OFF))
        {
            \_SB.PCI0.PEG0.GFX0._OFF ()
        }

        If (CondRefOf (\_SB.PCI0.PEG0.GFX0._PS3))
        {
            \_SB.PCI0.PEG0.GFX0._PS3 ()
        }

        If (CondRefOf (\_SB.PCI0.PEG0.GFX0.SGOF))
        {
            \_SB.PCI0.PEG0.GFX0.SGOF ()
        }
    }
// ...
  • Then called the method M_OF in the method _WAK
// ...
    Method (_WAK, 1, Serialized)
    {
        M_OF ()  // calling M_OF ()
        WAK (Arg0)
        Return (Package (0x02)
        {
            Zero, 
            Zero
        })
    }
// ...
  • And called the method M_OF again in the method _INI
// ...
   Scope (_SB.PCI0)
    {
        Method (_INI, 0, NotSerialized)
        {
            Store (0x07D0, OSYS)
            M_OF ()  // calling M_OF ()
            If (CondRefOf (\_OSI, Local0))
            {
                If (_OSI ("Linux"))
                {
                    Store (0x03E8, OSYS)
                }
// ...
  • Finally clicked compile in MaciASL, and saved the DSDT as /Extra/DSDT.aml

 

And now NVIDIA Optimus is disabled.

Edit: HDMI output working, VGA untested, able to adjust brightness of built-in display

post-1445095-0-70359500-1418096960_thumb.png

 

And here is my edited DSDT.

ASUS-U41SV-DSDT.aml.zip

 

 

Credits

Thanks to Whit3Spirit for the guide here

Share this post


Link to post
Share on other sites
Advertisement

Hello. Thanks for sharing.

I did as you say with a few modifications too to fit my system. Yet I wasn't able to disable NVIDIA on my machine.

Mind lending a hand?
Thank you

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.

  • Similar Content

    • By End3rPower50
      Hi, I want to install MacOS Catalina on my laptop.
      I was installed MacOS Mojave previously but i had a lot of problem, for example my wifi's card (Dell DW1820A) had a problem: My pc sometimes doesn't boot up or pc after some minutes crashed or slowed. 
      Now i want to try again to install macOS.
       
      this is my spec: 
      HP 15-AY034NL 
      CPU: i7 6500U  with HD520
      SSD: 500GB SSD Samsung
      Wifi & Bluetooth: Dell DW1820A (Bluetooth: BCM2045A0) (Wifi: BCM94350ZAE)
      USB 3.0 
      Ethernet: Realtek 8100
       
      Attached in this thread, my old clover configuration created by me (CLOVER OLD) and clover with Wifi driver (CLOVER) created by Hervè (I had asked help at insanelymac's community)
       
      P.S SORRY FOR MY BAD ENGLISH.
      Thanks in advance 
      -ANTONIO
      CLOVER OLD.zip
      CLOVER.zip
×