Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lqy731 opened this issue May 17, 2024 · 14 comments
Closed

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

lqy731 opened this issue May 17, 2024 · 14 comments
Labels
Bug A crash, misbehaviour, or other problem Need More Info More information is needed from a user to work on this issue

Comments

@lqy731
Copy link

lqy731 commented May 17, 2024

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

  • RenderDoc version: renderdoc_1.25/renderdoc_1.21
  • Operating System: Android U
  • Graphics API: Skiavk
    GPU : both mtk and qcom chip set have this issue
@baldurk
Copy link
Owner

baldurk commented May 17, 2024

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?

@baldurk baldurk added Bug A crash, misbehaviour, or other problem Need More Info More information is needed from a user to work on this issue labels May 17, 2024
@lqy731
Copy link
Author

lqy731 commented May 20, 2024

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

@cmannett85-arm
Copy link
Contributor

Please provide a sample app that demonstrates the problem.

@lqy731
Copy link
Author

lqy731 commented May 20, 2024

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
Copy link
Contributor

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

@lqy731
Copy link
Author

lqy731 commented May 23, 2024

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

@cmannett85-arm
Copy link
Contributor

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

@lqy731
Copy link
Author

lqy731 commented May 24, 2024

Already send email to you, please check,thanks.

@cmannett85-arm
Copy link
Contributor

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

@lqy731
Copy link
Author

lqy731 commented May 24, 2024

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
Copy link
Contributor

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

@cmannett85-arm
Copy link
Contributor

How large is the combined compressed data?

@lqy731
Copy link
Author

lqy731 commented May 24, 2024

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
Copy link
Owner

baldurk commented May 24, 2024

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.

@baldurk baldurk closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A crash, misbehaviour, or other problem Need More Info More information is needed from a user to work on this issue
Projects
None yet
Development

No branches or pull requests

3 participants