Force compute compositor pipeline

Synchronization seems to fail with graphics pipeline
This commit is contained in:
Patrick Nicolas
2024-02-18 16:15:55 +01:00
parent e385e459ee
commit 0bc8380abb
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
command_buffer.begin(vk::CommandBufferBeginInfo{});
vk::Semaphore wait_semaphore = cn->semaphores.render_complete;
vk::PipelineStageFlags wait_stage = vk::PipelineStageFlagBits::eAllCommands;
vk::PipelineStageFlags wait_stage = vk::PipelineStageFlagBits::eComputeShader;
vk::SubmitInfo submit_info{
.waitSemaphoreCount = 1,
.pWaitSemaphores = &wait_semaphore,
+3
View File
@@ -262,6 +262,9 @@ int inner_main(int argc, char * argv[])
setenv("LISTEN_PID", std::to_string(getpid()).c_str(), true);
//FIXME: synchronization fails on gfx pipeline
setenv("XRT_COMPOSITOR_COMPUTE", "1", true);
try
{
return ipc_server_main(argc, argv);