Open parasyte opened 4 years ago
Thank you for the report! Reading the issue, I'm slightly confused. It was reported on dx12 originally (in https://github.com/parasyte/pixels/issues/49#issuecomment-554403950), was it? But then at the end the report says it only happens on Vulkan (in https://github.com/parasyte/pixels/issues/49#issuecomment-575665724).
If the problem is about dx12, we found a crash in that place, and it is fixed in "gfx-backend-dx12-0.4.3". Would be great if somebody with a repro case could try and confirm that this indeed solves their crash.
I can't be sure, but FWIW the paste link on this comment https://github.com/parasyte/pixels/issues/49#issuecomment-554395440 says it's using Vulkan.
If they have a problem on Vulkan, and it's within adapter enumeration, the good thing to ask would be to run any ash
examples.
I found my way here from parasyte/pixels#49. I seem to have lost the original driver, but windows update installed 25.20.100.6444 for me which also crashes.
I ran the tringle example from ash. The access violation seems to happen somewhere in Swapchain::create_swapchain
I was able to step ìnto with the debugger until the call to self.create_swapchain_khr
in vk.rs:53882
I don't have much experience debugging stuff like this (especially on windows). Let me know, if there is anything else I can provide.
In the original issue it was mentioned the wpgu's cube example works. But I can't get the cube example to run on Intel, it uses Nvidia even when I pass PowerPreference::LowPower
in framework.rs
Thanks for the info @pluth ! @parasyte we already have limited feature blacklisting but we aren't checking for the driver version yet. Let this issue be a task to add this case.
I also have this problem (as described here) when using Intel HD Graphics 4600 on an Intel Core i7-4790K, driver version 20.19.15.5126, which Intel Driver & Support Assistant
says is the latest version.
@ceranco it may very well be that Intel isn't interested in updating the driver for this GPU, since it's quite old...
Short info header:
gfx-hal 0.4.0
Adapter Vulkan AdapterInfo { name: "Intel(R) UHD Graphics 630", vendor: 32902, device: 16027, device_type: IntegratedGpu }
24.20.100.6195
and25.20.100.6444
See https://github.com/parasyte/pixels/issues/49#issuecomment-575665724 for additional information. Updating to driver version
26.20.100.7584
fixes the crash.I think you might want to blacklist these old drivers that can cause crashes. The original report was filed against
pixels
, which only draws a single textured quad. Nothing fancy...