Title: Software crashed when I run vsgExamples/examples/commands/vsgexecutecommands · vsg-dev/VulkanSceneGraph · Discussion #1663 · GitHub
Open Graph Title: Software crashed when I run vsgExamples/examples/commands/vsgexecutecommands · vsg-dev/VulkanSceneGraph · Discussion #1663
X Title: Software crashed when I run vsgExamples/examples/commands/vsgexecutecommands · vsg-dev/VulkanSceneGraph · Discussion #1663
Description: Software crashed when I run vsgExamples/examples/commands/vsgexecutecommands
Open Graph Description: When I run the 'vsgexecutecommands' example, the software crashes. The command line shows "Using SecondaryCommandGraph and ExecuteCommands",and the window displays a white screen. My operating envi...
X Description: When I run the 'vsgexecutecommands' example, the software crashes. The command line shows "Using SecondaryCommandGraph and ExecuteCommands",and the window displays a white screen....
Opengraph URL: https://github.com/vsg-dev/VulkanSceneGraph/discussions/1663
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Software crashed when I run vsgExamples/examples/commands/vsgexecutecommands","text":"When I run the 'vsgexecutecommands' example, the software crashes.
\nThe command line shows \"Using SecondaryCommandGraph and ExecuteCommands\",and the window displays a white screen.
\nMy operating environment:
\nCPU: Intel Core i7-12700
\nGPU:NVIDIA GeForce RTX 3060
\nRAM:32GB
\nOperating System:windows 11
\nEditor: Visual Studio 2019
\nVulkan: x64 1.4.335.0
\nVSG:1.1.11
\nvsgXchange:1.1.7
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"I have reproduce the crash on my system with VSG/vsgExamples master and created a Issue for this bug.
\nI then investigated the issue and found the regression was caused by the SecondaryCommandGraph's connection of the CommandBuffer and State objects not handling the addition of lazy state updating that was add to State.
\nWhen I added the lazy state updating support (for performance reasons) I modified the the CommandGraph implementation uses the new State::connect(commandBuffer) function but missed updating the similar SecondaryCommandGraph code to use these new method. This meant that CommandBuffer and State objects that needed to be connected in a particular way
\nThe fix ended up being very simply - just replacing the pointer assignment with a State::connect(..) call, this fix is now merged with VSG master and will be part of the up coming 1.1.14 release that I'll make later this week.
","upvoteCount":1,"url":"https://github.com/vsg-dev/VulkanSceneGraph/discussions/1663#discussioncomment-15627399"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:afbdc6f2-bacd-83ce-0cd1-b904fff74daf |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | 84DE:21AE9A:451C5A1:5B077A2:698C5EC4 |
| html-safe-nonce | 34b52ba8fa6906a50951f43769c7b3f31d7fcd543aed625b3c446db095335e34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NERFOjIxQUU5QTo0NTFDNUExOjVCMDc3QTI6Njk4QzVFQzQiLCJ2aXNpdG9yX2lkIjoiNTcwNTc1OTc5ODQ3MDY2Mzg3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bb113cc529c5cee194b7f95ee2dd19bb431b2885f7bce38012e2beaf4422b44f |
| hovercard-subject-tag | discussion:9397616 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/vsg-dev/VulkanSceneGraph/1663/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/9a0b98d65c24d417fc179bb5ad024780e786a7efebc3baf99b770e575983171b/vsg-dev/VulkanSceneGraph/discussions/1663 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a0b98d65c24d417fc179bb5ad024780e786a7efebc3baf99b770e575983171b/vsg-dev/VulkanSceneGraph/discussions/1663 |
| og:image:alt | When I run the 'vsgexecutecommands' example, the software crashes. The command line shows "Using SecondaryCommandGraph and ExecuteCommands",and the window displays a white screen. My operating envi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/vsg-dev/VulkanSceneGraph git https://github.com/vsg-dev/VulkanSceneGraph.git |
| octolytics-dimension-user_id | 44898258 |
| octolytics-dimension-user_login | vsg-dev |
| octolytics-dimension-repository_id | 148609004 |
| octolytics-dimension-repository_nwo | vsg-dev/VulkanSceneGraph |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 148609004 |
| octolytics-dimension-repository_network_root_nwo | vsg-dev/VulkanSceneGraph |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width