I am new to this tool and trying figure out how to capture a single frame by looking at the documentation.
Here are the steps I was able to come up looking at the documentation and tried it out on the device.
Build and Install replay-debug.apk using adb install -g command.
However, at the end of these steps, I don't see GFXR capture at /sdcard/Android/data//files/.
Am I supposed to push the libVkLayer_gfxreconstruct.so to any specific location on the device? or anything else I am missing.
PS: I don't have root access to the device.
The text was updated successfully, but these errors were encountered:
Additionally when reviewing the vulkan validation layer guidelines, I got to know that vulkan looks for the GFXR capture layer file libVkLayer_gfxreconstruct.so under /data/local/..... .
I am unable to push the libVkLayer_gfxreconstruct.so into /data/local/... without root access to the device. Because of this I see an error message "Couldn't create Vulkan instance: VK_ERROR_LAYER_NOT_PRESENT" from adb logcat.
Is there a way I can override this default vulkan path to some path under /sdcard/ and copy the libVkLayer_gfxreconstruct.so this alternate path.
We don't have control over the Vulkan loader so we can't change where it looks for layers or how it operates. I'm aware of these ways to capture on Android:
With a non-rooted device, package libVkLayer_gfxreconstruct.so with the app itself. Usually only possible if you're building the app from source.
If the app is "debuggable" in the manifest:
adb shell settings put global enable_gpu_debug_layers 1
adb shell settings put global gpu_debug_app $APPNAME
adb shell settings put global gpu_debug_layer_app com.lunarg.gfxreconstruct.replay
With a rooted device, copy libVkLayer_gfxreconstruct.so to the app's lib/arm64/ directory, making sure to chmod +x. Then set adb shell "setprop debug.vulkan.layers 'VK_LAYER_LUNARG_gfxreconstruct'" etc and run the application.
Hi Team,
I am new to this tool and trying figure out how to capture a single frame by looking at the documentation.
Here are the steps I was able to come up looking at the documentation and tried it out on the device.
However, at the end of these steps, I don't see GFXR capture at /sdcard/Android/data//files/.
Am I supposed to push the libVkLayer_gfxreconstruct.so to any specific location on the device? or anything else I am missing.
PS: I don't have root access to the device.
The text was updated successfully, but these errors were encountered: