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

With Arch Linux the application doesn't work #203

Open
ogarcia opened this issue Sep 26, 2023 · 7 comments
Open

With Arch Linux the application doesn't work #203

ogarcia opened this issue Sep 26, 2023 · 7 comments

Comments

@ogarcia
Copy link

ogarcia commented Sep 26, 2023

Describe the bug

On an updated Arch Linux installation the application simply does not work. It starts but the screen goes blank and you can't do anything else.

I have found that this happens both with the precompiled 2.2.6 binary (no matter how it is packaged, be it deb, appimage...) and by downloading the git version and compiling locally.

Reproduction

  1. Install Arch Linux or use a virtual image. Upgrade all packages to latest version with pacman -Syu.
  2. Install dependencies:
    pacman -S webkit2gtk openssl gtk3 appmenu-gtk-module \
     libappindicator-gtk3 librsvg libvips sqlite gst-plugins-good \
     rust nodejs npm
    
  3. Compile git version:
    git clone --recursive https://github.com/cinnyapp/cinny-desktop.git
    cd cinny-desktop/
    cd cinny/
    npm ci
    cd ..
    npm ci
    npm run tauri build
    
    On completion it may give an error to create the AppImage, but it is not necessary because we already have the binary in cinny-desktop/src-tauri/target/release.
  4. Run it.

Expected behavior

Just get it to work. But as I said before, it starts but the window remains blank.

Platform and versions

1. OS: Arch Linux
2. Cinny version: 2.2.6 and git
3. Matrix homeserver: n/a
4. Downloaded from: Git and GitHub release

Additional context

No response

@meequrox
Copy link

Cannot reproduce on a fresh installation of EndeavourOS (i.e. Arch). Precompiled AppImage also works.

@ogarcia
Copy link
Author

ogarcia commented Oct 13, 2023

@meequrox EndeavourOS is not Arch Linux, it is a derivative of Arch Linux and does not behave the same.

My advice is to try a virtual image of Arch Linux as I mentioned in the opening of this issue.

@meequrox
Copy link

EndeavourOS is not Arch Linux, it is a derivative of Arch Linux and does not behave the same.

It's literally Arch + Calamares + some eos tools. I was too lazy to manually install Arch, so I chose that :)

On virtual Arch Linux image the application also works:

@ogarcia
Copy link
Author

ogarcia commented Oct 14, 2023

@meequrox What is your graphics card? It seems to me that the bug has to do with graphics acceleration on NVIDIA cards (with DRI enabled and original/privative drivers).

@ogarcia
Copy link
Author

ogarcia commented Oct 14, 2023

I have found the related bug causing the problem, this is it: tauri-apps/tauri#7927

An workaround to make it work until the root problem is fixed is to run cinny in the following way:

WEBKIT_DISABLE_COMPOSITING_MODE=1 cinny

@meequrox
Copy link

@ogarcia I use AMD GPU with Xorg

@ogarcia
Copy link
Author

ogarcia commented Oct 15, 2023

@meequrox confirmed, it is a problem with NVIDIA acceleration: https://bugs.webkit.org/show_bug.cgi?id=180739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants