A provided enum value is not accepted by this operation...

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

A provided enum value is not accepted by this operation...

cubus
hi,

using gDEBugger and enabling the NVIDIA Driver Instrumentation i get tons of these messages.
for example, here are the messages produced when calling GLProfile.get(GLProfile.GL4).

*********************************************************************
BEFORE GLProfile.get(GLProfile.GL4)
*********************************************************************
Console opened at 18:40:48 03-Apr-13
OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <target>
      or <pname> require feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <target>
      or <pname> require feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <target>
      or <pname> require feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <target>
      or <pname> require feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      requires feature(s) disabled in the current profile.

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      enum is invalid; expected GL_TEXTURE_ENV_MODE,
      GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
      GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      enum is invalid; expected GL_TEXTURE_ENV_MODE,
      GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
      GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      enum is invalid; expected GL_TEXTURE_ENV_MODE,
      GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
      GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).

OGLE: Category: 0x00000001, MessageID: 0x00800001
      A provided enum value is not accepted by this operation:  <pname>
      enum is invalid; expected GL_TEXTURE_ENV_MODE,
      GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
      GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).

*********************************************************************
AFTER GLProfile.get(GLProfile.GL4)
*********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: A provided enum value is not accepted by this operation...

Sven Gothel
Administrator
On 04/03/2013 06:52 PM, cubus [via jogamp] wrote:
> hi,
>
> using gDEBugger and enabling the NVIDIA Driver Instrumentation i get tons of
> these messages.
> for example, here are the messages produced when calling
> GLProfile.get(GLProfile.GL4).

Pls check our bug report FAQ (we need more details from your platform)!

You may run w/
  -Djogl.debug.DebugGL -Djogl.debug.TraceGL

DebugGL also uses the OpenGL debug features ..


> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
>
> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
>
> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
>
> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
This is interesting, since we don't use TEXTURE_ENV_MODE
while initializing JOGL.

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: A provided enum value is not accepted by this operation...

cubus
Operating System Version (name) Windows Vista
Operating System Version (number) 6.0.6002
Number Of Processors 2
System Type x86

Renderer Vendor NVIDIA Corporation
Renderer Name GeForce GTX 670/PCIe/SSE2
Renderer Version 4.3.0
Shading Language Version 4.30 NVIDIA via Cg compiler
Renderer Type Installable client

Driver Version 314.22


Reply | Threaded
Open this post in threaded view
|

Re: A provided enum value is not accepted by this operation...

cubus
maybe these messages are caused by gDEBugger when it queries from GLExpert?
Reply | Threaded
Open this post in threaded view
|

Re: A provided enum value is not accepted by this operation...

Sven Gothel
Administrator
On 04/03/2013 10:13 PM, cubus [via jogamp] wrote:
> maybe these messages are caused by gDEBugger when it queries from GLExpert?

whatever .. dunno

pls run tests w/ our debug flags enabled,
and one test w/ mentioned DebugGL and TraceGL ..

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: A provided enum value is not accepted by this operation...

cubus
with -Djogl.debug.DebugGL it produces exactly the same output.

with -Djogl.debug.DebugGL -Djogl.debug.TraceGL
*********************************************************************
BEFORE GLProfile.get(GLProfile.GL4)
*********************************************************************
equal output up to here

glGetString(<int> 0x1F00) = NVIDIA Corporation
*********************************************************************
AFTER GLProfile.get(GLProfile.GL4)
*********************************************************************