[Paraview] BadAlloc Error

Lloyd Brown lloyd_brown at byu.edu
Wed Mar 30 15:36:35 EDT 2016


Hi, all.

I'm trying to get Paraview 5.0 to interact well with the Tesla k80 GPUs
in my HPC lab, and I'm encountering an interesting error.  I'm hoping
that someone can point me in the right direction to diagnose it.

So, on an HPC node, with some k80s installed, I'm launching Xorg
(example config attached) as root, then launching pvserver
("DISPLAY=:0.0 pvserver") as my user.  Then when I try to connect from
the Paraview frontend on my desktop, pvserver exits with this error:

> Waiting for client...
> Connection URL: cs://m8g-1-5:11111
> Accepting connection(s): m8g-1-5:11111
> Client connected.
> X Error of failed request:  BadAlloc (insufficient resources for
> operation)
>   Major opcode of failed request:  135 (GLX)
>   Minor opcode of failed request:  34 ()
>   Serial number of failed request:  26
>   Current serial number in output stream:  27

Now, according to the guys on the xorg users list
(https://lists.x.org/archives/xorg/2016-March/057984.html), this is
occurring as a result of the glXCreateContextAttribsARB call getting
denied resources somehow, which lines up with the backtrace from gdb
(also attached).

Now, under the assumption that pvserver was somehow running out of
memory, I've verified that the problem still occurs when my HPC job
requests 64GB (which means the cgroup will limit me to that).

Since both the client and server are precompiled 5.0 binaries from
paraview.org, I'm not entirely sure where to go here.  Can anyone shed
any insight on what might be going on?  A misconfiguration in my Xorg
config?  Some software package I'm missing?

It's worth noting that several GLX-based benchmarks (eg. glxgears,
glxspheres64, glmark2) and utilities (eg. glxinfo, glewinfo) seem to be
able to interact with the Xorg just fine.

Thanks,

-- 
Lloyd Brown
Systems Administrator
Fulton Supercomputing Lab
Brigham Young University
http://marylou.byu.edu

-------------- next part --------------

Section "Device"
    Identifier     "GPU0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:6:0:0"
EndSection
-------------- next part --------------
Breakpoint 1, 0x00007fffeee58a40 in exit () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fffeee58a40 in exit () from /lib64/libc.so.6
#1  0x00007fffde8e2d56 in _XDefaultError () from /usr/lib64/libX11.so.6
#2  0x00007fffde8e2e7e in _XError () from /usr/lib64/libX11.so.6
#3  0x00007fffde8dfa27 in ?? () from /usr/lib64/libX11.so.6
#4  0x00007fffde8dfa75 in ?? () from /usr/lib64/libX11.so.6
#5  0x00007fffde8e0030 in _XReply () from /usr/lib64/libX11.so.6
#6  0x00007fffde8dbb8d in XSync () from /usr/lib64/libX11.so.6
#7  0x00007fffe25b4196 in ?? () from /usr/lib64/libGL.so.1
#8  0x00007fffe25a6783 in glXCreateContextAttribsARB () from /usr/lib64/libGL.so.1
#9  0x00007fffdf75add0 in vtkXOpenGLRenderWindow::CreateAWindow() ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkRenderingOpenGL2-pv5.0.so.1
#10 0x00007fffdf6ed365 in vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkRenderingOpenGL2-pv5.0.so.1
#11 0x00007fffdf75b4d2 in vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkRenderingOpenGL2-pv5.0.so.1
#12 0x00007fffdf75a2aa in vtkXOpenGLRenderWindow::SupportsOpenGL() ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkRenderingOpenGL2-pv5.0.so.1
#13 0x00007fffe95148ba in vtkPVDisplayInformation::SupportsOpenGLLocally() ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVClientServerCoreRendering-pv5.0.so.1
#14 0x00007fffe9514904 in vtkPVDisplayInformation::CopyFromObject(vtkObject*) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVClientServerCoreRendering-pv5.0.so.1
#15 0x00007ffff65b8b6b in vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVServerImplementationCore-pv5.0.so.1
#16 0x00007ffff65b8cd2 in vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVServerImplementationCore-pv5.0.so.1
#17 0x00007ffff65c13ae in vtkPVSessionServer::GatherInformationInternal(unsigned int, char const*, unsigned int, vtkMultiProcessStream&) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVServerImplementationCore-pv5.0.so.1
#18 0x00007ffff65c1a4e in vtkPVSessionServer::OnClientServerMessageRMI(void*, int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVServerImplementationCore-pv5.0.so.1
#19 0x00007ffff28cdc70 in vtkMultiProcessController::ProcessRMI(int, void*, int, int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkParallelCore-pv5.0.so.1
#20 0x00007ffff28ce3a2 in vtkMultiProcessController::ProcessRMIs(int, int) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkParallelCore-pv5.0.so.1
#21 0x00007ffff633f6d4 in vtkTCPNetworkAccessManager::ProcessEventsInternal(unsigned long, bool) ()
   from /apps/paraview/5.0.0_gpu/binary/lib/paraview-5.0/libvtkPVClientServerCoreCore-pv5.0.so.1
#22 0x0000000000401b7a in main ()
(gdb)


More information about the ParaView mailing list