-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"cargo run --package tour" opens a window, but it’s invisible #257
Comments
All the wgpu examples I tried work, but the two winit examples I tried (timer and window_icon) exhibit exactly the same behavior as the iced one.
I wrote a
Then by using |
Both of these
winit = "=0.20.0-alpha4" |
The |
My bet is that the current renderer is doing something that is not supported by your graphics driver. I think the |
How do I run it in debug mode? |
Oh, sorry. I meant you should run it without the |
Installing the validation layers does not seem to have made a difference. I’m not seeing any errors or warnings. |
Oh well, I am a bit clueless then. Some more questions worth to answer:
|
Hmm... It feels like we are dealing with some weird driver shenanigans. I think OpenGL support for
I believe it's unrelated, although probably worthy of further investigation. This error happens when swapchain creation can't keep up with window resize events. |
In any case, thank you very much for your assistance and for your work on |
It took me a while to get everything compiling and running under NixOS. I can now compile and run the
tour
package, but I can’t see or interact with the window that (supposedly) opens. You can see in the attached screenshots that my desktop looks the same whether my terminal or the iced window is focused.I’m using i3 on nixos-unstable. My graphics card is an onboard Intel device.


The text was updated successfully, but these errors were encountered: