Skip to content

Commit bdc5116

Browse files
committed
Update documentation and source code for RMV v1.12
1 parent 5c8a29a commit bdc5116

File tree

347 files changed

+2366
-1286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+2366
-1286
lines changed

BUILD.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ As a preliminary step, make sure that you have the following installed on your s
1919
* CMake 3.11 or above.
2020
* Python 3.7 or above.
2121
* Qt® 6 or above (6.7.0 is the default and recommended).
22-
* Visual Studio® 2015 or above (2019 is the default).
22+
* Visual Studio® 2019 or above (2022 is the default).
2323

2424
Qt should be installed to the default location (C:\Qt\Qt6.xx.x).
2525
Be sure to select msvc2017/msvc2019 64-bit during Qt installation, depending on the compiler you decide to use.
@@ -49,13 +49,14 @@ If Qt is installed from a Qt installer, it should be installed to ~/Qt/Qt6.7.0 (
4949
Required dependencies can be installed as follows:
5050
```bash
5151
sudo apt-get update
52-
sudo apt-get install build-essential python3 chrpath
53-
sudo apt-get install python3-pip
54-
pip install sphinx_rtd_theme
5552
sudo snap install cmake --classic
5653
sudo apt-get install git
5754
sudo apt-get install git-lfs
55+
sudo apt-get install build-essential python3
56+
sudo apt-get install chrpath patchelf
57+
sudo apt-get install python3-pip
5858
sudo apt-get install python3-sphinx
59+
sudo apt-get install python3-sphinx-rtd-theme
5960
sudo apt-get install libxcb-xinerama0
6061
sudo apt-get install mesa-common-dev libglu1-mesa-dev
6162
```

CMakeLists.txt

Lines changed: 42 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#######################################################################################################################
2-
### Copyright (c) 2019-2024 Advanced Micro Devices, Inc. All rights reserved.
2+
### Copyright (c) 2019-2025 Advanced Micro Devices, Inc. All rights reserved.
33
### \author AMD Developer Tools Team
44
#######################################################################################################################
55

@@ -12,7 +12,7 @@ project(RMV)
1212

1313
# Define version information
1414
set(RMV_MAJOR_VERSION 1)
15-
set(RMV_MINOR_VERSION 11)
15+
set(RMV_MINOR_VERSION 12)
1616
if (NOT RMV_BUGFIX_NUMBER)
1717
set(RMV_BUGFIX_NUMBER 0)
1818
endif ()
@@ -37,7 +37,7 @@ option(RDF_STATIC "Build RDF as a static library" ON)
3737
## For RMV we only care about the Debug and Release configuration types
3838
set(CMAKE_CONFIGURATION_TYPES Debug Release)
3939

40-
## Determine build suffixes based on configuration and bitness
40+
## Determine build suffixes based on configuration and bitness status
4141
## These values will be inherited by all child projects
4242
set(ADT_PLATFORM_POSTFIX "-x86")
4343
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
@@ -48,17 +48,6 @@ ENDIF()
4848
set (CMAKE_DEBUG_POSTFIX -d)
4949
set (CMAKE_RELEASE_POSTFIX)
5050

51-
# Add cmake utilities
52-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
53-
54-
IF(WIN32)
55-
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/../release)
56-
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/../debug)
57-
ELSE(WIN32)
58-
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/../../release)
59-
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/../../debug)
60-
ENDIF(WIN32)
61-
6251
# Add for CentOS compiler warning
6352
add_definitions(-DJSON_SKIP_UNSUPPORTED_COMPILER_CHECK)
6453

@@ -130,11 +119,7 @@ ENDIF(WIN32)
130119
## Copy Documentation and Samples to output directory. Note - this target is intentionally not included in
131120
## the default project build. It needs to be explicitly built as a separate project
132121

133-
# Determine where the build process will be placing the binary files
134-
# This is evaluated at project build time - not at CMake generation time
135-
set(BUILD_ROOT $<$<CONFIG:debug>:${CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG}>$<$<CONFIG:release>:${CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE}>)
136-
137-
set(DOCS_OUTPUT_DIR ${BUILD_ROOT})
122+
set(DOCS_OUTPUT_DIR ${CMAKE_BINARY_DIR})
138123

139124
# group sphinx source files into a sphinx folder
140125
file(GLOB SPHINX_DOC_FILES ${SPHINX_DOC_FILES} ${CMAKE_SOURCE_DIR}/documentation/source/*.rst)
@@ -152,6 +137,8 @@ set (RELEASE_DOCS_IN_ROOT
152137
set (RELEASE_DOCS ${RELEASE_DOCS_IN_ROOT})
153138
source_group("release_docs" FILES ${RELEASE_DOCS})
154139

140+
install(FILES ${RELEASE_DOCS_IN_ROOT} DESTINATION . COMPONENT apps)
141+
155142
find_program(SPHINX_EXECUTABLE sphinx-build)
156143
if(SPHINX_EXECUTABLE)
157144
# Define the option to pass to the sphinx documentation job
@@ -167,6 +154,7 @@ if(SPHINX_EXECUTABLE)
167154
COMMAND ${SPHINX_EXECUTABLE} ${CMAKE_SOURCE_DIR}/documentation/source ${DOCS_OUTPUT_DIR}/help/rmv/. -t ${SPHINX_OPTION}
168155
COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOCS_OUTPUT_DIR}/help/rmv/.doctrees
169156
)
157+
install(DIRECTORY ${CMAKE_BINARY_DIR}/help DESTINATION . COMPONENT apps)
170158
else()
171159
message(WARNING "SPHINX_EXECUTABLE (sphinx-build) is not found! Documentation will not be built!")
172160
# If the sphinx binary isn't found, then just create the Documentation project with only the release docs in it.
@@ -178,5 +166,39 @@ add_custom_command(TARGET Documentation POST_BUILD
178166
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${RELEASE_DOCS_IN_ROOT} ${DOCS_OUTPUT_DIR}/.
179167
COMMAND ${CMAKE_COMMAND} -E echo "copying Samples to output directory"
180168
COMMAND ${CMAKE_COMMAND} -E make_directory ${DOCS_OUTPUT_DIR}/samples
181-
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/samples/sample_trace.rmv ${DOCS_OUTPUT_DIR}/samples/.
169+
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/samples/sample_trace.rmv ${DOCS_OUTPUT_DIR}/samples/sample_trace.rmv
170+
)
171+
172+
install(FILES
173+
${DOCS_OUTPUT_DIR}/samples/sample_trace.rmv
174+
DESTINATION
175+
samples
176+
COMPONENT apps
182177
)
178+
179+
if (WIN32)
180+
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION .)
181+
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)
182+
include(InstallRequiredSystemLibraries)
183+
184+
install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION . COMPONENT apps)
185+
endif (WIN32)
186+
187+
# CPack packaging
188+
189+
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
190+
set(CPACK_COMPONENTS_GROUPING IGNORE)
191+
192+
set(CPACK_ARCHIVE_APPS_FILE_NAME "RadeonMemoryVisualizer_${RMV_MAJOR_VERSION}.${RMV_MINOR_VERSION}.${RMV_BUGFIX_NUMBER}.${RMV_BUILD_NUMBER}")
193+
set(CPACK_ARCHIVE_DEBUG_FILE_NAME "RadeonMemoryVisualizer-PDB_${RMV_MAJOR_VERSION}.${RMV_MINOR_VERSION}.${RMV_BUGFIX_NUMBER}.${RMV_BUILD_NUMBER}")
194+
195+
include(CPack)
196+
197+
cpack_add_component(apps
198+
DISPLAY_NAME "Applications"
199+
DESCRIPTION "RMV application")
200+
cpack_add_component(debug
201+
DISPLAY_NAME "Debug Symbols"
202+
DESCRIPTION "Debug Symbols")
203+
204+

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2024 Advanced Micro Devices, Inc.
3+
Copyright (c) 2017-2025 Advanced Micro Devices, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The Radeon Memory Visualizer (RMV) is a software tool that will allow users to a
2727
* Vulkan
2828

2929
## Supported ASICs
30-
30+
* AMD Radeon RX 9000 series
3131
* AMD Radeon RX 7000 series
3232
* AMD Radeon RX 6000 series
3333
* AMD Radeon RX 5000 series
@@ -83,4 +83,4 @@ CMake is a registered trademark of Kitware, Inc.
8383
Qt and the Qt logo are registered trademarks of the Qt Company Ltd and/or its subsidiaries worldwide.
8484

8585

86-
© 2020-2024 Advanced Micro Devices, Inc. All rights reserved.
86+
© 2020-2025 Advanced Micro Devices, Inc. All rights reserved.

RELEASE_NOTES.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Radeon™ Memory Visualizer V1.11 10/01/2024
1+
Radeon™ Memory Visualizer V1.12 03/11/2025
22
------------------------------------------
33

4-
V1.11 Changes
4+
V1.12 Changes
55
------------------------------------
6-
1) Dark mode user interface support, allowing the user to choose between a light and dark theme (or have RMV follow the OS theme setting).
7-
2) UI support for driver experiments.
8-
3) The "Device configuration" pane has been renamed to "System information."
6+
1) Support for AMD Radeon RX 9000 series GPUs
7+
2) New options to delete all snapshots or a selection of snapshots.
8+
3) Improved performance when loading snapshots for traces containing aliased resources.
99
4) Bug/stability fixes.
1010

1111
Known Issues
@@ -19,13 +19,20 @@ Known Issues
1919
(5) Sparse texture are not fully supported.
2020
(6) When tracing an application that uses a launcher, or an application that creates multiple devices, it is possible that more than one trace file will be written to disk. In the case of the launcher, adding the launcher's executable name to the Blocked applications list in the Radeon Developer Panel should prevent multiple trace files. Restarting the Radeon Developer Panel may be required before attempting to trace again.
2121
(7) If a memory dump is created by shutting down the application being traced and there are a large number of resource names, some names may not be included in the RMV file. The work-around is to use the Dump trace button in the Radeon Developer Panel and wait for the button to be disabled before shutting down the application. This gives the buffered names a chance to be processed.
22-
(8) The Shader core clock frequency and Video memory clock frequency for memory traces captured on Linux may be incorrectly displayed as 0.
22+
(8) The Shader core clock frequency and Video memory clock frequency for memory traces captured on Linux may be incorrectly displayed as 0 Mhz.
2323
(9) The Device name may be blank for memory traces captured on Linux with some APUs.
2424
(10) Installations of Ubuntu 20.04 or newer may have the RADV open source Vulkan® driver installed by default on the system. As a result, after an amdgpu-pro driver install, the default Vulkan ICD may be the RADV ICD. In order to capture a memory trace, Vulkan applications must be using the amdgpu-pro Vulkan ICD. The default Vulkan ICD can be overridden by setting the following environment variable before launching a Vulkan application: VK_ICD_FILENAMES=/etc/vulkan/icd.d/amd_icd64.json
2525

2626
Release Notes History
2727
------------------------------------
2828

29+
V1.11 Changes
30+
------------------------------------
31+
1) Dark mode user interface support, allowing the user to choose between a light and dark theme (or have RMV follow the OS theme setting).
32+
2) UI support for driver experiments.
33+
3) The "Device configuration" pane has been renamed to "System information."
34+
4) Bug/stability fixes.
35+
2936
V1.10 Changes
3037
------------------------------------
3138
1) Updated to use Qt 6.7.0.

build/dependency_map.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! python3
22
##=============================================================================
3-
## Copyright (c) 2020-2024 Advanced Micro Devices, Inc. All rights reserved.
3+
## Copyright (c) 2020-2025 Advanced Micro Devices, Inc. All rights reserved.
44
## \author AMD Developer Tools Team
55
## \file
66
## \brief List of all external dependencies.
@@ -21,9 +21,8 @@
2121
# Define a set of dependencies that exist as separate git projects.
2222
# each git dependency has a desired directory where it will be cloned - along with a commit to checkout
2323
git_mapping = {
24-
github_tools + "qt_common" : ["../external/qt_common", "v4.1.0", True],
24+
github_tools + "qt_common" : ["../external/qt_common", "v4.2.0", True],
25+
github_tools + "system_info_utils" : ["../external/system_info_utils", "v2.1", True],
2526
github_tools + "update_check_api" : ["../external/update_check_api", "v2.1.1", True],
26-
github_tools + "system_info_utils" : ["../external/system_info_utils", "v2.0", True],
2727
github_root + "GPUOpen-Drivers/libamdrdf" : ["../external/rdf", "v1.4.0", True],
2828
}
29-

build/fetch_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! python3
22
##=============================================================================
3-
## Copyright (c) 2020-2024 Advanced Micro Devices, Inc. All rights reserved.
3+
## Copyright (c) 2020-2025 Advanced Micro Devices, Inc. All rights reserved.
44
## \author AMD Developer Tools Team
55
## \file
66
## \brief Script to fetch all external git and/or downloadable dependencies

0 commit comments

Comments
 (0)