Comments (8)
@cloudhead I'm experiencing same problem. Recompiling with --features winit
help, though.
from rx.
Strange. Can you try enabling vsync in rx?
set vsync = on
In your ~/.config/rx/init.rx
config file.
from rx.
It's also strange that your content scale is < 1.0
- that could be the problem, I've never seen this before. You could try to set scale = 2.0
also inside your config file and see if that changes anything.
from rx.
set vsync = on
didn't do any difference, or at least I didn't notice anything.
set scale = 2.0
changed it a bit. Instead of black screen, the screen isn't painted at all in the place where the application window is, the last thing I had opened in that space (eg terminal that I launched rx from) is drawn in there.
Also changing scale doesn't change the warn message that content scale isn't uniform, it still displays the 0.77... x 0.78...
, not sure if it should've changed.
from rx.
Can you check if with vsync on, the out of memory issue is gone when you try to save?
Also can you try running vulkaninfo
and also installing vulkan-utils
?
The only other thing I could propose is to build from source with the winit
backend to see if it makes any difference.
from rx.
Another question, is your OOM issue this: #1 ? If not, can you post the output?
from rx.
I don't think so, or at least it looks like it failed at different location. I was fast enough and managed to save the image, but it crashed almost immediately afterwards. I had vsync = on
and I got this:
[2019-10-02T18:14:13Z WARN rx::platform::backend] glfw: content scale isn't uniform: 0.7791411 x 0.7807377
[2019-10-02T18:14:13Z INFO rx::session] rx v0.2.0
[2019-10-02T18:14:24Z INFO rx::session] "test.png" 4096 pixels written
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OutOfMemory(OutOfHostMemory)', src/libcore/result.rs:1084:5
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/libunwind.rs:88
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:47
3: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:36
4: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:200
5: std::panicking::default_hook
at src/libstd/panicking.rs:214
6: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:477
7: std::panicking::continue_panic_fmt
at src/libstd/panicking.rs:384
8: rust_begin_unwind
at src/libstd/panicking.rs:311
9: core::panicking::panic_fmt
at src/libcore/panicking.rs:85
10: core::result::unwrap_failed
at src/libcore/result.rs:1084
11: wgpu_native::device::device_create_swap_chain
12: wgpu_swap_chain_get_next_texture
13: wgpu::SwapChain::get_next_texture
14: rgx::core::SwapChain::next
15: rx::renderer::Renderer::frame
16: rx::timer::FrameTimer::run
17: rx::init::{{closure}}
18: rx::platform::run
19: rx::init
20: rx::main
21: std::rt::lang_start::{{closure}}
22: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:49
23: std::panicking::try::do_call
at src/libstd/panicking.rs:296
24: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:80
25: std::panicking::try
at src/libstd/panicking.rs:275
26: std::panic::catch_unwind
at src/libstd/panic.rs:394
27: std::rt::lang_start_internal
at src/libstd/rt.rs:48
28: main
29: __libc_start_main
30: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
However compiling with winit,vulkan
fixed it. Thanks!
from rx.
Ok great. The winit backend is not as well supported, so let me know if anything isn't working there.
from rx.
Related Issues (20)
- Crash while opening file/directory with unicode in name
- Long paths trimming?
- MacOS M1: GLFW Runtime Error HOT 12
- Tearing/Strobing: Linux HOT 2
- Create keybinds based on keycodes for non-US keyboards HOT 2
- New release? HOT 2
- Tileset mode HOT 7
- Command history does not remember invalid commands.
- Suggestion for "using the grid" documentation section. HOT 1
- F11 to quickly toggle fullscreen HOT 6
- add ability to :map mouse buttons
- project file woahs
- Is painting with a partially opaque brush supported? HOT 1
- SVG output bug? HOT 2
- No way to scroll the help screen HOT 2
- RX wont open, installed from cargo HOT 1
- missing :sav command
- Add shapes
- Wayland support? HOT 12
- Building from source fails. cmake error. HOT 3
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 rx.