-
Notifications
You must be signed in to change notification settings - Fork 88
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
cargo xtask run results in white screen #538
Comments
Looks like a regression introduced in Rust 1.78. Steps to reproduce: Here's the steps to reproduce:
So it seems like the issue is the toolchain, since there was no change to the code between the runs... It works on Renode and hardware, fwiw. just hosted mode is broken. The hosted mode bug could even be specific to Windows, I don't have a linux host to test this on conveniently at the moment. |
@xobs any ideas on what could be causing this? |
The problem seems to be specifically something in between the graphics-server, graphics-server seems to be receiving messages normally, and it can process key hits etc. What seems to be happening is none of the graphics ever get updated to the screen. I tried updating to the latest minifb on crates.io but didn't see any change... |
Huh, other users have reported this problem on windows 11: emoon/rust_minifb#351 |
Does it fix things if you update the minifb = { git = "https://github.com/emoon/rust_minifb.git", rev = "633e6cd4f8f55fd9cbedc461976dde0f408bea35" } |
OK yes, I can confirm that using the gitrev of an unreleased minifb causes the bug to go away: git = "https://github.com/emoon/rust_minifb.git", rev = "633e6cd4f8f55fd9cbedc461976dde0f408bea35" I'll swap that pin over to the git repo directly this weekend if no release is made by then. |
Alright, I have a patch to this, I'll make a PR for it once I'm in a region of the world that's not blocking both ssh and vpn. 😬 |
This is the work-around suggested at emoon/rust_minifb#351 until a new release is tagged.
yup all good now, thank you! |
When I try to start the emulator using
cargo xtask run
all I see is a white screen. Example log and screenshot below.I got latest from upstream/main and I did
rustup update
before this, FYI.The text was updated successfully, but these errors were encountered: