-
Notifications
You must be signed in to change notification settings - Fork 33
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
Notedeck builds, but won't run #141
Comments
Which OS? |
Elementary OS 7.1. I also get the same error on Windows 11 WSL 2.0. Both are Debian / Ubuntu derivatives. |
can you try master and see if it fixes it? |
|
can you fetch again and try this branch:
|
There are some wgpu issues that are fixed in egui-master, so let's switch to that. This fixes notedeck so that it runs on both my intel graphics laptop and amdgpu desktop. Fixes: #28 Fixes: #42 Fixes: #141 Signed-off-by: William Casarin <[email protected]>
There are some wgpu issues that are fixed in egui-master, so let's switch to that. This fixes notedeck so that it runs on both my intel graphics laptop and amdgpu desktop. Fixes: #28 Fixes: #42 Fixes: #141 Signed-off-by: William Casarin <[email protected]>
I've updated to the latest wgpu from egui which should fix weird gfx issues, feel free to re-open if there's still an issue |
still getting errors 2024-07-03T01:01:37.052160Z INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1 |
installing elementary OS to see what's up |
looks like it is a nix-shell issue from your log, closing |
i didn't even think to try to not use nix-shell for this since i used nix-shell to build the android apk. thanks will. i was able to build and run it normally. |
I opened a follow up issue here: |
@derekross since we don't have docs for this yet, here's some quick commands to get started:
you will want to update the query files with your own until we have have automatic timelines working |
i am trying to build and run the code for notedeck and unable to do so. the following is the output i receive.
[nix-shell:~/damus/notedeck]$ cargo run --release Updating git repository
https://github.com/damus-io/egui-nav`Updating git repository
https://github.com/damus-io/nostrdb-rs
Updating git submodule
https://github.com/damus-io/nostrdb
Updating git submodule
https://github.com/bitcoin-core/secp256k1
Compiling secp256k1 v0.28.2
Compiling nostrdb v0.3.4 (https://github.com/damus-io/nostrdb-rs?rev=ee8afeeb0b6695fca6d27dd0b74a8dc159e37b95#ee8afeeb)
Compiling egui_nav v0.1.0 (https://github.com/damus-io/egui-nav?rev=0498cbee12935448478823d855060dc749a0b8b6#0498cbee)
Compiling bitcoin v0.31.2
Compiling nostr v0.30.0
Compiling enostr v0.1.0 (/home/derek/damus/notedeck/enostr)
Compiling notedeck v0.1.0 (/home/derek/damus/notedeck)
Finished
release
profile [optimized] target(s) in 1m 42sRunning
target/release/notedeck
2024-07-02T19:27:32.336866Z INFO eframe: Both the glow and wgpu renderers are available. Using wgpu.
2024-07-02T19:27:32.352390Z INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2024-07-02T19:27:32.362636Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_KHR_surface
2024-07-02T19:27:32.362748Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_KHR_xlib_surface
2024-07-02T19:27:32.362815Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_KHR_xcb_surface
2024-07-02T19:27:32.362879Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_KHR_wayland_surface
2024-07-02T19:27:32.362944Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_EXT_swapchain_colorspace
2024-07-02T19:27:32.363008Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_KHR_get_physical_device_properties2
2024-07-02T19:27:32.366294Z WARN wgpu_hal::gles::egl: EGL_MESA_platform_surfaceless not available. Using default platform
thread 'main' panicked at /home/derek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.1/src/gles/egl.rs:799:88:
called
Option::unwrap()
on aNone
valuenote: run with
RUST_BACKTRACE=1
environment variable to display a backtrace`The text was updated successfully, but these errors were encountered: