Open k-bx opened 1 month ago
Strange, haven't seen this one yet! Surface creation failing with out of memory I'd expect that it picks non-sensical render target size, but it says earlier 1470x920
with scale factor of 1.
Does it happen as well when you build Rerun 0.17?
If you have the time to do so it would be interesting to check if the basic wgpu examples also exhibit this problem for you. For that you'd need to check out wgpu and run cargo run --bin wgpu-examples hello_triangle
Yup, same error on 0.17.
Just realised another thing which might be relevant: running things via xrdp + Microsoft Remote Desktop from my macOS to Ubuntu 22.04 machine.
oh, that's most definitely relevant for this! The "surface" that fails creating here is all about presentation of the screen. Haven't found any existing bugs about this on wgpu, might also be the windowing (via winit library) having issues.
Meanwhile I'd advise to run the viewer on your Mac and have only the sdk send data from the remote machine
Roger, thanks for digging into this!
WGPU does error:
$ cargo run --bin wgpu-examples hello_triangle
Finished dev [unoptimized + debuginfo] target(s) in 0.08s
Running `target/debug/wgpu-examples hello_triangle`
libEGL warning: DRI2: failed to authenticate
thread 'main' panicked at wgpu/src/backend/wgpu_core.rs:786:18:
Error in Surface::configure: Validation Error
Caused by:
Not enough memory left.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Made an issue https://github.com/gfx-rs/wgpu/issues/5993
awesome, was just about to ask that. Thanks for helping to dig on this!
Describe the bug
pixi run rerun
immediately crashes with "Not enough memory left" error. I believe I have quite a lot of memory, both RAM and GPU RAM free.Rerun version
Rerun from https://github.com/rerun-io/rerun/pull/6561 source