<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>You really need to consult the documentation for AWS Workspace. 
      For example, see
<a class="moz-txt-link-freetext" href="https://aws.amazon.com/blogs/compute/deploying-4k-gpu-backed-linux-desktop-instance-on-aws/">https://aws.amazon.com/blogs/compute/deploying-4k-gpu-backed-linux-desktop-instance-on-aws/</a>. 
      That information might be incomplete or out of date.  I don't
      know, but it should help you get your AWS Workspace properly
      configured.<br>
    </p>
    <p>    HTH,</p>
    <p>    Greg<br>
    </p>
    <div class="moz-cite-prefix">On 4/19/19 10:51 AM, Darin Lory wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAArhMEBvCNxit-LRzH0RKYo=xjFbzAHFmr4TF5CO8HxJUwU5_A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>Greg,</div>
          <div><br>
          </div>
          <div>Thank you very much for getting back to me.</div>
          <div><br>
          </div>
          <div>RHEL 7.6 server is an AWS EC2 p3xxxx/Tesla V100 GPUs with
            NVidia Toolkit 10.0 and NVIDIA Driver Version: 410.48.</div>
          <div><br>
          </div>
          <div>Also has the MesaGL stuff installed. Do you think it
            needs to be removed?</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>REHL 7.6:</div>
          <div>$ glxinfo</div>
          <div>name of display: localhost:10.0</div>
          <div>X Error of failed request:  BadValue (integer parameter
            out of range for operation)</div>
          <div>  Major opcode of failed request:  149 (GLX)</div>
          <div>  Minor opcode of failed request:  24
            (X_GLXCreateNewContext)</div>
          <div>  Value in failed request:  0x0</div>
          <div>  Serial number of failed request:  19</div>
          <div>  Current serial number in output stream:  20</div>
          <div><br>
          </div>
          <div>$ export
            LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} 
            #added /usr/local/cuda/lib64 to LD_LIBRARY_PATH to see if
            that would make a difference.  It didn't.</div>
          <div><br>
          </div>
          <div>$ glxinfo</div>
          <div>name of display: localhost:10.0</div>
          <div>X Error of failed request:  BadValue (integer parameter
            out of range for operation)</div>
          <div>  Major opcode of failed request:  149 (GLX)</div>
          <div>  Minor opcode of failed request:  24
            (X_GLXCreateNewContext)</div>
          <div>  Value in failed request:  0x0</div>
          <div>  Serial number of failed request:  19</div>
          <div>  Current serial number in output stream:  20</div>
          <div><br>
          </div>
          <div>-Darin</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>++++++++++++++++++++</div>
          <div>++++++++++++++++++++</div>
          <div><br>
          </div>
          <div>Amazon Workspace:</div>
          <div><br>
          </div>
          <div># glxinfo | grep "OpenGL version"</div>
          <div>OpenGL version string: 2.1 Mesa 17.2.3</div>
          <div><br>
          </div>
          <div>glxinfo list is long...</div>
          <div><br>
          </div>
          <div># glxinfo |wc -l</div>
          <div>716</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div># ls -l *GL*</div>
          <div>lrwxrwxrwx 1 root root      20 Sep 28  2018
            libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0</div>
          <div>-rwxr-xr-x 1 root root  240200 Aug  2  2018
            libEGL_mesa.so.0.0.0</div>
          <div>lrwxrwxrwx 1 root root      15 Sep 28  2018 libEGL.so.1
            -> libEGL.so.1.0.0</div>
          <div>-rwxr-xr-x 1 root root   83952 Jul 30  2018
            libEGL.so.1.0.0</div>
          <div>lrwxrwxrwx 1 root root      22 Sep 28  2018
            libGLdispatch.so.0 -> libGLdispatch.so.0.0.0</div>
          <div>-rwxr-xr-x 1 root root  641176 Jul 30  2018
            libGLdispatch.so.0.0.0</div>
          <div>lrwxrwxrwx 1 root root      21 Sep 28  2018
            libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.0.0</div>
          <div>-rwxr-xr-x 1 root root   45680 Jul 30  2018
            libGLESv1_CM.so.1.0.0</div>
          <div>lrwxrwxrwx 1 root root      18 Sep 28  2018
            libGLESv2.so.2 -> libGLESv2.so.2.0.0</div>
          <div>-rwxr-xr-x 1 root root   75136 Jul 30  2018
            libGLESv2.so.2.0.0</div>
          <div>lrwxrwxrwx 1 root root      17 Sep 28  2018
            libGLEW.so.1.10 -> libGLEW.so.1.10.0</div>
          <div>-rwxr-xr-x 1 root root  495032 Aug  2  2018
            libGLEW.so.1.10.0</div>
          <div>lrwxrwxrwx 1 root root      14 Sep 28  2018 libGL.so.1
            -> libGL.so.1.0.0</div>
          <div>-rwxr-xr-x 1 root root  582136 Jul 30  2018
            libGL.so.1.0.0</div>
          <div>lrwxrwxrwx 1 root root      15 Sep 28  2018 libGLU.so.1
            -> libGLU.so.1.3.1</div>
          <div>-rwxr-xr-x 1 root root  516208 Aug 18  2018
            libGLU.so.1.3.1</div>
          <div>lrwxrwxrwx 1 root root      27 Sep 28  2018
            libGLX_indirect.so.0 -> /usr/lib64/libGLX_mesa.so.0</div>
          <div>lrwxrwxrwx 1 root root      20 Sep 28  2018
            libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0</div>
          <div>-rwxr-xr-x 1 root root  485096 Aug  2  2018
            libGLX_mesa.so.0.0.0</div>
          <div>lrwxrwxrwx 1 root root      15 Sep 28  2018 libGLX.so.0
            -> libGLX.so.0.0.0</div>
          <div>-rwxr-xr-x 1 root root   70776 Jul 30  2018
            libGLX.so.0.0.0</div>
          <div>lrwxrwxrwx 1 root root      20 Sep 28  2018
            libQtOpenGL.so.4 -> libQtOpenGL.so.4.8.5</div>
          <div>lrwxrwxrwx 1 root root      20 Sep 28  2018
            libQtOpenGL.so.4.8 -> libQtOpenGL.so.4.8.5</div>
          <div>-rwxr-xr-x 1 root root 1060432 Aug 18  2018
            libQtOpenGL.so.4.8.5</div>
          <div><br>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Apr 18, 2019 at 6:17
          PM Greg Couch <<a href="mailto:gregc@cgl.ucsf.edu"
            moz-do-not-send="true">gregc@cgl.ucsf.edu</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF">
            <p>Chimera works best when it is running directly on your
              local computer.  So you would ideally copy the data you
              want to visualize from the AWS Workspace (i.e, cloud) to
              your local disk to visualize it.  Or, perhaps, you could
              use a program like sshfs to remotely mount your data.  And
              on your local computer, if you have NVIDIA graphics, you
              should install the proprietary NVIDIA graphics driver; if
              you have AMD graphics, both the open source and the
              proprietary drivers should work; and if you have Intel
              graphics, your only choice is the open source driver.</p>
            <p>However, remotely displaying, like you are trying to do,
              should work if your local computer is running Linux. 
              Since the AWS Workspace has open source drivers installed,
              you might need to switch your local graphics to the open
              source version.  Or copy the libGL.so from your local
              computer, to the AWS Workspace.  That is, the two drivers
              need to be compatible.</p>
            <p>In the AWS workspace, run the glxinfo problem to see what
              its OpenGL setup is like.  glxinfo is in the glx-utils
              package.<br>
            </p>
            <p>    Good luck,</p>
            <p>    Greg<br>
            </p>
            <div class="gmail-m_-1736804614510130307moz-cite-prefix">On
              4/18/19 1:23 PM, Darin Lory wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div dir="ltr">
                  <div>Dear ChimeraGurus,</div>
                  <div><br>
                  </div>
                  <div>I'm trying to get Chimera 1.13.1 working on RHEL
                    7.6.  I have it working on Amazon Linux 2 in AWS
                    Workspace.</div>
                  <div><br>
                  </div>
                  <div>Does anybody know what the yum package
                    dependencies are for REHL or CentOS 7?</div>
                  <div><br>
                  </div>
                  <div>Chimera is crashing after "initializing graphics"
                    as per the --debug command line option.</div>
                  <div><br>
                  </div>
                  <div>I know that I had to do this to fix a few errors:</div>
                  <div><br>
                  </div>
                  <div>yum install tkinter</div>
                  <div>yum install tk-devel</div>
                  <div>yum install libXScrnSaver</div>
                  <div>yum install mesa-libGL mesa-libGL-devel</div>
                  <div>yum install firefox </div>
                  <div><br>
                  </div>
                  <div>Kindly advise.</div>
                  <div><br>
                  </div>
                  <div>Best regards,</div>
                  <div><br>
                  </div>
                  <div>-Darin</div>
                  <div><br>
                  </div>
                  <div>on RHEL 7.6:</div>
                  <div>$ which chimera</div>
                  <div>/usr/local/bin/chimera</div>
                  <div>[s.darin.lory@ip-10-246-148-209 ~]$ chimera
                    --debug</div>
                  <div>initializing general preferences</div>
                  <div>loading Tix</div>
                  <div>initializing graphics</div>
                  <div>X Error of failed request:  BadValue (integer
                    parameter out of range for operation)</div>
                  <div>  Major opcode of failed request:  149 (GLX)</div>
                  <div>  Minor opcode of failed request:  3
                    (X_GLXCreateContext)</div>
                  <div>  Value in failed request:  0x0</div>
                  <div>  Serial number of failed request:  1439</div>
                  <div>  Current serial number in output stream:  1440</div>
                  <div><br>
                  </div>
                  <div>RHEL 7.6:</div>
                  <div><br>
                  </div>
                  <div>$ cat /etc/redhat-release</div>
                  <div>Red Hat Enterprise Linux Server release 7.6
                    (Maipo)</div>
                  <div><br>
                  </div>
                  <div>$ rpm -qa |grep mesa</div>
                  <div>mesa-libGLw-8.0.0-4.el7.x86_64</div>
                  <div>mesa-libGLw-devel-8.0.0-4.el7.x86_64</div>
                  <div>mesa-libGL-devel-18.0.5-4.el7_6.x86_64</div>
                  <div>mesa-libGLES-18.0.5-4.el7_6.x86_64</div>
                  <div>mesa-libGL-18.0.5-4.el7_6.x86_64</div>
                  <div>mesa-libGLU-9.0.0-4.el7.x86_64</div>
                  <div>mesa-libxatracker-18.0.5-3.el7.x86_64</div>
                  <div>mesa-dri-drivers-18.0.5-3.el7.x86_64</div>
                  <div>mesa-libEGL-18.0.5-4.el7_6.x86_64</div>
                  <div>mesa-libglapi-18.0.5-4.el7_6.x86_64</div>
                  <div>mesa-filesystem-18.0.5-3.el7.x86_64</div>
                  <div>mesa-libGLU-devel-9.0.0-4.el7.x86_64</div>
                  <div>mesa-libgbm-18.0.5-4.el7_6.x86_64</div>
                  <div>+++++++++++++++++++++++</div>
                  <div>$ rpm -qa |grep GL</div>
                  <div>mesa-libGLw-8.0.0-4.el7.x86_64</div>
                  <div>mesa-libGLw-devel-8.0.0-4.el7.x86_64</div>
                  <div>mesa-libGL-devel-18.0.5-4.el7_6.x86_64</div>
                  <div>ghc-GLUT-2.4.0.0-40.el7.x86_64</div>
                  <div>mesa-libGLES-18.0.5-4.el7_6.x86_64</div>
                  <div>ghc-OpenGL-devel-2.8.0.0-40.el7.x86_64</div>
                  <div>mesa-libGL-18.0.5-4.el7_6.x86_64</div>
                  <div>mesa-libGLU-9.0.0-4.el7.x86_64</div>
                  <div>mesa-libEGL-18.0.5-4.el7_6.x86_64</div>
                  <div>ghc-OpenGLRaw-1.3.0.0-40.el7.x86_64</div>
                  <div>ghc-GLURaw-devel-1.3.0.0-40.el7.x86_64</div>
                  <div>ghc-GLURaw-1.3.0.0-40.el7.x86_64</div>
                  <div>ghc-OpenGL-2.8.0.0-40.el7.x86_64</div>
                  <div>ghc-OpenGLRaw-devel-1.3.0.0-40.el7.x86_64</div>
                  <div>ghc-GLUT-devel-2.4.0.0-40.el7.x86_64</div>
                  <div>mesa-libGLU-devel-9.0.0-4.el7.x86_64</div>
                  <div>+++++++++++++++++++++++</div>
                  <div>$ rpm -qa |grep tk</div>
                  <div>gtk-update-icon-cache-3.22.30-3.el7.x86_64</div>
                  <div>libreport-gtk-2.1.11-42.el7.x86_64</div>
                  <div>webkitgtk4-2.20.5-1.el7.x86_64</div>
                  <div>atk-2.28.1-1.el7.x86_64</div>
                  <div>gtk2-2.24.31-1.el7.x86_64</div>
                  <div>gtk3-3.22.30-3.el7.x86_64</div>
                  <div>webkitgtk4-jsc-2.20.5-1.el7.x86_64</div>
                  <div>tk-8.5.13-6.el7.x86_64</div>
                  <div>libpeas-gtk-1.22.0-1.el7.x86_64</div>
                  <div>webkitgtk3-2.4.11-2.el7.x86_64</div>
                  <div>webkitgtk4-plugin-process-gtk2-2.20.5-1.el7.x86_64</div>
                  <div>tk-devel-8.5.13-6.el7.x86_64</div>
                  <div>gtksourceview3-3.24.8-1.el7.x86_64</div>
                  <div>adwaita-gtk2-theme-3.28-2.el7.x86_64</div>
                  <div>at-spi2-atk-2.26.2-1.el7.x86_64</div>
                  <div>tkinter-2.7.5-77.el7_6.x86_64</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Amazon Linux 2:</div>
                  <div><br>
                  </div>
                  <div>on Amazon Linux 2:</div>
                  <div><br>
                  </div>
                  <div>$ chimera --debug</div>
                  <div>initializing general preferences</div>
                  <div>loading Tix</div>
                  <div>initializing graphics</div>
                  <div>create application</div>
                  <div>loading Pmw</div>
                  <div>creating main window</div>
                  <div>creating menus</div>
                  <div>creating toolbar</div>
                  <div>creating viewer</div>
                  <div>initializing OpenGL</div>
                  <div>initializing preferences</div>
                  <div>initializing dialogs</div>
                  <div>initializing COM</div>
                  <div>initializing extensions</div>
                  <div><br>
                  </div>
                  <div>$cat /etc/os-release</div>
                  <div>NAME="Amazon Linux"</div>
                  <div>VERSION="2"</div>
                  <div>ID="amzn"</div>
                  <div>ID_LIKE="centos rhel fedora"</div>
                  <div>VERSION_ID="2"</div>
                  <div>PRETTY_NAME="Amazon Linux 2"</div>
                  <div>ANSI_COLOR="0;33"</div>
                  <div>CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"</div>
                  <div>HOME_URL="<a href="https://amazonlinux.com/"
                      target="_blank" moz-do-not-send="true">https://amazonlinux.com/</a>"</div>
                  <div><br>
                  </div>
                  <div>$ uname -a</div>
                  <div>Linux xxxxxxx 4.14.106-97.85.amzn2.x86_64 #1 SMP
                    Fri Mar 15 17:07:54 UTC 2019 x86_64 x86_64 x86_64
                    GNU/Linux</div>
                  <div><br>
                  </div>
                  <div>$ rpm -qa |grep mesa</div>
                  <div>mesa-libEGL-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-libGL-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-private-llvm-3.9.1-3.amzn2.0.2.x86_64</div>
                  <div>mesa-libglapi-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-dri-drivers-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-libgbm-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-libwayland-egl-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-libGLU-9.0.0-4.amzn2.0.2.x86_64</div>
                  <div>mesa-filesystem-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>+++++++++++++++++++++++</div>
                  <div>$ rpm -qa |grep GL</div>
                  <div>mesa-libEGL-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>mesa-libGL-17.2.3-8.20171019.amzn2.0.4.x86_64</div>
                  <div>libGLEW-1.10.0-5.amzn2.0.2.x86_64</div>
                  <div>mesa-libGLU-9.0.0-4.amzn2.0.2.x86_64</div>
                  <div>+++++++++++++++++++++++</div>
                  <div>$ rpm -qa |grep tk</div>
                  <div>gtk2-2.24.31-1.amzn2.0.2.x86_64</div>
                  <div>pinentry-gtk-0.8.1-17.amzn2.0.2.x86_64</div>
                  <div>webkitgtk4-jsc-2.14.7-3.amzn2.0.1.x86_64</div>
                  <div>ibus-gtk3-1.5.17-2.amzn2.x86_64</div>
                  <div>libappindicator-gtk3-12.10.0-13.amzn2.0.1.x86_64</div>
                  <div>xdg-user-dirs-gtk-0.10-4.amzn2.0.1.x86_64</div>
                  <div>fltk-1.3.4-1.amzn2.0.2.x86_64</div>
                  <div>gtkspell3-3.0.3-4.amzn2.0.2.x86_64</div>
                  <div>gtk-murrine-engine-0.98.2-13.amzn2.x86_64</div>
                  <div>libdbusmenu-gtk2-16.04.0-4.amzn2.0.1.x86_64</div>
                  <div>gtk3-3.22.26-4.amzn2.x86_64</div>
                  <div>rtkit-0.11-10.amzn2.0.1.x86_64</div>
                  <div>gtk-update-icon-cache-3.22.26-4.amzn2.x86_64</div>
                  <div>libreoffice-gtk3-5.3.6.1-19.amzn2.0.1.x86_64</div>
                  <div>adwaita-gtk2-theme-3.22.2-2.amzn2.x86_64</div>
                  <div>tk-8.5.13-6.amzn2.0.2.x86_64</div>
                  <div>libcanberra-gtk3-0.30-5.amzn2.0.2.x86_64</div>
                  <div>libdbusmenu-gtk3-16.04.0-4.amzn2.0.1.x86_64</div>
                  <div>libpeas-gtk-1.20.0-1.amzn2.0.2.x86_64</div>
                  <div>tk-devel-8.5.13-6.amzn2.0.2.x86_64</div>
                  <div>gtk2-engines-2.20.2-14.amzn2.x86_64</div>
                  <div>gtksourceview2-2.11.2-24.amzn2.x86_64</div>
                  <div>libreoffice-gtk2-5.3.6.1-19.amzn2.0.1.x86_64</div>
                  <div>gtkspell-2.0.16-8.amzn2.0.2.x86_64</div>
                  <div>webkitgtk4-plugin-process-gtk2-2.14.7-3.amzn2.0.1.x86_64</div>
                  <div>ibus-gtk2-1.5.17-2.amzn2.x86_64</div>
                  <div>pygtk2-2.24.0-9.amzn2.0.2.x86_64</div>
                  <div>atk-2.22.0-3.amzn2.0.2.x86_64</div>
                  <div>at-spi2-atk-2.22.0-2.amzn2.0.2.x86_64</div>
                  <div>gstreamer1-plugins-bad-free-gtk-1.10.4-3.amzn2.x86_64</div>
                  <div>gtksourceview3-3.22.2-1.amzn2.0.2.x86_64</div>
                  <div>pygtksourceview-2.10.1-16.amzn2.x86_64</div>
                  <div>atkmm-2.24.2-1.amzn2.0.2.x86_64</div>
                  <div>webkitgtk4-2.14.7-3.amzn2.0.1.x86_64</div>
                  <div>libindicator-gtk3-12.10.1-6.amzn2.0.1.x86_64</div>
                  <div>gtkmm30-3.22.2-1.amzn2.x86_64</div>
                  <div><br>
                  </div>
                  <div>
                    <div dir="ltr"
                      class="gmail-m_-1736804614510130307gmail_signature">
                      <div dir="ltr">
                        <div>-Darin<br>
                          <br>
                          "The most exciting phrase to hear in science,
                          the one that heralds new discoveries, is not
                          'Eureka!' (I found it!) but 'That's funny
                          ...'"   -Issac Asimov</div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <fieldset
                class="gmail-m_-1736804614510130307mimeAttachmentHeader"></fieldset>
              <pre class="gmail-m_-1736804614510130307moz-quote-pre">_______________________________________________
Chimera-users mailing list: <a class="gmail-m_-1736804614510130307moz-txt-link-abbreviated" href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank" moz-do-not-send="true">Chimera-users@cgl.ucsf.edu</a>
Manage subscription: <a class="gmail-m_-1736804614510130307moz-txt-link-freetext" href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank" moz-do-not-send="true">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a>
</pre>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>