Skip to content

Commit f5180e2

Browse files
committed
Update documentation for RMV v1.6 release
1 parent 5b12668 commit f5180e2

File tree

13 files changed

+65
-77
lines changed

13 files changed

+65
-77
lines changed

BUILD.md

Lines changed: 30 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
### Download Source code
44

55
Clone the project radeon_memory_visualizer from github.com
6-
6+
```bash
77
git clone https://github.com/GPUOpen-Tools/radeon_memory_visualizer.git
8+
```
89

910
### Building on Windows
1011
As a preliminary step, make sure that you have the following installed on your system:
@@ -13,14 +14,14 @@ As a preliminary step, make sure that you have the following installed on your s
1314
* Qt® 5 or above (5.15.2 is the default and recommended).
1415
* Visual Studio® 2015 or above (2019 is the default).
1516

16-
Qt V5.15.2 can be installed using the Qt online installer available from the Qt 5.15.2 release page here: https://www.qt.io/blog/qt-5.15.2-released
17-
As an alternative, the Qt 5.12.6 offline installer can be used here: https://download.qt.io/archive/qt/5.12/5.12.6/
17+
Qt V5.15.2 can be installed using the Qt online installer available from the Qt 5.15.2 release page [here][qt-online].
18+
As an alternative, the Qt 5.12.6 offline installer can be used [here][qt-offline].
1819
Qt should be installed to the default location (C:\Qt\Qt5.xx.x).
1920
Be sure to select msvc2017/msvc2019 64-bit during Qt installation, depending on the compiler you decide to use.
2021
A reboot is required after Qt is installed.
2122

22-
CMake can be downloaded from (https://cmake.org/download/).
23-
Python (V3.x) can be downloaded from (https://www.python.org/). To build the documentation from Visual Studio, the Sphinx Python Document Generator is needed.
23+
CMake can be downloaded from [here](https://cmake.org/download/).
24+
Python (V3.x) can be downloaded from [here](https://www.python.org/). To build the documentation from Visual Studio, the Sphinx Python Document Generator is needed.
2425
This can be installed once Python is installed, as follows:
2526
* Open a command prompt and navigate to the scripts folder in the python install folder. Then type these 2 commands:
2627
* pip install -U sphinx
@@ -38,7 +39,7 @@ The Release and Debug builds of RMV will be available in the build/release and b
3839

3940
### Building on Ubuntu
4041
Required dependencies can be installed as follows:
41-
42+
```bash
4243
sudo apt-get update
4344
sudo apt-get install build-essential python3 chrpath
4445
sudo apt-get install python3-pip
@@ -48,60 +49,39 @@ sudo apt-get install git
4849
sudo apt-get install python3-sphinx
4950
sudo apt-get install libxcb-xinerama0
5051
sudo apt-get install mesa-common-dev libglu1-mesa-dev
51-
52-
Qt V5.15.2 can be installed using the Qt online installer available from the Qt 5.15.2 release page here: https://www.qt.io/blog/qt-5.15.2-released
53-
As an alternative, the Qt 5.12.6 offline installer can be used here: https://download.qt.io/archive/qt/5.12/5.12.6/ (the .run file) and installed
52+
```
53+
Qt V5.15.2 can be installed using the Qt online installer available from the Qt 5.15.2 release page [here][qt-online].
54+
As an alternative, the Qt 5.12.6 offline installer can be used [here][qt-offline] (the .run file) and installed
5455
to ~/Qt/Qt5.12.6 (the default of ~/Qt5.12.6 will not work).
5556

5657
XCB libraries are required for Qt v5.15.x (they are not needed for older Qt versions). By default, the CMake configuration will attempt to copy
5758
these files from the Qt lib folder. If these files are installed elsewhere on the system or an older version of Qt is being used to build RMV,
5859
the --disable-extra-qt-lib-deploy pre_build.py script argument may be used. This will prevent the build configuration scripts from attempting to copy
5960
the libraries in the post build step. If needed, the XCB library files (libxcb*) can be obtained from the /lib folder of the Radeon Developer Tool
60-
Suite download found at https://gpuopen.com/tools/.
61+
Suite download found [here](https://gpuopen.com/tools/).
6162

6263
Run the python pre_build.py in the build folder.
63-
64-
$ python3 pre_build.py
65-
64+
```bash
65+
python3 pre_build.py
66+
```
6667
Or run the pre_build.py script with the -qt option to specify another version of Qt (also use the --disable-extra-qt-lib-deploy flag since the XCB
6768
libraries aren't needed). For example:
68-
69-
$ python3 pre_build.py --qt 5.12.6 --disable-extra-qt-lib-deploy
70-
69+
```bash
70+
python3 pre_build.py --qt 5.12.6 --disable-extra-qt-lib-deploy
71+
```
7172
The pre_build.py script will construct the output folders and build the necessary makefiles.
7273
To build the release build, use:
73-
74-
$ make -j5 -C linux/make/release
75-
74+
```bash
75+
make -j5 -C linux/make/release
76+
```
7677
Similarly for the debug build, use:
77-
78-
$ make -j5 -C linux/make/debug
79-
80-
The pre_build.py script should only need to be used when adding or removing source files.
81-
82-
## DISCLAIMER ##
83-
The information contained herein is for informational purposes only, and is subject to change without notice. While every
84-
precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical
85-
errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no
86-
representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no
87-
liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with
88-
respect to the operation or use of AMD hardware, software or other products described herein. No license, including implied or
89-
arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase
90-
or use of AMD’s products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions
91-
of Sale.
92-
93-
AMD, the AMD Arrow logo, Radeon, Ryzen, RDNA and combinations thereof are trademarks of Advanced Micro Devices, Inc. Other product names used in
94-
this publication are for identification purposes only and may be trademarks of their respective companies.
95-
96-
Visual Studio, DirectX and Windows are registered trademarks of Microsoft Corporation in the US and other jurisdictions.
97-
98-
Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.
99-
100-
Python is a registered trademark of the PSF. The Python logos (in several variants) are use trademarks of the PSF as well.
101-
102-
CMake is a registered trademark of Kitware, Inc.
103-
104-
Qt and the Qt logo are registered trademarks of the Qt Company Ltd and/or its subsidiaries worldwide.
105-
106-
107-
© 2020-2022 Advanced Micro Devices, Inc. All rights reserved.
78+
```bash
79+
make -j5 -C linux/make/debug
80+
```
81+
Alternatively, building can be done directly from the prebuild script with the --build option
82+
```bash
83+
python3 pre_build.py --build
84+
```
85+
86+
[qt-online]: https://www.qt.io/blog/qt-5.15.2-released
87+
[qt-offline]: https://download.qt.io/archive/qt/5.12/5.12.6/

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-2022 Advanced Micro Devices, Inc.
3+
Copyright (c) 2017-2023 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

NOTICES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4545
THE SOFTWARE.
4646

4747

48-
nlohmann-json v3.2.0 (MIT)
49-
Copyright (c) 2013-2018 Niels Lohmann
48+
nlohmann-json v3.9.1 (MIT)
49+
Copyright (c) 2013-2020 Niels Lohmann
5050

5151
MIT License
5252
Permission is hereby granted, free of charge, to any person obtaining a copy

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ The Radeon Memory Visualizer (RMV) is a software tool that will allow users to a
4141
## Supported Operating Systems
4242
* Windows® 10
4343
* Windows® 11
44-
* Ubuntu 20.04 LTS (Vulkan only)
4544
* Ubuntu 22.04 LTS (Vulkan only)
4645

4746
Note: Before running RDP and capturing an RMV memory trace on Linux, be sure to make the necessary configuration changes by running the RDP setup.sh script each time the machine is rebooted. For more information, see the RDP documentation.
@@ -89,4 +88,4 @@ CMake is a registered trademark of Kitware, Inc.
8988
Qt and the Qt logo are registered trademarks of the Qt Company Ltd and/or its subsidiaries worldwide.
9089

9190

92-
© 2020-2022 Advanced Micro Devices, Inc. All rights reserved.
91+
© 2020-2023 Advanced Micro Devices, Inc. All rights reserved.

Release_Notes.txt

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
1-
Radeon™ Memory Visualizer V1.5 12-14-2022
1+
Radeon™ Memory Visualizer V1.6 04-26-2023
22
-----------------------------------------
33

4-
V1.5 Changes
4+
V1.6 Changes
55
------------------------------------
6-
1) Keyboard shortcuts added for all panes on the Welcome and Settings lists. Some keys have also been remapped to avoid conflict with the Adrenaline software. See the documentation or keyboard shortcuts pane for details.
7-
2) Bug fixes.
6+
1) Additional parameters added to the resource history table in the resource details pane.
7+
2) Improved Device configuration reporting with newer trace files, including CPU and driver information.
8+
3) Bug/stability fixes.
89

910
Known Issues
1011
------------------------------------
1112

1213
(1a) More than a single active device at a time within a single application is not supported. In this case, only the first device will be traced.
1314
(1b) More than a single Vulkan/DX12 process at a time is not supported. Only the first started application will be traced.
1415
(2) In the Snapshots|Resource details pane, Physical memory mapped events may be shown before virtual allocate events.
15-
(3) Some of the Pane navigation shortcuts may conflict with the keyboard shortcuts used by the Radeon Settings (such as ALT-R). It is recommended to remap the Radeon settings so they don't conflict.
16-
(4) Some UI elements do not rescale properly when the OS's DPI scale settings are dynamically changed, or when dragging RMV between two monitors with different DPI scales. Close and re-open RMV to view at proper sizes.
17-
(5) Running multiple instances of the Radeon Developer Panel is not supported.
18-
(6) Sparse texture are not fully supported.
19-
(7) 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.
20-
(8) 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.
21-
(9) The Shader core clock frequency and Video memory clock frequency for memory traces captured on Linux may be incorrectly displayed as 0.
22-
(10) The Device name may be blank for memory traces captured on Linux with some APUs.
23-
(11) 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
16+
(3) Some UI elements do not rescale properly when the OS's DPI scale settings are dynamically changed, or when dragging RMV between two monitors with different DPI scales. Close and re-open RMV to view at proper sizes.
17+
(4) Running multiple instances of the Radeon Developer Panel is not supported.
18+
(5) Sparse texture are not fully supported.
19+
(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.
20+
(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.
21+
(8) The Shader core clock frequency and Video memory clock frequency for memory traces captured on Linux may be incorrectly displayed as 0.
22+
(9) The Device name may be blank for memory traces captured on Linux with some APUs.
23+
(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
2424

2525
Release Notes History
2626
------------------------------------
2727

28+
V1.5 Changes
29+
------------------------------------
30+
1) Keyboard shortcuts added for all panes on the Welcome and Settings lists. Some keys have also been remapped to avoid conflict with the Adrenaline software. See the documentation or keyboard shortcuts pane for details.
31+
2) Bug fixes.
32+
2833
V1.4.1 Changes
2934
------------------------------------
3035
1) Linux capture support (requires driver version 22.10 or higher).

documentation/source/allocation_overview.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Again, the resources will have a stippled effect if they are aliased.
99
Filtering by preferred heap is provided so that only resources in the specified
1010
preferred heaps are shown.
1111

12-
The coloring mode can be changed using the 'color by .. ' combo box, which will
12+
The coloring mode can be changed using the "**color by ..**" combo box, which will
1313
color the resources and allocations by various parameters, for example, resource
1414
usage, and the preferred heap type.
1515

1616
The allocations can be sorted using the sort combo box at the top. Sorting is
1717
currently based on allocation size, allocation Id, allocation age or resource
1818
count (the number of resources in the allocation). Another combo box to the
19-
left allows the sort to be in ascending or decending order.
19+
left allows the sort to be in ascending or descending order.
2020

2121
Normally, allocations are sized relative to the largest allocations. Sometimes
2222
this makes smaller allocations difficult to see. The 'Normalize allocations'

documentation/source/carousel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ in the "Other" category.
3131
.. image:: media/snapshot/carousel_resource_types.png
3232

3333
The **Virtual memory** shows how much memory has resources bound to it. Unbound
34-
memory is effectively usused so should be minimized as much as possible. Sometimes
34+
memory is effectively unused so should be minimized as much as possible. Sometimes
3535
due to alignment issues this is not possible but if there is a lot of unbound
3636
memory, this will be seen in the *Allocation overview* pane for each allocation.
3737

documentation/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646

4747
# General information about the project.
4848
project = u'Radeon Memory Visualizer'
49-
copyright = u'2018-2022, Advanced Micro Devices, Inc. All rights reserved.'
49+
copyright = u'2018-2023, Advanced Micro Devices, Inc. All rights reserved'
5050
author = u'AMD Developer Tools'
5151

5252
# The version info for the project you're documenting, acts as replacement for
5353
# |version| and |release|, also used in various other places throughout the
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = u'1.5.0'
57+
version = u'1.6.0'
5858
# The full version, including alpha/beta/rc tags.
59-
release = u'1.5.0'
59+
release = u'1.6.0'
6060

6161
# The language for content autogenerated by Sphinx. Refer to documentation
6262
# for a list of supported languages.

documentation/source/heap_overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The requested bar graph shows how much of that heap was requested by the
3333
application. Just because an application requests memory doesn't automatically
3434
mean the application gets it. If the application requests too much memory,
3535
a warning message is displayed. The bar is also color coded to show whether
36-
the memory type is oversubscibed or is close to being oversubscribed.
36+
the memory type is oversubscribed or is close to being oversubscribed.
3737

3838
The 'total size' bar shows the total amount of physical memory in the heap.
3939

documentation/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Supported graphics APIs, RDNA and GCN hardware, and operating systems
4141

4242
- Windows® 10/11
4343

44-
- Ubuntu® 22.04
44+
- Ubuntu® 22.04 LTS (Vulkan only)
4545

4646
Radeon Memory Visualizer - Quick Start
4747
======================================
@@ -252,4 +252,4 @@ Microsoft is a registered trademark of Microsoft Corporation in the US and other
252252
Windows is a registered trademark of Microsoft Corporation in the US and other jurisdictions.
253253

254254

255-
© 2018-2022 Advanced Micro Devices, Inc. All rights reserved.
255+
© 2018-2023 Advanced Micro Devices, Inc. All rights reserved.
Loading
Loading

documentation/source/resource_details.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ why the resource memory is in a different place than requested (maybe it was
2727
made resident at some point and then paged out).
2828

2929
.. image:: media/snapshot/resource_details_1.png
30+
31+
Not all events have all the parameters listed in the table. In this case, the
32+
entry will be marked as 'n/a' - not applicable. For example, the physical memory
33+
address isn't applicable for a virtual allocation event.

0 commit comments

Comments
 (0)