install paraview 6 on ubuntu 24.04 with wayland

Hi, I am trying to install and use paraview 6 on a new Ubuntu 24.04 LTS. I am using ParaView-6.0.0-MPI-Linux-Python3.12-x86_64. A window opens, but it is all black. I am using wayland. The terminal says:

OSMesa not found. Fallback to bundled libOSMesa at /home/cshl/ParaView-6.0.0-MPI-Linux-Python3.12-x86_64/bin/../lib/mesa

I have tried chatgpt, but it still thinks the newest version of paraview is 5.13.

Thanks!

ParaView does not yet support Wayland natively. You’ll need to install Xwayland to provide ParaView an X server to communicate with.

HI Ben, thanks for the reply. I have installed xwayland, and the problem persists. Any ideas on what else is causing my issue?

I got it to work, with help of chatgpt. I am using xorg now. And I need to launch with following flags:
LIBGL_DRI3_DISABLE=1 AMD_DEBUG=nodcc mesa_glthread=false QT_QPA_
PLATFORM=xcb QT_OPENGL=desktop QT_XCB_GL_INTEGRATION=glx /home/cshl/ParaView-6
.0.0-MPI-Linux-Python3.12-x86_64/bin/paraview