Contribute
Register

When To Turn Off Nvidia and How ?

Status
Not open for further replies.
Joined
Oct 24, 2012
Messages
27
Motherboard
os x 10.9.3
CPU
i5 3317u
Graphics
gt635m, intel 4000
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
hi guys,

i have read that devices connected to my laptop can be closed using their _PS3 method or _OFF method.
so i have


\_SB.PCI0.PEG0.PEGP._PS3 ()
\_SB.PCI0.PEG0.PEGP._OFF ()

calls in order to close my nvidia card.
and i put them in a function called PINI

Method (PINI, 0, NotSerialized)
{
\_SB.PCI0.PEG0.PEGP._PS3 ()
\_SB.PCI0.PEG0.PEGP._OFF ()
}

but i wonder that
if it's ok to call these functions sequentially? i mean calling _OFF without waiting _PS3 to complete is ok ? (these functions are synchronous or asynchronous ?)

and where to call PINI ?
i now call PINI in my _WAK function but according to acpi specs that i read i think it's more appropriate that calling PINI in _BFS?
 
hi guys,

i have read that devices connected to my laptop can be closed using their _PS3 method or _OFF method.
so i have


\_SB.PCI0.PEG0.PEGP._PS3 ()
\_SB.PCI0.PEG0.PEGP._OFF ()

calls in order to close my nvidia card.
and i put them in a function called PINI

Method (PINI, 0, NotSerialized)
{
\_SB.PCI0.PEG0.PEGP._PS3 ()
\_SB.PCI0.PEG0.PEGP._OFF ()
}

but i wonder that
if it's ok to call these functions sequentially? i mean calling _OFF without waiting _PS3 to complete is ok ? (these functions are synchronous or asynchronous ?)

and where to call PINI ?
i now call PINI in my _WAK function but according to acpi specs that i read i think it's more appropriate that calling PINI in _BFS?

Calls in ACPI/AML are synchronous.
 
Calls in ACPI/AML are synchronous.

and actually i am wondering something else,

is it a problem or a bad situation to call these methods even if the device is closed ?

is there a need for me to ask the device (using _STA, _PSC methods) if it is open and then call PINI if it's really necessary ?

actually i'm trying to ask that " is there any bad affects to call _OFF, _PS3 methods if the device has already been shut? "

that's _STA function i found under \_SB.PCI0.PEG0.PEGP

i think something weird is going on here :)
in the documentation of acpi, it says, this method have two valid values. 0 for close, 1 for open. but here you see



Method (_STA, 0, Serialized)
{
Return (0x0F)
If (LNotEqual (SVID, 0xFFFFFFFF))
{
Return (0x0F)
}
Return (Zero)
}
 
and actually i am wondering something else,

is it a problem or a bad situation to call these methods even if the device is closed ?

is there a need for me to ask the device (using _STA, _PSC methods) if it is open and then call PINI if it's really necessary ?

actually i'm trying to ask that " is there any bad affects to call _OFF, _PS3 methods if the device has already been shut? "

It could but probably not in this scenario.

that's _STA function i found under \_SB.PCI0.PEG0.PEGP

i think something weird is going on here :)
in the documentation of acpi, it says, this method have two valid values. 0 for close, 1 for open. but here you see



Method (_STA, 0, Serialized)
{
Return (0x0F)
If (LNotEqual (SVID, 0xFFFFFFFF))
{
Return (0x0F)
}
Return (Zero)
}

You're reading incorrect documentation. Read the ACPI spec and you'll see...
 
Screen Shot 2014-05-22 at 9.23.18 PM.png

i'm reading that one

do you have another one ?
can you share with me the link ?

edit:
and I'm getting an error below when my laptop wakes from a sleep. everything is normal, i can't figure out why i'm getting this..?

IOAccelDisplayPipe performTransaction error e00002c7IOAccelDisplayPipe performTransaction error e00002c7IOAccelDisplayPipe performTransaction error e00002c7

 

thanks for sharing, i will be reading

what about this

edit:
and I'm getting an error below when my laptop wakes from a sleep. everything is normal, i can't figure out why i'm getting this..?

IOAccelDisplayPipe performTransaction error e00002c7IOAccelDisplayPipe performTransaction error e00002c7IOAccelDisplayPipe performTransaction error e00002c7
 
...
what about this

No idea (and rather off-topic). But just tested on my 4540s (HD4000) and I didn't see it. Although I'm probably running a different config than you due to 1080p display.
 
anyway, thanks a lot for your help.
 
Status
Not open for further replies.
Back
Top