baldurk / renderdoc

RenderDoc is a stand-alone graphics debugging tool.
https://renderdoc.org
MIT License
8.62k stars 1.3k forks source link

Renderdoc can not capture frame while the hwui rendering type is skiavk #3318

Closed lqy731 closed 1 month ago

lqy731 commented 1 month ago

Description

When we switch hwui rendering type from skiagl to skiavk, we found that renderdoc can not capture frames for any apps as attached image "renderdoc_capture.png" shown. we test filament demo based on vulkan backend is alright to use renderdoc,but any apps based on skiavk is not fine to use renderdoc. Compared with the log between filament demo and app based on skiavk: Renderdoc can call hooked_vkQueuePresentKHR, but for app based on skiavk cannot hooked. So we guess if skiavk rendering type has different api calling logic, and renderdoc are not adapted. As Android V required, hwui is forced to switch to skiavk, we need to debug issue based on renderdoc, please help to resolve these issue on skiavk, thank you for your support!

Steps to reproduce

renderdoc_capture switch mobile phone system to hwui skiavk on Android U or above, connect with the device, and launch any app used skia, the button capture frame is disabled, and there is no hint on mobile phone device, the other cases (likely, app based on skiagl) will show some hint on the left-top corner.

Environment

baldurk commented 1 month ago

You are running an extremely old version of RenderDoc, which there is no reason to do. Does this happen on the latest version v1.32?

lqy731 commented 1 month ago

RenderDocv132 Yes,this still happen on the latest version v1.32

cmannett85-arm commented 1 month ago

Please provide a sample app that demonstrates the problem.

lqy731 commented 1 month ago

[Uploading apkpart0.zip…]() [Uploading apkpart1.zip…]() [Uploading apkpart2.zip…]() I've uploaded three parts of the sample app, because of the attached file size limitation.Please download both of them ,and unzip together.

cmannett85-arm commented 1 month ago

@lqy731 all those download links just point to this page.

lqy731 commented 1 month ago

Hi Mannett, Shall I send it by email to you ? This page may have some limitation.

cmannett85-arm commented 1 month ago

Sure, please send camden.mannett@arm.com.

lqy731 commented 1 month ago

Already send email to you, please check,thanks.

cmannett85-arm commented 1 month ago

Thanks @lqy731, however I've only received apkpart1.zip and apkpart2.zip - I assume there is a third part still to come?

lqy731 commented 1 month ago

Hi Mannett, I've send you three seperate email,which is apkpart0.zip,apkpart1.zip and apkpart2.zip. Is apkpart0.zip missed? I've send it again just now.

cmannett85-arm commented 1 month ago

Interesting, I still haven't received apkpart0.zip. There's nothing in my corporate quarantine either.

cmannett85-arm commented 1 month ago

How large is the combined compressed data?

lqy731 commented 1 month ago

email It's strange.. the combined compressed data is 61.8 MB. But It just a sample apk 'taobao', could you download any app from app store?we test any apps downloaded from app store launched on skiavk both have this problem.

baldurk commented 1 month ago

RenderDoc is only intended for capturing your own programs. Capturing programs that are not your own is not endorsed or allowed for any reason, and I will provide absolutely no support for it.