<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
This problem is bad, and I want it to be resolved too. There are so many complicating factors it is difficult to figure out where to begin and it’s especially tough for me because I am not able to duplicate it. The fact that it is hardware dependent just makes
 it worse. I don’t think it’s a problem unique to GrADS, but I could be wrong. One way to simplify things is to use a smaller C program (like xdemo.c) that uses Cairo in the same way that GrADS does but without all the other supplib baggage.&nbsp;
<div><br>
</div>
<div>Can you test whether my sample program xdemo.c works on all your various setups where GrADS X11 displays fail? You will have to build the Cairo library from source. Maybe the problem is simply that we are not using the very latest version of Cairo and
 all of its dependents, and an upgrade is all that is needed for GrADS to work on these newer systems. That would obviously be the easiest solution.</div>
<div><br>
</div>
<div>The other thing that confuses the issue is the X11 client-server interaction. I do all my work on a MacBookPro. I use xterm to open windows to access my local operating system (OSX 10.9.5) and also to ssh to remote servers (at this point, only redhat 5
 and 6). The rendering is done by the X11 server on my local machine (XQuartz), not the remote systems I am connected to using ’ssh -Y’. GrADS is dynamically linked with the X11 libraries; I have no idea whether libX11 and libXext are different on OSX v. red
 hat 5/6 v. redhat 7 v. ubuntu v. fedora, but maybe that is the source of the problem.&nbsp;</div>
<div><br>
</div>
<div>The Lenovo hardware is a different beast altogether, a laptop/desktop box that has its own flavor of unix and X11 server. I know nothing about these systems; if the brand of graphics cards makes a difference then it’s a software issue at a much lower level
 than where GrADS is working. Do you think the display would look right if I used an xterm on my Apple laptop to ssh to a Lenovo box and ran GrADS remotely?&nbsp;</div>
<div><br>
</div>
<div>I am working on new releases for GrADS, where the graphics back ends for printing and display are dynamically loaded as shared objects based on user-provided arguments on startup. That would mean you could take advantage of all the other improvements since
 version 2.0.2 but not depend on Cairo for the display. I have to get the configuration issues ironed out before I can make it public.&nbsp;</div>
<div><br>
</div>
<div>I will ask my systems administrator if he can set up a RHEL7 sandbox for me, but in the meanwhile please try the things I have suggested and let me know what works/fails. It’s not called the cutting/bleeding edge for nothing!&nbsp;</div>
<div>—Jennifer</div>
<div><br>
</div>
<div>
<div>
<div>
<div>
<div><br>
</div>
<div><br>
</div>
<div>On Jan 12, 2017, at 7:37 AM, Semyon Grodsky &lt;<a href="mailto:senya@umd.edu">senya@umd.edu</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<p>Here at UND/AOSC we have multiple machines running RHE7. All have the same display problem with GRADS/Cairo, which was reported to the forum about a year ago. We here just stick with the 2.0.2<br>
</p>
<p>--Senya<br>
</p>
<br>
<div class="moz-cite-prefix">On 1/12/2017 4:22 AM, Simone Montagnani wrote:<br>
</div>
<blockquote cite="mid:1581252960.8318897.1484212944909.JavaMail.zimbra@lamma.toscana.it" type="cite">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;">
<div><br>
</div>
<div>Hi Jennifer,</div>
<div><br>
</div>
<div>Thank you for the links.</div>
<div><br>
</div>
<div>My focus was on Ubuntu but this morning I made a few more tests on Fedora ( we have one Fedora 24 ) and it doesn't work on it too. I'm talking of the same hardware here ( Lenovo Thinkcentre M93 with integrated graphics ).In attach a screenshot of the grads
 example file plotted.&nbsp;</div>
<div><br>
</div>
<div>We have other servers or virtual machines that runs Centos 5.x and grads 2.1.0 works like a charm.</div>
<div><br>
</div>
<div>On one Lenovo Thinkcentre M93 with Ubuntu 16.04 LTS and grads 2.1.a3 I bought an AMD Radeon R5 230 graphic card and it instantly works perfectly without any specific AMD drivers installed.If it's a specific X11 Ubuntu problem why it starts working?&nbsp;</div>
<div><br>
</div>
<div>I tried on the same Lenovo PC with Xubuntu 16.04 with XFCE and it doesn't work too.</div>
<div><br>
</div>
<div>Maybe it's a libcairo problem in combination with newer X11 ?&nbsp;</div>
<div>You say it's an Ubuntu problem , is there a Bug open in Ubuntu community for this ? I think it's a big issue, we have all our users &nbsp;(about 50 clients) using this PC model &nbsp;and we are stuck...</div>
<div><br>
</div>
<div>Best Regards,</div>
<div><br>
</div>
<div>Simone&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<hr id="zwchr">
<div style="font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;">
<b>Da: </b>&quot;Jennifer M Adams&quot; <a class="moz-txt-link-rfc2396E" href="mailto:jadams21@gmu.edu">
&lt;jadams21@gmu.edu&gt;</a><br>
<b>A: </b>&quot;GrADS Users Forum&quot; <a class="moz-txt-link-rfc2396E" href="mailto:gradsusr@gradsusr.org">
&lt;gradsusr@gradsusr.org&gt;</a><br>
<b>Inviato: </b>Mercoledì, 11 gennaio 2017 15:21:41<br>
<b>Oggetto: </b>Re: [gradsusr] Grads 2.1.a3 - Problem plotting Intel graphic<br>
<div><br>
</div>
Hi, Simone —&nbsp;
<div>Please see an earlier thread on this topic: <a moz-do-not-send="true" href="http://gradsusr.org/pipermail/gradsusr/2016-November/040443.html" target="_blank">
http://gradsusr.org/pipermail/gradsusr/2016-November/040443.html</a></div>
<div>The problem is with ubuntu's X11 server; as you noted it works on Fedora and CentOS. You should be fine if you use batch mode.&nbsp;</div>
<div>—Jennifer</div>
<div><br>
<div>
<div>On Jan 11, 2017, at 8:58 AM, Simone Montagnani &lt;<a moz-do-not-send="true" href="mailto:s.montagnani@lamma.toscana.it" target="_blank">s.montagnani@lamma.toscana.it</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote>
<div>
<div style="font-family: Arial, Helvetica, sans-serif;
                    font-size: 12pt;">
<div style="font-family: Arial, Helvetica,
                      sans-serif; font-size: 12pt;">
<div style="font-family: Arial, Helvetica,
                        sans-serif; font-size: 12pt;">
<div><br>
</div>
<div>Hi all,</div>
<div><br>
</div>
<div>I'm posting here after days of searching and testing with no results.</div>
<div><br>
</div>
<div>I have a specific problem that seems to affect Grads 2.1.a3 ( but I think even the latest versions ).</div>
<div><br>
</div>
<div>I can reproduce it, with my specific input files like with the official grads test too.</div>
<div><br>
</div>
<div>Here are some details of my tests:</div>
<div><br>
</div>
<div>Hardware:</div>
<div><br>
</div>
<div>PC Lenovo with Intel(R) Core(TM) i3-4170 CPU with integrated Intel graphics.</div>
<div><br>
</div>
<div>PC HP DC7900 ( old 2008 model with Intel graphics too )</div>
<div><br>
</div>
<div>Software:</div>
<div><br>
</div>
<div>O.S. Linux Ubuntu 16.04</div>
<div><br>
</div>
<div>Kernel 4.4 &amp; Kernel 4.5</div>
<div><br>
</div>
<div>With and without Intel graphics update tool 2.0.2 installed</div>
<div><br>
</div>
<div>Used&nbsp;Grads 2.1.a3 as binary downloaded from your site or package from ubuntu 16.10 via apt pinning .</div>
<div><br>
</div>
<div>Intel update tool packages installed:</div>
<div><br>
</div>
<div>
<div style="margin: 0px;">ii i965-va-driver:amd64 1.7.1-0intel1 amd64 VAAPI driver for Intel G45 &amp; HD Graphics family<br>
ii intel-gpu-tools 1.15-1intel1 amd64 tools for debugging the Intel graphics driver<br>
ii libcairo-gobject2:amd64 1.15.2-0intel1 amd64 Cairo 2D vector graphics library (GObject library)<br>
ii libcairo-script-interpreter2:amd64 1.15.2-0intel1 amd64 Cairo 2D vector graphics library (script interpreter)<br>
ii libcairo2:amd64 1.15.2-0intel1 amd64 Cairo 2D vector graphics library<br>
ii libcairo2-dev 1.15.2-0intel1 amd64 Development files for the Cairo 2D graphics library<br>
ii libdrm-intel1:amd64 2.4.68-1 amd64 Userspace interface to intel-specific kernel DRM services -- runtime<br>
ii libegl1-mesa:amd64 11.2.2-0intel1 amd64 free implementation of the EGL API -- runtime<br>
ii libegl1-mesa-drivers:amd64 11.2.2-0intel1 amd64 transitional dummy package<br>
ii libgbm1:amd64 11.2.2-0intel1 amd64 generic buffer management API -- runtime<br>
ii libgl1-mesa-dri:amd64 11.2.2-0intel1 amd64 free implementation of the OpenGL API -- DRI modules<br>
ii libgl1-mesa-glx:amd64 11.2.2-0intel1 amd64 free implementation of the OpenGL API -- GLX runtime<br>
ii libglapi-mesa:amd64 11.2.2-0intel1 amd64 free implementation of the GL API -- shared library<br>
ii libgles1-mesa:amd64 11.2.2-0intel1 amd64 free implementation of the OpenGL|ES 1.x API -- runtime<br>
ii libgles2-mesa:amd64 11.2.2-0intel1 amd64 free implementation of the OpenGL|ES 2.x API -- runtime<br>
ii libosmesa6:amd64 11.2.2-0intel1 amd64 Mesa Off-screen rendering extension<br>
ii libva-drm1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- DRM runtime<br>
ii libva-egl1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- EGL runtime<br>
ii libva-glx1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- GLX runtime<br>
ii libva-tpi1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- TPI runtime<br>
ii libva-wayland1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- Wayland runtime<br>
ii libva-x11-1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- X11 runtime<br>
ii libva1:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- runtime<br>
ii libwayland-egl1-mesa:amd64 11.2.2-0intel1 amd64 implementation of the Wayland EGL platform -- runtime<br>
ii libxatracker2:amd64 11.2.2-0intel1 amd64 X acceleration library -- runtime<br>
ii va-driver-all:amd64 1.7.1-0intel1 amd64 Video Acceleration (VA) API -- driver metapackage<br>
ii vainfo 1.7.1-0intel1 amd64 Video Acceleration (VA) API for Linux -- info program</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Problem:</div>
<div><br>
</div>
<div>I cannot graph correctly the image, in attach the results with model.ctl file used as a test.</div>
<div><br>
</div>
<div>With grads 2.0 no problem everything is ok in this PCs.</div>
<div><br>
</div>
<div>I think it's a Intel graphic problem, but Kernel upgrades , Intel drivers updates doesn't change anything.</div>
<div><br>
</div>
<div>Do you have any ideas?&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<div>I cannot use other distributions , I use grads without problems on various Fedora and CentOS servers, but in this case I need it to work with this Ubuntu version and hardware!</div>
<div><br>
</div>
<div>Any help is really appreciated,</div>
<div><br>
</div>
<div>Regards all</div>
<div><br>
</div>
<div>Simone</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<span>&lt;grads_error.jpg&gt;</span>_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div>
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------
Semyon Grodsky
University of Maryland
Department of Atmospheric and Oceanic Science
Room 2409, Atlantic Building (224)
4254 Stadium Dr.
College Park, MD 20742

Phone:  301-405-5330
Fax:    301-314-9482
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:senya@atmos.umd.edu">senya@atmos.umd.edu</a></pre>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</body>
</html>