Comments (26)
As last time... Wayland+vulkan is buggy as hell with NVIDIA drivers. (Egregoria only supports vulkan on Linux as a graphics backend, I don't have time to make wgpu's opengl backend work)
When using the latest drivers I hit: gfx-rs/wgpu#4775
And when using the stable drivers I hit NVIDIA/egl-wayland#83 (comment)
🙃
Let's hope it gets better when the game is ready to be released! In the meantime, I can't test much.
from egregoria.
But I'm mostly thinking it's wayland (which is networked) that's broken. In which case I can't investigate right now since I'd need to setup a wayland desktop.
from egregoria.
I just remembered I can just switch to xorg by just logging out setting it to xorg and logging back in... Now it works fine :D
from egregoria.
Wayland support is probably not great as I don't really tro to support it.
Last time I tried using wayland every other program was broken too so I thought I'd wait until it matured a bit.
from egregoria.
Can you try running master instead? I upgraded to winit 0.29 recently which could help.
from egregoria.
Tried that, and it didn't even launch and threw the error
thread 'main' panicked at 'texture not found at path: assets/sprites/blue_noise_512.png (in dir: Ok("/home/arbee/Documents/Egregoria")): The image format could not be determined': /home/arbee/Documents/Egregoria/engine/src/texture.rs:353
0: <backtrace::capture::Backtrace as core::default::Default>::default
1: log_panics::Config::install_panic_hook::{{closure}}
2: std::panicking::rust_panic_with_hook
3: std::panicking::begin_panic_handler::{{closure}}
4: std::sys_common::backtrace::__rust_end_short_backtrace
5: rust_begin_unwind
6: core::panicking::panic_fmt
7: engine::texture::TextureBuilder::from_path
8: engine::framework::run::{{closure}}
9: native_app::main
10: std::sys_common::backtrace::__rust_begin_short_backtrace
11: std::rt::lang_start::{{closure}}
12: std::rt::lang_start_internal
13: main
14: __libc_start_call_main
15: __libc_start_main_impl
16: _start
even thought the texture at "assets/sprites/blue_noise_512.png" exists.
from egregoria.
You probably didn't pull the LFS files, check the readme
from egregoria.
I did run git lfs pull
from egregoria.
What does
file assets/sprites/blue_noise_512.png
Show ?
from egregoria.
from egregoria.
Hmmmm, can you run again ? I don't see why the image format would not be recognized
from egregoria.
Oh.. Is that a Terminal Command?
assets/sprites/blue_noise_512.png: PNG image data, 512 x 512, 8-bit/color RGBA, non-interlaced
Didn't know that command existed
from egregoria.
It is :) very useful
from egregoria.
I deleted the file and reran git lfs pull
, and it ran, but I couldn't interact with it again until it crashed with
Io error: Broken pipe (os error 32)
thread 'main' panicked at 'Failed to run event loop: ExitFailure(1)': /home/arbee/Documents/Egregoria/engine/src/framework.rs:160
0: <backtrace::capture::Backtrace as core::default::Default>::default
1: log_panics::Config::install_panic_hook::{{closure}}
2: std::panicking::rust_panic_with_hook
3: std::panicking::begin_panic_handler::{{closure}}
4: std::sys_common::backtrace::__rust_end_short_backtrace
5: rust_begin_unwind
6: core::panicking::panic_fmt
7: core::result::unwrap_failed
8: engine::framework::run::{{closure}}
9: native_app::main
10: std::sys_common::backtrace::__rust_begin_short_backtrace
11: std::rt::lang_start::{{closure}}
12: std::rt::lang_start_internal
13: main
14: __libc_start_call_main
15: __libc_start_main_impl
16: _start
I'm guessing that is the same error as before?
from egregoria.
I have never seen this error before. Are you running any "surprising" setup? Maybe an old computer, a networked disk, maybe you don't have a gpu?...
from egregoria.
Nope... I don't think so...
from egregoria.
Maybe it's the nvidia gpu messing stuff up... wouldn't be the first time
from egregoria.
I'm just wondering what pipe could be broken. Super weird.
from egregoria.
I reran it yet again and got the error:
Io error: Connection reset by peer (os error 104)
Io error: Connection reset by peer (os error 104)
thread 'main' panicked at 'Failed to run event loop: ExitFailure(1)': /home/arbee/Documents/Egregoria/engine/src/framework.rs:160
0: <backtrace::capture::Backtrace as core::default::Default>::default
1: log_panics::Config::install_panic_hook::{{closure}}
2: std::panicking::rust_panic_with_hook
3: std::panicking::begin_panic_handler::{{closure}}
4: std::sys_common::backtrace::__rust_end_short_backtrace
5: rust_begin_unwind
6: core::panicking::panic_fmt
7: core::result::unwrap_failed
8: engine::framework::run::{{closure}}
9: native_app::main
10: std::sys_common::backtrace::__rust_begin_short_backtrace
11: std::rt::lang_start::{{closure}}
12: std::rt::lang_start_internal
13: main
14: __libc_start_call_main
15: __libc_start_main_impl
16: _start
from egregoria.
I'm thinking it might be related to the logging. Can you run
sed -i 's/release_max_level_info/release_max_level_off/g' native_app/Cargo.toml
then cargo run --release
again?
from egregoria.
I'm thinking it might be related to the logging. Can you run
sed -i 's/release_max_level_info/release_max_level_off/g' native_app/Cargo.tomlthen
cargo run --release
again?
That crashed with Io error: Broken pipe (os error 32)
I might be able to try it on Windows sometime :D
from egregoria.
Windows should definitely work. I run Ubuntu on X11 most days but I have a windows gaming pc where I try it occasionally and I haven't had any issues.
from egregoria.
Yeah Windows can be more easily developed for because there isn't multiple display servers or something messing it up all the time
from egregoria.
Nice! So it was a Wayland issue. I'll try to reproduce it as it's slowly becoming the default.
from egregoria.
Goods news. I'm pretty sure this is fixed by gfx-rs/wgpu@e5c62fb which should come in the next wgpu release :)
from egregoria.
Didn't made it in time for wgpu 0.19. It should be there in wgpu 0.20 though! (in a few months).
from egregoria.
Related Issues (20)
- Tree impostors HOT 5
- Determinism HOT 2
- Asset Manager HOT 1
- Update README about required Vulkan. HOT 4
- coherent asset style HOT 7
- GPU Compression
- Building Models HOT 1
- Terrain editing HOT 2
- Multiple kinds of trees + Tree brush
- modularize things HOT 1
- Electricity/water/sewers etc (pipes/networks)
- In game chat
- Technological Progression
- Distance fog HOT 1
- Game crashes on startup HOT 1
- Refactor multiplayer
- create dedicated website
- Terrain beyond buildable area HOT 1
- Terrain Decorations
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 egregoria.