<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>862</bug_id>
          
          <creation_ts>2013-10-17 23:09:15 +0200</creation_ts>
          <short_desc>NVidia GTX550 driver 331.13 - 64bit Linux - No compatibility GLProfile (GL2, &gt;= GL3bc)</short_desc>
          <delta_ts>2013-10-19 02:50:29 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>pc_all</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>askinner</cc>
    
    <cc>gouessej</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>34b35c5a0a379a6b4c0b23b9d347a0b1338f0239</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3118</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-17 23:09:15 +0200</bug_when>
    <thetext>The following has been reported ..
  NVidia GTX550 driver 331.13 - 64bit Linux - No GLProfile

Next step: validate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3120</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-18 03:29:50 +0200</bug_when>
    <thetext>Work here w/ NV 331.13

Platform: LINUX / Linux 3.7.1-x64-k10-nlb-jau01 (3.7.1), amd64 (arch), GENERIC_ABI, 8 cores
MachineDescription: runtimeValidated true, littleEndian true, 32Bit false, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    8 / 8
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 16
  pointer 8 / 8, page    4096
Platform: Java Version: 1.7.0_45 (1.7.0u45), VM: Java HotSpot(TM) 64-Bit Server VM, Runtime: Java(TM) SE Runtime Environment


GL Profile     GLProfile[GL4/GL4.hw]
GL Version     4.3 (Core profile, arb, ES2 compat, ES3 compat, FBO, hardware) - 4.3.0 NVIDIA 331.13 [GL 4.3.0, vendor 331.13.0 (NVIDIA 331.13)]
Quirks         []
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    GeForce GTX 660/PCIe/SSE2
GL_VERSION     4.3.0 NVIDIA 331.13
GLSL           true, has-compiler-func: true, version: 4.30 NVIDIA via Cg compiler / 4.30.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3121</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-18 05:02:02 +0200</bug_when>
    <thetext>reduced prio/impact .. since not reproduced here, will close if nobody is able to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3123</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-10-18 09:57:45 +0200</bug_when>
    <thetext>(In reply to comment #0)
&gt; The following has been reported ..
&gt;   NVidia GTX550 driver 331.13 - 64bit Linux - No GLProfile
&gt; 
&gt; Next step: validate

There was already a similar problem under OpenSUSE and it was caused by the presence of the JARs containing the native libraries for Android, I fixed this bug with your help several months ago by preventing the loading of those natives when we&apos;re not under Android. I assume that it&apos;s no longer reproducible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3129</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-18 22:19:43 +0200</bug_when>
    <thetext>not reproducible</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3130</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-18 22:20:19 +0200</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #0)
&gt; &gt; The following has been reported ..
&gt; &gt;   NVidia GTX550 driver 331.13 - 64bit Linux - No GLProfile
&gt; &gt; 
&gt; &gt; Next step: validate
&gt; 
&gt; There was already a similar problem under OpenSUSE and it was caused by the
&gt; presence of the JARs containing the native libraries for Android, I fixed
&gt; this bug with your help several months ago by preventing the loading of
&gt; those natives when we&apos;re not under Android. I assume that it&apos;s no longer
&gt; reproducible.

thank you for mentioning it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3133</commentid>
    <comment_count>6</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-18 22:41:59 +0200</bug_when>
    <thetext>On said system, no compatibility profile could be created, i.e. GL2, GL3bc ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3134</commentid>
    <comment_count>7</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-19 02:50:29 +0200</bug_when>
    <thetext>    Fix GL Version Validation:
      We shall not rely on our known good versions when validating a queried GL context version,
      but allow some &apos;room&apos; for a higher version post JOGL release while still
      cutting off &apos;odd versions&apos;.
    
      While GL version detection, we always iterate from the highest known version
      down to the lowest. Hence &apos;GLContext.isValidGLVersion(..)&apos; is satisfied
      by validating the lowest version number but allowing a higher than known one.
    
      Now we would return &apos;invalid&apos; for a version &gt;= 6.
    
      It is enough to clip to the maximum known version when iterating,
      allowing the highest unknown version to be available.
    
      GLContext.isValidGLVersion(..):
        Returns true, if the major.minor is not inferior to the lowest
        valid version and does not exceed the highest known major number by more than one.
    
        The minor version number is ignored by the upper limit validation
        and the major version number may exceed by one.
    
        The upper limit check is relaxed since we don&apos;t want to cut-off
        unforseen new GL version since the release of JOGL.
    
        Hence it is important to iterate through GL version from the upper limit
        and &apos;decrementGLVersion(..)&apos; until invalid.

    Add GL Version 4.4 to valid known versions.
    
    Remove ES3 desktop detection, which is impossible
      Regression of commit 3a0d7703da32e9a5ddf08a334f18588a78038d88 (ES3 support)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>