Lipstick does not support DMABUF

REPRODUCIBILITY: 100%
OS VERSION: 4.4
HARDWARE: Pinephone
UI LANGUAGE:English
REGRESSION: No

DESCRIPTION:

When using SailfishOS with Mesa on a native device like the Pinephone or PinephonePro, it is common to update Mesa to the latest version to keep up with the fast pace of development for those drivers. Mesa 22 makes dmabuf mandatory for compositors, removing wl_drm. Lipstick does not support the dmabuf interface and fails to work on a system with Mesa 22.

PRECONDITIONS:

Native device
Mesa 22

EXPECTED RESULT:

Lipstick UI should load as normal

ACTUAL RESULT:

Lipstick UI does not load

MODIFICATIONS:

Mesa update to version 22

6 Likes

I’ve created an internal task about this, so it’s now tracked.

1 Like

Are the compositor problems solvable without a full rewrite of the thing? I mean there are other issues to it that would help move SFOS forward.

For added info, it looks like in Mesa 22.1, the removal of wl_drm has been reversed in egl/wayland: revert commit that dropped support to wl_drm (!15822) · Merge requests · Mesa / mesa … so, this might buy lipstick some time, however, im still struggling to get it to work!

1 Like