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

[replay] Background is not drawn during the loading screen of some apps #1627

Open
Tracked by #1591
ziga-lunarg opened this issue Jul 18, 2024 · 7 comments · May be fixed by #1812
Open
Tracked by #1591

[replay] Background is not drawn during the loading screen of some apps #1627

ziga-lunarg opened this issue Jul 18, 2024 · 7 comments · May be fixed by #1812
Assignees
Labels
android P1 Prevents an important capture from being replayed

Comments

@ziga-lunarg
Copy link
Contributor

There are multiple android games where during the loading screen in the replay the background will just be some green color, which I assume is the clear color. Happens with trim and without it.

@panos-lunarg
Copy link
Contributor

Could it be an uninitialized AHB buffer?
AHB can be left uninitialized when at capture we fail at locking them and dumping their content, AHB is a weird format which we cannot regenerate at replay and perhaps other reasons

@ziga-lunarg
Copy link
Contributor Author

I have not thought about that, but good idea, I'll check it out

@ziga-lunarg
Copy link
Contributor Author

The games that have issues with the background rendering do not have any AHB warnings. And I wrongly assumed the green color was from a clear, it's actually a draw.

@panos-lunarg
Copy link
Contributor

I remember seeing a green background in the NiNoKuNi game, there was supposed to be a video playing in the background in the game's main menu but when replaying there was a shade of green instead of the video.
I don't remember how exactly this failed but it was because of a weird AHB format which is not in the list of supported AHB formats

@bradgrantham-lunarg
Copy link
Contributor

bradgrantham-lunarg commented Jul 20, 2024

I wonder if we could (1) save a checkerboard or maybe even the text "AHB Not Saved" if we can't lock the buffer to read it out and (2) checkerboard or "AHB Not Replayed" if we can't create a buffer with the saved format.

@panos-lunarg
Copy link
Contributor

We definitely print a warning (used to be an error) when we can't lock the AHB, during both capture and replay

@KarenGhavam-lunarG KarenGhavam-lunarG added the P1 Prevents an important capture from being replayed label Aug 12, 2024
@Zydiii
Copy link

Zydiii commented Oct 21, 2024

I encountered the problem too, when the app is playing videos.
It seems that the AHB used for video playing is AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER. So it couldn't be read by CPU, thus capturing noting.
image
Is there any way to hack the memory to read it and save on CPU?

@ziga-lunarg ziga-lunarg linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android P1 Prevents an important capture from being replayed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants