Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Blank screen on Flatpak #8970

Open
honnip opened this issue Feb 24, 2024 · 8 comments
Open

[bug] Blank screen on Flatpak #8970

honnip opened this issue Feb 24, 2024 · 8 comments
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: bug

Comments

@honnip
Copy link

honnip commented Feb 24, 2024

Describe the bug

2024-02-24 23-58-44

There are tauri apps running on org.gnome.Platform version 45 runtime:

These all show the blank screen. (or it shows the splash screen and then stops)

Reproduction

You can install the SlimeVR and GitButler from Flathub

You can build the ModrinthApp and others:

  1. clone the repository
  2. flatpak-builder --user --install --force-clean build-dir com.modrinth.ModrinthApp.yml
    This will take some time because it need to build webkit2gtk-4.0.
  3. flatpak run com.modrinth.ModrinthApp

Expected behavior

No response

Full tauri info output

.

Stack trace

No response

Additional context

It does work on org.gnome.Platform 44. I confirmed this with in.cinny.Cinny and by building GitButler to run on GNOME 44 runtime.

I'm not using Nvidia cards and I tried WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run <appid>, but no luck.

@honnip honnip added status: needs triage This issue needs to triage, applied to new issues type: bug labels Feb 24, 2024
@naman-crabnebula
Copy link
Contributor

Hi there!

I tested AppImage on Arch Linux Gnome 45, which is running smooth ( Gitbutler 0.10.17 ), and it is running flawlessly.

We currently don't support flatpak, So... 🤷

@FabianLars
Copy link
Member

We currently don't support flatpak, So... 🤷

That's not entirely true, at least in v2 where you don't need to build webkitgtk manually anymore. We just don't generate the manifests (which imo feels kinda useless at least in the context of flathub) and i didn't get to write the docs yet :/

Anyway, since 44 works i will mark this as an upstream issue. Also, if it's not too much work, i'd recommend trying a v2-beta app and see if it works any better.

Lastly for now, SlimeVR works fine for me on WSL ubuntu at least so reproducing may take a while (if i can repro it at all that is)

@FabianLars FabianLars added the status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes label Feb 28, 2024
@honnip
Copy link
Author

honnip commented Feb 28, 2024

I'm pretty sure this happens when running webkit2gtk on flatpak GNOME 45 runtime. I haven't tried Tauri v2, but Epiphany, which uses the webkit2gtk provided by the runtime, has the same issue, so I suspect it's there too.

I tested AppImage on Arch Linux Gnome 45, which is running smooth ( Gitbutler 0.10.17 ), and it is running flawlessly.

AppImage and building from source are working fine on my machine too.

@FabianLars
Copy link
Member

okay if epiphany is broken too then it's the same in tauri v2. And it would also mean that it'll get fixed relatively quickly hopefully. Of course assuming that it's not just an issue for you (epiphany also works for me 🤷 )

@naman-crabnebula
Copy link
Contributor

naman-crabnebula commented Feb 29, 2024

At discord, a user posted that using WEBKIT_DISABLE_DMABUF_RENDERER=1 fixes this. ( Making a note here )

@honnip
Copy link
Author

honnip commented Mar 3, 2024

Thanks for mentioning it here. Unfortunately that didn't work for me.

@helloimalemur
Copy link

@honnip will you please try the other fixes mentioned in #5143 ?

@honnip
Copy link
Author

honnip commented Mar 4, 2024

Hello.
Running with env __NV_PRIME_RENDER_OFFLOAD=1 and WEBKIT_DISABLE_COMPOSITING_MODE=1 does not help. I don't use an nvidia card, so it may not be relevant

@honnip honnip changed the title [bug] Blank screen on Flatpak GNOME 45 runtime [bug] Blank screen on Flatpak Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: bug
Projects
None yet
Development

No branches or pull requests

4 participants