René's URL Explorer Experiment


Title: Semaphore signalling issue with Win32 · vsg-dev/VulkanSceneGraph · Discussion #1620 · GitHub

Open Graph Title: Semaphore signalling issue with Win32 · vsg-dev/VulkanSceneGraph · Discussion #1620

X Title: Semaphore signalling issue with Win32 · vsg-dev/VulkanSceneGraph · Discussion #1620

Description: Semaphore signalling issue with Win32

Open Graph Description: Hello, I'm looking to migrate an OSG based windows application to VSG, and as a starting point I'm attempting to create a minimal sandbox application roughly following the vsgwin32 example. VSG cre...

X Description: Hello, I'm looking to migrate an OSG based windows application to VSG, and as a starting point I'm attempting to create a minimal sandbox application roughly following the vsgwin32 example....

Opengraph URL: https://github.com/vsg-dev/VulkanSceneGraph/discussions/1620

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Semaphore signalling issue with Win32","text":"

Hello,

\n

I'm looking to migrate an OSG based windows application to VSG, and as a starting point I'm attempting to create a minimal sandbox application roughly following the vsgwin32 example.

\n

VSG creates a window and gets as far as the first frame, but then runs into a semaphore signalling issue:

\n
Validation Error: [ VUID-vkQueueSubmit-pSignalSemaphores-00067 ] | MessageID = 0x539277af\nvkQueueSubmit(): pSubmits[0].pSignalSemaphores[0] (VkSemaphore 0x30000000003) is being signaled by VkQueue 0x17b7c8bf778, but it may still be in use by VkSwapchainKHR 0x200000000020.\nHere are the most recently acquired image indices: [0], 1.\n(brackets mark the last use of VkSemaphore 0x30000000003 in a presentation operation)\nSwapchain image 0 was presented but was not re-acquired, so VkSemaphore 0x30000000003 may still be in use and cannot be safely reused with image index 1.\nVulkan insight: One solution is to assign each image its own semaphore. Here are some common methods to ensure that a semaphore passed to vkQueuePresentKHR is not in use and can be safely reused:\n        a) Use a separate semaphore per swapchain image. Index these semaphores using the index of the acquired image.\n        b) Consider the VK_KHR_swapchain_maintenance1 extension. It allows using a VkFence with the presentation operation.\nThe Vulkan spec states: Each binary semaphore element of the pSignalSemaphores member of any element of pSubmits must be unsignaled when the semaphore signal operation it defines is executed on the device (https://vulkan.lunarg.com/doc/view/1.4.321.1/windows/antora/spec/latest/chapters/cmdbuffers.html#VUID-vkQueueSubmit-pSignalSemaphores-00067)\nObjects: 2\n    [0] VkSemaphore 0x30000000003\n    [1] VkQueue 0x17b7c8bf778\n\nValidation Error: [ VUID-vkQueueSubmit-pSignalSemaphores-00067 ] | MessageID = 0x539277af\nvkQueueSubmit(): pSubmits[0].pSignalSemaphores[0] (VkSemaphore 0x30000000003) is being signaled by VkQueue 0x17b7c8bf778, but it may still be in use by VkSwapchainKHR 0x200000000020.\nHere are the most recently acquired image indices: 0, [1], 2.\n(brackets mark the last use of VkSemaphore 0x30000000003 in a presentation operation)\nSwapchain image 1 was presented but was not re-acquired, so VkSemaphore 0x30000000003 may still be in use and cannot be safely reused with image index 2.\nVulkan insight: One solution is to assign each image its own semaphore. Here are some common methods to ensure that a semaphore passed to vkQueuePresentKHR is not in use and can be safely reused:\n        a) Use a separate semaphore per swapchain image. Index these semaphores using the index of the acquired image.\n        b) Consider the VK_KHR_swapchain_maintenance1 extension. It allows using a VkFence with the presentation operation.\nThe Vulkan spec states: Each binary semaphore element of the pSignalSemaphores member of any element of pSubmits must be unsignaled when the semaphore signal operation it defines is executed on the device (https://vulkan.lunarg.com/doc/view/1.4.321.1/windows/antora/spec/latest/chapters/cmdbuffers.html#VUID-vkQueueSubmit-pSignalSemaphores-00067)\nObjects: 2\n    [0] VkSemaphore 0x30000000003\n    [1] VkQueue 0x17b7c8bf778\n
\n

I'd appreciate any advice about what I've missed. I haven't implemented any custom window classes or event handling as it wasn't needed with OSG, are extra steps needed for VSG?

","upvoteCount":1,"answerCount":3,"acceptedAnswer":{"@type":"Answer","text":"

This is known issue with some drivers, it's more of validation issue than a bug that causes runtime issues, as I've never known any runtime problems to be traced back to validation issue, so for now you'll probably get on just fine ignoring it.

\n

This issue has a few potential ways to quieten this validation issue but I haven't yet had a chance to sit down a explore these. Once I've got some time I'll dive into the topic and will likely be making calls for testing across different OS, builds and hardware systems to make sure any changes don't introduce new problems.

","upvoteCount":1,"url":"https://github.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15198982"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:b723d6b7-9cb6-12d9-0dd5-e8502dd1951c
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-id8692:12D09:A277CAA:D7AE8BE:698C16F0
html-safe-nonce9afbb755a5a827ef2731a4ee85fa391c6142fdb9d766d5e55afaf89b548a772f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjkyOjEyRDA5OkEyNzdDQUE6RDdBRThCRTo2OThDMTZGMCIsInZpc2l0b3JfaWQiOiIxMTAzNTE0MDkyMzkwMDYxODA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5555024990f91502f94d57d5a3aabfb9ed78020cb360a74beb58dc7f91c85cb5
hovercard-subject-tagdiscussion:9224108
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/vsg-dev/VulkanSceneGraph/1620/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/3d6e714f94853091a97eefde02aaa112da4eddd4c12551f20bc44330652ab0b2/vsg-dev/VulkanSceneGraph/discussions/1620
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d6e714f94853091a97eefde02aaa112da4eddd4c12551f20bc44330652ab0b2/vsg-dev/VulkanSceneGraph/discussions/1620
og:image:altHello, I'm looking to migrate an OSG based windows application to VSG, and as a starting point I'm attempting to create a minimal sandbox application roughly following the vsgwin32 example. VSG cre...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4
turbo-cache-controlno-preview
go-importgithub.com/vsg-dev/VulkanSceneGraph git https://github.com/vsg-dev/VulkanSceneGraph.git
octolytics-dimension-user_id44898258
octolytics-dimension-user_loginvsg-dev
octolytics-dimension-repository_id148609004
octolytics-dimension-repository_nwovsg-dev/VulkanSceneGraph
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id148609004
octolytics-dimension-repository_network_root_nwovsg-dev/VulkanSceneGraph
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3d444f0a47beeeac94cddbb51c91ab408befe8d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvsg-dev%2FVulkanSceneGraph%2Fdiscussions%2F1620
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvsg-dev%2FVulkanSceneGraph%2Fdiscussions%2F1620
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=vsg-dev%2FVulkanSceneGraph
Reloadhttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
Reloadhttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
Reloadhttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
vsg-dev https://patch-diff.githubusercontent.com/vsg-dev
VulkanSceneGraphhttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fvsg-dev%2FVulkanSceneGraph
Fork 266 https://patch-diff.githubusercontent.com/login?return_to=%2Fvsg-dev%2FVulkanSceneGraph
Star 1.7k https://patch-diff.githubusercontent.com/login?return_to=%2Fvsg-dev%2FVulkanSceneGraph
Code https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph
Issues 31 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/issues
Pull requests 13 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/pulls
Discussions https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions
Actions https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/actions
Projects 0 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/projects
Security 0 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/security
Insights https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/pulse
Code https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph
Issues https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/issues
Pull requests https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/pulls
Discussions https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions
Actions https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/actions
Projects https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/projects
Security https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/security
Insights https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/pulse
Answered https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15198982
robertosfieldhttps://patch-diff.githubusercontent.com/robertosfield
rowanpreston-mnl https://patch-diff.githubusercontent.com/rowanpreston-mnl
Q&Ahttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/categories/q-a
Semaphore signalling issue with Win32 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#top
rowanpreston-mnl https://patch-diff.githubusercontent.com/rowanpreston-mnl
Answered https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15198982
robertosfieldhttps://patch-diff.githubusercontent.com/robertosfield
Return to tophttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#top
Please reload this pagehttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
rowanpreston-mnl https://patch-diff.githubusercontent.com/rowanpreston-mnl
Dec 8, 2025 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussion-9224108
Give feedback.https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
robertosfield https://patch-diff.githubusercontent.com/robertosfield
Dec 8, 2025 https://github.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15198982
View full answer https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15198982
Oldest https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620?sort=old
Newest https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620?sort=new
Top https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
robertosfield https://patch-diff.githubusercontent.com/robertosfield
Dec 8, 2025 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15198982
Give feedback.https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
rowanpreston-mnlhttps://patch-diff.githubusercontent.com/rowanpreston-mnl
Please reload this pagehttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
AnyOldName3 https://patch-diff.githubusercontent.com/AnyOldName3
Dec 9, 2025 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15211408
#1558https://github.com/vsg-dev/VulkanSceneGraph/issues/1558
#1597https://github.com/vsg-dev/VulkanSceneGraph/issues/1597
#1559https://github.com/vsg-dev/VulkanSceneGraph/pull/1559
Give feedback.https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
Please reload this pagehttps://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
rowanpreston-mnl https://patch-diff.githubusercontent.com/rowanpreston-mnl
Dec 10, 2025 https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620#discussioncomment-15217366
Give feedback.https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvsg-dev%2FVulkanSceneGraph%2Fdiscussions%2F1620
🙏 Q&A https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/categories/q-a
https://patch-diff.githubusercontent.com/rowanpreston-mnl
https://patch-diff.githubusercontent.com/robertosfield
https://patch-diff.githubusercontent.com/AnyOldName3
https://patch-diff.githubusercontent.com/vsg-dev/VulkanSceneGraph/discussions/1620
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.