-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[bug] app window fails under Linux with Nvidia gpu #9304
Comments
Oddly enough, I'm having similar problems trying to use https://github.com/tryphotino/photino.NET under Fedora (that's how I found this issue), both utilize gtkwebview so I'm guessing this might be a problem beyond Tauri/Photino. |
Yup, as I thought, it's an issue with webkit2gtk being broken under 2.44 with Nvidia GPUs (https://gitlab.archlinux.org/archlinux/packaging/packages/webkit2gtk/-/issues/1) For your local dev environment, you can add |
Hi, thanks for the info @LauraWebdev ! |
Thank you, this also fixed other apps such as yelp |
Hi there, thanks that I'm on Arch Linux with NVIDIA RTX 4060 laptop. Any response will be very appreciate. |
This doesn't really make sense to me unless your frontend is somehow super unoptimized in dev but for "simple" css statements that can't really be either. Really weird... |
Hello, I also need to develop my app using (WEBKIT_DISABLE_DMABUF_RENDERER=1) on my linux. I'm also expriencing very slow app on my app page (using solidjs) where there 10 json (with like 30 member each) being processed then rendred on cards. The other page where there is no data procesed work fine. I doubt it is an optimization problem as the processing is very simple json with very simple jsx, but I could be wrong. The wierd thing is that the slow part of the page is static between all of them (it is the transition I have from the side bar). It stay the same and only the content change, so when I'm on the page that inject big content, the transition become very slow, but the content is rendred fairly smoothly and I can move trough it very quickly. The transition being noticibly slow is what made think it is because of (WEBKIT_DISABLE_DMABUF_RENDERER=1) as first tought. I also removed the "invoke" part of my code to be able to run the app on my browser, and imediatly the transition went to become very fast and smooth as it should be while it stayed laggy and slow on the app. I have run OpenSuse Tumbleweed on an i9 (gen 9) laptop cpu with a desktop RTX 3060 (12G) and 64GB RAM. Edit: This happen on dev and prod mode for me. |
I noticed some apps started working correctly for me without this environment variable... Additionally, setting WEBKIT_DISABLE_DMABUF_RENDERER=1 leads to significant performance issues, causing lag and inertia. |
Yeah...And it works fine on wayland with nvidia but failed on x11. |
Describe the bug
Hi, under Arch Linux, since today I hit an issue where the window app open with a blank screen and this message is spamming the terminal
journal logs:
Note: My machine is NVIDIA gpu equipped, installed driver is
550.67-3
If I remove
nvidia_drm.modeset=1
from kernel params, I get other logsBased on the logs I tried with KMS disabled completely (removing nvidia kernel modules and regenerating the initramfs) but without any success
Reproduction
npm create tauri-app@latest
thencargo tauri dev
(ornpm run tauri dev
)Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: