Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 10 of 10

Thread: NVidia: 4096^2 FBO not working on GF7950GTX

Hybrid View

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Apr 2003
    Posts
    652

    NVidia: 4096^2 FBO not working on GF7950GTX

    I'm creating a GL_RGBA16F texture, 4096*4096, mipmapped.

    After that, for each mipmap level, I'm creating a FBO and attach the level to the FBO.
    This works for all levels down to level 1.
    However, for level 0 (4096x4096), glCheckFramebufferStatus suddenly returns GL_FRAMEBUFFER_UNSUPPORTED.

    GL_MAX_TEXTURE_SIZE is 4096
    GL_MAX_RENDERBUFFERS_IZE is 4096
    GL_MAX_VIEWPORT_DIMS is 4096x4096

    So, I'm assuming a bug in the driver.
    This was tested on a machine with Forceware 258.96 installed on a WinXP64 machine. The gfx card is a GF7950GTX (512MB)

  2. #2
    Member Regular Contributor malexander's Avatar
    Join Date
    Aug 2009
    Location
    Ontario
    Posts
    257

    Re: NVidia: 4096^2 FBO not working on GF7950GTX

    Just curious if a GL_RGBA8 texture works. Perhaps it's size of the buffer, in bytes, that's causing the unsupported error (128MB).

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Apr 2009
    Posts
    533

    Re: NVidia: 4096^2 FBO not working on GF7950GTX

    4096x4096 at GL_RGBA16F = 8*16MB =256MB which is half the total VRAM you have, might be that there is just not 256MB left.. though I'd think the creation of the texture memory would have failed... did you check for GL errors after each glTexImage2D call?

  4. #4
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,792

    Re: NVidia: 4096^2 FBO not working on GF7950GTX

    4096*4096*8 is 128MB, not 256.

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    Apr 2009
    Posts
    533

    Re: NVidia: 4096^2 FBO not working on GF7950GTX

    Oops, indeed it it which makes the error caused by out of memory not terribly likely.

  6. #6
    Advanced Member Frequent Contributor
    Join Date
    Apr 2003
    Posts
    652

    Re: NVidia: 4096^2 FBO not working on GF7950GTX

    Update:
    GL_RGBA8 works with 4096x4096 right away
    GL_RGBA16F works up to (and including) 3872x3872; any size above will result in GL_FRAMEBUFFER_UNSUPPORTED

    Disclaimer: by "works" I mean, it will create the texture and all its mipmap levels and attaching level 0 to an FBO results in GL_FRAMEBUFFER_COMPLETE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •