Contribute
Register

Changes in .dsl files are not reflecting in .aml using MaciASL

Status
Not open for further replies.
Joined
May 30, 2018
Messages
25
Motherboard
Acer Aspire E15 E5-575G-50ZZ
CPU
i5-7200U
Graphics
Intel HD 620, NVIDIA GeForce 940MX,1366x768
Mobile Phone
  1. Android
So I am trying to disable my Nvidia Graphics card using this guide
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/
Whenever I save my .dsl files as .aml files there is no changes in the .aml file i.e it is the same as unpatched .dsl file.
This is what actually happens
Instead of
Code:
 If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }
                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF)
                    \_SB.PCI0.LPCB.EC0.SCTB ()
                }
I get
Code:
If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    Store (Zero, VGAF)
                    SCTB ()
                }
and instead of
Code:
{
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            //added to turn nvidia/radeon off
            External(\_SB.PCI0.RP01.PEGP._OFF, MethodObj)
            _OFF()
        }
I get
Code:
{
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            _OFF ()
        }
Is this how it is supposed to be or there is some error.Whatever may be the case my Discrete drivers haven't been yet disabled.
I am attaching both my dsl files and aml files.
It will be great if someone can help me out.
 

Attachments

  • DSDT.dsl
    760.4 KB · Views: 101
  • SSDT-4-ACRPRDCT.dsl
    67.8 KB · Views: 70
  • DSDT.aml
    102.2 KB · Views: 90
  • SSDT-4-ACRPRDCT.aml
    12.9 KB · Views: 71
So I am trying to disable my Nvidia Graphics card using this guide
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/
Whenever I save my .dsl files as .aml files there is no changes in the .aml file i.e it is the same as unpatched .dsl file.
This is what actually happens
Instead of
Code:
 If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }
                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF)
                    \_SB.PCI0.LPCB.EC0.SCTB ()
                }
I get
Code:
If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    Store (Zero, VGAF)
                    SCTB ()
                }
and instead of
Code:
{
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            //added to turn nvidia/radeon off
            External(\_SB.PCI0.RP01.PEGP._OFF, MethodObj)
            _OFF()
        }
I get
Code:
{
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            _OFF ()
        }
Is this how it is supposed to be or there is some error.Whatever may be the case my Discrete drivers haven't been yet disabled.
I am attaching both my dsl files and aml files.
It will be great if someone can help me out.

It is working.
The code snippets you mention are the same.
 
So I am trying to disable my Nvidia Graphics card using this guide
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/
Whenever I save my .dsl files as .aml files there is no changes in the .aml file i.e it is the same as unpatched .dsl file.
This is what actually happens
Instead of
Code:
 If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }
                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF)
                    \_SB.PCI0.LPCB.EC0.SCTB ()
                }
I get
Code:
If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    Store (Zero, VGAF)
                    SCTB ()
                }
and instead of
Code:
{
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            //added to turn nvidia/radeon off
            External(\_SB.PCI0.RP01.PEGP._OFF, MethodObj)
            _OFF()
        }
I get
Code:
{
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            _OFF ()
        }
Is this how it is supposed to be or there is some error.Whatever may be the case my Discrete drivers haven't been yet disabled.
I am attaching both my dsl files and aml files.
It will be great if someone can help me out.
If the code is working then why weren't my NVIDIA Graphics disabled yet.My battery life is still very poor and there are 2 Intel 620 sections in the About This Mac>System Report>Monitors/Graphics Tab.
How can I be sure that the graphics cards were disabled?
 
If the code is working then why weren't my NVIDIA Graphics disabled yet.My battery life is still very poor and there are 2 Intel 620 sections in the About This Mac>System Report>Monitors/Graphics Tab.
How can I be sure that the graphics cards were disabled?

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

The dual Intel GPU is, as I mentioned, a bug in the specific version of Clover you're using.
 
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

The dual Intel GPU is, as I mentioned, a bug in the specific version of Clover you're using.
I have succesfully updated clover and the Dual intel GPU problem has been solved.Now how do I confirm that the NVIDIA card has been disabled or not.I read about ioreg command but I don't really know how to use it.
 

Attachments

  • CLOVER.zip
    14.7 MB · Views: 64
I have succesfully updated clover and the Dual intel GPU problem has been solved.Now how do I confirm that the NVIDIA card has been disabled or not.I read about ioreg command but I don't really know how to use it.

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Status
Not open for further replies.
Back
Top