# Error Framebuffer Is Incomplete

**URL:** <https://spout.discourse.group/t/error-framebuffer-is-incomplete/345>\
**Category:** Support\
**Created:** [October 13, 2021, 9:37am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345 "2021-10-13T09:37:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulErnest](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@PaulErnest](https://spout.discourse.group/u/PaulErnest)\
**Post date:** [October 13, 2021, 9:37am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/1 "2021-10-13T09:37:34Z")

</div>

My sender to test my receiver looks like this :  
Spout 2.007 portable  
NVIDIA GeForce RTX 3090  
Compatible with OpenGL/DirectX interop

In my code, the receiver is setted :  
IsGLDxREady() true;  
Set.SetAdapter(0) to be sure that it use my “NVIDIA GeForce RTX 3090”.

The receiver is connected to the sender but can read the frame :  
My error is linked with the framebuffer Attachment in GetSharedTextureData :  
[error] FBO status error 36054 (0x8CD6) - GL\_FRAMEBUFFER\_INCOMPLETE\_ATTACHMENT\_EXT  
[error] spoutGLDXinterop::ReadTexture - ReadGLDXtexture failed

I link Spout library is linked with the CMakeLists like in the GitHub.  
I init OpenGL with glfw :  
glfwInit with GLFW\_CONTEXT\_VERSION\_MAJOR = 4 GLFW\_CONTEXT\_VERSION\_MINOR = 5

Any suggestion to help me with this issue ?

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [October 13, 2021, 11:53am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/2 "2021-10-13T11:53:34Z")

</div>

It’s hard to know without more details. Do you have any code that I can look at?

---

<div class="post-metadata">

**Author:** ![PaulErnest](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@PaulErnest](https://spout.discourse.group/u/PaulErnest)\
**Post date:** [October 13, 2021, 3:48pm UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/3 "2021-10-13T15:48:33Z")

</div>

Thanks for your reply.  
It’s part of a huge project so I have done a minimal example : [GitHub - BiPaulEr/SpoutOpenGL](https://github.com/BiPaulEr/SpoutOpenGL) .  
The only class to look at is WindowsReceiver and maybe Texture.  
I have noticed that :  
I comment ReleaseTexture() (activated if ReceiveTexture return false) to keep the Receiver alive even if it can’t received the Texture. So now, if I create a sender, destroy it and create it again, it’s working.

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [October 14, 2021, 12:54am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/4 "2021-10-14T00:54:08Z")

</div>

Thanks for taking the time for this.

ReceiveTexture is not right if you include “ext/Spout/SpoutSDK/SpoutReceiver.h”. See line 63.

It looks like the Spout SDK source code files have been mixed with old versions. Try to replace all of them with those in the [current Master branch](https://github.com/leadedge/Spout2/tree/master/SPOUTSDK/SpoutGL).

I don’t know what the problem is with ReleaseTexture() with the mixed files, but if you get all the files up to date it should work out.

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [October 15, 2021, 3:38am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/5 "2021-10-15T03:38:17Z")

</div>

I think I found an missing update problem with the [documentation](https://spoutgl-site.netlify.app/) for using a sender list.  
(Files \> Docs \> Sender-list.txt)

After the user selects an index from the list, the receiver should be set to receive from that name.

— after the user selects an index. Check that it exists and switch to it —  
if (receiver.GetSender(index, SenderName)) {  
&nbsp;&nbsp;&nbsp;&nbsp;receiver.SetActiveSender(SenderName);  
&nbsp;&nbsp;&nbsp;&nbsp;receiver.SetReceiverName(SenderName);  
}

Please let me know if that works OK for you. How did the file change go?

---

<div class="post-metadata">

**Author:** ![PaulErnest](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@PaulErnest](https://spout.discourse.group/u/PaulErnest)\
**Post date:** [October 15, 2021, 7:04am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/6 "2021-10-15T07:04:34Z")

</div>

I have update my Spout Folder. And I have change “The mode of operation can be changed to enable the high performance NVIDIA graphics globally for **all applications.** ”. Before, I changed it only for the Spouts executables. Now, it’s working well.  
Thanks for your time !

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [October 15, 2021, 7:32am UTC](https://spout.discourse.group/t/error-framebuffer-is-incomplete/345/7 "2021-10-15T07:32:17Z")

</div>

OK that’s good to hear.  
I have made some changes to “SetReceiverName” so that it can be used after the user selects a new sender.either to connect to the nominated sender or to the active sender. Changes are in the Beta branch. I am also updating the documentation for the sender list and the website should be ready soon.
