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

Screenshot of warped display #101

Open
RobertoAlda opened this issue Sep 25, 2023 · 1 comment
Open

Screenshot of warped display #101

RobertoAlda opened this issue Sep 25, 2023 · 1 comment

Comments

@RobertoAlda
Copy link

I'm tryng to take a screenshot of the warped screen, but all my tries failed.
I tried:

allo of these take a screenshot, but without wapring and blending.
I need to do this for testing the correctness of wapr and blend results.
How can i do it?
Any help would be appreciated, thank you.

@aaronp24
Copy link
Member

aaronp24 commented Dec 4, 2023

We don't currently have a mechanism for capturing frames after warp & blend. Your best bet might be to query output CRCs using NVKMS_IOCTL_QUERY_DPY_CRC32. However, you might run into trouble if the Xorg driver is the modeset owner and you're trying to capture CRCs from another modeset client. You'd need to modify nvkms.c to remove that check if you want to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants