Skip to content

Commit dbeff30

Browse files
committed
Disable radeonSoftwareVersion field until needed driver update is public
The radeonSoftwareVersion field is not currently working correctly. This update disables it while we wait for the necessary driver updates. This update also changes WindowsTargetPlatformVersion for Visual Studio 2015 to target the Windows 8.1 SDK. The Windows 10 SDK is not installed by default with Visual Studio 2015, and since AGS is based on DirectX 11 (and not DirectX 12), it does not need the Windows 10 SDK. The 8.1 SDK is installed by default, so just target it, to avoid adding an unnecessary dependency on an optional component of Visual Studio.
1 parent 07c0b6e commit dbeff30

File tree

12 files changed

+80
-14
lines changed

12 files changed

+80
-14
lines changed

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## Ignore Visual Studio temporary files, build results, etc.
2+
3+
# User-specific files
4+
*.suo
5+
*.user
6+
7+
# Build results
8+
VS*/
9+
[Dd]esktop_*/
10+
AGSSample_Debug_*.*
11+
AGSSample_Release_*.*
12+
ags_sample/bin/
13+
CrossfireSample_Debug_*.*
14+
CrossfireSample_Release_*.*
15+
crossfire_sample/bin/
16+
EyefinitySample_Debug_*.*
17+
EyefinitySample_Release_*.*
18+
eyefinity_sample/bin/
19+
20+
# Visual Studo 2015 cache/options directory
21+
.vs/
22+
23+
# Visual C++ cache files
24+
ipch/
25+
*.aps
26+
*.ncb
27+
*.opensdf
28+
*.sdf
29+
*.cachefile
30+
*.opendb
31+
32+
# Visual Studio profiler
33+
*.psess
34+
*.vsp
35+
*.vspx
36+
37+
# Installshield output folder
38+
[Ee]xpress/
39+
40+
# Backup & report files from converting an old project file
41+
# to a newer Visual Studio version. Backup files are not needed,
42+
# because we have git ;-)
43+
_UpgradeReport_Files/
44+
Backup*/
45+
UpgradeLog*.XML
46+
UpgradeLog*.htm
47+
48+
# Shader cache
49+
[Bb]in/Shaders/
50+
HashDigest.html

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AMD AGS SDK Changelog
2+
3+
See `ags_lib\CHANGELOG.md` for changes to the core AGS library.
4+
5+
### v3.1.1 - 2016-01-28
6+
* Display library version number in ags_sample
7+
* Do not display `radeonSoftwareVersion` in ags_sample while we wait for a needed driver update
8+
* Set `WindowsTargetPlatformVersion` to 8.1 for VS2015, to eliminate unnecessary dependency on optional Windows 10 SDK
9+
10+
### v3.1.0 - 2016-01-26
11+
* Initial release on GitHub

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# AMD AGS SDK
22
<img src="ags_lib/doc/amd_logo_black.png" width="512" height="123" />
33

4-
The AMD GPU Services (AGS) library provides software developers with the ability to query AMD GPU software and hardware state information that is not normally available through standard operating systems or graphic APIs. Version 3.1 of the library includes support for querying graphics driver version info, GPU performance, Crossfire&trade; (AMD's multi-GPU rendering technology) configuration info, and Eyefinity (AMD's multi-display rendering technology) configuration info. AGS also exposes the explicit Crossfire API, as well as additional functionality supported in the AMD DirectX 11 driver.
4+
The AMD GPU Services (AGS) library provides software developers with the ability to query AMD GPU software and hardware state information that is not normally available through standard operating systems or graphic APIs. Version 3.1 of the library includes support for querying graphics driver version info, GPU performance, Crossfire&trade; (AMD's multi-GPU rendering technology) configuration info, and Eyefinity (AMD's multi-display rendering technology) configuration info. AGS also exposes the explicit Crossfire API, as well as additional functionality supported in the AMD driver for DirectX 11.
5+
56
In addition to the library itself, the AGS SDK includes several samples to demonstrate use of the library.
67

78
### What's new in AGS
@@ -15,14 +16,15 @@ AGS now returns a lot more information from the GPU in addition to exposing the
1516
* New explicit Crossfire API
1617
* Provides the ability to control resource transfers between GPUs in Crossfire configuration in DirectX 11
1718
* Allows improved performance in multi-GPU configurations
18-
* AGS provides access to some of the extensions available in the DirectX 11 driver:
19+
* AGS provides access to some of the extensions available in the AMD driver for DirectX 11:
1920
* Quad List primitive type
2021
* UAV overlap
2122
* Depth bounds test
2223
* Multi-draw indirect
2324

2425
### Prerequisites
2526
* AMD Radeon&trade; GCN-based GPU (HD 7000 series or newer)
27+
* Or other DirectX&reg; 11 compatible GPU with Shader Model 5 support<sup>[1](#ags-sdk-footnote1)</sup>
2628
* 64-bit Windows&reg; 7 (SP1 with the [Platform Update](https://msdn.microsoft.com/en-us/library/windows/desktop/jj863687.aspx)), Windows&reg; 8.1, or Windows&reg; 10
2729
* Visual Studio&reg; 2012, Visual Studio&reg; 2013, or Visual Studio&reg; 2015
2830

@@ -53,3 +55,6 @@ For Visual Studio 2015, this version of Premake adds the `WindowsTargetPlatformV
5355
### Attribution
5456
* AMD, the AMD Arrow logo, Radeon, Crossfire, and combinations thereof are either registered trademarks or trademarks of Advanced Micro Devices, Inc. in the United States and/or other countries.
5557
* Microsoft, DirectX, Visual Studio, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
58+
59+
### Notes
60+
<a name="ags-sdk-footnote1">1</a>: While the AGS SDK samples will run on non-AMD hardware, they will be of limited usefulness, since the purpose of AGS is to provide convenient access to AMD-specific information and extensions.

ags_sample/build/AGSSample_2015.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Keyword>Win32Proj</Keyword>
1717
<RootNamespace>AGSSample</RootNamespace>
1818
<ProjectName>AGSSample</ProjectName>
19-
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
19+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
2020
</PropertyGroup>
2121
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

ags_sample/src/AGSSample.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include <crtdbg.h>
3333
#include <amd_ags.h>
3434

35+
3536
#pragma warning( disable : 4100 ) // disable unreference formal parameter warnings for /W4 builds
3637

3738
void GetEyefinityInfo( AGSContext* context, int primaryDisplayIndex )
@@ -122,12 +123,11 @@ int main(int argc, char* argv[])
122123

123124
if ( agsInit( &agsContext, &info ) == AGS_SUCCESS )
124125
{
125-
printf( "AGS Library initialized\n\n" );
126+
printf( "AGS Library initialized: v%d.%d.%d\n\n", AMD_AGS_LIB_VERSION_MAJOR, AMD_AGS_LIB_VERSION_MINOR, AMD_AGS_LIB_VERSION_PATCH );
126127
printf( "-----------------------------------------------------------------\n" );
127128

128129
printf( "%s, device id: 0x%04X, revision id: 0x%02X\n", info.adapterString ? info.adapterString : "unknown GPU", info.deviceId, info.revisionId );
129130
printf( "Driver version: %s\n", info.driverVersion );
130-
printf( "Radeon Software: %s\n", info.radeonSoftwareVersion );
131131
printf( "-----------------------------------------------------------------\n" );
132132

133133
printf( "Is %sGCN, %d CUs, core clock %d MHz, memory clock %d MHz, %.1f Tflops\n", info.version == AGSGPUInfo::ArchitectureVersion_GCN ? "" : "not ", info.iNumCUs, info.iCoreClock, info.iMemoryClock, info.fTFlops );

crossfire_sample/build/CrossfireSample_2015.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Keyword>Win32Proj</Keyword>
1717
<RootNamespace>CrossfireSample</RootNamespace>
1818
<ProjectName>CrossfireSample</ProjectName>
19-
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
19+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
2020
</PropertyGroup>
2121
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

crossfire_sample/src/CFXAPISample.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2020
// THE SOFTWARE.
2121
//
22-
#ifndef CFX_API_SAMPLE_MAIN_H
23-
#define CFX_API_SAMPLE_MAIN_H
22+
#ifndef AMD_AGS_SDK_CFX_API_SAMPLE_MAIN_H_
23+
#define AMD_AGS_SDK_CFX_API_SAMPLE_MAIN_H_
2424

2525
#include <d3d11.h>
2626
#include <wrl.h>

crossfire_sample/src/Window.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2020
// THE SOFTWARE.
2121
//
22-
#ifndef CFX_API_SAMPLE_WINDOW_H
23-
#define CFX_API_SAMPLE_WINDOW_H
22+
#ifndef AMD_AGS_SDK_CFX_API_SAMPLE_WINDOW_H_
23+
#define AMD_AGS_SDK_CFX_API_SAMPLE_WINDOW_H_
2424

2525
#include <string>
2626
#include <Windows.h>

eyefinity_sample/build/EyefinitySample_2015.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Keyword>Win32Proj</Keyword>
1717
<RootNamespace>EyefinitySample</RootNamespace>
1818
<ProjectName>EyefinitySample</ProjectName>
19-
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
19+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
2020
</PropertyGroup>
2121
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

eyefinity_sample/dxut/Core/DXUT_2015.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Keyword>Win32Proj</Keyword>
1717
<RootNamespace>DXUT</RootNamespace>
1818
<ProjectName>DXUT</ProjectName>
19-
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
19+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
2020
</PropertyGroup>
2121
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

0 commit comments

Comments
 (0)