Windows GPU2 client installation guide
Table of contents
- Installation (Systray version)
- Installation (console version)
- Installation for a multi-GPU system
Requirements for installation
Before you start the installation process of the GPU client, there is a few requirements you must check to make sure the client will work correctly :
AMD/ATI
- If you have a ATI GPU, the requirement is to be compatible with CAL and this mean that any card from X2xxx (R6xx) series and above can run any CAL application. This also means that unfortunately, X1xxx and older is not compatible because the shaders architecture is not unified.
- ATI driver supported for folding is currently the Catalyst 8.7 (or newer) that you can find it here. To update the driver, it's suggested that you uninstall the old driver, reboot then install the new driver.
NVIDIA
- If you own a NVIDIA card, it must be compatible with CUDA, so the 8 series and above is compatible (a list is available to check if your card is compatible, including the GeForce, Tesla and Quadro lines). The GeForce series 7 and older is not compatible due to a lack of unified shaders.
- You need to run the proper driver to run CUDA. NVIDIA official CUDA 177.35 (or newer) driver can be downloaded here and you should use this version unless there is a compelling reason to use a different one. To update the driver, it's suggested that you uninstall the old driver, reboot then install the new driver.
There are two types of client available, which is a Systray version and a Console version. The advantage of the Systray version is that you have a icon on the task bar that you can use to control the client. The Console version use the command prompt to run but the main advantage is that version can be configured as a service, thus concealing the client entirely from the user. However, the service mode doesn't work at all under Vista.
Note: Under Windows, antivirus software can interfere with the Folding@home client files and cause errors. We suggest configuring antivirus software to exclude the FAH client directory and especially the Work directory from the antivirus scanning list. This can be done by going into the exclusion list panel that every antivirus should have. The work subdirectory contains semi-random binary data and can confuse overly aggressive heuristic virus scanning.
Installation (Systray version)
Please download the GPU Systray client installer file from the Download page. After the download is done, run the client installer by double clicking the downloaded file. (If the installer doesn't start automatically, it may indicate the need to update the Windows Installer package to v3.1, available through Windows Automatic Updates.) The first window of the installer looks like this:
Click on the Next button to continue to the License agreement window:
Please read the license, and click on the I Agree button if you agree. Then click on the Next button. There is no configuration to edit:
Click on the Next button to start the installation process. When the installer is done, this last window is displayed:
Click on the Close button to exit the installer.
During the installation process, the client installer created a new folder in the Windows Start menu. This new program folder is found under Start -> Programs -> Folding@Home-x86 as indicated here:
There are two shortcuts. The first shortcut is to run the FAH client program. The second shortcut is to open the data folder where the client stores work unit data, client configuration, and executable files. This second shortcut may be used for advanced client setup or maintenance. And as the shortcut indicates, is only recommended for those with expert knowledge of the client.
Start the client for the initial setup by clicking on the first link (Folding@home). A configuration window will appear the first time the client is run:
In this panel, if you want to fold under your own username, enter it here (type over the default Anonymous name). Also enter a team number if part of a FAH team. Contributing to the project anonymously and without a team is also acceptable. Enter the optional passkey associated with your fah username.(Read the Passkey FAQ page for more information). Click on the Connection tab at the top to get to the next panel:
The first check box prompts the client to ask before downloading or uploading a work unit. This is recommended when using a part-time connection like dialup and to control when to download/upload work units. You will need to configure the client if using a Proxy. (Ask the network administrator if more information is needed to configure a proxy.) The last check box sets the client to request larger work units (which have higher bandwidth and memory requirements) and may earn more points. Click on the Advanced tab to get to the next panel:
These are the advanced settings for the client. The default settings are the recommended settings unless otherwise noted. If unsure about these settings, we recommend not changing the default settings. The default settings are suitable for the majority of users. Here is what each element does:
- Core priority: When running multiple clients or have another program running continuously in the background, adjust (raise) the client priority to Slightly higher so the client gets the CPU cycles it needs. This is not the same as the Windows priority. Do not change the Windows priority for the fah client or fahcore.
- CPU Usage Percent: By default, the client will use all spare processor cycles not used by other programs. Reducing the setting may help other programs run better, or reduce fan noise, but will also reduce the speed of the client and lower the points per day.
- Disable highly optimized assembly code: If having problems running the client due to a processor incompatibility or any weird error, check this to disable the processor SSE optimizations. Doing this will cause the client to run much slower, but may not crash. A legacy setting typically used for older processors.
- Checkpointing frequency : Increase or decrease the frequency of when the client writes data to the hard drive to save a starting point if the client is shut down. The default setting is the recommended setting.
- Do NOT lock cores to specific CPU: Turning this one will allow the client to use any free CPU/core on a multicore processor. If left unchecked, it will only use one core regardless if others are free or not.
- Core Network Address (Advanced): For future use, when the Viewer is finished.
- Pause work while battery power is being used: This is useful for laptops to stop the client from running when the computer goes on to battery power, to avoid draining the battery.
- Additional Client Parameters: Enter frequently used client flags like -forcegpu ati_r700 or -verbosity 9 or -advmethods.
- Machine ID: This is the client ID and it needs to be unique when running more than one client on the same computer. An example when running the Systray client and the GPU2 client at the same time. One client would be configured for Machine ID 1, and the other to Machine ID 2. Also very helpful when installing multiple GPU Systray clients.
Note: GPU manufacturers often release new video card types faster than the GPU client can be updated to automatically recognize that hardware. A GPU not supported message is a common indicator. The solution is to add a client switch to bypass the hardware detection. Please use the switch appropriate for your hardware, and add it to the Additional Client Parameters field on the Advanced tab. Do not use a switch unless it's needed to solve the GPU not supported error, or when specifying hardware types while running older and newer generations of GPUs in the same computer.
- ATI 3xxx series: -forcegpu ati_r600
- ATI 4xxx series: -forcegpu ati_r700
- ATI 5xxx series: -forcegpu ati_r800 (v6.30 or newer)
- nVidia 8x, 9x, 2xx series: -forcegpu nvidia_g80
- nVidia GTX 4xx series: -forcegpu nvidia_fermi (v6.30 or newer)
When done, click OK. If any Additional Client Parameters were set during configuration, stop and restart the client to use the new settings. Right-click the tray icon, select quit. Then start the client again from the Start Menu. The client will now run in the background with a icon in the Taskbar. Hover the mouse curser over the FAH icon to check the current client status. To see more detail about how the client is progressing, view the log file generated by the client. Right-click on the client taskbar icon to see the available client options:
Click on Status then on Log file to open a notepad window with the FAH log file contents. This is useful to check the client progress, or check if there are errors. If help is needed, copy the contents of this log file to the Support forum.
Note: The Viewer included with the Systray client is not yet working well for all video cards, and is a known bug. This is the Display option when right-clicking the FAH tray icon. The Pande Group is aware of this issue and is working to fix them. Sometimes the viewer works, sometimes not. And it always uses a lot of CPU power, and may slow down the folding client. If the viewer works, please use it sparingly. The viewer does not need to be open for the client to run.
Installation (console version)
First, download the console client from the Download page (There is 2 distinct packages, one for Windows XP and 2003 and one for Vista so make sure to pick the correct one for your OS). If you wanted to use a installer, the Console client doesn't come with one so it's suggested to use the Systray client instead. After you are done downloading the package, unzip the package in any place except the Program Files folder (due to potential permissions issues). A good suggestion is to create a new folder on C:\Users\[username]\FAH! for Vista or C:\Documents and Settings\[username]\FAH for XP. You can also place it on the desktop or on a custom folder like C:\FAH\. After you are done unzipping, it's suggested you rename the executable file name to fah6.exe to make the following steps easier to do.
The next step is to configure the client. Open a Command Prompt and change directory to the location where you unzipped the FAH client.
Note: To install the FAH client to run as a service (a bit later in the setup), the Windows XP user account running the setup must have Administrator privileges. In Windows Vista and newer, the Command Prompt used to setup the FAH client as a service must be opened with Run As Administrator privileges. Do this by clicking on the Start button. In the Search box, type command prompt. In the list of results, right-click Command Prompt, and then click Run as administrator. If prompted for an administrator password or confirmation, enter the password or provide confirmation. This would be a good time to change to a user account with Administrative rights, or to open a new command prompt using the Run As option. Note that running the GPU client as a service is not permitted by Vista/7.
Type this in the command prompt to begin (assuming you renamed the FAH executable to "fah6" or "fah6.exe" depending on the file view settings as noted above):
fah6 -configonly
The client will display some information and then prompt you for answers to configuration questions. Note that for most answers, the default setting is the recommended setting. Here is an example of what is displayed on screen, with an explanation of each option:
Launch directory: C:\FAH Executable: fah6 Arguments: -configonly [16:25:22] Configuring Folding@Home... User Name [Anonymous]?
Team Number [0]?
Passkey []?
Ask before fetching/sending work (no/yes) [no]?
Use proxy (yes/no) [no]?
Acceptable size of work assignment and work result packets (bigger units may have large memory demands) -- 'small' is <5MB, 'normal' is <10MB, and 'big' is >10MB (small/normal/big) [normal]?
Change advanced options (yes/no) [no]? yes
Core Priority (idle/low) [idle]?
CPU usage requested (5-100) [100]?
Disable highly optimized assembly code (no/yes) [no]?
Pause if battery power is being used (useful for laptops) (no/yes) [no]?
Interval, in minutes, between checkpoints (3-30) [15]?
Memory, in MB, to indicate (1013 available) [1013]?
Set -advmethods flag always, requesting new advanced scientific cores and/or work units if available (no/yes) [no]?
Ignore any deadline information (mainly useful if system clock frequently has errors) (no/yes) [no]?
Machine ID (1-16) [2]?
Launch automatically, install as a service in this directory (yes/no) [no]?
The following options require you to restart the client before they take effect Disable CPU affinity lock (no/yes) [no]?
Additional client parameters []?
Note: GPU manufacturers often release new video card types faster than the GPU client can be updated to automatically recognize that hardware. A GPU not supported message is a common indicator. The solution is to add a client switch to bypass the hardware detection. Please use the switch appropriate for your hardware, and add it to the Additional Client Parameters field on the Advanced tab. Do not use a switch unless it's needed to solve the GPU not supported error, or when specifying hardware types while running older and newer generations of GPUs in the same computer.
- ATI 3xxx series: -forcegpu ati_r600
- ATI 4xxx series: -forcegpu ati_r700
- ATI 5xxx series: -forcegpu ati_r800 (v6.30 client or newer)
- nVidia 8x, 9x, 2xx series: -forcegpu nvidia_g80
- nVidia GTX 4xx series: -forcegpu nvidia_fermi (v6.30 client or newer)
IP address to bind core to (for viewer) []?
When you press enter after the last question, the configuration will end and you will be back to the command prompt. You have successfully configured the client so the next step is to start the client. Here are 3 ways:
- By clicking on the executable icon (this assumes you entered the proper flags during configuration).
- By typing fah6 on the same command prompt window. Enter the necessary flags if you didn't enter those during configuration.
- Create a new shortcut to the FAH executable, and double click that shortcut icon (assuming you added all needed flags to the client setup).
Normally, if everything is done correctly, the client will be folding along fine. To verify the client is progressing, open the task manager and make sure there is a process called FahCore_xx.exe in the list. Or you can open the fahlog.txt file to see the client's progress.
Installation for a multi-GPU system
Here is some specific requirements to follow for the multi-GPU setup to work :
- The current multi-GPU installation guide requires some knowledge of the Windows system, if you are having issues, you can ask for help.
- If you are running multiple GPU cards with SLI or Crossfire, you need to unlink the cards by disabling SLI or Crossfire in the driver control panel. Also, you need to extend the desktop for the client to recognize the cards.
- When Windows ask to look for a driver hit CANCEL. If you let Windows install the driver automatically, there is a big risk of having sub-par performances or client issues.
- If you run Windows Vista, you need to have each GPU connected to a monitor (a KVM can also work but not all models of KVM will provide a signal when it's not switched as current monitor) or a VGA dummy plug.
Before you start doing the installation, make sure to grab the latest CUDA driver and the latest client. You can find the links in the Requirements section. Also, the following guide is based on the GPU Systray client installation so if you didn't install the client yet, follow the Systray instructions first before following the instructions below.
Next, open up Windows Explorer and find the directory where the installer created a folder under your user name. Below is the path of the folder depending on the OS :
XP : C:\Documents and Settings\[username]\Application Data\
Vista: C:\Users\[username]\AppData\Roaming\
Once you’ve located the directory, copy the folder called Folding@Home-gpu and paste into the same location. Rename the new copy by cutting the “Copy of” off and adding a 2 (or more for extra cards) after the directory name. You will need to repeat the same steps if you have 3 or more GPU you want to use. Here is what it should look :
Now, go in the C:\Program Files\Folding@Home\Folding@Home-gpu folder (with Vista, it's in the x86 folder). You should find the client executable here so make a new shortcut of the client (right-click on the executable icon then select Create Shortcut). After creating the shortcut, move the shortcut to the desktop then rename with a short name like GPU1. Don't copy more than one shortcut since you will do it after doing some modifications :
Right-click on the first shortcut then select Properties. It should bring up the following screen:
Now, replace the Start in: path with the path of the data file which is stored in either those places (replace [username] with your Windows user name) :
XP : C:\Documents and Settings\[username]\Application Data\Folding@Home-gpu
Vista: C:\Users\[username]\AppData\Roaming\Folding@Home-gpu
Make sure there are quotes at the start and end of the Start in: path.
Add the -gpu 0 flag at the end of the Target: path, after the quotes (make sure there is a space between the quote and the flag). It should look like this in the Target: field:
"C:\Program Files\Folding@home\Folding@home-gpu\Folding@home.exe" -gpu 0
Once you are done, the properties should look like this for the first client. Click on Ok to close the panel afterwards :
Target: "C:\Program Files\Folding@home\Folding@home-gpu\Folding@home.exe" -gpu 0
Start in: "C:\Documents and Settings\[username]\Application Data\Folding@Home-gpu" (XP/2003) or "C:\Users\[username]\AppData\Roaming\Folding@Home-gpu" (Vista)
Now that you are done editing the shortcut, it's time to create more for the other GPU cards. Copy the first shortcut and paste as many copies (based on how many GPU cards you want to run) you need on the desktop. Rename each shortcut copy with a simple yet distinct names (to help identify which client) like GPU2, GPU3, etc. When you are done, right-click on each new shortcut and select Properties to edit the properties. This time, since you did most of the configuration above, all you need to do is to point the Start in: path to each data folder that you created and put -gpu 1 flag (or higher for subsequent cards). After you are done, you should have something like that :
Target: "C:\Program Files\Folding@home\Folding@home-gpu\Folding@home.exe" -gpu 1
Start in: "C:\Documents and Settings\[username]\Application Data\Folding@Home-gpu2" (XP/2003) or "C:\Users\[username]\AppData\Roaming\Folding@Home-gpu2" (Vista)
When you are done editing each shortcut, click on the first shortcut and configure your client as demonstrated in the Systray installation guide above. The key things to make sure you do are :
On the Connection tab :
- Click yes to accept WUs larger than 10 megabytes.
On the Advanced tab :
- Check the Core Priority for Slightly Higher
- Click do not lock cores to specific CPU
- Make sure the Machine ID is different then any CPU or GPU client you have running. Note: default is 2.
Now hit accept and repeat the step above for each shortcut and make sure you pick a unique machine ID for each client. When you are done, all that remain to do is to click every shortcut to start the clients and monitor them closely to make sure they run fine (it's often tricky due to a possible driver version conflict).
For More Information, Please See:
Last Updated on April 19, 2009, at 01:26 PM