Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 3.25 KB

README.md

File metadata and controls

85 lines (60 loc) · 3.25 KB

Radeon Developer Tools

The Radeon Developer Tools consist of 2 main components :

  • The Radeon Developer Service(RDS) - a component of the developer mode driver to enable developer features.
  • The Radeon Developer Panel(RDP) - the tool that interacts with RDS.

Documentation

The documentation for the Developer Driver Tools can be found in each release.In the release.zip file or .tgz file, there will be a "docs" directory.Simply open the index.html file in a web browser to view the documentation.The documentation is also available from within the Radeon Developer Panel.

The documentation is hosted publicly at : http://devdrivertools.readthedocs.io/en/latest/

To build on Windows (Visual Studio 2017):

Download Qt5.9.6 for Windows (the .exe file) from: https://download.qt.io/official_releases/qt/5.9/5.9.6 and install it to the default location when prompted by the installer.

Get and Install cmake from: https://cmake.org/download/ Any version higher than 3.9.1 should be good enough (the Visual Studio 2017 generator is required)

Run the prebuild.bat file in the build/win folder. This can be done from a DOS prompt or by double-clicking on the file. This will create a sub-folder called 'output' containing the necessary build files.

Go into the 'output' folder (build/win/output) and double click on the VS 2017 .sln file (DevDriverTools.sln) and build the 64-bit Debug and Release builds.

The release and debug builds of the Developer Driver Tools are now available in the build/win/Release and build/win/Debug folders.

To build on Linux (command line):

Download Qt5.9.6 for linux (the .run file) from: https://download.qt.io/official_releases/qt/5.9/5.9.6 and install it to the default location when prompted by the installer.

Install cmake using: sudo apt-get update sudo apt-get install cmake

Install chrpath using: sudo apt-get install chrpath

Install git: sudo apt-get install git

Run the prebuild.sh script (in the build/linux directory).

$ ./prebuild.sh

This will construct the output folder and build the necessary makefiles. If you run into errors here, other packages may need to be installed:

  • Python may also need to be installed if it is not already installed with the Linux distribution
  • mesa-common-dev may be needed for OpenGL headers needed by the Qt installation

To build the release build, use:

$ ./build_release.sh

Similarly, use:

$ ./build_debug.sh

for the debug build.

The prebuild.sh script should only need to be used when adding or removing source files.

If a newer version of Qt needs to be used, it can be downloaded from the Qt website. Go to https://www.qt.io/download/ and select one of the offline packages for Linux. Run this (you may need to add execute permissions (chmod +x ). This installer will ask for an install location. Once installed, edit the prebuild script file to point to the cmake folder where the new version of Qt is installed. Simply edit the line cmake ../../../.. -DCMAKE_BUILD_TYPE=$config to cmake ../../../.. -DCMAKE_BUILD_TYPE=$config -DCMAKE_PREFIX_PATH=~/Qt5.9.6/5.9.6/gcc_64/lib/cmake/

For Qt5.9.6 installed to the current users' root folder in the Qt5.9.6 folder in this example