Paraview running extremely slow on workstation

Hi all,
Sorry to bother, but my Paraview is running extremely slow on my workstation (ubuntu 20.04), to the point where the software just goes unresponded and I have to force quit. I tried reinstalling it to the newest version but it didn’t work.
Later I found in a similar post that the issue might have something to do with the OpenGL implementation (MESA vs. NVIDIA). I did the following check through googling. However, I still don’t know how to switch my OpenGL implementation from Mesa to NVIDIA.

mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 12.0.0, 256 bits) (0xffffffff)
    Version: 21.2.6
    Accelerated: no
    Video memory: 63950MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 21.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ inix -G

Command 'inix' not found, did you mean:

  command 'ninix' from deb ninix-aya (5.0.9-1)
  command 'init' from deb systemd-sysv (245.4-4ubuntu3.22)
  command 'inxi' from deb inxi (3.0.38-1-0ubuntu1)

Try: sudo apt install <deb name>

mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ sudo lshw -c display
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:b3:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:fa000000-faffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:f000(size=128) memory:fb000000-fb07ffff
mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ sudo prime-select
Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ sudo prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Done
mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ xorg.conf
xorg.conf: command not found
mazq@Hogwarts:~/software/aspect/aspect/init/3Dmodel/output_20$ ldconfig -p | grep GL
      libvtkRenderingVolumeOpenGL2-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGL2-pv5.7.so.1
      libvtkRenderingVolumeOpenGL2-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGL2-pv5.7.so
      libvtkRenderingOpenGL2-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingOpenGL2-pv5.7.so.1
      libvtkRenderingOpenGL2-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingOpenGL2-pv5.7.so
      libvtkRenderingLICOpenGL2-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingLICOpenGL2-pv5.7.so.1
      libvtkRenderingLICOpenGL2-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingLICOpenGL2-pv5.7.so
      libvtkRenderingGL2PSOpenGL2-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingGL2PSOpenGL2-pv5.7.so.1
      libvtkRenderingGL2PSOpenGL2-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingGL2PSOpenGL2-pv5.7.so
      libvtkRenderingContextOpenGL2-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingContextOpenGL2-pv5.7.so.1
      libvtkRenderingContextOpenGL2-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkRenderingContextOpenGL2-pv5.7.so
      libvtkIceTGL-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkIceTGL-pv5.7.so.1
      libvtkIceTGL-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkIceTGL-pv5.7.so
      libvtkIOExportGL2PS-pv5.7.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkIOExportGL2PS-pv5.7.so.1
      libvtkIOExportGL2PS-pv5.7.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libvtkIOExportGL2PS-pv5.7.so
      libQt5OpenGL.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libQt5OpenGL.so.5
      libQt5OpenGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libQt5OpenGL.so
      libOpenGL.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libOpenGL.so.0
      libOpenGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libOpenGL.so
      libGLdispatch.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLdispatch.so.0
      libGLdispatch.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLdispatch.so
      libGLX_nvidia.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLX_nvidia.so.0
      libGLX_nvidia.so.0 (libc6) => /lib/i386-linux-gnu/libGLX_nvidia.so.0
      libGLX_mesa.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLX_mesa.so.0
      libGLX.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLX.so.0
      libGLX.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLX.so
      libGLU.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLU.so.1
      libGLU.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLU.so
      libGLEW.so.2.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLEW.so.2.1
      libGLESv2_nvidia.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLESv2_nvidia.so.2
      libGLESv2_nvidia.so.2 (libc6) => /lib/i386-linux-gnu/libGLESv2_nvidia.so.2
      libGLESv2.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLESv2.so.2
      libGLESv2.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLESv2.so
      libGLESv1_CM_nvidia.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.1
      libGLESv1_CM_nvidia.so.1 (libc6) => /lib/i386-linux-gnu/libGLESv1_CM_nvidia.so.1
      libGLESv1_CM.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLESv1_CM.so.1
      libGLESv1_CM.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGLESv1_CM.so
      libGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGL.so.1
      libGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGL.so
      libEGL_nvidia.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_nvidia.so.0
      libEGL_nvidia.so.0 (libc6) => /lib/i386-linux-gnu/libEGL_nvidia.so.0
      libEGL_mesa.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_mesa.so.0
      libEGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so.1
      libEGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so

I would greatly appreciate it if someone could help me with this. Thank you!

Best regards,
Ziqi