Code Monkey home page Code Monkey logo

Comments (8)

ids1024 avatar ids1024 commented on September 23, 2024 1

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.

Dirleye avatar Dirleye commented on September 23, 2024 1

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.

Dirleye avatar Dirleye commented on September 23, 2024

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.

GenericConfluent avatar GenericConfluent commented on September 23, 2024

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.

GenericConfluent avatar GenericConfluent commented on September 23, 2024

This can be fixed by moving to a more recent commit of winit. The crates.io version is insufficient.

from iced.

blueOkiris avatar blueOkiris commented on September 23, 2024

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.

blueOkiris avatar blueOkiris commented on September 23, 2024

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.

Dirleye avatar Dirleye commented on September 23, 2024

I'll assume it's all good now, thanks for the help everyone.

from iced.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.