Skip to content

tool to control Nvidia power state on macbook 11,3; run aux executable on it

Notifications You must be signed in to change notification settings

myrgy/app-nv-xrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacBookPro11,3

inspired by:

How to use:

function disable_nvidia {
  insmod iorw
  outb 0x7c2 1
  outb 0x7d4 0x28

  outb 0x7c2 2
  outb 0x7d4 0x10

  outb 0x7c2 2
  outb 0x7d4 0x40

  outb 0x7c2 1
  outb 0x7d4 0x50

  outb 0x7c2 0
  outb 0x7d4 0x50
}

after boot you can use nv-xrun to run enable nvidia gpu and run new X session on it.

here is service example to disable nvidia GPU after suspend: https://github.com/myrgy/my-cfg/blob/master/etc/systemd/system/nvidia-disable.service

About

tool to control Nvidia power state on macbook 11,3; run aux executable on it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published