[Paraview] [Non-DoD Source] Re: 5.1.2/OpenGL2 issue (UNCLASSIFIED)

Hennessey, Joseph G CTR USARMY RDECOM ARL (US) joseph.g.hennessey2.ctr at mail.mil
Wed Aug 24 11:54:22 EDT 2016


CLASSIFICATION: UNCLASSIFIED

Utkarsh,

I have done a debug build and it is failing on
	
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) backtrace
#0  0x0000000000000000 in ?? ()
#1  0x00002aaaafd4db69 in vtkOpenGLRenderWindow::OpenGLInitState() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1
#2  0x00002aaaafd4e86c in vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1
#3  0x00002aaaafdf1515 in vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1
#4  0x00002aaaafd4d0e5 in vtkOpenGLRenderWindow::SupportsOpenGL() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1
#5  0x00002aaab938b3b8 in vtkPVDisplayInformation::SupportsOpenGLLocally() ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRendering-pv5.1.so.1
#6  0x00002aaab938b3f4 in vtkPVDisplayInformation::CopyFromObject(vtkObject*) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRendering-pv5.1.so.1
#7  0x00002aaaadf6723b in vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementationCore-pv5.1.so.1
#8  0x00002aaaadf673a2 in vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementationCore-pv5.1.so.1
#9  0x00002aaaaaf96855 in pqDefaultViewBehavior::onServerCreation(pqServer*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1
#10 0x00002aaab64a19ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libQtCore.so.4
#11 0x00002aaaabe60182 in pqServerManagerModel::serverAdded(pqServer*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1
#12 0x00002aaaabe2f78e in pqServerManagerModel::onConnectionCreated(long long) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1
#13 0x00002aaab64a19ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libQtCore.so.4
#14 0x00002aaaabe61372 in pqServerManagerObserver::connectionCreated(long long) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1
#15 0x00002aaaabe614e9 in pqServerManagerObserver::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1
#16 0x00002aaab64a19ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libQtCore.so.4
#17 0x00002aaaaeca8d07 in vtkQtConnection::EmitExecute(vtkObject*, unsigned long, void*, void*, vtkCommand*) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkGUISupportQt-pv5.1.so.1
#18 0x00002aaaaec92bbc in vtkQtConnection::DoCallback(vtkObject*, unsigned long, void*, void*) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkGUISupportQt-pv5.1.so.1
#19 0x00002aaab6fc8bc9 in vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkCommonCore-pv5.1.so.1
#20 0x00002aaab709dc02 in vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkCommonCore-pv5.1.so.1
#21 0x00002aaaae7bd28c in vtkProcessModule::RegisterSession(vtkSession*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreCore-pv5.1.so.1
#22 0x00002aaaadc7b873 in vtkSMSession::ConnectToSelf() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerManagerCore-pv5.1.so.1
#23 0x00002aaaabdf8340 in pqObjectBuilder::createServer(pqServerResource const&) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1
#24 0x00002aaaaaf60592 in pqAlwaysConnectedBehavior::serverCheck() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1
#25 0x00002aaaaaf606c3 in pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1
#26 0x00002aaaaafc1870 in pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) ()
   from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1
#27 0x000000000040a6af in ParaViewMainWindow::ParaViewMainWindow() ()
#28 0x0000000000408b83 in pqparaviewInitializer::Initialize(int, char**) ()
#29 0x000000000040853b in main ()

in particular it is failing on

glBlendFuncSeparate where it is being called below

in ParaView-v5.1.2-source\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx

void vtkOpenGLRenderWindow::OpenGLInitState()
{
  glDepthFunc( GL_LEQUAL );
  glEnable( GL_DEPTH_TEST );

  // initialize blending for transparency
  glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA,
                      GL_ONE,GL_ONE_MINUS_SRC_ALPHA);
  glEnable(GL_BLEND);

it seems that glBlendFuncSeparate is a function that is being defined as NULL for some reason.

This is occurring in 5.1.0 and 5.1.2 but it is defined properly and works correctly in 5.0.1 for some reason.

Thanks,

Joe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joseph G. Hennessey Ph.D., Leidos
Army Research Lab
DOD Supercomputing Resource Center
Aberdeen Proving Ground, MD 21005
Voice:  410-278-3619
Fax:    410-278-8799
Email:  joseph.g.hennessey2.ctr at mail.mil


-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Sent: Wednesday, August 24, 2016 10:24 AM
To: Dave Pratt <david.pratt.ctr at dren.mil>
Cc: Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) <richard.c.angelini.civ at mail.mil>; ParaView <paraview at paraview.org>; Hennessey, Joseph G CTR USARMY RDECOM ARL (US) <joseph.g.hennessey2.ctr at mail.mil>
Subject: Re: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue

All active links contained in this email were disabled.  Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.  




----

Dave,

Is it possible to do a debug build and see which call is failing?

Utkarsh

On Wed, Aug 24, 2016 at 10:20 AM, Dave Pratt <david.pratt.ctr at dren.mil> wrote:
>
> Utkarsh,
>    We are running VirtualGL 2.3.3 and TurboVNC 1.2.1 on all systems and
> Paraview is executed under a vglrun environment.   Paraview 5.0.1 has been
> running on this system for quite some time.  Version 5.1.2  throws a 
> segfault at
>
> [VGL] WARNING: The OpenGL rendering context obtained on X display
> [VGL]    :0.0 is indirect, which may cause performance to suffer.
> [VGL]    If :0.0 is a local X display, then the framebuffer device
> [VGL]    permissions may be set incorrectly.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000000000 in ?? ()
> (gdb) where
> #0  0x0000000000000000 in ?? ()
> #1  0x00002aaaafd4db69 in vtkOpenGLRenderWindow::OpenGLInitState() ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5
> .1.so.1
> #2  0x00002aaaafd4e86c in
> vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int) ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5
> .1.so.1
> #3  0x00002aaaafdf1515 in 
> vtkXOpenGLRenderWindow::CreateOffScreenWindow(int,
> int) ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5
> .1.so.1
> #4  0x00002aaaafd4d0e5 in vtkOpenGLRenderWindow::SupportsOpenGL() ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5
> .1.so.1
> #5  0x00002aaab938b3b8 in 
> vtkPVDisplayInformation::SupportsOpenGLLocally()
> ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRe
> ndering-pv5.1.so.1
> #6  0x00002aaab938b3f4 in
> vtkPVDisplayInformation::CopyFromObject(vtkObject*) ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRe
> ndering-pv5.1.so.1
> #7  0x00002aaaadf6723b in
> vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, 
> unsigned int)
> ()
>    from
> /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementati
> onCore-pv5.1.so.1
> ...
>
>
>
>
>
> On 08/24/16 08:56 AM, Utkarsh Ayachit wrote:
>
> No, that's not it. Hopefully someone with more knowledge on this than 
> me can chime in at some point. I'm told that VirtualGL < 2.3.1 did not 
> forward the glXCreateContextARB calls we need for creating OpenGL 3.2 
> context needed by ParaView (OpenGL2 backend).
>
> To update my know how about it in the mean time, I read up a bit on 
> TightVNC and VGL [1,2]. So, is your setup intended to use VirtualGL?
> If so, shouldn't you be running `vglrun paraview`? I believe that's 
> the [VGL] warning messages are all about, aren't they?
>
> Utkarsh
>
> [1] Caution-http://www.virtualgl.org/vgldoc/2_1_1/#hd009
> [2]
> Caution-https://hpc.nrel.gov/users/software/visualization-analytics/vi
> rtualgl-turbovnc
>
> On Wed, Aug 24, 2016 at 9:36 AM, Angelini, Richard C (Rick) CIV USARMY 
> RDECOM ARL (US) <richard.c.angelini.civ at mail.mil> wrote:
>
> Yes - this is an OpenGL2 build.
>
> Is this the information on TurboVNC that you’re looking for?
>
> server glx vendor string: VirtualGL
> server glx version string: 1.4
>
> ________________________________
> Rick Angelini
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> Phone:  410-278-6266
>
>
>
>
> -----Original Message-----
> From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
> Date: Wednesday, August 24, 2016 at 8:57 AM
> To: Rick Angelini <Richard.C.Angelini.CIV at mail.mil>
> Cc: ParaView <paraview at paraview.org>
> Subject: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue
>
> All active links contained in this email were disabled.  Please verify 
> the identity of the sender, and confirm the authenticity of all links 
> contained within the message prior to copying and pasting the address 
> to a Web browser.
>
>
>
>
> ----
>
> Rick,
>
> I am assuming with is with VTK_RENDERING_BACKEND set to OpenGL2.
>
> Do you know what VirtualGL version is being used?
>
> On Tue, Aug 23, 2016 at 2:56 PM, Angelini, Richard C (Rick) CIV USARMY 
> RDECOM ARL (US) <richard.c.angelini.civ at mail.mil> wrote:
>
> We are trying to build/run ParaView 5.1.2 on a particular HPC system with
> graphics nodes via TurboVNC.     ParaView 5.0.1 build/runs fine in this
> configuration.    ParaView 5.1.2 compiles fine (using identical build
> configuration used to build 5.0.1) - however the GUI fails at execution.
> I’m not sure how to debug it any further.     It *appears* that 5.1.2 is
> maybe doing some additional environment querying that might be causing 
> this failure?
>
>
> When I try to run 5.1.2, I get this error:
>
> g01 > paraview
> [VGL] WARNING: The OpenGL rendering context obtained on X display
> [VGL]    :0.0 is indirect, which may cause performance to suffer.
> [VGL]    If :0.0 is a local X display, then the framebuffer device
> [VGL]    permissions may be set incorrectly.
> Segmentation fault
>
>
> The particular message about indirect rendering – if I run glxinfo, 
> direct rendering is set to YES.
>
> g01 > glxinfo
> name of display: :5.0
> display: :5  screen: 0
> direct rendering: Yes
> server glx vendor string: VirtualGL
> server glx version string: 1.4
> [deleted stuff]
> OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Tesla 
> K40m/PCIe/SSE2 OpenGL core profile version string: 4.3.0 NVIDIA 340.93
>
>
>
> ________________________________
> Rick Angelini
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> Phone:  410-278-6266
>
> _______________________________________________
> Powered by Caution-Caution-www.kitware.com
>
> Visit other Kitware open-source projects at 
> Caution-Caution-http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> Caution-Caution-http://paraview.org/Wiki/ParaView
>
> Search the list archives at:
> Caution-Caution-http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> Caution-Caution-http://public.kitware.com/mailman/listinfo/paraview
>
>
> --
>
> Dave Pratt
> Sr. Software Developer
> Secure Mission Solutions, Inc.
> a PARSONS Company
>
> 612/708-2284 (Cell)
> David.Pratt.ctr at dren.hpc.mil
> depratt at securemissionsolutions.com
> 1392073228 at jabber.dren.net
>


CLASSIFICATION: UNCLASSIFIED
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5615 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160824/33979ddc/attachment.bin>


More information about the ParaView mailing list