-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Applications crash after a couple seconds using Vulkan backend (NVIDIA Drivers) #2572
Comments
I thought it might've been an issue with getting mouse movement, so I tried running Bevy examples that interact with the mouse, but those also work perfectly fine. For some reason it's just an issue with Iced. |
Same drivers, OS and WM and it also does not work. I do not get Address boundary error, but instead just |
Yeah, if I switch to bash I just get a core dump as well. |
+1 Extra info
|
Can someone try testing by forcing vulkan using the environment variable:
Then running the iced examples? This may be related to a similar issue I've been tracking down. |
Using the env var, the error persists: Running the $ WGPU_BACKEND=vulkan cargo run after a few seconds, it results in: Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
Running `target/debug/IcedApp`
zsh: segmentation fault (core dumped) WGPU_BACKEND=vulkan cargo run It's worth noting that it only segfaults if focused; otherwise, the app stays open. However, once refocused, it does the segfault and other apps using Iced also do segfaults, like the one I mentioned Videoiced.mp4 |
Is the issue present in #2510? |
I can no longer reproduce the issue on my system (Arch running KDE Plamsa Wayland with NVIDIA 560.35.03 drivers) with the current master branch. |
I imagine the |
can confirm that building from main (at time of writing), and running with
|
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When I run
$cargo run --release --package tour
in examples the application opens before crashing a couple seconds later with$fish: Job 1, 'cargo run --release --package t…' terminated by signal SIGSEGV (Address boundary error)
This also happens when I try using Halloy or Sniffnet which both use iced as their gui library. This does not happen with any other Vulkan application that I know of. The wgpu examples work fine, I am able to run steam games using vulkan as the backend perfectly fine.
I am running Arch Linux with Hyprland. I am using the latest Nvidia-open drivers and I am using an RTX 3080.
What is the expected behavior?
Not crashing
Version
master
Operating System
Linux
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: