Paraview super build failed

My actual issue is of I'm using Ubuntu 22 and ParaView osmesa binary crashes on rendering

My server is of AMD, so I cant use EGL. I’m left with superbuild.
Which is too causing issues for me.

I want to build a headless Paraview for pvserver, let me know which super build version is stable to build it and use