libEGL warning: wayland-egl: could not open /dev/dri/renderD128

Feb 2, 2023 Closed
P
runtime: org.gnome.Platform
runtime-version: "43"
sdk: org.gnome.Sdk

I’ve just converted an application from Gtk3 to GTK4. It runs OK on my desktop, but throws this error when built as a Flatpak:

libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)

Apart from guessing that it is something to do with Wayland, I’ve no idea what has caused it.

H

you need to add the dri permission.

P
Replying to #2

Sorted, thanks Hubert!

finish-args:
  - --device=dri