Closed mabysh closed 3 years ago
@mabysh thank you for filing! The crashes are not in wgpu-rs, they are in Vulkan validation layers. Please update your validation layers, or run in release (to avoid enabling them), and see how it goes.
@kvark I already have installed latest vulkan-validationlayers package from Ubuntu repositories. Are there any other ways for updating vulkan layers? Running examples in release mode helped for Vulkan backend indeed. But OpegGL is broken:
I don't remember if OpenGL backend worked for me in 0.6 releases, but Vulkan definitely worked in both debug and release modes on the same machine. Can anything be done to make it work in debug? Release not always suitable for developing.. Thanks!
@mabysh take a look at https://vulkan.lunarg.com/sdk/home#linux to get the latest SDK with the most recent validation layers. They have their own ubuntu packages.
@cwfitzgerald @kvark It's working now! Many thanks you guys for help, closing the issue.
OpenGL backend needs work, it's known to be very rough atm.
OS: Ubuntu 20.04 GPU: Intel UHD 620
Getting segmentation faults in examples: water, skybox, msaa-line, texture-arrays, shadow
Water Vulkan backend (backtrace using lldb)
OpenGL backend runs, but output is completely broken
Texture arrays Vulkan backend
OpenGl backend
Shadow Vulkan backend (using lldb)
OpenGL backend
Msaa line Vulkan (using lldb)
OpenGL backend
Skybox Vulkan (using lldb)
OpenGL backend
Please tell if you need more info. Thanks!