-
Notifications
You must be signed in to change notification settings - Fork 136
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
Winit example slow on wsl #562
Comments
My first guess is that GPU passthrough either isn't available (CPU fall-back?) or is throttled. Please be more specific and explain how you're running it, though. |
I thought the same! For some reason it worked before yesterday, I restarted my PC today and got this. I suspect something is wrong with my wsl instance (not sure - I haven't made any changes since yesterday). For context other tasks requiring the GPU to work are fine e.g. running machine learning models with PyTorch, nvidia-smi output is fine, nvcc is there
Do you have any idea what could have changed? |
No idea! I also don't use Linux. Maybe @armansito or @DJMcNab would. Looks like, although perhaps unrelated, some strange parsing of the shaders. Particularly standing out:
|
Those messages (about the #endif directives) are harmless; the WGSL preprocessor doesn't gracefully handle inline comments that follow an |
The example only gets around 4-5 FPS on WSL but gets around 1K+ on Windows, any way I can fix this?
The text was updated successfully, but these errors were encountered: