[Bug 295063] x11-wm/niri: "Shared object "libEGL.so.1" not found, required by "niri"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 May 2026 19:43:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295063
Bug ID: 295063
Summary: x11-wm/niri: "Shared object "libEGL.so.1" not found,
required by "niri"
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: lme@FreeBSD.org
Reporter: onunez57@proton.me
Assignee: lme@FreeBSD.org
Flags: maintainer-feedback?(lme@FreeBSD.org)
### Overview
Running niri crashes because of missing libEGL.so.1 library
### Steps to Reproduce:
1.- Fresh install of FreeBSD 15.0-RELEASE
2.- Setup graphics driver
https://docs.freebsd.org/en/books/handbook/x11/#x-graphic-card-drivers
3.- Setup Wayland
https://docs.freebsd.org/en/books/handbook/wayland/
4.- pkg install wayland seatd dbus
Setup seatd and dbus services
5.- pkg install niri
6.- Run dbus-run-session niri --session
### Actual Results:
2026-05-06T17:34:10.579229Z INFO niri: starting version 25.11 (unknown commit)
2026-05-06T17:34:10.599140Z DEBUG niri_config: loaded config from
"/home/tech/.config/niri/config.kdl"
2026-05-06T17:34:10.652156Z WARN niri::backend::tty: error getting the render
node for the primary GPU; proceeding anyway
2026-05-06T17:34:10.652195Z INFO niri::backend::tty: using as the render node:
controlD96
2026-05-06T17:34:10.661363Z WARN niri::ui::exit_confirm_dialog: error creating
the exit confirm dialog: Invalid Size
2026-05-06T17:34:10.661584Z DEBUG niri::backend::tty: adding device: 96
"/dev/dri/card0"
2026-05-06T17:34:10.661613Z DEBUG niri::backend::tty: this is the primary node
thread 'main' (101013) panicked at
/wrkdirs/usr/ports/x11-wm/niri/work/smithay-d743e1a317fa0f01d1c4cadd96d277a1ec7b59d9/src/backend/egl/ffi.rs:148:65:
Failed to load LibEGL: DlOpen { desc: "Shared object \"libEGL.so.1\" not found,
required by \"niri\"" }
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
### Expected Results:
Niri to run
### Build & Hardware:
Build: niri 25.11
OS: FreeBSD 15.0-RELEASE-p8 GENERIC amd64
CPU: AMD Ryzen 9 7950X 16-Core Processor
GPU: Radeon PRO WX 3200
MEM: 64GB
### Additional Builds and Platforms:
Build: niri 25.11
OS: FreeBSD 15.0-RELEASE-p8 GENERIC amd64
CPU: Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
GPU: Iris Plus Graphics 650
MEM: 32GB
### Additional Information:
The library libEGL.so.1 is provided by libglvnd, installing xwayland-satellite
resolves the error, as libglvnd is installed with xwayland-satellite,
xwayland-satellite is needed by niri to provided X11 support and is
autostarted as of niri 25.08
https://niri-wm.github.io/niri/Integrating-niri.html#xwayland
Setting xwayland-satellite as a dependency would be recommended.
Thanks everyone for your time and dedication
--
You are receiving this mail because:
You are the assignee for the bug.