#Switch rendering backend

7 messages · Page 1 of 1 (latest)

vagrant swan
#

How do I tell bevy which rendering backend should it use? My app starts with vulkan backend and crashes with access violation, I want to try switching to dx12 and see if it helps

last cliff
vagrant swan
#

Thanks man! This helped, indeed setting it to vulkan explicitly solves the crash. This is not ideal , but unblocks me :🎉

fast mortar
#

It should be using vulkan automatically if you're on windows/linux.

#

If it's not, that's probably a bug in wgpu

vagrant swan
#

the thing is : I'm not sure. From the logs it seems like it's using vulkan, but it's crashing for some reason. After setting vulkan explicitly the problem goes away.

fast mortar
#

Defeinitly shouldn't be happening. Try the wgpu examples and see if you can reproduce there, and report a bug to them.