Conversation
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
future me: make sure you have videos in ~/.electricsheep/content/mpeg. Sometimes it takes ages to download those Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
server side or using libdecor adds --with-libdecor configure flag Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
disabled fullscreen for now Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Schievel1
force-pushed
the
wayland_egl
branch
from
December 23, 2024 21:07
f3ff830 to
a360d3b
Compare
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
|
Thanks for doing this! How stable is it on Wayland? I'm gonna be switching from X11 to Wayland and I'd like to bring my flock with me. |
Contributor
Author
Can't complain about stability, but the problem here is that you don't have a proper screensaver program. Screenlocking works different on wayland, see https://www.jwz.org/blog/2023/09/wayland-and-screen-savers/. (take it with a grain of salt though. After all it's 2 years old.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds wayland support and rendering via EGL instead of GLX.
Adds configure flags —with-x11 and —with-wayland.
If built with both, it detects the environ variable WAYLAND_DISPLAY at Startup and if found it starts as a wayland surface. Otherwise it starts as X11 window and renders with GLX as before.
—with-x11 is set by default, switching it off only drops the dependency on Xrender (yet).
—with-wayland adds the configure flag —with-libdecor and a dependency on libxkbcommon. —with-libdecor adds a dependency on libdecor. Libdecor is used to draw client side decorations if the compositor doesn’t support server side decorations. Without libdecor electric sheep starts without window decorations if the compositor does not support server side decorations.
When running as a wayland client it is possible to direct the output to wlr_layer_shell and run electric sheep as an animated background. For this set environment variable ELECTRICSHEEP_BACKGROUND. (Maybe going to put this in config GUI or via startup flag)
Double click to toggle full screen (if compositor is ok with it). Otherwise it uses the same key binds like electric sheep on X11.
--with-wayland adds dependencies dev-libs/wayland, media-libs/libglvnd (needed for wayland/EGL output), x11-libs/libxkbcommon and build dependency dev-util/wayland-scanner
--with-libdecor adds dependency gui-libs/libdecor (needed for client side decorations)
Since freeglut has no functioning wayland build (see freeglut/freeglut#72, freeglut/freeglut#141), xwayland is still needed for Elecritsheep to function properly, even when completely on wayland. (Will show Unable to open display '' when display variable is not set, see freeglut/freeglut#51)