FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: Wayland broken update electron to fix it

Open BirdInFire opened this issue 2 years ago • 8 comments

Guidelines

Describe the bug

When we try to launch on wayland it do not start

Expected Behavior

Starting

Issue Labels

visual bug

FreeTube Version

0.16 beta

Operating System Version

Linux

Installation Method (If applicable)

Flathub

Last Known Working FreeTube Version (If Any)

No response

Primary API used

Invidious API

Additional Information

request to update electron to 17.3.1 (or the latest from the branche you use who have the wayland fix) who seem to have fixed the problem See their change-log : https://github.com/electron/electron/releases/tag/v17.3.1

Note this very same bug was fixed by Signal by updating to the version of electron who contain the fix the branch 17 and 18 had their update to fix this problem.

Nightly Build

BirdInFire avatar Apr 11 '22 01:04 BirdInFire

Hi, the same thing happens to me but with Xorg, I am using electron 18.0.1-1

9ekaitz avatar Apr 11 '22 09:04 9ekaitz

Hi, the same thing happens to me but with Xorg, I am using electron 18.0.1-1

Are u on Arch?

Hi, the same thing happens to me but with Xorg, I am using electron 18.0.1-1

Are u on Arch?

yes btw

9ekaitz avatar Apr 11 '22 10:04 9ekaitz

Hi, the same thing happens to me but with Xorg, I am using electron 18.0.1-1

Are u on Arch?

yes btw

See this issue for more info on Arch https://github.com/FreeTubeApp/FreeTube/issues/2163

Hi, the same thing happens to me but with Xorg, I am using electron 18.0.1-1

Are u on Arch?

yes btw

See this issue for more info on Arch #2163

Thank you!, it works now

9ekaitz avatar Apr 11 '22 10:04 9ekaitz

Hi, the same thing happens to me but with Xorg, I am using electron 18.0.1-1

Are u on Arch?

In my case it's a wayland problem (Xwayland work), just you must update electron to fix a bug in electron regarding starting with ozone=wayland.

Signal had the same problem, so updating electron in their end have fixed it.

BirdInFire avatar Apr 11 '22 11:04 BirdInFire

Also cant use freetube on wayland Fedora Flatpak. Just get a black screen. With latest version. Disabling wayland in Flatseal doesn't help.

S7venLights avatar Jul 25 '22 11:07 S7venLights

Same problem for me on Fedora 36 using Wayland on a gtx 1060. Black screen on launch. Xorg is working fine.

Smollejan avatar Aug 01 '22 10:08 Smollejan

Working on latest nightly build. https://github.com/FreeTubeApp/FreeTube/pull/2448 updated electron and now freetube --enable-features=UseOzonePlatform --ozone-platform=wayland launches freetube under wayland without issue.

Aiz0 avatar Aug 27 '22 12:08 Aiz0