Jump to content

Disabling NVIDIA Optimus card on all laptops


Whit3Spirit
 Share

345 posts in this topic

Recommended Posts

HELLO

can someone help me to disable my optimus card in my laptop RC530 samsung

i test some method but never work for me

i send acpi files from aida and the dsdt that i use with clover

 

thank you

If you provide specific information about your problem, like message errors, logs, or any hint that will make people understand what is happening, then I believe that help will come faster

 

You will hardly have your files patched just by attaching them here and saying that it never worked for you 

Link to comment
Share on other sites

dear ones,

 

the guide described here 

 

1. turns card off in _ini

2. turns card on in _pts

3. turns card off in _wak

 

my ssdt is patched, but only with step 1.

 

my laptop correctly sleeps and wakes up.

 

my doubt: is it necessary to include steps 2 and 3? does my nvidia card turns on after wake up?

Link to comment
Share on other sites

dear ones,

 

the guide described here 

 

1. turns card off in _ini

2. turns card on in _pts

3. turns card off in _wak

 

my ssdt is patched, but only with step 1.

 

my laptop correctly sleeps and wakes up.

 

my doubt: is it necessary to include steps 2 and 3? does my nvidia card turns on after wake up?

It is necessary for some machines, but not all.

  • Like 1
Link to comment
Share on other sites

thank you dear rehabman, but is it possible to verify if the nvidia card is turned on during the 'wake up' after system sleep?

Link to comment
Share on other sites

thank you dear rehabman, but is it possible to verify if the nvidia card is turned on during the 'wake up' after system sleep?

Measure power at wall?

  • Like 1
Link to comment
Share on other sites

great and simple idea!

 

but i'll try to make it more simple... i'll read battery remaining time before sleep and after wake up. if time doesn't decrease considerably, then it's ok!

 

i'll post results here asap!

 

_________________________________

 

EDIT: taking as reference the remaining battery time, my laptop does not turn the nvidia card on during wake up. thanks for the tip!!!

Link to comment
Share on other sites

great and simple idea!

 

but i'll try to make it more simple... i'll read battery remaining time before sleep and after wake up. if time doesn't decrease considerably, then it's ok!

 

i'll post results here asap!

 

_________________________________

 

EDIT: taking as reference the remaining battery time, my laptop does not turn the nvidia card on during wake up. thanks for the tip!!!

Probably better to compare Amperage in ioreg (under battery) as a way to gauge power draw. Note: The system can be a little busy right after sleep, so you should expect greater power draw just after wake as compared with idle prior to sleep.

  • Like 1
Link to comment
Share on other sites

dear rehabman,

 

this is what is got in idle before sleep and in idle after sleep:

 

BEFORE

FFFFF162 (or 4294963554)

 

AFTER

FFFFF6CD (or 429464941)

 

am i wrong to conclude that the nvidia card is constantly off?

Link to comment
Share on other sites

dear rehabman,

 

this is what is got in idle before sleep and in idle after sleep:

 

BEFORE

FFFFF162 (or 4294963554)

 

AFTER

FFFFF6CD (or 429464941)

 

am i wrong to conclude that the nvidia card is constantly off?

Before, discharge @3742 mA. After, discharge @2355 mA. Battery is discharging at a lower rate after sleep/wake than prior to sleep.

 

I think you can make your own conclusions...

  • Like 1
Link to comment
Share on other sites

hello 

i just want to know how to locate the off for my systeme

and after i research how apply a patch or modify dsdt or ssdt

ps: i don't use any ssdt 

i have ssdt in dsdt for cpu power managent with clover

i have same error too like in post 172

            #172            

thank you

Are you sure you has dumped all your SSDT ?

Files are natively on your computer to work. If you're not sure you have all the files, used AIDA64 on windows to extract your ACPI.

Link to comment
Share on other sites

hello

the only ssdt that i use in my dsdt (ligne 11044) was created with ssdtPRGen and add at the end of my dsdt

i don't use file extract with aida

because i don't know how to do

i have send my acpi dump here            #178            

i think the off method are in ssdt3 and ssdt4

but i don't know how to incorporate in my dsdt

thank for explain me if it's possible

thank you

Link to comment
Share on other sites

  • 2 weeks later...

 

great post  :thumbsup_anim:
 
you may be able to disable my Nvidia card please? 
 
These are the files that I was able to export with AIDA64:
 
 
Nvidia GeForce 610M (1GB) and Intel Core i3. All the information you need is in the zip. My Laptop is:
 
 
Thanks in advance  ^_^
 
 

 

did you read this thread instructions, tips and guide?

 

did you try to disable it yourself? what errors did you find in the process?

 

i myself don't have knowledge enough to do it for you, but i think you will get help faster if you ask help to solve problems you may find during the process of disabling your card, instead of requesting 'please do it for me'. ;)

  • Like 1
Link to comment
Share on other sites

Hi lufeig, thanks for your answer. I tried to follow the instructions before posting my message. The problem is that when I go to apply the patch of Whit3Spirit in my DSDT with Chameleon Wizard, I get this message indicating that there are two errors in the compilation and then he does not save any modified DSDT. This is the Log:


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20111123-32 [Dec  3 2011]
Copyright (c) 2000 - 2011 Intel Corporation

/Users/leo/cw_dsdt/dsdt.dsl   7361:                     Name (_T_2, Zero)
Remark   5011 -                    Use of compiler reserved name ^  (_T_2)

/Users/leo/cw_dsdt/dsdt.dsl   7362:                     Name (_T_1, Zero)
Remark   5011 -                    Use of compiler reserved name ^  (_T_1)

/Users/leo/cw_dsdt/dsdt.dsl   7363:                     Name (_T_0, Zero)
Remark   5011 -                    Use of compiler reserved name ^  (_T_0)

/Users/leo/cw_dsdt/dsdt.dsl   9414:         Name (_T_0, Zero)
Remark   5011 -        Use of compiler reserved name ^  (_T_0)

/Users/leo/cw_dsdt/dsdt.dsl   9481:         Name (_T_0, Zero)
Remark   5011 -        Use of compiler reserved name ^  (_T_0)

/Users/leo/cw_dsdt/dsdt.dsl  10208:                 Name (_T_0, Zero)
Remark   5011 -                Use of compiler reserved name ^  (_T_0)

/Users/leo/cw_dsdt/dsdt.dsl  11134:             Name (_HID, "pnp0c14")
Error    4132 -                  Non-hex letters must be upper case ^  (pnp0c14)

/Users/leo/cw_dsdt/dsdt.dsl  12438:             Method (HSWC, 1, Serialized)
Warning  1113 -       Not all control paths return a value ^  (HSWC)

/Users/leo/cw_dsdt/dsdt.dsl  16722:             Return (Ones)
Warning  1130 -                   Statement is unreachable ^ 

/Users/leo/cw_dsdt/dsdt.dsl  16753:             Return (Ones)
Warning  1130 -                   Statement is unreachable ^ 

/Users/leo/cw_dsdt/dsdt.dsl  17736:             Name (_T_0, Zero)
Remark   5011 -            Use of compiler reserved name ^  (_T_0)

/Users/leo/cw_dsdt/dsdt.dsl  18149:                         Return (One)
Warning  1103 -             Reserved method should not return a value ^  (_Q0E)

/Users/leo/cw_dsdt/dsdt.dsl  18162:                             Return (One)
Warning  1103 -                 Reserved method should not return a value ^  (_Q0E)

/Users/leo/cw_dsdt/dsdt.dsl  18175:                         Return (One)
Warning  1103 -             Reserved method should not return a value ^  (_Q0E)

/Users/leo/cw_dsdt/dsdt.dsl  18215:             Return (One)
Warning  1103 -                                           ^ Reserved method should not return a value (_Q0E)

/Users/leo/cw_dsdt/dsdt.dsl  18232:                         Return (One)
Warning  1103 -             Reserved method should not return a value ^  (_Q0F)

/Users/leo/cw_dsdt/dsdt.dsl  18245:                             Return (One)
Warning  1103 -                 Reserved method should not return a value ^  (_Q0F)

/Users/leo/cw_dsdt/dsdt.dsl  18258:                         Return (One)
Warning  1103 -             Reserved method should not return a value ^  (_Q0F)

/Users/leo/cw_dsdt/dsdt.dsl  18296:             Return (One)
Warning  1103 -                                           ^ Reserved method should not return a value (_Q0F)

/Users/leo/cw_dsdt/dsdt.dsl  18325:         Method (_Q11, 0, Serialized)
Warning  1113 -   Not all control paths return a value ^  (_Q11)

/Users/leo/cw_dsdt/dsdt.dsl  18327:             Name (_T_0, Zero)
Remark   5011 -            Use of compiler reserved name ^  (_T_0)

/Users/leo/cw_dsdt/dsdt.dsl  18339:                 Return (One)
Warning  1103 -     Reserved method should not return a value ^  (_Q11)

/Users/leo/cw_dsdt/dsdt.dsl  18344:                 Return (One)
Warning  1103 -     Reserved method should not return a value ^  (_Q11)

/Users/leo/cw_dsdt/dsdt.dsl  18469:                 Return (One)
Warning  1103 -     Reserved method should not return a value ^  (_Q13)

/Users/leo/cw_dsdt/dsdt.dsl  18480:         Method (_Q14, 0, NotSerialized)
Warning  1113 -   Not all control paths return a value ^  (_Q14)

/Users/leo/cw_dsdt/dsdt.dsl  18488:                 Return (One)
Warning  1103 -     Reserved method should not return a value ^  (_Q14)

/Users/leo/cw_dsdt/dsdt.dsl  18502:         Method (_Q15, 0, NotSerialized)
Warning  1113 -   Not all control paths return a value ^  (_Q15)

/Users/leo/cw_dsdt/dsdt.dsl  18510:                 Return (One)
Warning  1103 -     Reserved method should not return a value ^  (_Q15)

/Users/leo/cw_dsdt/dsdt.dsl  21094:         Method (_ON, 0, NotSerialized)
Warning  1113 -  Not all control paths return a value ^  (_ON_)

/Users/leo/cw_dsdt/dsdt.dsl  21179:         Method (MXDS, 1, NotSerialized)
Warning  1113 -   Not all control paths return a value ^  (MXDS)

/Users/leo/cw_dsdt/dsdt.dsl  21209:             If (LNotEqual (SVID, 0xFFFFFFFF))
Warning  1130 -                    Statement is unreachable ^ 

/Users/leo/cw_dsdt/dsdt.dsl  21600:             Name (_HID, "pnp0c14")
Error    4132 -                  Non-hex letters must be upper case ^  (pnp0c14)

ASL Input:     /Users/leo/cw_dsdt/dsdt.dsl - 21910 lines, 648248 bytes, 10153 keywords

Compilation complete. 2 Errors, 22 Warnings, 8 Remarks, 15 Optimizations
Link to comment
Share on other sites

if I do not use the patch but I try to add the code manually to my DSDT, especially when I add this before the method _WAK: 
 
    Method (M_ON, 0, NotSerialized)
    {
        If (CondRefOf(\_SB_.PCI0.PEG0.PEGP._ON)) 
        { 
            \_SB_.PCI0.PEG0.PEGP._ON() 
        }
        If (CondRefOf(\_SB_.PCI0.PEG0.PEGP._PS0))
        {
            \_SB_.PCI0.PEG0.PEGP._PS0()
        }
        If (CondRefOf(\_SB_.PCI0.PEG0.PEGP.SGON))
        {
            \_SB_.PCI0.PEG0.PEGP.SGON()
        }
​    }

    Method (M_OF, 0, NotSerialized)
    {
        If (CondRefOf(\_SB_.PCI0.PEG0.PEGP._OFF)) 
        { 
            \_SB_.PCI0.PEG0.PEGP._OFF()
        }
        If (CondRefOf(\_SB_.PCI0.PEG0.PEGP._PS3))
        {
            \_SB_.PCI0.PEG0.PEGP._PS3()
        }
        If (CondRefOf(\_SB_.PCI0.PEG0.PEGP.SGOF))
        {
            \_SB_.PCI0.PEG0.PEGP.SGOF()
        }
​    }

I get this error:

syntax error, unexpected $end, expecting parseop_definitionblock
Link to comment
Share on other sites

I'm sorry... I did it. :blush: I rewrote the code by hand and now everything is working properly on my Asus X55VD  :w00t:

 

Great nice tutorial, well done.  :thumbsup_anim:

 

one last question. The Speedstep patch is only useful if you use the SSDT?

Link to comment
Share on other sites

mmm, there is a small problem. When I turn off the PC, turns off the CPU and the monitor but something of the PC stays on. The fan starts spinning faster and I have to turn off the computer manually by holding the power button on / off. Any idea?

Link to comment
Share on other sites

@zarkzus

hello can you post your dsdt please

this can help me to resolve my problem

thank

sure, here it is:

 

DSDT.aml.zip

 

@Whit3Spirit

 

 

In addition to the problem of switching off that I told you before, I also have another small problem. I followed the guide to the letter and I have created the file ssdt_pr.aml and I put it in the folder / Extra. 

 

The PC starts quietly, without any problem. The only thing is that if I install the kext AppleIntelCPUPowerManagementInfo.kext and rebuild permissions, the PC will not boot up, it gives me a series of ACPI errors and crashes. Should I remove the kext to get it to start again. What could be the solution to this second problem?

 

Thanks again for your help  :)

Link to comment
Share on other sites

I have solved the problem of switching off. I removed the call to M_ON () in _PTS. Now the PC shuts down normally and goes into standby. Tested on an ASUS X55VD

 

Honestly guys, I do not know why you added the feature M_ON (), surely there is a reason.  :)

 

Hello everyone and thanks again for your help and the wonderful guide :lol:

Link to comment
Share on other sites

 Share

×
×
  • Create New...