VSG module demos fail to start

55 views
Skip to first unread message

Lukas K

unread,
May 29, 2023, 5:29:55 PM5/29/23
to ProjectChrono
I build chrono development branch according to the instructions, without any errors and all is working fine, but I have problems with vsg demos. They crash just after run without displaying any graphics, with this message:

----

Warning: Device::getQueue(1, 0) failed to find any suitable Queue.

Warning: Device::getQueue(1, 0) failed to find any suitable Queue.


VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413(ERROR / SPEC): msgNum: -212053721 - Validation Error: [ VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413 ] Object 0: handle = 0x1a64bcdbb00, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf35c5127 | vkCreateGraphicsPipelines parameter, VkPolygonMode pCreateInfos[0]->pRasterizationState->polygonMode cannot be VK_POLYGON_MODE_POINT or VK_POLYGON_MODE_LINE if VkPhysicalDeviceFeatures->fillModeNonSolid is false. The Vulkan spec states: If the fillModeNonSolid feature is not enabled, polygonMode must be VK_POLYGON_MODE_FILL (https://vulkan.lunarg.com/doc/view/1.3.243.0/windows/1.3-extensions/vkspec.html#VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413)

Objects: 1

[0] 0x1a64bcdbb00, type: 3, name: NULL


Process terminated

----

Maybe someone has had the same issue and knows how to get vsg working correctly?

Radu Serban

unread,
May 30, 2023, 3:57:03 AM5/30/23
to ProjectChrono

Lukas,

 

Possibly an incompatibility between the VSG libraries and this latest version of Vulkan? I am successfully using Chrono::VSG with Vulkan 1.3.236.0.  You may want to try that version.

 

Always, especially when asking questions about configuring and building Chrono or any of its dependencies, please provide all relevant information, including:

  • What version of Chrono are you using?
  • How do you get the necessary dependencies (in this case, the VSG libraries)?
  • What versions do you use for the dependency packages (in this case, I infer you are using Vulkan 1.3.243 from that error message)
  • What OS are you using?
  • What version of CMake?
  • What compiler and compiler version?

 

All the above are important!

 

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/f9c30fb8-f23e-4f94-86ac-d9123fde8ff0n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages