| # Running dEQP with Gfxstream |
| ## dEQP-(EGL|GLES2|GLES3) |
| cd <YOUR aosp-main DIRECTORY> |
| lunch aosp_cf_x86_64_phone-trunk_staging-userdebug |
| m libgfxstream_guest_vulkan_with_host |
| # Edit hardware/google/gfxstream/guest/vulkan/gfxstream_icd.json 's |
| # "library_path" value to point to |
| # "<YOUR aosp-main DIRECTORY>/out/host/linux-86/lib64/libgfxstream_guest_vulkan_with_host.so" |
| git clone https://github.com/KhronosGroup/VK-GL-CTS . |
| python3 external/fetch_sources.py |
| cmake -DCMAKE_BUILD_TYPE=Debug .. |
| 1. Build Nested Vulkan Loader |
| ./scripts/build-nested-vulkan-loader.sh |
| # Run the "export" command printed in the output of the above script. |
| 1. Run dEQP with Gfxstream ICD |
| VK_ICD_FILENAMES=<YOUR aosp-main DIRECTORY>/hardware/google/gfxstream/guest/vulkan/gfxstream_icd.json \ |
| GFXSTREAM_VK_LOADER_DEBUG=all \ |
| GFXSTREAM_VK_ICD_FILENAMES=/etc/vulkan/icd.d/nvidia_icd.json \ |
| <YOUR github-deqp DIRECTORY>/build/external/vulkancts/modules/vulkan/deqp-vk \ |
| --deqp-case=dEQP-VK.api.smoke* |