0xbb / gpu-switch

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

Windows 10 Compatibility #8

Closed Emptyless closed 9 years ago

Emptyless commented 9 years ago

When using the Integrated.bat or Dedicated.bat files it gives the warning:

The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.

I know the program is created for Windows 8 but thought i post it here for future reference, are there any plans on upping the compatibility for Windows 10?

0xbb commented 9 years ago

Hi, I think you need to install Visual C++ Redistributable Packages for Visual Studio 2013 to resolve this error. People have been running it successfully under Window 10 here: https://github.com/0xbb/gpu-switch/issues/5

Emptyless commented 9 years ago

I have installed Visual C++, it was a solution mentioned in other threads as well. But it did not give me the required .dll

Searching my computer using the new search feature yields the same result, or in other words no result. It does however find MSVCR110.dll when i start typing so i think it really isn't installed. I'll try to find a solution for more people like me since this does not seem to be an issue caused by your program or Windows.

Thanks for the really really fast reply!

Emptyless commented 9 years ago

The required .DLL is already installed but not recognized by the .bat even when running as administrator. What could cause this?

The folder with the required .dll http://i.imgur.com/jMGTCIB.png

The error: http://i.imgur.com/bapNMwO.png

edit:

to add to this: copying the MSVCR120.dll to the same folder as gpuswitch results in this error: http://i.imgur.com/LVZj4IY.png

0xbb commented 9 years ago

Thanks for the screenshots. Could you please try this binary: https://github.com/0xbb/gpu-switch/releases/download/static-test/gpu-switch.exe ?

Emptyless commented 9 years ago

I ran it and opened it as administrator. It flashed-closed a program but i did not get an error nor a screen telling me what happend. Was that intended behaviour?

0xbb commented 9 years ago

Did you run it by replacing the old exe and launching one of the bat files?

Emptyless commented 9 years ago

Excuse me i did not. I have replaced the previous gpuswitch and am getting this command prompt result now, I have also installed the x86 visual studio drivers in the mean time even though my computer is 64 bit. This might also explain it but still an error:

http://i.imgur.com/kSxQNq5.png

0xbb commented 9 years ago

OK, it would be still good to know if it works now works without the Visual C++ Redistributable.

Did you boot Windows in UEFI mode? Could you check it like described here: http://blogs.technet.com/b/home_is_where_i_lay_my_head/archive/2012/10/02/how-to-check-in-windows-if-you-are-using-uefi.aspx ?

Emptyless commented 9 years ago

BIOS Mode: Legacy, it is different from UEFI i guess. Do i need to use rEFInd to boot in UEFI? I have placed the apple_set_os in a EFI/custom and booted once but it gave me a black screen. So i started up mac os and used the settings -> startupdisk to boot into Windows again

0xbb commented 9 years ago

You don't need rEFInd to boot Windows via UEFI, but apple_set_os.efi has to be run every time before you boot Windows.

Nevertheless switching between the GPUs only works when Windows is installed without the BIOS emulation, because the MacBook's firmware always turns off the iGPU when the emulation is used.

There are some guides on the Internet how to install Window 8 on an MacBook with native UEFI booting. Maybe there is also a way of converting your exiting installation, but I am not sure about that.

Emptyless commented 9 years ago

Thank you very much for all your help! Then i know the problem now. I will be looking into installing it natively!

kuncevic commented 8 years ago

Experiencing the inability to change the brightness when switched to integrated on W10.

8a5 commented 8 years ago

I have this same problem. I have Visual C++ Redistributable Packages for Visual Studio 2013 installed, msvcr120.dll is inside system32 folder. Windows 10 UEFI.

How to fix this, can you help?

tuotuoZ commented 5 years ago

install the x86 version helped me!