Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 63

Thread: NVIDIA releases OpenGL 4.3 beta drivers

  1. #41
    Intern Contributor
    Join Date
    Mar 2010
    Posts
    58
    Thanks for the bug report. The issue with "sharedBuf[1 + gl_LocalInvocationID.x]" under Linux will be fixed in the next OpenGL 4.3 beta driver, which is scheduled for the end of next week.

    The issue reported by JakobProgsch with "local[localindex+128] = localindex+128;" should also be fixed then.

  2. #42
    Junior Member Newbie
    Join Date
    Apr 2012
    Posts
    13
    Hi,

    Is there a lack of support for glDebugMessageCallback running on linux beta driver?

    Thank you.

  3. #43
    Member Regular Contributor malexander's Avatar
    Join Date
    Aug 2009
    Location
    Ontario
    Posts
    304
    Is there a lack of support for glDebugMessageCallback running on linux beta driver?
    I've been using it successfully on Ubuntu 11.04 64b (driver 304.15.00.02). Have you declared you callback function with APIENTRY? Here's the declaration I use:

    Code :
    static void APIENTRY
    showDebugOutput(GLenum source, GLenum type, GLuint id, GLenum severity,
              GLsizei length, const RE_GLchar *message, GLvoid *userParam)

  4. #44
    Junior Member Newbie
    Join Date
    Apr 2012
    Posts
    13
    Hi malexander. I am using the following code. My issue is that glDebugMessageCallback is null at runtime using freeglut and GLEW (both are latest version).
    I also posted more code in a different thread: http://www.opengl.org/discussion_boa...44#post1242744

    My system is ubuntu 12.04 x64 with nVidia 304.15 beta drivers.

    Code :
    static void debugLog(GLenum source, GLenum type, GLuint id,
        GLenum severity, GLsizei /*length*/, const GLchar *message,
        void * /*userParam*/) {
        std::cerr << " -- \n" << "Type: " << getStringForType(type).c_str() <<
        "; Source: " << getStringForSource(source).c_str() << "; ID: " << id <<
        "; Severity: " << getStringForSeverity(severity).c_str() << "\n" <<
        message << std::endl;
    }

  5. #45
    Member Regular Contributor malexander's Avatar
    Join Date
    Aug 2009
    Location
    Ontario
    Posts
    304
    Perhaps freeglut/GLEW is the issue then. I'm using direct glX calls to get the function pointer to glDebugMessageCallback (glXGetProcAddressARB).

  6. #46
    Junior Member Newbie
    Join Date
    Apr 2012
    Posts
    13
    I filed a bug on glew, so hopefully an answer will come soon.

  7. #47
    Junior Member Newbie
    Join Date
    Apr 2012
    Posts
    13
    After moving to the new nvidia beta drivers AND defining GL_GLEXT_PROTOTYPES, glDebugMessageCallback works. The previous driver reported missing glDebugMessageCallback/ARB as missing when I ran glewinfo.

  8. #48
    Junior Member Regular Contributor
    Join Date
    Mar 2009
    Posts
    152
    Texture sampling in Compute Shader always return vec4(0).
    I use sampler2D in the shader and create texture like this:

    Code :
    glGenTextures(1, &m_texture);
    glActiveTexture(GL_TEXTURE0);
    glBindTexture(GL_TEXTURE_2D, m_texture);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
    Last edited by randall; 10-04-2012 at 08:53 AM.

  9. #49
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    Just for the sake of completeness, what texture functions are you using in your shader?

  10. #50
    Junior Member Regular Contributor
    Join Date
    Mar 2009
    Posts
    152
    Quote Originally Posted by Alfonse Reinheart View Post
    Just for the sake of completeness, what texture functions are you using in your shader?
    I have tried various functions: texelFetch, texture, textureProj, textureProjOffset, textureLodOffset, texelFetchOffset.

Tags for this Thread

Posting Permissions

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