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

Graphical corruption when executing the reboot menu item #79

Closed
abaire opened this issue Sep 17, 2021 · 4 comments
Closed

Graphical corruption when executing the reboot menu item #79

abaire opened this issue Sep 17, 2021 · 4 comments

Comments

@abaire
Copy link
Contributor

abaire commented Sep 17, 2021

Executing the reboot item causes the screen to be corrupted until the return to dashboard occurs (looks likely to be uninitialized data).

I assume this is because of the use of exit() rather than explicitly launching w/ no executable path. If XboxDev/nxdk/pull/501 gets merged, this can probably be solved by changing the exit to XLaunchXBE(nullptr).

Calling XReboot() also fixes the graphical corruption but that's a full reboot instead of a quick one, which probably isn't desirable for users of bios loaders like Phoenix.

@abaire
Copy link
Contributor Author

abaire commented Sep 17, 2021

Looks like I'm wrong about using an explicit HalQuickRebootRoutine; I still see the same corruption after patching 501 and calling XLaunchXBE on my v1.0 XBOX.

@abaire
Copy link
Contributor Author

abaire commented Sep 17, 2021

Digging around a bit, I think the issue is the lack of a PersistDisplay equivalent to store the framebuffer.
It looks like XVideoInit is already persisting the framebuffer though, so it's not immediately clear to me why the screen doesn't simply freeze.

@GXTX
Copy link

GXTX commented Sep 17, 2021

I'm pretty sure this is an issue with nxdk.

@abaire
Copy link
Contributor Author

abaire commented Sep 17, 2021

Looks like you're right, I can reproduce in a smaller test program. Filed XboxDev/nxdk/issues/507 to track over there.

@abaire abaire closed this as completed Sep 17, 2021
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