Loading RenderSystem_Vulkan
What happens if you try to load the RenderSystem_Vulkan plugin on a PC that does not have Vulkan installed on it? Does the load fail, or if it does, is there some other way of telling that it's not going to work?
Support and community hang-out spot for Ogre3D
https://forums.ogre3d.org/
What happens if you try to load the RenderSystem_Vulkan plugin on a PC that does not have Vulkan installed on it? Does the load fail, or if it does, is there some other way of telling that it's not going to work?
Hi!
The RenderSystem will be unavailable and the other RenderSystems would have to be used.
The config dialog (i.e. the one provided via mRoot->showConfigDialog + ogre.cfg + plugins.cfg) handles this. If you manually setup the RenderSystem, make sure to check if mRoot->getRenderSystemByName( "Vulkan Rendering Subsystem" ); returns a nullptr.
If you're manually using mRoot->loadPlugin() make sure to tag the Vulkan RenderSystem as optional (normally plugins.cfg handles calling loadPlugin, where the rendersystems are specified via the PluginOptional setting).
If the app crashes, it is likely an OgreNext bug.
There are two possibilities:
/usr/share/vulkan/icd.d (there may be more installed under ~/.local/share/vulkan/icd.d). Without those json files, the Vulkan loader doesn't know about the Vulkan drivers present.We talk a little about PluginOptional in the News post of 2.3's release.
Cheers
Matias