# Framebuffer has an attachment error

**URL:** <https://discourse.slicer.org/t/framebuffer-has-an-attachment-error/2390>\
**Category:** Support\
**Tags:** volume-rendering\
**Created:** [March 21, 2018, 6:42pm UTC](https://discourse.slicer.org/t/framebuffer-has-an-attachment-error/2390 "2018-03-21T18:42:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 21, 2018, 6:43pm UTC](https://discourse.slicer.org/t/framebuffer-has-an-attachment-error/2390/1 "2018-03-21T18:43:00Z")

</div>

I have a volume that I had successfully rendered once. When I turn rendering on/off, I start receiving this exact error and get a solid white 3D rendering window.

This is on a i7 laptop with intel and nvidia GPU. I made the settings to use nvidia for the slicer-real.exe.

Warning: In D:\D\P\Slicer-481\Libs\MRML\Core\vtkObserverManager.cxx, line 131  
vtkObserverManager (000001A79CC91C10): The same object is already observed with the same priority. The observation is kept as is.

framebuffer has an attachment error  
framebuffer has an attachment error  
framebuffer has an attachment error  
framebuffer has an attachment error  
after try to load the texture ERROR (x501) Invalid value  
framebuffer has an attachment error  
framebuffer has an attachment error  
framebuffer has an attachment error  
framebuffer has an attachment error

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 21, 2018, 7:21pm UTC](https://discourse.slicer.org/t/framebuffer-has-an-attachment-error/2390/2 "2018-03-21T19:21:37Z")

</div>

What is the volume size in voxels? How much GPU memory did you set in the volume rendering module?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 21, 2018, 8:00pm UTC](https://discourse.slicer.org/t/framebuffer-has-an-attachment-error/2390/3 "2018-03-21T20:00:56Z")

</div>

This card has 4GB of memory, which is what I set in Slicer. Volume is 412x664x370 and has short data type.  
It happens after I tried to render a dataset that was too big. But this volume itself should fit the memory.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 21, 2018, 9:20pm UTC](https://discourse.slicer.org/t/framebuffer-has-an-attachment-error/2390/4 "2018-03-21T21:20:32Z")

</div>

Try to decrease the GPU memory allocation to 1-2GB.
