<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mesa-libGL version compatability in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496755#M1527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is interesting because I received the above errors even with 8.0.5. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Makes me think I am having a more general system configuration issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 22:15:30 GMT</pubDate>
    <dc:creator>StephenBaier</dc:creator>
    <dc:date>2013-09-03T22:15:30Z</dc:date>
    <item>
      <title>mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496753#M1525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently working on Red Hat Enterprise Linux 6.4 (RHEL) compatability for my ArcGIS Java Runtime SDK 10.1.1 application, which utilizes an ArcGISLocalTiledLayer on a JMap. I generated the topography package (.tpk file) using ArcMap (on a Windows machine). The map works fine in Windows, but uses DirectX for rendering. The problem I am having on RHEL is OpenGL-based rendering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(1): &lt;/SPAN&gt;&lt;STRONG&gt;Does it matter that the .tpk was generated on Windows? Did I miss a check-box for OpenGL compatability?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the problem isn't related to (1), then:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(2): &lt;/SPAN&gt;&lt;STRONG&gt;Is there a maximum supported version of mesa-libGL?&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The system requirements help page states that mesa-libGL 7.10-1 is the required version. It also states: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The Linux patches from RHEL Server will be supported as long as the patches are from Red Hat without any modification to the latest kernel/glibc version.&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The version that RHEL Server lists of mesa-libGL is currently 9.0-0.8_4.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(3): &lt;/SPAN&gt;&lt;STRONG&gt;I have found it impossible to get to mesa-libGL 7.x without breaking OpenGL entirely, due to mesa-dri1-drivers minimal version.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When running my application using the current RHEL Server version, I receive the following error, leading to a segfault:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

m_shaders[1]-&amp;gt;init_graphics_hardware_resources() FAILED
Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

m_shaders[2]-&amp;gt;init_graphics_hardware_resources() FAILED
Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

m_shaders[3]-&amp;gt;init_graphics_hardware_resources() FAILED
Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

m_shaders[4]-&amp;gt;init_graphics_hardware_resources() FAILED
Shaders_manager::init_graphics_hardware_resources FAILED
Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'
0:2(1): error: syntax error, unexpected ERROR_TOK


Error linking program: error: linking with uncompiled shadererror: linking with uncompiled shader

#
# A fatal error has been detected by the Java Runtime Environment:
#
#&amp;nbsp; SIGSEGV (0xb) at pc=0x00007f98b0e1fcc0, pid=15007, tid=140292829189888
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C&amp;nbsp; [libruntimecore_java.so+0x69dcc0]&amp;nbsp; Esri_runtimecore::Mapping::Tex_quad_shader_program::begin_draw(void*, float const (&amp;amp;) [16], float const (&amp;amp;) [4])+0x20
#
# Core dump written. Default location: /home/user/core or core.15007
#
# An error report file with more information is saved as:
# /home/user/hs_err_pid15007.log
#
# If you would like to submit a bug report, please visit:
#&amp;nbsp;&amp;nbsp; http://bugreport.sun.com/bugreport/crash.jsp
#
Tile_layer::process_message_ - tile status = failed.
Tile_layer::process_message_ - tile status = failed.
Tile_layer::process_message_ - tile status = failed.
Tile_layer::process_message_ - tile status = failed.
Tile_layer::process_message_ - tile status = failed.
Tile_layer::process_message_ - tile status = failed.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What caught my eye the most was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Error compiling shader: 0:2(1): error: Illegal use of reserved word `precision'&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the current OpenGL Shader Language specification, 'precision' is indeed a reserved word. My thought, then, is that mesa-libGL 7.10-1, as required by Java Runtime SDK, operates on an older OpenGL Shader Language spec without that reserved word; and since that was the case, the ArcMap-generated .tpk contains usage of these reserved words. I have no experience with OpenGL up to this point and therefore could be way off in this assumption. Please let me know if this is the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming this was a mesa-libGL version issue, I attempted to downgrade to mesa-libGL-7.10-1. The problem I run into is a clash between mesa-dri-drivers and mesa-dri1-drivers. mesa-dri1-drivers has a minimal version (that I can find and is hosted by RHEL) of 7.11-8 while the highest 7.x version of mesa-libGL, mesa-libGLU and mesa-dri-drivers is 7.11-5 (the first one that hits on &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;yum downgrade&lt;/SPAN&gt;&lt;SPAN&gt;). When I attempt to downgrade mesa* I receive:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Transaction Check Error:
&amp;nbsp; file /usr/lib64/dri/mga_dri.so from install of mesa-dri-drivers-7.11-5.el6.x86_64 conflicts with file from package mesa-dri1-drivers-7.11-8.el6.x86_64
&amp;nbsp; file /usr/lib64/dri/r128_dri.so from install of mesa-dri-drivers-7.11-5.el6.x86_64 conflicts with file from package mesa-dri1-drivers-7.11-8.el6.x86_64
&amp;nbsp; file /usr/lib64/dri/savage_dri.so from install of mesa-dri-drivers-7.11-5.el6.x86_64 conflicts with file from package mesa-dri1-drivers-7.11-8.el6.x86_64
&amp;nbsp; file /usr/lib64/dri/unichrome_dri.so from install of mesa-dri-drivers-7.11-5.el6.x86_64 conflicts with file from package mesa-dri1-drivers-7.11-8.el6.x86_64
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if I simply erase mesa-dri1-drivers, OpenGL breaks altogether (confirmed by glxinfo).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone had this problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 14:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496753#M1525</guid>
      <dc:creator>StephenBaier</dc:creator>
      <dc:date>2013-09-03T14:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496754#M1526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I dont have any answers, but will add that I am on Ubuntu 12.04 here and the GL libs appear to be at 8.0.x.&amp;nbsp; I havent saw any problems in general use, for a test just loaded up the demo that uses a tpk and it works fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 19:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496754#M1526</guid>
      <dc:creator>JohnWass</dc:creator>
      <dc:date>2013-09-03T19:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496755#M1527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is interesting because I received the above errors even with 8.0.5. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Makes me think I am having a more general system configuration issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 22:15:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496755#M1527</guid>
      <dc:creator>StephenBaier</dc:creator>
      <dc:date>2013-09-03T22:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496756#M1528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exactly which Red Hat are you running on, I didn't catch that. Is it 6? 5? Is it an LTS?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 22:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496756#M1528</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2013-09-03T22:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496757#M1529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Exactly which Red Hat are you running on, I didn't catch that. Is it 6? 5? Is it an LTS?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running RHEL 6.4. I am not sure what LTS is exactly; Google says something about Long Term Support. It is registered with RHEL Network and has all RHEL updates, if that is what you mean. I even did a 100% fresh install to ensure I hadn't messed anything up (installing nvidia drivers had previously messed up OpenGL); results did not vary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 11:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496757#M1529</guid>
      <dc:creator>StephenBaier</dc:creator>
      <dc:date>2013-09-04T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496758#M1530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I downloaded and built the mesa-lib test suite. Rendering all kinds of 2D and 3D stuff just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if there are any particular tests in this massive test suite that could verify I have what I need for rendering .tpks?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 14:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496758#M1530</guid>
      <dc:creator>StephenBaier</dc:creator>
      <dc:date>2013-09-04T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496759#M1531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am running RHEL 6.4. I am not sure what LTS is exactly; Google says something about Long Term Support. It is registered with RHEL Network and has all RHEL updates, if that is what you mean. I even did a 100% fresh install to ensure I hadn't messed anything up (installing nvidia drivers had previously messed up OpenGL); results did not vary.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, thank you. That was exactly what I was asking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As long as you are using a Long Term Supported version of RHEL you should be fine. It's the mesa driver I'm wondering about.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 15:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496759#M1531</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2013-09-04T15:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496760#M1532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I found the problem. Looking back at the System Requirements again, I noticed that there is a requirement for 64MB of Video RAM. Turns out my integrated graphics card only has 16MB of prefetchable and 8MB of non-prefetchable. I don't know if running out of memory could cause the shader compilation problems, but overflowing memory could cause a segfault.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried, to no avail, to install the nvidia drivers and use the actual graphics card (GeForce GT 640) instead of the integrated graphics. However, wheneven I install the nvidia drivers, I cannot boot into level 5 anymore. Additionally, when I do glxinfo, I receive an error: Cannot access diplay :0 (or something like that). In the end it boils down to a system configuration problem it seems, if only I could get my real graphics card working...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:38:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496760#M1532</guid>
      <dc:creator>StephenBaier</dc:creator>
      <dc:date>2013-09-04T20:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: mesa-libGL version compatability</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496761#M1533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Confirmed, the integrated graphics card wasn't cutting it. Finally got the system to run off the nVidia card, now I have my map showing. It is, however, much more laggy when panning and zooming than with DirectX on Windows. Wondering how I could improve that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 16:07:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/mesa-libgl-version-compatability/m-p/496761#M1533</guid>
      <dc:creator>StephenBaier</dc:creator>
      <dc:date>2013-09-05T16:07:43Z</dc:date>
    </item>
  </channel>
</rss>

