Skip to content

wrong timeout value at vkAcquireNextImageKHR() #51

@parkhw00

Description

@parkhw00

vkAcquireNextImageKHR() function accepts timeout value in nano-second unit. But, the timeout value is used as milli-second unit at mainloop_wayland(), mainloop_xcb() function as follow.

  result = vkAcquireNextImageKHR(vc->device, vc->swap_chain, 60,
                                 vc->semaphore, VK_NULL_HANDLE, &index);
  if (result != VK_SUCCESS)
     return;

Such a too short timeout value(60ns) causes program termination when screen lock or some other unstable compositor running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions