Open ktnlikeasmallcat opened 6 months ago
Hello @ktnlikeasmallcat and thank you for opening this issue.
The issue is not related to the installation process with rinstall
or cargo install
but it's related to openGL configuration. Can you please run the following command:
$ glxinfo | grep "OpenGL ES profile version"
OpenGL version string: 2.1 Mesa 24.0.7
This is the OpenGL version, can you please check for the OpenGL ES? Or there is no string regarding that?
OpenGL ES 2.0 Mesa 24.0.7
Oops posting from my phone rn. Thanks.
That's even an older version, I'll try to see if it works with OpenGL ES 2.0.
Crash on Arch Linux under Sway
RUST_BACKTRACE=full wpaperd --verbose
DEBUG [smithay_client_toolkit::registry] Bound new global [48] wl_output v4
DEBUG [smithay_client_toolkit::registry] Bound new global [49] wl_output v4
DEBUG [smithay_client_toolkit::registry] Bound new global [8] zxdg_output_manager_v1 v3
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Argb8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xrgb8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xbgr8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Bgr888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgbx4444
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgba4444
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgbx5551
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgba5551
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgb565
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xbgr2101010
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr2101010
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xbgr16161616f
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr16161616f
The application panicked (crashed).
Message: unable to create an EGL context: BadMatch
Location: ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wpaperd-1.0.1/src/render/egl_context.rs:43
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 7 frames hidden ⋮
8: wpaperd::surface::Surface::new::h5e60b5f0551ca166
at <unknown source file>:<unknown line>
9: <wpaperd::wpaperd::Wpaperd as smithay_client_toolkit::output::OutputHandler>::new_output::h94a84e9041527a7d
at <unknown source file>:<unknown line>
10: wayland_client::event_queue::queue_callback::h937fcc5f9b72ec6f
at <unknown source file>:<unknown line>
11: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::h964592079ea81eb5
at <unknown source file>:<unknown line>
12: calloop::loop_logic::EventLoop<Data>::dispatch::ha1db9cb1414eac20
at <unknown source file>:<unknown line>
13: wpaperd::main::hac4b6c4e41776368
at <unknown source file>:<unknown line>
14: std::sys::backtrace::__rust_begin_short_backtrace::h5a1ffd2b45f800c6
at <unknown source file>:<unknown line>
15: main<unknown>
at <unknown source file>:<unknown line>
16: __libc_start_main<unknown>
at <unknown source file>:<unknown line>
17: _start<unknown>
at <unknown source file>:<unknown line>
glxinfo | grep "OpenGL ES profile version"
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 24.1.3-arch1.1
Can you please try now? Thanks!
Trying cargo install --git https://github.com/danyspin97/wpaperd wpaperd wpaperctl
to build from main branch.
$ wpaperd
ERROR [wpaperd]
0: TOML parse error at line 1, column 1
0: |
0: 1 |
0: | ^
0: unknown field `initial_transition`, expected one of `path`, `duration`, `apply-shadow`, `sorting`, `mode`, `queue-size`, `transition-time`, `initial-transition`, `transition`, `offset`
0:
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
WARN [wpaperd::wpaperd] Configuration error on display VGA-1:
0: attribute path is not set
Suggestion: add attribute path in the display section of the configuration:
path = "</path/to/image>"
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message: vertex shader creation succeed:
0: 0:2(10): error: GLSL ES 3.20 is not supported. Supported versions are: 1.00 ES, and 3.00 ES
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Location: daemon/src/render/renderer.rs:431
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
~/wpaperd/config.toml
:
[default]
duration = "10m"
sorting = "random"
mode = "fit-border-color"
path = "~/Pictures/backgrounds"
initial_transition = false
Hello @cplir-c! The last error you posted is regarding the option initial_transition
, which have been renamed to initial-transition
. Can you please update the configuration and try again? Thank you!
$ RUST_BACKTRACE=full wpaperd --verbose
DEBUG [smithay_client_toolkit::registry] Bound new global [48] wl_output v4
DEBUG [smithay_client_toolkit::registry] Bound new global [49] wl_output v4
DEBUG [smithay_client_toolkit::registry] Bound new global [8] zxdg_output_manager_v1 v3
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Argb8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xrgb8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xbgr8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr8888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Bgr888
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgbx4444
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgba4444
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgbx5551
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgba5551
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Rgb565
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xbgr2101010
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr2101010
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Xbgr16161616f
DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr16161616f
The application panicked (crashed).
Message: unable to create an EGL context: BadMatch
Location: daemon/src/render/egl_context.rs:43
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: __libc_start_main<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
I installed with git clone and cargo build --release, and when wpaperd is run from either .local/bin or the target/release directory I get:
My config.toml file is:
also I had to move the install.yml and LICENSE into /target/release to get
rinstall install -c install.yml --yes
to take effect (no idea if this is the regular method or if this indicates something about my problem. The same error occurs as noted earlier without doing this.) No nvidia gpu. I've also tried using cargo install and cargo-binstall and got similar results. What might be my next steps? Thanks for your time.