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

Window with white background and blank #132

Closed
edgan opened this issue Dec 26, 2023 · 3 comments
Closed

Window with white background and blank #132

edgan opened this issue Dec 26, 2023 · 3 comments

Comments

@edgan
Copy link

edgan commented Dec 26, 2023

I downloaded the version 0.1.1 from the releases page, extracted it, and ran it. All I get is a window with a white background and it is blank. The tray icon works, and can be used to close it.

If I right click and select reload I see this error in the terminal window.

Asset `client` not found; fallback to client.html

It seems to be an issue with Xorg, since it works on Wayland.

Doesn't work:
Fedora 39
Xorg with Nvidia graphics
akmod-nvidia-545.29.06-1.fc39.x86_64
kernel-6.6.6-200.fc39.x86_64
xorg-x11-server-Xorg-1.20.14-28.fc39.x86_64

Works:
Fedora 39
Wayland with Nvidia graphics
akmod-nvidia-545.29.06-1.fc39.x86_64
kernel-6.6.6-200.fc39.x86_64

Works:
Fedora 39
Wayland with Intel graphics
kernel-6.6.6-200.fc39.x86_64

@edgan
Copy link
Author

edgan commented Dec 26, 2023

Also seems to work with XWayland when using GDK_BACKEND=x11.

@edgan
Copy link
Author

edgan commented Dec 28, 2023

Running yarn tauri dev has the same outcome. Yet if I go to http://localhost:3000/client in a browser I see the ui.

Running WEBKIT_DISABLE_DMABUF_RENDERER=1 defguard-client make it work.

Downgrading webkit2gtk4.0 also fixes it.

Downgrade javascriptcoregtk4.0 and webkit2gtk4.0 from 2.42.3-1.fc39 to 2.40.0-2.fc38:

wget https://mirrors.kernel.org/fedora/releases/38/Everything/x86_64/os/Packages/w/webkit2gtk4.0-2.40.0-2.fc38.x86_64.rpm
wget https://mirrors.kernel.org/fedora/releases/38/Everything/x86_64/os/Packages/w/webkit2gtk4.0-devel-2.40.0-2.fc38.x86_64.rpm
wget https://mirrors.kernel.org/fedora/releases/38/Everything/x86_64/os/Packages/j/javascriptcoregtk4.0-2.40.0-2.fc38.x86_64.rpm
wget https://mirrors.kernel.org/fedora/releases/38/Everything/x86_64/os/Packages/j/javascriptcoregtk4.0-devel-2.40.0-2.fc38.x86_64.rpm
rpm -U --oldpackage webkit2gtk4.0-2.40.0-2.fc38.x86_64.rpm webkit2gtk4.0-devel-2.40.0-2.fc38.x86_64.rpm javascriptcoregtk4.0-2.40.0-2.fc38.x86_64.rpm javascriptcoregtk4.0-devel-2.40.0-2.fc38.x86_64.rpm

/etc/dnf/dnf.conf:

exclude=javascriptcoregtk4.0* webkit2gtk4.0*

Links:
https://bugs.webkit.org/show_bug.cgi?id=261874
https://bugs.archlinux.org/task/79783
eclipse-platform/eclipse.platform.swt#843
https://www.phoronix.com/news/WebKitGTK-DMA-BUF-Rendering
https://old.reddit.com/r/Fedora/comments/173461a/does_anyone_know_why_the_option_for_me_to_log_in/
https://www.mail-archive.com/[email protected]/msg1932089.html

@teon
Copy link
Contributor

teon commented Jan 8, 2024

@edgan thank you for your analysis and comments. We are working heavy on the next version of the client with some important UI changes and functionalities. After we release it (hopefully next week) we will dive into this issue.

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

No branches or pull requests

2 participants