Comments (8)
Waiting for wgpu-egui and wgpu-profiler to catch up to wgpu 22.0.0. Both have the appropriate pull requests.
from wgpu.
What do you mean by Linux 22.04 LTS? The latest version of the linux kernel is 6.10
from wgpu.
Ubuntu 22.04 LTS
from wgpu.
As far as I can tell, that ought to be a fast operation.
I think wgpu should do a better job documenting that it is in fact known to be a very slow operation.
That said, regardless it needs to be looked at if it really has to lock out render pass recording (or vice versa, not that it matters :)).
Wgpu is making some considerable progress in this area, so might be worth checking if the just released 22.0.0 got better in that regard, but I'd be kinda surprised if it's fundamentally different (but who knows! personally I lost a bit track of all the refactors that went in 😅).
Ideally, it would only be an "occasionally very slow" operation, i.e. whenever it actually happens to bottom out to an allocation in the driver (which shouldn't happen all that often)!
from wgpu.
just released (WGPU) 22.0.0
OK, I will upgrade all my code, and Rend3, and re-test. More tomorrow.
very slow operation.
Indeed. 4ms is slow for something in the main render loop.
from wgpu.
The buffer in question is the vertex buffer (you can tell by it being accessed by the mesh manager). This buffer can get very large, and large allocations can take a second for us to generate, as the underlying memory allocation takes a little bit. It shouldn't block the main thread, however.
from wgpu.
The buffer in question is the vertex buffer (you can tell by it being accessed by the mesh manager). This buffer can get very large, and large allocations can take a second for us to generate, as the underlying memory allocation takes a little bit. It shouldn't block the main thread, however.
Right. Profiling can show this happening, but extracting cross-thread cause and effect from profiling data is hard.
from wgpu.
The pull request to fix wgpu-profiling failed. See Wumpf/wgpu-profiler#75
A new WGPU version is needed to fix that, apparently.
from wgpu.
Related Issues (20)
- Segfault when creating `Instance` in multiple threads on Linux under Nvidia HOT 1
- Enable `lock::ranked` validation by default in debug builds
- Buffer leaks HOT 3
- `wgpu_core::resource::Sampler::filtering` is not set to `true` if `SamplerDescriptor::mipmap_filter` is `Linear` HOT 1
- Surface with only texture usage `COPY_DST` attempts to create a `VkImageView` HOT 2
- wgpu_hal is using /usr/lib instead of /usr/lib64 in distrobox fedora HOT 12
- v0.20.2 not available in crates.io HOT 1
- "Implementation Status" page on WebGPU wiki is out of date regarding wpgu/Firefox
- Halmark demo broken / only shows a blue screen HOT 1
- `Device::poll(Wait)` hangs after failed command submission
- Add back support for tracing (`trace` feature) to `wgpu`
- wgpu-core might not submit commands to hal queue with strictly increasing submission indices HOT 2
- `native` cfg alias is public but not documented
- Cannot create GL ES 3.x adapter when GL < 3.3 exists HOT 2
- wgpu-core docs fail to build. HOT 1
- `cargo clippy` fails on call into `profiling` HOT 1
- Ubuntu -> xrdp + Microsoft Remote Desktop -> Mac: Error: Not enough memory left now HOT 1
- ShaderValidation error: Not implemented: variable qualifier
- Cannot build wgpu-core for PowerPC 32-bit (`AtomicU64` does not exist in 32-bit PPC)
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 wgpu.