-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error, panics, then segfault #23
Comments
Thanks for the report! Could you update to 0.12.0 and try again? If it still fails, can you run it with RUST_BACKTRACE=1 and show the full backtrace? |
Updated to a5f1449 with Rust 1.60.0: With non-existing
With existing
Also, I've noticed that although the main branch is tagged v0.12.0, the version Cargo sees is still 0.11.0. Is that a mistake? |
Oops, I tagged it as 0.12.0, but it should have been 0.11.0. Thanks for the full traceback. I'll try to investigate more. Could you also post the output of |
My hardware model is XPS-7590 with Nvidia GPU (1650, I think) and Intel integrated GPU.
|
Thanks! I think this was causing the issue: https://github.com/robohouse-delft/show-image-rs/blob/v0.11.0/src/backend/context.rs#L760 The adapter chosen wasn't necessarily compatible with the created window. Ideally we'd do it the other way around: create a window compatible with the chosen adapter. But I'm not sure if and how that would be possible. For now, I delayed GPU initialization until the first window is created so we can choose a compatible adapter. Could you see if the problem is solved (this time truly with v0.12.0)? |
Unfortunately not. On eb9ff44:
If this gets too complex we can probably do a bug-fix branch for testing to avoid polluting the version numbers. |
Thanks for the extra info. Not sure if this is a related problem now, or if it's a new problem. Either way, I'll have to read up a bit and then indeed, lets use a separate branch to test fixes. |
Btw, could you also see if either setting the environment variable WGPU_POWER_PREF=high or WGPU_POWER_PREF=low "solves" the issue? Of course, it should just work out of the box, but it's interesting to know if both the integrated GPU and the discrete one are broken, or just one of the two. |
Identical backtrace on both settings. |
On Wayland Gnome Ubuntu 21.10 with Nvidia driver 510 on hybrid GPU:
The text was updated successfully, but these errors were encountered: