wayland: gdk error 12 "cannot allocate memory"
Greg V
greg at unrelenting.technology
Wed Jun 26 18:16:42 UTC 2019
On Wed, Jun 26, 2019 at 18:29, raichoo <raichoo at acmelabs.space> wrote:
> Hi,
>
> I'm currently developing a wayland compositor and I'm running into an
> interesting issue. After a certain amount of views I cannot open any
> more and
> GDK complains about being unable to allocate memory. Am I doing
> something
> wrong or is this a shortcoming of the current state of wayland on
> FreeBSD?
It's failing to allocate timerfds, which were implemented as threads +
kernel timers.
Now there's a pure kqueue implementation in epoll-shim git master that
fixes the problem:
https://github.com/jiixyj/epoll-shim/issues/8
More information about the freebsd-x11
mailing list