Skip to content

bug: "Failed to get EGL display during initialization" #129

Description

@zane-weissman

Not sure exactly when/why this occurs, but sometimes everything just works and sometimes this fatal error happens before the wallpaper gets drawn. If I figure out any patterns of when it happens/ways to reproduce the bug on my system I'll post an update.

Distro: Nixos 25.05

WM: Niri 25.02

Config:

[default]
duration = "60m"
mode = "center"
path = "/home/zane/Pictures/wallpapers/"
sorting = "random"
transition-time = 300

Log with backtrace:

Apr 18 14:10:16 wpaperd[1208784]: Error:
Apr 18 14:10:16 wpaperd[1208784]:    0: Failed to get EGL display during initialization
Apr 18 14:10:16 wpaperd[1208784]:   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Apr 18 14:10:16 wpaperd[1208784]:                                 ⋮ 3 frames hidden ⋮                               
Apr 18 14:10:16 wpaperd[1208784]:    4: wpaperd::main::h727dffc6b4472f78
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:    5: std::sys::backtrace::__rust_begin_short_backtrace::hd73d2d04c1f86126
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:    6: std::rt::lang_start::{{closure}}::hfdadd8a47a23c96f
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:    7: std::rt::lang_start_internal::hf809820c659d07f5
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:    8: main<unknown>
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:    9: __libc_start_call_main<unknown>
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:   10: __libc_start_main_alias_2<unknown>
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]:   11: _start<unknown>
Apr 18 14:10:16 wpaperd[1208784]:       at <unknown source file>:<unknown line>
Apr 18 14:10:16 wpaperd[1208784]: Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Apr 18 14:10:16 systemd[3686]: wpaperd.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 14:10:16 systemd[3686]: wpaperd.service: Failed with result 'exit-code'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions