notan: Update glutin to 0.30.2 to solve Wayland vsync error
I recently switched to Wayland from X11 on my Linux dev box (running Nvidia 520 proprietary drivers) and found that apps that try to enable vsync (e.g. WindowConfig::default().vsync(true);
crash with the following error:
Error: "Couldn't find any pixel format that matches the criteria."
The apps worked fine when I was on X11.
I think I’ve traced the problem to this issue: https://github.com/rust-windowing/glutin/issues/1444
Looks like it’s been fixed there, so can we upgrade glutin for notan to 0.30.2 to fix this problem? Let me know if you need any more info.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (7 by maintainers)
We had a similar issue with SRGB issues that shows the same error (#95), this seems to be a different error though.
I tried to migrate to glutin 0.30 for v0.8.0 but the API on their end changed a bit, so I thought that it was better to await until after the release. I will try to take a look at this soon, probably it will be included with v0.9, or if the change doesn’t break or change anything on our end, we can think about releasing it as 0.8.1. I will keep you updated.
Thanks!