-
Notifications
You must be signed in to change notification settings - Fork 604
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
winit-femtovg renderer panics on startup with nVidia GPU on Wayland #1724
Comments
When running Weston on a X11 system to create a Wayland server, this does run for me with a GeForce GTX 1060 and Nvidia 470.141.03 drivers. |
What do you mean by "running Weston on an X11 system"? X applications can run in Wayland via XWayland, but I'm not aware of the other way around existing? |
I did the following, the app then runs inside the weston window using wayland as the protocol. I don't think i have a working Wayland or XWayland on my machine to try though.
|
It's possible this does end up with different pixel format options though, like with QtWayland how you pick the |
I could reproduce the issue with the nvidia driver 515.76 on an RTX A4000. Removing the with_vsync calls in the context_factory_fn functions solved the issue for me. This points at rust-windowing/glutin#1444. |
Thanks for digging into this @Nico264! I tested checking out the v0.29.1 tag of the glutin repository and adding
As noted in rust-windowing/glutin#1444, glutin's API has been overhauled for the upcoming 0.30 release which I confirm does fix the bug. The example in glutin's master branch does set vsync and I do not get the error message running it with my nVidia GPU on Wayland. So the solution for Slint would be updating to glutin 0.30.0, which could start now with the 0.30.0-beta.2 release. |
I’m hoping for a new glutin release on crates.io so that we can upgrade. |
The 0.30.0-beta.2 release is on crates.io already. A Slint branch could be started using that, then hold off merging it until glutin 0.30.0 is released. |
Thanks - I somehow missed that. Agreed on the branch. |
Maybe you missed that because crates.io doesn't show prereleases without some digging. lib.rs does though. |
Glutin 0.30.0 has been released. |
Yes, I noticed the same yesterday. I'd like to port to that after our next release (in the coming days). |
Is that the same as #1507 ? |
Looks like it. |
First attempt at glutin port: #1942 |
|
using NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1) with proprietary nVidia driver akmod-nvidia-515.76-1.fc36.x86_64 with Linux 5.19.14-200.fc36.x86_64
This is not reproducible with the same hardware on X11.
The text was updated successfully, but these errors were encountered: