-
Notifications
You must be signed in to change notification settings - Fork 105
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
CRASH in wgpuInstanceRequestAdapter, D3D12 backend, Razer Blade Intel Graphics #370
Comments
I get the same crash with these options as well: WGPURequestAdapterOptions opts {
.powerPreference = WGPUPowerPreference_LowPower,
}; WGPURequestAdapterOptions opts {
.backendType = WGPUBackendType_D3D12,
}; WGPURequestAdapterOptions opts {
}; |
This comment was marked as off-topic.
This comment was marked as off-topic.
@garettbass, is this reproducible reliably with wgpu-native? ~> # Install Rust toolchain - https://www.rust-lang.org/learn/get-started
~> git clone https://github.com/gfx-rs/wgpu.git
~> cd wgpu
~> cargo run --bin wgpu-examples hello_triangle |
I am happy to investigate, but there may be a delay before I can undertake this due to other pressing issues. Thank you for the informative recommendation. |
I reproduced this issue with WGPURequestAdapterOptions opts {
.powerPreference = WGPUPowerPreference_LowPower,
}; Unless you pass
Changing this line in the triangle demo causes the demo to crash with exactly the same error, so easy to reproduce for me. I have a discrete Nvidia GPU + an integrated Intel one if that helps. |
I have reproduced this crash using
v0.18.1.4
and an older version for which I only have the commit SHA22eaa9caeb4e856cb926ca54eefa9f783fc4c524
. The crash occurs when I callwgpuInstanceRequestAdapter()
with the following options:WGPURequestAdapterOptions opts { .powerPreference = WGPUPowerPreference_HighPerformance, };
On this Razer Blade, I would expect
.powerPreference = WGPUPowerPreference_HighPerformance
to select the NVIDIA adapter, but the crash appears to be in the functionctlGetSet3DFeature()
, which seems to be an Intel Graphics API.If I explicitly select
.backendType = WGPUBackendType_Vulkan
, there is no crash, and I do get an NVIDIA adapter.Below is a stack trace of the crash obtained using
StackWalk64()
:The text was updated successfully, but these errors were encountered: