Comments (4)
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.
from vello.
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
โ vello git:(main) cargo run -p with_winit --release
Finished release [optimized] target(s) in 0.78s
Running `target/release/with_winit_bin`
No test files have been downloaded. Consider downloading some using the subcommand:
Download SVG files for testing. By default, downloads a set of files from wikipedia
Usage: cargo run -p with_winit -- download [OPTIONS] [DOWNLOADS]...
Arguments:
[DOWNLOADS]... Set of files to download. Use `name@url` format to specify a file prefix
Options:
--directory <DIRECTORY> Directory to download the files into [default: /home/yash/programming/vello/examples/assets/downloads]
--auto Whether to automatically install the default set of files
--size-limit <SIZE_LIMIT> The size limit for each individual file (ignored if the default files are downloaded) [default: "10 MB"]
-h, --help Print help
[2024-05-01T02:22:01.851Z ERROR sctk_adwaita::config] XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme
#endif directives don't take an argument. `// msaa` will not be in output (line 717)
#endif directives don't take an argument. `// full` will not be in output (line 1085)
#endif directives don't take an argument. `// msaa` will not be in output (line 717)
#endif directives don't take an argument. `// full` will not be in output (line 1085)
#endif directives don't take an argument. `// msaa` will not be in output (line 717)
#endif directives don't take an argument. `// full` will not be in output (line 1085)
Initialising in parallel using 10 threads
Parsed svg Ghostscript_Tiger in 1.880476ms
Encoded svg Ghostscript_Tiger in 80.569ยตs
Io error: Broken pipe (os error 32)
Io error: Broken pipe (os error 32)
thread 'main' panicked at examples/with_winit/src/lib.rs:638:10:
run to completion: ExitFailure(1)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Do you have any idea what could have changed?
from vello.
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:
XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme
#endif directives don't take an argument. `// msaa` will not be in output (line 717)
#endif directives don't take an argument. `// full` will not be in output (line 1085)
#endif directives don't take an argument. `// msaa` will not be in output (line 717)
#endif directives don't take an argument. `// full` will not be in output (line 1085)
#endif directives don't take an argument. `// msaa` will not be in output (line 717)
#endif directives don't take an argument. `// full` will not be in output (line 1085)
Initialising in parallel using 10 threads
from vello.
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:
XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme #endif directives don't take an argument. `// msaa` will not be in output (line 717) #endif directives don't take an argument. `// full` will not be in output (line 1085) #endif directives don't take an argument. `// msaa` will not be in output (line 717) #endif directives don't take an argument. `// full` will not be in output (line 1085) #endif directives don't take an argument. `// msaa` will not be in output (line 717) #endif directives don't take an argument. `// full` will not be in output (line 1085) Initialising in parallel using 10 threads
Those messages (about the #endif directives) are harmless; the WGSL preprocessor doesn't gracefully handle inline comments that follow an #endif
directive and print out this error message. I'll send a PR to suppress those so they don't spam the logs.
from vello.
Related Issues (20)
- Asynchronous Pipline Creation using CPU shaders
- Tracking issue: Documenting Vello's architecture HOT 8
- Web Demo hangs after a minute
- Web Demo doesn't work on Windows/Chrome 122 HOT 1
- Long startup time under DX12 HOT 2
- [Question] was rust-gpu evaluated? HOT 2
- rustfmt settings (linebender-wide?) HOT 2
- Switch from `dialoguer` to `inquire` HOT 5
- Introduce a changelog HOT 1
- Appending an `Encoding` to a `Scene` HOT 5
- Simple example doesn't work on web. HOT 2
- Trouble drawing emojis HOT 8
- Improving bump estimation accuracy and performance
- API Issue for `Renderer`
- Full system hang on Apple M1 8GB HOT 13
- Rendering to a surface and transparency HOT 2
- Minor issue: example 'simple' - when compiled standalone - the render context needs to be unwrapped HOT 2
- Lots of wgpu error messages HOT 5
- `vello_shaders` causes recompilation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vello.