ThaUnknown / miru

Bittorrent streaming software for cats. Stream anime torrents, real-time with no waiting for downloads.
https://miru.watch
GNU General Public License v3.0
2.67k stars 143 forks source link

[Feature Request]: Wayland support #562

Closed aljustiet closed 1 month ago

aljustiet commented 1 month ago

Preflight checklist

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.

ThaUnknown commented 1 month ago

https://github.com/ThaUnknown/miru/issues/305 https://github.com/ThaUnknown/miru/issues/436

aljustiet commented 1 month ago

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.