[Paraview-developers] xdisplay-test + display=1 => segfault

Paul Melis paul.melis at surfsara.nl
Thu Oct 12 09:07:01 EDT 2017


Hi Utkarsh,

On 15-05-17 16:05, Utkarsh Ayachit wrote:
> It seems that the workaround for this for now is to have users start 
> their X servers with the “-noreset” option.  Alternatively, you could 
> use EGL enabled server executables and this will be totally overcome.

Sorry for hijacking the thread, but I'm wondering if the issue I'm 
seeing is caused by the same nvidia driver bug and can be worked around 
with the -noreset option here.

When running pvserver --use-offscreen-rendering (with the official 5.4.1 
linux binaries on RHEL7) and connecting remotely with the client (again 
official linux bins) I get a segfault in the PV server, as well as in 
the X server. The message indicates an issue with the version of the 
OpenGL context, but NVidia OpenGL is available and new enough (375.26) 
for OpenGL 3.2. The X crash also strongly suggests something NVidia 
related. See below for more info.

The EGL-based server option sounds very interesting, but do you think 
that for now using -noreset might solve the issue below as well?

Regards,
Paul



[paulm at gcn64 bin]$ DISPLAY=:0.0 ./pvserver --use-offscreen-rendering
Waiting for client...
Connection URL: cs://gcn64.bullx:11111
Accepting connection(s): gcn64.bullx:11111
Client connected.
Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, 
line 838
vtkXOpenGLRenderWindow (0x1e1fe30): VTK is designed to work with OpenGL 
version 3.2 but it appears it has been given a context that does not 
support 3.2. VTK will run in a compatibility mode designed to work with 
earlier versions of OpenGL but some features may not work.

Segmentation fault (core dumped)

-----------------------------------------------------------------------

[2629129.832] (II) config/udev: Adding input device PC Speaker 
(/dev/input/event3)
[2629129.832] (II) No input driver specified, ignoring this device.
[2629129.832] (II) This device may have been added with another device file.
[2629130.998] (EE)
[2629130.998] (EE) Backtrace:
[2629130.998] (EE) 0: /usr/bin/X (xorg_backtrace+0x55) [0x2b6390bf79a5]
[2629130.998] (EE) 1: /usr/bin/X (0x2b6390a45000+0x1b6cb9) [0x2b6390bfbcb9]
[2629130.998] (EE) 2: /usr/lib64/libc.so.6 (0x2b6393110000+0x35250) 
[0x2b6393145250]
[2629130.998] (EE) 3: /usr/lib64/libnvidia-glcore.so.375.26 
(0x2b63969f5000+0xded56f) [0x2b63977e256f]
[2629130.998] (EE) 4: /usr/lib64/libnvidia-glcore.so.375.26 
(0x2b63969f5000+0x315edf) [0x2b6396d0aedf]
[2629130.998] (EE) 5: /usr/lib64/libnvidia-glcore.so.375.26 
(0x2b63969f5000+0xe3a715) [0x2b639782f715]
[2629130.998] (EE) 6: /usr/lib64/libnvidia-glcore.so.375.26 
(0x2b63969f5000+0xca4499) [0x2b6397699499]
[2629130.998] (EE) 7: /usr/lib64/libnvidia-glcore.so.375.26 
(0x2b63969f5000+0x104654d) [0x2b6397a3b54d]
[2629130.998] (EE) 8: /usr/lib64/libnvidia-glcore.so.375.26 
(0x2b63969f5000+0x101e68d) [0x2b6397a1368d]
[2629130.998] (EE) 9: /usr/lib64/xorg/modules/extensions/libglx.so 
(0x2b6395975000+0x812f27) [0x2b6396187f27]
[2629130.998] (EE)
[2629130.998] (EE) Segmentation fault at address 0x48
[2629130.998] (EE)
Fatal server error:
[2629130.998] (EE) Caught signal 11 (Segmentation fault). Server aborting
[2629130.998] (EE)
[2629130.998] (EE)
Please consult the The X.Org Foundation support
          at http://wiki.x.org
  for help.
[2629130.998] (EE) Please also check the log file at 
"/var/log/Xorg.0.log" for additional information.
[2629130.998] (EE)
[2629131.095] (EE)name of display: :0.0

  Server terminated with error (1). Closing log file.

-----------------------------------------------------------------------

display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
     GLX_ARB_context_flush_control, GLX_ARB_create_context,
     GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
     GLX_ARB_fbconfig_float, GLX_ARB_multisample, GLX_EXT_buffer_age,
     GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
     GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_libglvnd,
     GLX_EXT_stereo_tree, GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
     GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
GLX_EXT_visual_rating,
     GLX_NV_copy_image, GLX_NV_delay_before_swap, GLX_NV_float_buffer,
     GLX_NV_multisample_coverage, GLX_NV_robustness_video_memory_purge,
     GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_swap_control,
     GLX_SGI_video_sync
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
     GLX_ARB_context_flush_control, GLX_ARB_create_context,
     GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
     GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address, GLX_ARB_multisample,
     GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
     GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,
     GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_stereo_tree,
     GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
     GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
GLX_EXT_visual_rating,
     GLX_NV_copy_buffer, GLX_NV_copy_image, GLX_NV_delay_before_swap,
     GLX_NV_float_buffer, GLX_NV_multisample_coverage, 
GLX_NV_present_video,
     GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group,
     GLX_NV_video_capture, GLX_NV_video_out, GLX_SGIX_fbconfig,
     GLX_SGIX_pbuffer, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
     GLX_ARB_context_flush_control, GLX_ARB_create_context,
     GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
     GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address, GLX_ARB_multisample,
     GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
     GLX_EXT_create_context_es_profile, GLX_EXT_framebuffer_sRGB,
     GLX_EXT_import_context, GLX_EXT_stereo_tree, GLX_EXT_swap_control,
     GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap,
     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_NV_copy_image,
     GLX_NV_delay_before_swap, GLX_NV_float_buffer,
     GLX_NV_multisample_coverage, GLX_NV_robustness_video_memory_purge,
     GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_swap_control,
     GLX_SGI_video_sync
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Tesla K40m/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 375.26
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg 
compiler





-- 

Paul Melis
| Visualization group leader & developer | SURFsara |
| Science Park 140 | 1098 XG Amsterdam |
| T 020 800 1312 | paul.melis at surfsara.nl | www.surfsara.nl |


More information about the Paraview-developers mailing list