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

can no longer build at all #51

Closed
rustylabs opened this issue Jan 4, 2024 · 10 comments
Closed

can no longer build at all #51

rustylabs opened this issue Jan 4, 2024 · 10 comments

Comments

@rustylabs
Copy link

Running cargo r I get this issue:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/raj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/blue_engine-0.4.28/src/render.rs:59:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@ElhamAryanpur
Copy link
Collaborator

I see, please write your OS and environment, I do not know how to reproduce it yet

@rustylabs
Copy link
Author

rustylabs commented Jan 4, 2024 via email

@rustylabs
Copy link
Author

Moved to 0.5, no longer having issues, closing ticket.

@rustylabs
Copy link
Author

I am on 0.5 and still issue persists.

@rustylabs rustylabs reopened this Jan 4, 2024
@rustylabs
Copy link
Author

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/raj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/blue_engine-0.5.0/src/render.rs:59:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@Gipson62
Copy link
Contributor

Gipson62 commented Jan 4, 2024

This happens because wgpu can't find your GPU, so the engine stops, are you sure your GPU is accessible, or you're on a device with one?

@rustylabs
Copy link
Author

@Gipson62 I don't know why doing a ful system update messes chnages my drivers, thanks for letting me know.

@Gipson62
Copy link
Contributor

Gipson62 commented Jan 4, 2024

Know that when you get this type of error (in render.rs line 59) it's a GPU error from wgpu. And yeah, sometimes drivers are messed up on some Linux distro because of system updates.

@ElhamAryanpur
Copy link
Collaborator

Yeah gipson is right, that error is from engine not being able to get access for rendering, which means driver not working correctly

@rustylabs
Copy link
Author

Yep now working thanks

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