Giter VIP home page Giter VIP logo

Comments (3)

dtcristo avatar dtcristo commented on August 18, 2024

Hmm, very interesting. I'm on macOS and I have occasionally noticed issues where when the window is created it doesn't render correctly and runs at a very fast framerate. But it doesn't crash.

I think my issue and yours are related. I think it has something to do with the way bevy interacts with the winit event loop (how systems are run and thus pixels rendering is triggered). Given how bevy currently works there is no way for this to be fixed right now. I've attempted a fix here, but it was not really sufficient.

Bevy 0.6 separated rendering from the app systems, but this has not been exposed for plugins yet. This would hopefully allow my to fix the issues that might be caused by the winit event loop.

All this being said, I've noticed there is this issue on bevy that looks similar to your issue. Could be your Nvidia drivers?

from bevy_pixels.

mathijs28498 avatar mathijs28498 commented on August 18, 2024

Thanks for the reply! I see that forgot to mention that I am using windows.

But more importantly I forgot to read your readme properly.. I didn't add the "default_features = false" in the toml file. I can run your minimal.rs, so all is good now. Excuse my incompetence.

from bevy_pixels.

dtcristo avatar dtcristo commented on August 18, 2024

No worries. Glad you could get it working.

from bevy_pixels.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.