Skip to content

Encountering an error and blank UI when trying to run Pipali on multiple distros #21

@FroogalTheDragon

Description

@FroogalTheDragon

I have had trouble getting the AppImage to run on all distros and I think its a build environment thing. Because I can get the AppImage to run on Fedora and Arch if I build it in Fedora, but it won't run right in Debian. Or if I built it in Debian or Ubuntu it won't run on Fedora or Arch. The app is running and it seems to load everything in the background that it needs to but the UI is a blank screen.

I noticed this error consistently:

Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...

This seems to be a known error with Tauri. I haven't been able to build an AppImage that runs on all of these flavors.

What have I done to try and fix the problem?

Force XWayland/X11

env GDK_BACKEND=x11 ./pipali.AppImage

Disable GPU Acceleration/Compositing

env WEBKIT_DISABLE_COMPOSITING_MODE=1 ./pipali.AppImage

Preload System Wayland Libraries

LD_PRELOAD=/usr/lib/libwayland-client.so ./your-app.AppImage

This person's experience describes my experience building Pipali on Linux:

This issue seems to depend on the machine the app is built on.

If I compile the app from source on my machine, it works just fine.
However, when building the app in GitHub CI with tauri-action, the resulting AppImage is broken on machines with Intel graphics. It works on Nvidia, I have yet to test it on AMD graphics.

You can see more here if you would like to read more about it.

I can build pipali in Fedora, Arch, Debian, Linux Mint but the resulting AppImage doesn't run on all of these. For example I was able to build Pipali with Debian, and it would run on Debian, and Fedora, but not on Arch. I would build it on Fedora and it ran on Fedora and Arch but not Debian. And it would always be this error with the app presenting a blank white screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions