{"id":13439898,"url":"https://github.com/GPUOpen-Drivers/AMDVLK","last_synced_at":"2025-03-20T09:30:58.543Z","repository":{"id":37359700,"uuid":"113847614","full_name":"GPUOpen-Drivers/AMDVLK","owner":"GPUOpen-Drivers","description":"AMD Open Source Driver For Vulkan","archived":false,"fork":false,"pushed_at":"2024-09-30T05:43:10.000Z","size":264,"stargazers_count":1733,"open_issues_count":17,"forks_count":163,"subscribers_count":100,"default_branch":"dev","last_synced_at":"2024-10-16T14:41:21.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GPUOpen-Drivers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-11T10:52:48.000Z","updated_at":"2024-10-16T14:21:07.000Z","dependencies_parsed_at":"2024-06-05T04:44:41.149Z","dependency_job_id":"ae6125f7-f217-46b7-81e3-57b043c4e964","html_url":"https://github.com/GPUOpen-Drivers/AMDVLK","commit_stats":null,"previous_names":[],"tags_count":108,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-Drivers%2FAMDVLK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-Drivers%2FAMDVLK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-Drivers%2FAMDVLK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-Drivers%2FAMDVLK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GPUOpen-Drivers","download_url":"https://codeload.github.com/GPUOpen-Drivers/AMDVLK/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221745191,"owners_count":16873733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:01:17.999Z","updated_at":"2025-03-20T09:30:58.527Z","avatar_url":"https://github.com/GPUOpen-Drivers.png","language":null,"readme":"\n# AMD Open Source Driver for Vulkan\u0026reg;\nThe AMD Open Source Driver for Vulkan\u0026reg; is an open-source Vulkan driver for Radeon\u0026trade; graphics adapters on Linux\u0026reg;. It is built on top of AMD's Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD's 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools.\n\nShaders that compose a particular `VkPipeline` object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library.  LLPC builds on LLVM's existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL's pipeline ABI. Notably, AMD's closed-source Vulkan driver currently uses a different pipeline compiler, which is the major difference between AMD's open-source and closed-source Vulkan drivers.\n\n\n![High-Level Architecture Diagram](topLevelArch.png)\n\n### Product Support\nThe AMD Open Source Driver for Vulkan is designed to support the following AMD GPUs:\n\n* Radeon\u0026trade; RX 9070 Series\n* Radeon\u0026trade; RX 7900/7800/7700/7600 Series\n* Radeon\u0026trade; RX 6900/6800/6700/6600/6500 Series\n* Radeon\u0026trade; RX 5700/5600/5500 Series\n* Radeon\u0026trade; Pro W5700/W5500 Series\n\n\u003e **Note**\n\u003e For Pre-GFX10 GPUs, please use v-2023.Q3.3 or older release.\n\n### Operating System Support\nThe AMD Open Source Driver for Vulkan is designed to support following distros and versions on both the AMDGPU upstream driver stack and the [AMDGPU Pro driver stack](https://www.amd.com/en/support/linux-drivers):\n* Ubuntu 22.04 (amd64 version)\n* Ubuntu 24.04 (amd64 version)\n* RedHat 9.0 (x86-64 version)\n* RedHat 10.0 (x86-64 version)\n\nThe driver has not been well tested on other distros and versions. You may try it out on other distros and versions of your choice.\n\n\u003e **Note**\n\u003e To run the Vulkan driver with AMDGPU upstream driver stack on SI and CI generation GPUs, amdgpu.si_support and amdgpu.cik_support need to be enabled in kernel\n\n### Feature Support and Performance\nThe AMD Open Source Driver for Vulkan is designed to support the following features:\n\n* Vulkan 1.4\n* More than 180 extensions\n* [Radeon\u0026trade; GPUProfiler](https://github.com/GPUOpen-Tools/Radeon-GPUProfiler) tracing\n* Built-in debug and profiling tools\n* Mid-command buffer preemption and SR-IOV virtualization\n\nThe following features and improvements are planned in future releases (Please refer to [Release Notes](https://github.com/GPUOpen-Drivers/AMDVLK/wiki/Release-notes) for update of each release):\n* Upcoming versions of the Vulkan API\n* Hardware performance counter collection through [RenderDoc](https://renderdoc.org/)\n* LLPC optimizations to improve GPU-limited performance and compile time\n* Optimizations to improve CPU-limited performance\n\n\n### Known Issues\n* If you are using upstream stack, you may need to upgrade the kernel to 5.3 or later version and firmware (under /lib/firmware/amdgpu/) to the right version from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu, and then update ramfs (sudo update-initramfs -u -k \\`uname -r\\`)\n* Timeline semaphore is not fully supported in Linux kernel until version 5.5. You can install [Vulkan timeline semaphore layer](https://github.com/KhronosGroup/Vulkan-ExtensionLayer) to enable the extension if you are using earlier version of Linux kernel\n\n\n### How to Contribute\nYou are welcome to submit contributions of code to the AMD Open Source Driver for Vulkan.\n\nThe driver is built from source code in five repositories: [LLVM](https://github.com/GPUOpen-Drivers/llvm-project), [XGL](https://github.com/GPUOpen-Drivers/xgl), [LLPC](https://github.com/GPUOpen-Drivers/llpc), [GPURT](https://github.com/GPUOpen-Drivers/gpurt) and [PAL](https://github.com/GPUOpen-Drivers/pal).\n\nFor changes to LLVM, you should submit contribution to the [LLVM trunk](https://reviews.llvm.org/). Commits there will be evaluated to merge into the amd-gfx-gpuopen-master branch periodically.\n\nFor changes to XGL, LLPC, GPURT and PAL, please [create a pull request](https://help.github.com/articles/creating-a-pull-request/) against the **dev branch**. After your change is reviewed and if it is accepted, it will be evaluated to merge into the master branch in a subsequent regular promotion.\n\n**IMPORTANT**: By creating a pull request, you agree to allow your contribution to be licensed by the project owners under the terms of the [MIT License](LICENSE.txt).\n\nWhen contributing to XGL, LLPC, GPURT and PAL, your code should:\n* Match the style of nearby existing code. Your code may be edited to comply with our coding standards when it is merged into the master branch.\n* Avoid adding new dependencies, including dependencies on STL.\n\nPlease make each contribution reasonably small. If you would like to make a big contribution, like a new feature or extension, please raise an issue first to allow planning to evaluate and review your work.\n\n\u003e **Note**\n\u003e Since PAL is a shared component that must support other APIs, other operating systems, and pre-production hardware, you might be asked to revise your PAL change for reasons that may not be obvious from a pure Linux Vulkan driver perspective.\n\n## Build Instructions\n\n### System Requirements\nIt is recommended to install at least 16GB RAM in your build system.\n\n### Build System\n* CMake 3.21 or newer is required. [Download](https://cmake.org/download/) and install proper one if the cmake is older than 3.21.\n* C++ 20 support is required. Like gcc9, clang11.\n* Ninja is required.\n\n### Install Dev and Tools Packages\n#### Ubuntu\n```\nsudo apt-get install build-essential cmake curl g++-multilib gcc-multilib git ninja-build pkg-config python3 python3-jinja2 python3-ruamel.yaml\n```\n##### 64-bit\n```\nsudo apt-get install libssl-dev libx11-dev libxcb1-dev x11proto-dri2-dev libxcb-dri3-dev libxcb-dri2-0-dev libxcb-present-dev libxshmfence-dev libxrandr-dev libwayland-dev\n```\n##### 32-bit\n```\ndpkg --add-architecture i386\nsudo apt-get install libssl-dev:i386 libx11-dev:i386 libxcb1-dev:i386 libxcb-dri3-dev:i386 libxcb-dri2-0-dev:i386 libxcb-present-dev:i386 libxshmfence-dev:i386 libwayland-dev libwayland-dev:i386 libxrandr-dev:i386\n```\n#### RedHat\n##### 64-bit\n```\nsudo yum -y install openssl-devel gcc-c++ python3 python3-pip curl glibc-devel libstdc++-devel libxcb-devel libX11-devel libxshmfence-devel libXrandr-devel wayland-devel\npip3 install jinja2 ruamel.yaml \n```\n##### 32-bit\n```\nsudo yum -y install openssl-devel.i686 gcc-c++ python3 python3-pip curl glibc-devel.i686 libstdc++-devel.i686 libxcb-devel.i686 libX11-devel.i686 libxshmfence-devel.i686 libXrandr-devel.i686 wayland-devel.i686\npip3 install jinja2 ruamel.yaml \n```\n\n### Install shader compiler tools\nShader compiler tools such as [DirectXShaderCompiler](https://github.com/microsoft/DirectXShaderCompiler) and [glslang](https://github.com/KhronosGroup/glslang) need to be installed to build raytracing support.\n\n#### Ubuntu 22.04\nIt is recommended to install them from [VulkanSDK](https://packages.lunarg.com/) 1.3.290 or higher.\n\nUbuntu 22.04 (Jammy)\n```\nwget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc\nsudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.290-jammy.list https://packages.lunarg.com/vulkan/1.3.290/lunarg-vulkan-1.3.290-jammy.list\nsudo apt update\nsudo apt install vulkan-sdk\n```\n#### Others\nGet [DirectXShaderCompiler](https://github.com/microsoft/DirectXShaderCompiler) and [glslang](https://github.com/KhronosGroup/glslang) source code and build tools on local.\n```\n#!/bin/bash\n\nif [ ! -d DirectXShaderCompiler ]; then\ngit clone --depth=1 -b release-1.8.2403 https://github.com/microsoft/DirectXShaderCompiler.git\nfi\n\nif [ ! -d glslang ]; then\ngit clone --depth=1 -b vulkan-sdk-1.3.290.0 https://github.com/KhronosGroup/glslang.git\nfi\n\ncd DirectXShaderCompiler\ngit submodule init\ngit submodule update\ncmake -H. -Bbuilds -GNinja -DCMAKE_BUILD_TYPE=Release -C ./cmake/caches/PredefinedParams.cmake\ncmake --build builds\ncd ..\n\ncd glslang\ncmake -H. -Bbuilds -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='builds/install'\ncd builds\nmake -j8 install\ncd ../../\n```\nSet env PATH and LD_LIBRARY_PATH before amdvlk driver build.\n```\nexport PATH=\u003cDirectXShaderCompiler\u003e/builds/bin:\u003cglslang\u003e/install/bin:$PATH\nexport LD_LIBRARY_PATH=\u003cDirectXShaderCompiler\u003e/builds/lib:$LD_LIBRARY_PATH\n```\n### Get Repo Tools\n```\nmkdir ~/bin\ncurl https://storage.googleapis.com/git-repo-downloads/repo \u003e ~/bin/repo\nchmod a+x ~/bin/repo\nexport PATH=~/bin:\"$PATH\"\n```\n\n### Get Source Code\n\n```\nmkdir vulkandriver\ncd vulkandriver\nrepo init -u https://github.com/GPUOpen-Drivers/AMDVLK.git -b master\nrepo sync\n```\n\n\u003e **Note**\n\u003e Source code in dev branch can be gotten by using \"-b dev\" in the \"repo init\" command.\n\n### Build Driver and Generate JSON Files\n```\ncmake -G Ninja -S xgl -B builds/Release64\ncmake --build builds/Release64\n\ncmake -G Ninja -S xgl -B builds/Release32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32\ncmake --build builds/Release32\n```\n\n\u003e **Note**\n\u003e * For debug build, use `-DCMAKE_BUILD_TYPE=Debug -DLLVM_PARALLEL_LINK_JOBS=2` (Linking a debug build of llvm is very memory intensive, so we use only two parallel jobs).\n\u003e * If you want to build tools (such as [amdllpc](https://github.com/GPUOpen-Drivers/llpc/blob/dev/llpc/docs/amdllpc.md)) together with driver, add `-m build_with_tools.xml` in repo init and add the build option `-DVKI_BUILD_TOOLS=ON`.\n\n## Installation Instructions\n### Install Vulkan SDK\nYou can download and install the SDK package [here](https://vulkan.lunarg.com/sdk/home).\n\n### Install dependencies\n#### Ubuntu\n```\nsudo apt install libssl3\n```\n#### RedHat\n```\nsudo yum install openssl-libs\n```\n\n### Install Driver and JSON Files\n```\nsudo cmake --install builds/Release64 --component icd\nsudo cmake --install builds/Release32 --component icd\n```\n\u003e If you want to install driver to customized directory, you can add \"-DCMAKE_INSTALL_PREFIX={installation directory}\" in the cmake build command. JSON files will be installed to /etc/vulkan/icd.d while other files will be installed to the installation directory you specified.\n\n\u003e If RADV is also installed in the system, AMDVLK driver will be enabled by default after installation. You can switch the driver between AMDVLK and RADV by environment variable AMD_VULKAN_ICD = AMDVLK or RADV.\n\n\u003e **Note:** The remaining steps are only required when running the AMDGPU upstream driver stack.\n\n### Turn on DRI3 and disable modesetting X driver\nAdd following lines in /usr/share/X11/xorg.conf.d/10-amdgpu.conf:\n```\nSection \"Device\"\n\nIdentifier \"AMDgpu\"\n\nOption  \"DRI\" \"3\"\n\nEndSection\n```\n\nAnd make sure following line is **NOT** included in the section:\n```\nDriver      \"modesetting\"\n```\n\n### Required Settings\nOn the AMDGPU upstream driver stack with libdrm version lower than 2.4.92, the max number of IB per submission **MUST** be limited to 4 (the default setting in AMD Open Source driver for Vulkan is 16). This can be accomplished via the [Runtime Settings](#runtime-settings) mechanism by adding the following line to amdPalSettings.cfg:\n```\nMaxNumCmdStreamsPerSubmit,4\nCommandBufferCombineDePreambles,1\n```\n\n### Install with pre-built driver\nYou could generate the installation package with below command while building driver:\n#### Ubuntu\n```\ncmake -G Ninja -S xgl -B builds/Release64 [-DPACKAGE_VERSION=package version]\ncmake --build builds/Release64 --target makePackage\n```\n#### RedHat\n```\ncmake -G Ninja -S xgl -B builds/Release64 [-DPACKAGE_VERSION=package version]\ncmake --build builds/Release64 --target makePackage\n```\n\nYou could also download pre-built package from https://github.com/GPUOpen-Drivers/AMDVLK/releases for each code promotion in master branch.\n\nBelow is the installation instruction:\n#### Ubuntu\n```\nsudo dpkg -r amdvlk  # If old version is installed on the machine, remove it first \nsudo dpkg -i amdvlk_x.x.x_amd64.deb\nsudo apt-get -f install\n```\n#### RedHat\n```\nsudo rpm -e amdvlk   # If old version is installed on the machine, remove it first \nsudo rpm -i amdvlk-x.x.x.x86_64.rpm\n```\n\nFor Ubuntu, you could also install the latest driver build from https://repo.radeon.com:\n```\nsudo wget -qO - http://repo.radeon.com/amdvlk/apt/debian/amdvlk.gpg.key | sudo apt-key add -\nsudo sh -c 'echo deb [arch=amd64,i386] http://repo.radeon.com/amdvlk/apt/debian/ bionic main \u003e /etc/apt/sources.list.d/amdvlk.list'\nsudo apt-get remove amdvlk # If old version is installed on the machine, remove it first \nsudo apt update\nsudo apt-get install amdvlk\n```\n\n## Runtime Settings\nThe driver exposes many settings that can customize the driver's behavior and facilitate debugging. You can add/edit settings in amdVulkanSettings.cfg or amdPalSettings.cfg file under one of below paths, formatted with one `name,value` pair per line:\n* /etc/amd\n* $AMD_CONFIG_DIR\n\nSome example settings are listed below:\n\n| Setting Name                   | Valid Values                                                | Comment                                                                                                                           |\n| ------------------------------ | ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |\n| `AllowVkPipelineCachingToDisk` | 0: disallow\u003cbr/\u003e1: default\u003cbr/\u003e                             | 1 is default value which enables Pal's archive-file based caching.\u003cbr/\u003eThe archive-file is stored under ~/.cache/AMD/VkCache.   |\n| `ShaderCacheMode`              | 0: disable cache\u003cbr/\u003e1: runtime cache\u003cbr/\u003e2: cache to disk  | Runtime cache is the default mode. For \"cache to disk\", the cache file is generated under $AMD_SHADER_DISK_CACHE_PATH/AMD/LlpcCache or $XDG_CACHE_HOME/AMD/LlpcCache or $HOME/.cache/AMD/LlpcCache   |\n| `IFH`                          | 0: default\u003cbr/\u003e1: drop all submits\u003cbr/\u003e                     | Infinitely Fast Hardware.  Submit calls are dropped before being sent to hardware.  Useful for measuring CPU-limited performance. |\n| `EnableVmAlwaysValid`          | 0: disable\u003cbr/\u003e1: default\u003cbr/\u003e2:  force enable\u003cbr/\u003e         | 1 is the default setting which enables the VM-always-valid feature for kernel 4.16 and above.  The feature can reduce command buffer submission overhead related to virtual memory management.     |\n| `IdleAfterSubmitGpuMask`       | Bitmask of GPUs (i.e., bit 0 is GPU0, etc.)                 | Forces the CPU to immediately wait for each GPU submission to complete on the specified set of GPUs.  |\n\n*All* available settings can be determined by examining below source files that define them.\n\n* .../xgl/icd/settings/settings_xgl.json (API layer settings)\n* .../pal/src/core/settings_core.json (PAL hardware-independent settings)\n* .../pal/src/core/hw/gfxip/gfx9/settings_gfx9.json (PAL GFX9+ settings)\n* .../pal/src/core/hw/gfxip/gfx12/settings_gfx12.json (PAL GFX12 settings)\n\nRuntime settings are only read at device initialization, and cannot be changed without restarting the application. If running on a system with multiple GPUs, the same settings will apply to all of them.  Lines in the settings file that start with `;` will be treated as comments.\n\n\n## Enable extensions under development\nThe extensions under development are not enabled by default in driver. You can enable them through environment variable:\n```\nexport AMDVLK_ENABLE_DEVELOPING_EXT=\"\u003cextension1-name\u003e [\u003cextension2-name\u003e...]\"\n```\nor\n```\nexport AMDVLK_ENABLE_DEVELOPING_EXT=\"all\"\n```\nThe extension name is case-insensitive.\n\n## PAL GpuProfiler Layer\nThe GpuProfiler is an optional layer that is designed to intercept the PAL interface to provide basic GPU profiling support.  Currently, this layer is controlled exclusively through runtime settings and outputs its results to file.\n\nYou can use the following [Runtime Settings](#runtime-settings) to generate .csv files with GPU timings of work performed during the designated frames of an application (one file for each frame):\n\n| Setting Name                     | Value                            | Comment                                                                                                                                                                                               |\n| -------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `GpuProfilerMode`                | 0: disable\u003cbr/\u003e1: enable with sqtt off\u003cbr/\u003e2: enable with sqtt for thread trace\u003cbr/\u003e3: enable with sqtt for RGP                     | Enables and sets the SQTT mode for the GPU performance profiler layer. Actual capture of performance data must be specified via frame number with GpuProfilerConfig_StartFrame or by pressing shift-F11.     |\n| `GpuProfilerConfig.LogDirectory` | \u003cnobr\u003e\u0026lt;directory-path\u003e\u003c/nobr\u003e | The directory path is relative to $AMD_DEBUG_DIR or $TMPDIR or /var/tmp/, default value is \"amdpal/\". Your application must have write permissions to the directory. The profiling logs are output to a subdirectory that is named in the format like \u003cnobr\u003e\u0026lt;AppName\u003e\u003c/nobr\u003e_\u003cnobr\u003e\u0026lt;yyyy-MM-dd\u003e\u003c/nobr\u003e_\u003cnobr\u003e\u0026lt;HH:mm:ss\u003e\u003c/nobr\u003e. |\n| `GpuProfilerConfig.Granularity`  | 0: per-draw\u003cbr/\u003e1: per-cmdbuf    | Defines what is measured/profiled.  *Per-draw* times individual commands (such as draw, dispatch, etc.) inside command buffers, while *per-cmdbuf* only profiles entire command buffers in aggregate. |\n| `GpuProfilerConfig.StartFrame`   | Positive integer                 | First frame to capture data for.  If StartFrame and FrameCount are not set, all frames will be profiled.                                                                                              |\n| `GpuProfilerConfig.FrameCount`   | Positive integer                 | Number of frames to capture data for.                                                                                                                                                               |\n| `GpuProfilerConfig.RecordPipelineStats` | 0, 1                             | Gathers pipeline statistic query data per entry if enabled.                                                                                                                                           |\n\nYou can use the script [timingReport.py](https://github.com/GPUOpen-Drivers/pal/tree/master/tools/gpuProfilerTools/timingReport.py) to analyze the profiling log:\n```\npython timingReport.py \u003cprofiling_log_subdirectory\u003e\n```\n\n## Dump Pipelines and Shaders\nThe output of timeReport.py includes the information of top pipelines like below:\n```\nTop Pipelines (\u003e= 1%)\nCompiler Hash         | Type         | Avg. Call Count | Avg. GPU Time [us] | Avg. Frame %\n1. 0xd91d15e42d62dcbb | VsPs         |              43 |          11,203.15 |      10.20 %\n2. 0x724e9af55f2adf1b | Cs           |               1 |           9,347.50 |       8.51 %\n3. 0x396e5ad6f7a789f7 | VsHsDsPs     |             468 |           8,401.35 |       7.65 %\n```\n\nYou can add the following settings to amdPalSettings.cfg to dump the information of each pipeline:\n```\nEnablePipelineDump,1\nPipelineDumpDir,\u003cdump_dir_path\u003e\n```\nPipelineDumpDir is a sub-path relative to $AMD_DEBUG_DIR or $TMPDIR or /var/tmp/, default value is \"spvPipeline/\". The pipeline dump file is named in the format like Pipeline\u003cnobr\u003e\u0026lt;Type\u003e\u003c/nobr\u003e_\u003cnobr\u003e\u0026lt;Compiler_Hash\u003e\u003c/nobr\u003e.pipe. For example, the above top 1 pipeline is dumped to PipelineVsFs_0xD91D15E42D62DCBB.pipe. The shaders referenced by each pipeline are also dumped to .spv files.\n\n## PAL Debug Overlay\nPAL's debug overlay can be enabled to display real time statistics and information on top of a running application.  This includes a rolling FPS average, CPU and GPU frame times, and a ledger tracking how much video memory has been allocated from each available heap.  Benchmarking (i.e., \"Benchmark (F11)\") is currently unsupported.\n\n| Setting Name                                | Value                                                                                                                   | Comment                                                                                                                             |\n| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `DebugOverlayEnabled`                       | 0, 1                                                                                                                    | Enables the debug overlay.                                                                                                          |\n| `DebugOverlayConfig.DebugOverlayLocation`   | \u003cnobr\u003e0: top-left\u003c/nobr\u003e\u003cbr/\u003e\u003cnobr\u003e1: top-right\u003c/nobr\u003e\u003cbr/\u003e\u003cnobr\u003e2: bottom-left\u003c/nobr\u003e\u003cbr/\u003e\u003cnobr\u003e3: bottom-right\u003c/nobr\u003e | Determines where the overlay text should be displayed.  Can be used to avoid collision with important rendering by the application. |\n| `DebugOverlayConfig.PrintFrameNumber`       | 0, 1                                                                                                                    | Reports the current frame number.  Useful when determining a good frame range for profiling with the GpuProfiler layer.             |\n| `DebugOverlayConfig.TimeGraphEnable`        | 0, 1                                                                                                                    | Enables rendering of a graph of recent CPU and GPU frame times.                                                                     |\n\n\n## Third Party Software\nThe AMD Open Source Driver for Vulkan contains code written by third parties.\n* [LLVM](https://github.com/GPUOpen-Drivers/llvm-project) is distributed under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT file in the top directory of the LLVM repository.\n* [MetroHash](https://github.com/GPUOpen-Drivers/MetroHash) is distributed under the terms of Apache License 2.0.  See LICENSE file in the top directory of the MetroHash repository.\n* [CWPack](https://github.com/GPUOpen-Drivers/CWPack) is distributed under the terms of MITLicense. See LICENSE file in the top directory of the CWPack repository.\n* Please see the README.md file in the [PAL](https://github.com/GPUOpen-Drivers/pal), [LLPC](https://github.com/GPUOpen-Drivers/llpc), [GPURT](https://github.com/GPUOpen-Drivers/gpurt) and [XGL](https://github.com/GPUOpen-Drivers/xgl) repositories for information on third party software used by those libraries.\n\n\n#### DISCLAIMER\nThe information contained herein is for informational purposes only, and is subject to change without notice. This document may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein.  No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document.  Terms and limitations applicable to the purchase 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 of Sale.\n\nAMD, the AMD Arrow logo, Radeon, FirePro, and combinations thereof are trademarks of Advanced Micro Devices, Inc.  Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.\n\nVega is a codename for AMD architecture, and is not a product name.\n\nLinux is the registered trademark of Linus Torvalds in the U.S. and other countries.\n\nVulkan and the Vulkan logo are registered trademarks of the Khronos Group, Inc.\n","funding_links":[],"categories":["Python","Others","Hardware Performance(CPU, GPU, Gaming Peripherals)","Hardware Support","Graphics"],"sub_categories":["AMD"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGPUOpen-Drivers%2FAMDVLK","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGPUOpen-Drivers%2FAMDVLK","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGPUOpen-Drivers%2FAMDVLK/lists"}