0xbb / gpu-switch

gpu-switch is an application that allows to switch between the graphic cards of dual-GPU Macbook Pro models
MIT License
537 stars 57 forks source link

Feedback: Works on Macbook Pro 5,1 #42

Open CapitalF opened 7 years ago

CapitalF commented 7 years ago

FYI your gpu-switch script works as expected on a Macbook Pro 5,1. Should not be surprising given it has the same exact video hardware setup as a Macbook Pro 5,2.

One thing that would be really helpful on your README file is a note on how to figure out which GPU you are currently using.

I found this helpful: https://unix.stackexchange.com/questions/16407/how-to-check-which-gpu-is-active

So in my case I documented this note for myself:

Find out which GPU you are currently using
    glxinfo|egrep "OpenGL vendor|OpenGL renderer"
    glxinfo | less # Look for the "Extended renderer info" line.
    --
    "Device: NVAC" = 9400M (Chipset/onboard GPU)
    "Device: NV96" = 9600M GT (Dedicated chip GPU)

Thanks for your script.

ah- commented 7 years ago

Ha, happy to hear that!

Lonzak commented 7 years ago

Does the windows version also work? Update: For Windows7 it doesn't (The procedure entry point "setFirmwareEnvironmentVariableExW" could not be located in the dynamic link library kernel32.dll)

ah- commented 7 years ago

Is your Windows installed using EFI? It won't work in BIOS mode.

kestryn commented 6 years ago

Two comments: 1) After hours of attempting to hack a means of changing the default boot GPU for my Macbook Pro 5,1 from integrated to discrete, I found your script, and it worked perfectly. I am running SparkyLinux Gameover Edition with the Nvidia 340xx legacy drivers. I don't even need a xorg.conf once I selected the discrete card with your script. 2) Thank you. Thank you. Thank you. :smile: