Comments (8)
Are you on the 550.67 driver that was released a couple days ago, or an earlier 550 driver?
https://www.nvidia.co.uk/download/driverResults.aspx/223635/en-us mentions "Fixed a bug that caused wgpu applications to hang on Wayland".
from iced.
This is indeed fixed with the 550.67 driver for me.
@blueOkiris if it's working well for you too I'll close?
from iced.
This is definitely an Nvidia issue as it works with lavapipe for Vulkan software rendering, though this introduces a load of its own unrelated issues.
I'm still not sure where to go to follow this up though.
from iced.
I ran into this earlier today, also being on Wayland with NVIDIA. I decided to do some debugging and this is not an issue with iced
, it's a winit
problem. Which I confirmed by writing a short test exec with winit
and wgpu
(I tested with both Hyprland and river).
It seems to be related to the CursorLeft
event but I don't know why (except it's not like the iced
apps work as long as the cursor is in the window when it starts, iced
is frozen from the beginning). Stuff seems to work fine so long as the cursor is sitting within the bounds of the window, after that the event loop freezes and you can't close the window normally (make sense since not event processing is happening). The issue may have come as a result of EventLoop 3.0 Changes but that's just a guess on my part, since my experience with winit
is limited.
It also doesn't look like there is an issue open for this yet.
from iced.
This can be fixed by moving to a more recent commit of winit
. The crates.io
version is insufficient.
from iced.
Neither updating winit nor wgpu is working for me.
I'm on Nvidia 550, but still they don't work.
Using:
winit = { git = "https://github.com/rust-windowing/winit.git", branch = "master" }
wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "744454b9e2eff65cd14dea7c456f2cbd5e7bcd5f" }
Tho this is one commit back bc the current latest wgpu commit upgrades web-sys, so you can't use that one w/ latest iced yet
from iced.
Ah that's probably it. I updated to 550, but only 550.54. I'll see if I can get the latest on my distro (NixOS)
EDIT: I can. I'll update and see if that fixes the issue.
from iced.
I'll assume it's all good now, thanks for the help everyone.
from iced.
Related Issues (20)
- Crash on raspberry pi when using wgpu feature HOT 1
- Container shadows are inconsistent between `wgpu` and `tiny-skia` with custom theme HOT 2
- Dynamic Window Size HOT 2
- Running the example from README.md: "cannot find function `run` in crate `iced`" HOT 6
- Input widget should not copy or cut if secure
- Scrollable content remains at the top of a scrollable HOT 1
- My text() os not updated when clicking Theo button in FydeOS 18.0 HOT 3
- Pane Grid `PickList` does not work when `Responsive` is present in Pane's controls
- 0.12.1 Failing to compile when included as dependency HOT 1
- Cannot use mousewheel without shift to scoll a horizontal-only scrollable. HOT 2
- Problem rendering texts in PopOS 22.04
- GLIBC_2.29 not found in Deepin 20.9 HOT 1
- Application does not start on Windows 10 pro 64 bits HOT 2
- Shell opens along with the iced application in Windows 11 Pro HOT 3
- TextInput value overflow with tiny-skia backend HOT 1
- web-sys dependecy resolution HOT 1
- image ferris cannot be loaded in tour example under wasm target
- MouseArea does not report mouse wheel events. HOT 2
- Nix shell expression out of date in `DEPENDENCIES.md` HOT 1
- Nested scrollable behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iced.