elasticsearch-analysis-openkoreantext icon indicating copy to clipboard operation
elasticsearch-analysis-openkoreantext copied to clipboard

[Linux] Settings, and create new add-on GUI doesn't displaying

Open Turelk opened this issue 1 year ago • 2 comments
trafficstars

When I try to open settings or new add-on menu, visually nothing happens, although in reality these menus open, but are not displayed. Video:

https://github.com/WilliamVenner/gmpublisher/assets/157890839/0250c9ff-a7cb-4637-bd2a-0af4a33c1024

Turelk avatar Feb 11 '24 17:02 Turelk

Can't reproduce, sorry. Maybe a problem with hardware acceleration. What distro is that?

WilliamVenner avatar Feb 13 '24 23:02 WilliamVenner

I cant even run on Arch lol

St1X89 avatar Feb 16 '24 13:02 St1X89

The same goes for my Arch.

PenguinDOOM avatar Feb 18 '24 15:02 PenguinDOOM

Can't reproduce, sorry. Maybe a problem with hardware acceleration. What distro is that?

That is SteamOS 3.0 (Arch Linux)

Turelk avatar Feb 19 '24 20:02 Turelk

To be honest, even if I installed Arch and reproduced the problem, I wouldn't know how to fix it. Additionally, as far as I can tell, the problem appears to only happen on Arch?

I believe the problem has something to do with hardware acceleration. When opening the settings panel, it uses a CSS transform transition to animate in which makes use of the GPU. Everything else appears to be working in the video, but CSS transform transitions don't work. That is a complete mystery to me, and I have no control over it as the OS provides the WebView.

Sorry I cannot be of more help.

WilliamVenner avatar Feb 24 '24 10:02 WilliamVenner

Hello there. I have the same issue on Manjaro KDE and I'm getting the only error in the terminal when running the application: src/nv_gbm.c:242: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

I am not sure if this is helpful or anything, but if the problem is GPU acceleration (as I understand from the last comment), so is it possible to add an option to turn it off by default or to transitioning animations at least?

Hatchet-ManDev avatar Mar 06 '24 19:03 Hatchet-ManDev

Try adding WEBKIT_DISABLE_COMPOSITING_MODE=1, it fixed the issue for me

Should look something like this: LD_LIBRARY_PATH=/path/to/gmpublisher WEBKIT_DISABLE_COMPOSITING_MODE=1 /path/to/gmpublisher/gmpublisher

RavMda avatar Mar 12 '24 15:03 RavMda

Awesome, thank you. If others can confirm this fixed the issue for them, I’ll set that environment variable when gmpublisher starts.

WilliamVenner avatar Mar 12 '24 15:03 WilliamVenner

I have tried the export WEBKIT_DISABLE_COMPOSITING_MODE=1 and can confirm everything now works fine. Screenshot_20240312_185612

Also I've seen another issue (may be related to Arch-based users with proprietary NVIDIA drivers) such as Failed to create GBM buffer and the line export WEBKIT_DISABLE_DMABUF_RENDERER=1 seems to solve this one, at least I have no errors in terminal now and can work with addons freely.

Hatchet-ManDev avatar Mar 12 '24 17:03 Hatchet-ManDev