This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository entrance.
View the commit online.
commit cf2c9404097ea07a72667b5a32664760ea3788b5
Author: Alastair Poole <[email protected]>
AuthorDate: Wed Dec 2 13:51:41 2026 +0000
entrance: nvidia wayland
The OpenGL DRM backend defaults to full-buffer swaps. An explicit
+`EVAS_GL_SWAP_MODE` in the compositor environment overrides this default.
---
src/compositor/README.md | 4 ++--
src/compositor/modules/wl_drm/e_mod_main.c | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/compositor/README.md b/src/compositor/README.md
index bcf6dbe..8052982 100644
--- a/src/compositor/README.md
+++ b/src/compositor/README.md
@@ -10,8 +10,8 @@ directory. It starts the compositor directly under the greeter account.
The DRM backend tries OpenGL first and falls back to software if GL canvas
creation fails. Set `E_COMP_ENGINE=sw` to force software on DRM, or
`E_WL_FORCE=buffer` for headless development.
-The OpenGL DRM backend uses EFL’s default swap mode. Set
-`EVAS_GL_SWAP_MODE=full` in the compositor environment if you see stale pixels.
+The OpenGL DRM backend defaults to full-buffer swaps. An explicit
+`EVAS_GL_SWAP_MODE` in the compositor environment overrides this default.
The greeter startup path skips desktop modules, shortcuts, startup
applications, and system and authentication helpers. Entrance continues
diff --git a/src/compositor/modules/wl_drm/e_mod_main.c b/src/compositor/modules/wl_drm/e_mod_main.c
index 1f93c51..5d8a659 100644
--- a/src/compositor/modules/wl_drm/e_mod_main.c
+++ b/src/compositor/modules/wl_drm/e_mod_main.c
@@ -951,6 +951,8 @@ e_modapi_init(E_Module *m)
if (!software)
{
+ /* Present a complete frame without relying on retained EGL buffers. */
+ setenv("EVAS_GL_SWAP_MODE", "full", 0);
e_comp->ee = ecore_evas_new("gl_drm", 0, 0, 1, 1, NULL);
if (!e_comp->ee)
WRN("Could not create a GL DRM canvas. Trying software DRM.");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.