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

Screenshots with Luma sometimes don't show console output #31

Open
ian-h-chamberlain opened this issue Jan 29, 2022 · 4 comments
Open

Comments

@ian-h-chamberlain
Copy link
Member

I haven't figured out why, but it seems like printing to the console sometimes isn't written to whatever buffer Luma uses when it takes a screenshot. It would be nice if we can work around this, since taking screenshots is one of the few ways available to share debug state of a hardware device.

@Meziu
Copy link
Member

Meziu commented Jan 29, 2022

This is more of a problem with libctru than with ctru-rs, I don't even know how much we can tamper with it. We can just search around for any documentation of this issue.

@AzureMarker
Copy link
Member

@ian-h-chamberlain How did you get the screenshots in this PR? #41

@Meziu
Copy link
Member

Meziu commented Feb 4, 2022

Looks like a stdout redirection. It’s supported using the latest Homebrew Menu and 3dslink. I didn’t understand how to use it though.

@ian-h-chamberlain
Copy link
Member Author

@ian-h-chamberlain How did you get the screenshots in this PR? #41

To be honest, I'm not sure what was different in this one... I just took a normal Luma screenshot with the code shown in that PR, as far as I remember. I thought originally maybe wide mode had something to do with it, or perhaps the lack of flushing / flipping buffers in the busy loop at the end of the test runners? I can try experimenting to see what makes it work or not.

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

3 participants