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 3 of 3

Thread: GL_MAX_VARYING_FLOATS reported as "unacceptable value" on NVidia GTX 1080

  1. #1
    Intern Contributor
    Join Date
    Nov 2011
    Posts
    61

    Question GL_MAX_VARYING_FLOATS reported as "unacceptable value" on NVidia GTX 1080

    Hello,

    does anybody know why

    Code :
    GLint result;
    glGetIntegerv(GL_MAX_VARYING_FLOATS, &result);

    results in

    An unacceptable value is specified for an enumerated argument. The offending command is ignored and has no other side effect than to set the error flag. (Code: 1280)
    when checking with glGetError()? I am using OpenGL 3.2 Core Profile context.

    Thanks!

    [Anzeige]
    Betriebssystem: Windows 10 Home, 64-bit
    DirectX-Version: 12.0
    GPU-Prozessor: GeForce GTX 1080
    Treiberversion: 368.39
    Video-BIOS-Version: 86.04.17.00.01


    [Komponenten]

    NvUpdtr.dll 2.11.3.5 NVIDIA Update Components
    NvUpdt.dll 2.11.3.5 NVIDIA Update Components
    nvui.dll 8.17.13.6839 NVIDIA User Experience Driver Component
    nvxdsync.exe 8.17.13.6839 NVIDIA User Experience Driver Component
    nvxdplcy.dll 8.17.13.6839 NVIDIA User Experience Driver Component
    nvxdbat.dll 8.17.13.6839 NVIDIA User Experience Driver Component
    nvxdapix.dll 8.17.13.6839 NVIDIA User Experience Driver Component
    NVCPL.DLL 8.17.13.6839 NVIDIA User Experience Driver Component
    nvCplUIR.dll 8.1.900.0 NVIDIA Control Panel
    nvCplUI.exe 8.1.900.0 NVIDIA Control Panel
    nvWSSR.dll 6.14.13.6839 NVIDIA Workstation Server
    nvWSS.dll 6.14.13.6839 NVIDIA Workstation Server
    nvViTvSR.dll 6.14.13.6839 NVIDIA Video Server
    nvViTvS.dll 6.14.13.6839 NVIDIA Video Server
    nvLicensingS.dll 6.14.13.6839 NVIDIA Licensing Server
    NVSTVIEW.EXE 7.17.13.6839 NVIDIA 3D Vision Photo Viewer
    NVSTTEST.EXE 7.17.13.6839 NVIDIA 3D Vision Test Application
    NVSTRES.DLL 7.17.13.6839 NVIDIA 3D Vision Module
    nvDispSR.dll 6.14.13.6839 NVIDIA Display Server
    NVMCTRAY.DLL 8.17.13.6839 NVIDIA Media Center Library
    nvDispS.dll 6.14.13.6839 NVIDIA Display Server
    PhysX 09.16.0318 NVIDIA PhysX
    NVCUDA.DLL 6.14.13.6839 NVIDIA CUDA 8.0.0 driver
    nvGameSR.dll 6.14.13.6839 NVIDIA 3D Settings Server
    nvGameS.dll 6.14.13.6839 NVIDIA 3D Settings Server
    ++i--;

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,999
    Are you using a forward-compatible context? Appendix E.2.1 of the OpenGL 3.2 specification says:

    E.2.1 Deprecated But Still Supported Features

    The following features are deprecated, but still present in the core profile. They may be removed from a future version of OpenGL, and are removed in a forward-compatible context implementing the core profile.

    * Wide lines - LineWidth values greater than 1.0 will generate an INVALID_VALUE error.

    * Global component limit query - the implementation-dependent values MAX_VARYING_COMPONENTS and MAX_VARYING_FLOATS.

  3. #3
    Intern Contributor
    Join Date
    Nov 2011
    Posts
    61
    Thank you so much! That was indeed the problem.

    I removed the forward-compatible bit flag as recommended here and now the problem is gone!
    ++i--;

Posting Permissions

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