ThaUnknown/miru

[Feature Request]: Wayland support

aljustiet opened this issue · 3 comments

Preflight checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I have searched the features list for this feature, and I couldn't find it.
  • I have checked that I'm using the latest stable version of the app.

Problem Description

Right now, I can't launch the miru in native wayland mode.
I tried launch it using the --enable-features=UseOzonePlatform --ozone-platform=wayland flag, but the window does appear.
Here's the output:

❯ miru --enable-features=UseOzonePlatform --ozone-platform=wayland
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
Checking for update
23:08:33.298 › Update for version 5.5.6 is not available (latest version: 5.5.6, downgrade is disallowed).
23:08:33.300 › checkForUpdatesAndNotify called, downloadPromise is null
23:08:34.557 › JASSUB: setting total libass memory limits to: glyph=80000 MiB, bitmap cache=1024 MiB
23:08:34.558 › [object ProgressEvent]

Proposed Solution

Tweak the electron somehow, so it launches in wayland.

#305 #436

I tried --in-process-gpu flag, but it doesn't work too. It launches, but in xwayland mode, and I think that app working natively in wayland is much better.

miru --enable-features=UseOzonePlatform --ozone-platform=wayland --in-process-gpu

I think it would great if this was done by default but set to auto. --disable-gpu-sandbox might be better than --in-process-gpu, but not sure. Requires testing. Would be great if this in a beta build or something