Local debugging is useful for small to mid sized applications that start up quickly and do not need to be run in full screen mode.
However, if you want to run your application in full screen mode or have a remote development system, or are running a Linux application it is best to start these applications manually and connect the GPU PerfClient to them remotely.
There are three ways that you can manually start your application.
- Drag the exe file that you wish to analyze onto GPUPerfServer.exe (32-bit) or GPUPerfServer-x64.exe (64-bit).
- This will launch the application with no command-line arguments and in the default working directory (the directory that your application is in).
- Create a shortcut to your application and drag the shortcut onto either the 32-bit or 64-bit version of GPU PerfServer.
- By editing the shortcut properties you can add your application command line arguments to the "Target:" field, and change the "Start in:" directory.
- You can also easily create multiple shortcuts if you are testing your application with different sets of command-line arguments.
- Creating a shortcut to either the 32-bit or 64-bit version of GPU PerfServer and editing the "Target" field to include your application and any GPU PerfServer options.
- e.g.
C:\GPUPerfStudio\GPUPerfServer.exe "C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Samples\\C++\\Direct3D11\\Bin\\x86\\Basichlsl11.exe" -V
- You can add your applications' command line arguments by using -appArg as follows:
C:\GPUPerfStudio\GPUPerfServer.exe C:\MyApp.exe --appArg MyArg1 --appArg MyArg2
Some applications are started via loaders or launchers. GPU PerfStudio has the ability to process-hop over the launcher and into the application. It is important that the server used has the same bitness as the target application to be analyzed. For example, if a 64-bit application is to be analyzed and it is started via a 32-bit launcher, the 32-bit launcher should be started with the 64-bit server.
IMPORTANT - When doing remote debugging you will need to start the server using one of the two methods described above. Do not just double click the GPUPerfServer.exe - the server must be started using your application as its input.
The in-game overlays applied by Steam, Origin and UPlay are known to interfere with GPU PerfStudio. Please disable them before connecting to GPU PerfStudio Server using these
procedures .