Successfully running a 2x2 Wayland / wlroots / dwl desktop for a long period on an otherwise essentially "stable" system, dev-libs/bemenu-9999 suddenly fails after a re-emerge. Reproducible: Always Steps to Reproduce: 1. Start dwl 2. <Alt>-p Actual Results: no reaction Expected Results: show bemenu selection bar Calling bemenu-run from a command line: . . . $ /usr/bin/bemenu-run . . . wayland: mmap failed . . . could not get next buffer Re-emerging the tool-chain listed below succeeds without any errors at all, but nevertheless fails expectations. Cleanly re-emerge with only one singe thread grants no improvement. Switching back to "~" dev-libs/bemenu-0.6.16:0 <----- :-) re-provides the expected behaviour. # equery list dev-libs/wayland gui-libs/egl-wayland dev-util/wayland-scanner gui-libs/wlroots x11-base/xwayland gui-apps/wlr-randr gui-wm/dwl dev-libs/bemenu gui-apps/foot [IP-] [ ] dev-libs/wayland-9999:0 <----- [IP-] [ ] gui-libs/egl-wayland-1.1.12_p20230718:0 [IP-] [ ] dev-util/wayland-scanner-9999:0 [IP-] [ ] gui-libs/wlroots-9999:0/9999 [IP-] [ ] x11-base/xwayland-9999:0 [I-O] [ ] gui-apps/wlr-randr-9999:0 [IP-] [ ] gui-wm/dwl-9999-r1:0 [IP-] [ ] dev-libs/bemenu-0.6.16:0 <----- [IP-] [ ] gui-apps/foot-1.16.2:0
You'll have to see if there were any recent upstream changes or what packages changed since you last emerged it.
My suspect so far: Nov 08, 2023 https://gitlab.freedesktop.org/wayland/wayland/-/commit/50ea9c5b1c08bac30be365dca05716a97ea65a92
Does reverting it help? I wouldn't expect it to but it's possible (I can't see the context easily on mobile).
upstream: https://github.com/Cloudef/bemenu/issues/370
Ran into the same issue. I reverted wayland and wayland-protocols back but still got the same error. It seems bemenu commit c22cc64 is causing the issue. Bemenu works again after rebuilding with commit eb92e7b.
This is fixed by https://github.com/Cloudef/bemenu/pull/368
https://github.com/Cloudef/bemenu/issues/370#issuecomment-1820531283 #368: commit 62657f8 has been merged Just tested with [IP-] [ ] x11-drivers/nvidia-drivers-545.29.02:0/545 [IP-] [ ] gui-libs/wlroots-9999:0/9999 [IP-] [ ] x11-base/xwayland-9999:0 [IP-] [ ] gui-wm/dwl-9999-r1:0 [IP-] [ ] dev-libs/bemenu-9999:0 Closing.