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

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

Closed
Turelk opened this issue Feb 11, 2024 · 9 comments
Closed

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

Turelk opened this issue Feb 11, 2024 · 9 comments

Comments

@Turelk
Copy link

Turelk commented Feb 11, 2024

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:

gmpublisherbug.mp4
@WilliamVenner
Copy link
Owner

WilliamVenner commented Feb 13, 2024

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

@St1X89
Copy link

St1X89 commented Feb 16, 2024

I cant even run on Arch lol

@PenguinDOOM
Copy link

The same goes for my Arch.

@Turelk
Copy link
Author

Turelk commented Feb 19, 2024

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

That is SteamOS 3.0 (Arch Linux)

@WilliamVenner
Copy link
Owner

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.

@Hatchet-ManDev
Copy link

Hatchet-ManDev commented Mar 6, 2024

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?

@RavMda
Copy link

RavMda commented Mar 12, 2024

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

@WilliamVenner
Copy link
Owner

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

@Hatchet-ManDev
Copy link

Hatchet-ManDev commented Mar 12, 2024

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.

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

6 participants