<p>I'm following <a href="https://vulkan-tutorial.com/Introduction" rel="nofollow noreferrer">this tutorial on Vulkan</a> and I tried to see if it actually worked with different queues for drawing and presenting the image of the triangle. <a href="https://vulkan.gpuinfo.org/displayreport.php?id=2675#queuefamilies" rel="nofollow noreferrer">My GPU supports presentation with every queue family</a> but it actually works only when I use a queue from the first or second family, not the third. Is there anything wrong with the code or is something like that possible?</p>

CC BY-SA 4.0
2020-04-09T17:28:34.323Z
Please provide the code where you verify that the queue family you are using does in fact support presentation. Also, show the code where you perform a present operation on a queue from that family.
Nicol Bolas
CC BY-SA 4.0
2020-04-09T19:17:56.160Z
[This is the code](https://vulkan-tutorial.com/code/15_hello_triangle.cpp).
E.s
CC BY-SA 4.0
2020-04-10T07:28:05.913Z
Clearly, that's not your code.
j00hi
CC BY-SA 4.0
2020-04-14T06:40:10.323Z
@j00hi TBH I can't see that he has asserted that was 'his' code but just that he was using that tutorial.
Simon F
CC BY-SA 4.0
2020-04-14T14:15:15.510Z
@SimonF Maybe my comment was a bit misleading --- it wasn't meant to be directed towards code ownership or copyright issues. What I actually wanted to point out: The tutorial code uses the same queue for drawing and presentation. We can not see the code changes w.r.t. "different queues for drawing and presenting the image". Therefore, we can not help if the code changes are not provided.
j00hi
<c++><gpu><vulkan>
Queue from a family queue that supports presentation doesn't work [Vulkan]
E.s
# Queue from a family queue that supports presentation doesn't work [Vulkan]

(Asked by: username_0 on 2020-04-09)

I'm following [this tutorial on Vulkan](https://vulkan-tutorial.com/Introduction) and I tried to see if it actually worked with different queues for drawing and presenting the image of the triangle. [My GPU supports presentation with every queue family](https://vulkan.gpuinfo.org/displayreport.php?id=2675#queuefamilies) but it actually works only when I use a queue from the first or second family, not the third. Is there anything wrong with the code or is something like that possible?

**Tags:** c++, gpu, vulkan

> **Comments:**
> **username_1**: Please provide the code where you verify that the queue family you are using does in fact support presentation. Also, show the code where you perform a present operation on a queue from that family.  
> **username_0**: [This is the code](https://vulkan-tutorial.com/code/15_hello_triangle.cpp).  
> **username_2**: Clearly, that's not your code.  
> **username_3**: @username_2 TBH I can't see that he has asserted that was 'his' code but just that he was using that tutorial.  
> **username_2**: @username_3 Maybe my comment was a bit misleading --- it wasn't meant to be directed towards code ownership or copyright issues. What I actually wanted to point out: The tutorial code uses the same queue for drawing and presentation. We can not see the code changes w.r.t. "different queues for drawing and presenting the image". Therefore, we can not help if the code changes are not provided.  

---

## 0 answers

