lima: Android debugging experience sharing
Modern Android doesn't respect GLES anymore, providing no ability to capture trace/playback and send it to driver maintainers.
But mesa3d allow us to dump driver-specific per-frame data for analysis.
Enable mesa3d/lima dumps:
adb root
adb shell chmod 777 /data
adb shell mkdir -p /data/lima
adb shell setprop mesa.lima.debug dump
adb shell setprop mesa.lima.dump.file /data/lima/lima.dump
Restart userspace:
adb shell stop
adb shell start
Clear old/unnecessary dumps:
adb shell rm /data/lima/*
Do UI manipulation, then download dumps:
mkdir dumps
cd dumps
adb pull /data/lima .
Get process/thread list to allow distinguish between dumps:
adb shell ps -AT > ps.txt
Signed-off-by: Roman Stratiienko r.stratiienko@gmail.com
Edited by Roman Stratiienko