nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.03k stars 304 forks source link

Running Nannou on WSL: lavapipe is not a conformant vulkan implementation. Testing use only #766

Open giluis opened 3 years ago

giluis commented 3 years ago

Hey, nannou beginner here. Trying it out on Windows Subsystem for Linux. Vulcan wasn't working properly, so I followed this guide to set it up on WSL. I can run the demo project they have there. However, when running this templat project I found somewhere, the screen just becomes white image My screen: image

On the terminal, I get the following: image

I really want to use nannou. How can I fix this issue?

danwilhelm commented 3 years ago

Nannou is built on top of WGPU. It seems that lavapipe (a CPU-based renderer) mostly works with WGPU but may still have issues. See https://github.com/gfx-rs/wgpu/issues/1551

kvark commented 3 years ago

I'm able to run most of the wgpu examples on Lavapipe locally, although @cwfitzgerald had less luck with it. If Nannou works on bleeding edge wgpu, you might want to run on OpenGL ES backend, which should be natively supported under WSL.