DataflareApp / Dataflare

Simple, easy-to-use database manager
https://dataflare.app
149 stars 2 forks source link

[BUG] Dataflare does not start getting EGL invalid display #103

Open klajmajk opened 1 month ago

klajmajk commented 1 month ago

Describe the bug

When trying to start Dataflare 1.8.3 i am getting

Cannot get default EGL display: EGL_SUCCESS
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Segmentation fault (core dumped)

It works fine with 1.8.1.

Platform and Database

Fedora 40, Wayland, Dataflare 1.8.3
wyhaya commented 1 month ago

Hi @klajmajk, thank you for your report!

I want to know if these are just warning messages or if Dataflare cannot be opened or used properly at all?

Give this a try!

$ WEBKIT_DISABLE_COMPOSITING_MODE=1 ./Dataflare.AppImage
# or
$ WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Dataflare.AppImage

Related issue: https://github.com/tauri-apps/tauri/issues/10749


If necessary, you can temporarily use the previous version:

https://assets.dataflare.app/release/linux/x86_64/Dataflare-1.8.0.AppImage https://assets.dataflare.app/release/linux/x86_64/Dataflare-1.8.1.AppImage https://assets.dataflare.app/release/linux/x86_64/Dataflare-1.8.2.AppImage https://assets.dataflare.app/release/linux/x86_64/Dataflare-1.8.3.AppImage

klajmajk commented 1 month ago

Hi @wyhaya ,

sorry for comming back so late.

When running with WEBKIT_DISABLE_DMABUF_RENDERER=1 tha app starts properly and prints out the Warnign but no EGL related outputs:

 WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Dataflare-1.8.3.AppImage 

** (dataflare:238843): WARNING **: 13:50:12.818: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.

When running with WEBKIT_DISABLE_COMPOSITING_MODE=1 I get the EGL error and the app does not start

 WEBKIT_DISABLE_COMPOSITING_MODE=1 ./Dataflare-1.8.3.AppImage 

** (dataflare:240718): WARNING **: 13:52:47.436: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
Cannot get default EGL display: EGL_SUCCESS
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Segmentation fault (core dumped)

When run without any variable it only returns the EGL and no warning, but still does not start.

 ./Dataflare-1.8.3.AppImage 
Cannot get default EGL display: EGL_SUCCESS
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Segmentation fault (core dumped)