surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.08k stars 83 forks source link

App opens with blank screen on Linux with Nvidia gpu #276

Open frundette opened 4 months ago

frundette commented 4 months ago

Describe the bug I just downloaded the app to give it a try. After installing, I tried to open it. It gives no error, but just opens to a blank white window. It's Version 2.0.6 (20240514.150423). I'm running a MacOS 12.0.1 (21A559)

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/surrealdb/surrealist/releases
  2. Download [Surrealist_2.0.6_x64.dmg]
  3. Add to applications.
  4. Run. I just get a white screen.

Expected behavior Open application and see... something?

Environment:

 N/A

Maintainer edit:

A workaround can be found here

kearfy commented 4 months ago

Hey @frundette, sorry about that! When you open the desktop app, could you please press Command + Option + I to open the developer console, and in the Console tab see if any errors show up? Thanks!

frundette commented 4 months ago

Hi kearfy! Thank you for the reply! I tried pressing Command + Option + I. Nothing happened. (I tried the same thing in Chrome just to be sure I had the right key combo, and it opened the dev console right up.)

shadowbrok3r commented 3 months ago

@frundette getting the same error on Manjaro linux, was running into gtk errors

G_DEBUG=all GDK_DEBUG=all surrealist_2.1.1_amd64.AppImage
Qt: Session management error: None of the authentication protocols specified are supported
Gtk-Message: 10:49:46.464: Failed to load module "xapp-gtk3-module"
Gtk-Message: 10:49:46.464: Failed to load module "/usr/lib/gtk-3.0/modules"
Gdk-Message: 10:49:46.464: Trying x11 backend

same issue on surrealist 2.1.0 contents of /usr/lib/gtk-3.0/modules

ls /usr/lib/gtk-3.0/modules
total 120K
4.0K drwxr-xr-x 2 root root 4.0K Jun 11 10:24 .
4.0K drwxr-xr-x 4 root root 4.0K Dec 22 18:59 ..
 36K -rwxr-xr-x 1 root root  35K May 26 12:00 libappmenu-gtk-module.so
 28K -rwxr-xr-x 1 root root  26K Jan 29  2023 libcanberra-gtk3-module.so
   0 lrwxrwxrwx 1 root root   26 Jan 29  2023 libcanberra-gtk-module.so -> libcanberra-gtk3-module.so
 16K -rwxr-xr-x 1 root root  14K May 25 14:45 libcolorreload-gtk-module.so
 16K -rwxr-xr-x 1 root root  14K May 25 14:45 libwindow-decorations-gtk-module.so
 16K -rwxr-xr-x 1 root root  14K Apr  7 04:00 libxapp-gtk3-module.so
Karinkuto commented 3 months ago

Hey @frundette, sorry about that! When you open the desktop app, could you please press Command + Option + I to open the developer console, and in the Console tab see if any errors show up? Thanks!

Hey @kearfy, I'm on macOS 11.7.10 and had the same error, I opened the console to check the error and it showed the error below. How should I proceed?

Screen Shot 2024-06-25 at 8 55 14 AM
nottisa commented 3 months ago

Hey there, bumping this issue and dropping run logs. Running Ubuntu 24.04 and Surrealist 2.1.2. I can't open the console.

Update: opening the port in the web browser functions as intended. Logs: https://pastebin.com/PbAb1Mdh Image: image

macjuul commented 3 months ago

Hello everyone! We understand this has been a frustrating painpoint and we intend on fixing it as soon as we can, however it appears this issue is complex and may have different causes per platform.

For Linux users, this might be related to an upstream issue in Tauri. A temporary workaround is to define WEBKIT_DISABLE_DMABUF_RENDERER=1 in your /etc/environment.

As for MacOS, we are still investigating this issue further, however it may be related to the version of MacOS and Safari being used. I'll report back once we have further clarity on this issue

nottisa commented 3 months ago

@macjuul This workaround does solve the issues on Ubuntu 24.04