Opacity mapping makes colors disappear

Simple 2d slice surface view, when using “Enable opacity mapping for surfaces”, the colors disappear altogether.

I feel it might be a graphic card issue. Any ideas on how to debug this?
Thank you for any suggestions.

  • Version of ParaView: 5.7.0
  • Your OS: Ubuntu 20.04
  • Your GPU: Nvidia GM108M [GeForce MX130] (and integrated Intel UHD 620)
  • Your graphic driver: 455.38 (see attached figure)
    paraview-graphics.01

Upgrade to ParaView 5.8.1 or 5.9.0 (once it is out)

Unfortunately, I could not get the downloaded 5.7.0, 5.8.1, and 5.9.0 rc3 to run;

~/bin/paraview/ParaView-5.8.1$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home//bin/paraview/ParaView-5.8.1
~/bin/paraview/ParaView-5.8.1$ export QT_QPA_PLATFORM_PLUGIN_PATH=/home//bin/paraview/ParaView-5.8.1
~/bin/paraview/ParaView-5.8.1$ ./paraview
(   2.208s) [paraview        ]vtkOpenGLRenderWindow.c:565    ERR| vtkGenericOpenGLRenderWindow (0x2998280): GLEW could not be initialized: Missing GL version

glxinfo | gren Vendor

$ glxinfo |grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation

also

GLX version: 1.4

Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1385 MB
    OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce MX130/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 455.38
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

I missed an earlier error. The full error is below. Looks like I need to specify some paths or flag to allow the downloaded version ParaView to use GL correctly.

$ ./paraview 
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
QFSFileEngine::map: Mapping a file beyond its size is not portable
VisRTX 0.1.6, using devices:
 0: GeForce MX130 (Total: 2.1 GB, Available: 1.4 GB)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QOpenGLWindow::beginPaint: Failed to create context
QOpenGLWindow::beginPaint: Failed to make context current
(   0.950s) [paraview        ]vtkOpenGLRenderWindow.c:565    ERR| vtkGenericOpenGLRenderWindow (0x454f660): GLEW could not be initialized: Missing GL version
QOpenGLFunctions created with non-current context

Loguru caught a signal: SIGSEGV
Stack trace:
16            0x407b5d ./paraview() [0x407b5d]
15      0x7f09a1ae2cb2 __libc_start_main + 242
14            0x4077ed ./paraview() [0x4077ed]
13      0x7f099f63c0b4 QCoreApplication::exec() + 132
12      0x7f099f6334aa QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 234
11      0x7f096a98ae96 libQt5XcbQpa.so.5(+0xb1e96) [0x7f096a98ae96]
10      0x7f099fa6762b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 187
9       0x7f099fa8bc9d QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 397
8       0x7f099fa8b145 QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 165
7       0x7f099f634c08 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 264
6       0x7f09a1131f01 QApplication::notify(QObject*, QEvent*) + 577
5       0x7f09a112ac8c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
4       0x7f099fabe058 QPaintDeviceWindow::event(QEvent*) + 24
3       0x7f099fa95d3b QWindow::event(QEvent*) + 203
2       0x7f099fabe038 QPaintDeviceWindow::exposeEvent(QExposeEvent*) + 568
1       0x7f099fac7b37 libQt5Gui.so.5(+0x13eb37) [0x7f099fac7b37]
0       0x7f09a1afb950 /lib/x86_64-linux-gnu/libc.so.6(+0x41950) [0x7f09a1afb950]
(   0.950s) [paraview        ]                       :0     FATL| Signal: SIGSEGV
Segmentation fault (core dumped)

Try upgrading your drivers, looks like the last one for your GPU are 460.32.03.