-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run on Fedora 30 Wayland #32
Comments
It looks like you are running it in debug mode. Try compiling and running it with optimizations enabled: |
|
Likely resolved by amethyst/rendy#182 |
@azriel91 Any way I can verify that before closing the issue? I'm not sure how to trick Cargo into using the |
yeap, add this to [patch.crates-io]
rendy = { git = "https://github.com/amethyst/rendy.git" } |
Hmm. Cargo ignores that diff --git a/Cargo.toml b/Cargo.toml
index 03cb355..4971505 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,9 @@ log = "*"
specs-derive = "*"
[features]
-default = ["metal"]
+default = ["vulkan"]
metal = ["amethyst/metal"]
vulkan = ["amethyst/vulkan"]
+[patch.crates-io]
+rendy = { git = "https://github.com/amethyst/rendy.git" } diff --git a/Cargo.lock b/Cargo.lock
index f8ab91a..af637e4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
[... snip ...]
@ -4334,10 +4319,15 @@ name = "xml-rs"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
+[[patch.unused]]
+name = "rendy"
+version = "0.4.0"
+source = "git+https://github.com/amethyst/rendy.git#1980054d9efa3355eaa76163990e7127fb169295"
+
[... snip ...] |
I've recreated the problem on Debian Buster with Wayland.
I get the following message:
I believe Amethyst must be updated to use a newer version of If it will be a while before Amethyst can use |
Any word on this? Think we could get a backport or could we merge Amethyst libraries to using |
The Repasting here for convenience: [patch.crates-io]
rendy = { git = "https://github.com/amethyst/rendy.git" } |
The fix seems to not be included in 0.4.1 amethyst/rendy@561847a seems to fix the problem. Maybe we can release rendy v0.4.2 |
To test a hypothetical
This uses a fork I've made of |
Exporting the environment variable |
Hey team! I am super interested in trying space-menace but I can't get the dang thing to run! It compiles just fine for me, but won't run. 😞 Let me know if I'm doing something wrong or if I found a real bug we can fix.
The error
Host info
I am running Wayland on Fedora 30.
Misc debugging info
Full
cargo run
logsPackages installed on my system
The text was updated successfully, but these errors were encountered: