Son Luong Ngoc bdf0aaa540 renderer/gl: release failed fence syncs (#14956)
A Framework Desktop crash on Hyprland 0.55.2 ended in the renderer
begin path after Aquamarine reported EGL_BAD_PARAMETER from
eglDupNativeFenceFDANDROID. Fix the failed export path because it
creates an EGLSyncKHR before trying to export a native fence fd.

ERR from aquamarine ]: [EGL] Command eglDupNativeFenceFDANDROID errored out with EGL_BAD_PARAMETER (0x12300): eglDupNativeFenceFDANDROID

The coredump stack was:

                Stack trace of thread 5829:
                #0  0x00007fafef025808 abort (libc.so.6 + 0x25808)
                #1  0x0000561bbd621ee4 n/a (Hyprland + 0x3bbee4)
                #2  0x00007fafef044e30 n/a (libc.so.6 + 0x44e30)
                #3  0x00007fafef0ae9cb pthread_kill (libc.so.6 + 0xae9cb)
                #4  0x00007fafef044d08 raise (libc.so.6 + 0x44d08)
                #5  0x0000561bbdc2defa _ZN6Render2GL15CHyprOpenGLImpl5beginEN9Hyprutils6Memory14CSharedPointerI8CMonitorEERKNS2_4Math7CRegionENS4_INS_12IFramebufferEEESt8optionalIS8_E (Hyprland + 0x9c7efa)
                #6  0x0000561bbdc17ea1 _ZN6Render2GL15CHyprGLRenderer19beginRenderInternalEN9Hyprutils6Memory14CSharedPointerI8CMonitorEERNS2_4Math7CRegionEb (Hyprland + 0x9b1ea1)
                #7  0x0000561bbdc7b2f2 _ZN6Render13IHyprRenderer11beginRenderEN9Hyprutils6Memory14CSharedPointerI8CMonitorEERNS1_4Math7CRegionENS_11eRenderModeENS3_I9IHLBufferEENS3_INS_12IFramebufferEEEb (Hyprland + 0xa152f2)
                #8  0x0000561bbdc81579 _ZN6Render13IHyprRenderer13renderMonitorEN9Hyprutils6Memory14CSharedPointerI8CMonitorEEb (Hyprland + 0xa1b579)
                #9  0x0000561bbd84fc7c _ZN22CMonitorFrameScheduler7onFrameEv (Hyprland + 0x5e9c7c)
                #10 0x00007faff0dcb0f9 _ZN9Hyprutils6Signal15CSignalListener12emitInternalEPv (libhyprutils.so.12 + 0x450f9)
                #11 0x00007faff0dcb583 _ZN9Hyprutils6Signal11CSignalBase12emitInternalEPv (libhyprutils.so.12 + 0x45583)
                #12 0x00007faff0eac382 _ZN10Aquamarine8CBackend12dispatchIdleEv (libaquamarine.so.11 + 0x83382)
                #13 0x0000561bbd985c9a n/a (Hyprland + 0x71fc9a)
                #14 0x00007faff0c6ea62 wl_event_loop_dispatch (libwayland-server.so.0 + 0xaa62)
                #15 0x00007faff0c70d07 wl_display_run (libwayland-server.so.0 + 0xcd07)
                #16 0x0000561bbd9892a0 _ZN17CEventLoopManager9enterLoopEv (Hyprland + 0x7232a0)
                #17 0x0000561bbd4dad64 main (Hyprland + 0x274d64)
                #18 0x00007fafef027c4e n/a (libc.so.6 + 0x27c4e)
                #19 0x00007fafef027d8b __libc_start_main (libc.so.6 + 0x27d8b)
                #20 0x0000561bbd60be45 _start (Hyprland + 0x3a5e45)

Destroy the sync object before returning so repeated failures do not
leak EGL sync resources under an already resource-constrained GPU path.
Also log the EGL error value so future reports can distinguish this
path from other export failures.

Validated with:
cmake --build ./build --config Debug --target all -j$(nproc 2>/dev/null || getconf NPROCESSORS_CONF)
git diff --check
ctest --test-dir build --output-on-failure -j$(nproc 2>/dev/null || getconf NPROCESSORS_CONF)
make format-check
2026-06-07 12:26:13 +02:00
2025-11-17 08:54:47 +02:00
2026-04-04 08:50:36 -04:00
2026-05-07 00:17:10 +01:00
2026-01-05 12:57:40 +01:00
2024-07-21 13:09:54 +02:00
2023-09-20 19:38:44 +01:00
2026-05-13 22:55:46 +00:00
2026-03-02 21:03:44 +02:00
2026-01-11 16:13:52 +01:00
2025-04-27 00:07:00 +02:00
2026-05-16 13:59:19 +01:00

banner

Badge Workflow Badge License Badge Language Badge Pull Requests Badge Issues Badge Hi Mom


Hyprland is a 100% independent, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

It provides the latest Wayland features, is highly customizable, has all the eyecandy, the most powerful plugins, easy IPC, much more QoL stuff than other compositors and more...


 
 Install 
 
   
 Quick Start 
 
   
 Configure 
 
   
 Contribute 
 



Features

  • All of the eyecandy: gradient borders, blur, animations, shadows and much more
  • A lot of customization
  • 100% independent, no wlroots, no libweston, no kwin, no mutter.
  • Custom bezier curves for the best animations
  • Powerful plugin support
  • Built-in plugin manager
  • Tearing support for better gaming performance
  • Easily expandable and readable codebase
  • Fast and active development
  • Not afraid to provide bleeding-edge features
  • Config reloaded instantly upon saving
  • Fully dynamic workspaces
  • Two built-in layouts and more available as plugins
  • Global keybinds passed to your apps of choice
  • Tiling/pseudotiling/floating/fullscreen windows
  • Special workspaces (scratchpads)
  • Window groups (tabbed mode)
  • Powerful window/monitor/layer rules
  • Socket-based IPC
  • Native IME and Input Panels Support
  • and much more...


Gallery


Preview A


Preview B


Preview C



Special Thanks


wlroots - For powering Hyprland in the past

tinywl - For showing how 2 do stuff

Sway - For showing how 2 do stuff the overkill way

Vivarium - For showing how 2 do stuff the simple way

dwl - For showing how 2 do stuff the hacky way

Wayfire - For showing how 2 do some graphics stuff

S
Description
Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
Readme BSD-3-Clause
221 MiB
Languages
C++ 95.1%
GLSL 2%
Shell 0.8%
CMake 0.5%
Nix 0.5%
Other 1%