Bug 271836

Summary: x11-wm/mutter: expose standalone Wayland support
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: New ---    
Severity: Affects Only Me CC: bpurgar
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 258042    
Bug Blocks:    
Attachments:
Description Flags
v0 (42.4) none

Description Jan Beich freebsd_committer freebsd_triage 2023-06-05 11:29:55 UTC
Created attachment 242615 [details]
v0 (42.4)

Covers -Dnative_backend=true for starting Mutter directly from KMS-backed console like /dev/ttyv0.

Disclaimer: I don't use GNOME, so didn't test runtime.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2023-06-05 11:31:42 UTC
Comment on attachment 242615 [details]
v0 (42.4)

v0 fails here: either due to sd_uid_get_display() stub or something else.

$ vidcontrol -s 1 </dev/ttyv0
$ ck-launch-session dbus-run-session mutter --wayland
libmutter-Message: Running Mutter (using mutter 42.4) as a Wayland display server

** (mutter:1234): WARNING **: Unable to determine list of session for pid: GDBus.Error:org.freedesktop.ConsoleKit.Manager.Error.InvalidInput: pid must be > 1
Failed to setup: Could not get session ID: Couldn't find a session or a greeter session for user 1001
Comment 2 bpurgar 2023-06-05 19:02:37 UTC
I'm following this and waiting for an new update to test gnome on wayland