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

Failed to create GBM buffer of size 800x573: Invalid Argument #72

Open
Javinator9889 opened this issue Sep 13, 2024 · 1 comment
Open

Comments

@Javinator9889
Copy link

I have just downloaded the latest version pointed by the README.md file (0.9.0- https://github.com/adriankumpf/tesla_auth/releases/tag/v0.9.0) for Linux. My machine runs Fedora 40:

❯ uname -a
Linux Ant-Man 6.6.9-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan  1 20:05:54 UTC 2024 x86_64 GNU/Linux
❯ lsb_release -a
LSB Version:	:core-5.0-amd64:core-5.0-noarch
Distributor ID:	Fedora
Description:	Fedora release 40 (Forty)
Release:	40
Codename:	Forty

When I run the application with no other argument, a window appears but I can see the following message in the console:

** (tesla_auth:26394): WARNING **: 19:10:52.247: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
Failed to create GBM buffer of size 800x573: Invalid argument

I have installed all the dependencies as stated in the docs. I have looked for any similar issue but I couldn't find any.

@Javinator9889
Copy link
Author

OK, I have found a solution 😅 - too fast too furious. It seems it's a "common" problem for users with an NVIDIA card - like me. Prepending WEBKIT_DISABLE_DMABUF_RENDERER=1 to the command does the trick. Kudos to @zerollzeng for pointing out: wailsapp/wails#2977 (comment)

It seems there's a way in Golang to avoid this issue from happening: wailsapp/wails#3027. I leave it here as a reference if a PR can be made the same way in Rust

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

1 participant