To disable ubwc for decoder output:
adb shell setprop vendor.qc2.log.buffers 0x1002
To disable ubwc for encoder input:
adb shell setprop vendor.qc2.log.buffers 0x1010
Note: Ensure to disable SELinux before capturing the dumps:
adb shell setenforce 0
Note: make sure to create folder qc2 before trying to take dump:
adb shell mkdir /data/vendor/media/qc2
adb root
adb shell setenforce 0
adb shell setprop vendor.gralloc.disable_ubwc 1
OR:
adb shell setprop vendor.gralloc.disable_ubwc "1"
check below to make sure it was set to 1:
adb shell getprop vendor.gralloc.disable_ubwc
UBWC is enabled by default from video encoder perspective.
Can update vendor/etc/system_properties.xml and set(or add) below value: -->Push it back to /vendor/etc/ and reboot DUT, and check if UBWC was disabled.
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,会注明原创字样,如未注明都非原创,如有侵权请联系删除!;3.作者投稿可能会经我们编辑修改或补充;4.本站不提供任何储存功能只提供收集或者投稿人的网盘链接。 |