Problems with hdr image as path traced environment

Hi,
I am using Paraview 5.9.1.
I have an axisymmetric data set, on which I use the rotational extrusion filter.
In this filter, I enable the ray-tracing. Until this point everything works.
But when I use a HDR image as background, I get the following error messages:

(  73.427s) [pvbatch         ]vtkOpenGLFramebufferObj:1376   ERR| vtkOpenGLFramebufferObject (0x6f0df9d0): The framebuffer is incomplete : FRAMEBUFFER_INCOMPLETE_ATTACHMENT
(  91.228s) [pvbatch         ]vtkOpenGLFramebufferObj:456    ERR| vtkOpenGLFramebufferObject (0x728c84f0): Frame buffer object was not initialized correctly.

and a lot of this output:

Current framebuffer is bind to framebuffer object 38
color attachment 0:
 this attachment is a texture with name: 89
 its mipmap level is: 0
 this is a cube map texture and the image is contained in face 34069
 this is a 3D texture and the zoffset of the attached image is 34069
color attachment 1:
 this attachment is a texture with name: 89
 its mipmap level is: 0
 this is a cube map texture and the image is contained in face 34070
 this is a 3D texture and the zoffset of the attached image is 34070
color attachment 2:
 this attachment is a texture with name: 89
 its mipmap level is: 0
 this is a cube map texture and the image is contained in face 34071
 this is a 3D texture and the zoffset of the attached image is 34071
color attachment 3:
 this attachment is a texture with name: 89
 its mipmap level is: 0
 this is a cube map texture and the image is contained in face 34072
 this is a 3D texture and the zoffset of the attached image is 34072
color attachment 4:
 this attachment is a texture with name: 89
 its mipmap level is: 0
 this is a cube map texture and the image is contained in face 34073
 this is a 3D texture and the zoffset of the attached image is 34073
color attachment 5:
 this attachment is a texture with name: 89
 its mipmap level is: 0
 this is a cube map texture and the image is contained in face 34074
 this is a 3D texture and the zoffset of the attached image is 34074
color attachment 6:
 this attachment is empty
color attachment 7:
 this attachment is empty
depth attachment :
 this attachment is empty
stencil attachment :
 this attachment is empty
there are 8 draw buffers.
draw buffer[0]=GL_COLOR_ATTACHMENT0
draw buffer[1]=GL_COLOR_ATTACHMENT1
draw buffer[2]=GL_COLOR_ATTACHMENT2
draw buffer[3]=GL_COLOR_ATTACHMENT3
draw buffer[4]=GL_COLOR_ATTACHMENT4
draw buffer[5]=GL_COLOR_ATTACHMENT5
draw buffer[6]=GL_NONE
draw buffer[7]=GL_NONE
read buffer=GL_COLOR_ATTACHMENT0

In spite of this messages, the image is rendered, but a lot RAM is used, which eventually leads to an abortion of the program.

Please find attached the python files I use.
The first one is for the pvbatch command, the second one can be loaded as state into the GUI.
A data set can be downloaded with Link - LRZ Sync+Share.
The HDR image can be downloaded via HDRI: Lakeside | HDRI Haven. I use the 16k version.

generate_3d_image_hdr_background.py (7.9 KB)
generate_3d_image_hdr_background_state.py (7.0 KB)

What if you use a smaller version of the HDRi ?

When I go down to a 4k HDRi it works.
But at this resolution, the image isn’t sharp anymore, so I am looking for a solution which allows me to use the 16k or at least 8k version.

upgrade your GPU.

You are running out of GPU memory with the 8K HDRi, you can check that with nvidia-smi

I’m running the jobs on our universities linux cluster, I’m not sure if they have a GPU at all.
What I can say is that I have to use paraview mesa, because the “standard” paraview would require X-Server which the cluster does not have.

Are you using ParaView in client/server mode ?

I’m not 100 % sure but I think no. I use the precompiled binaries.

Do you run pvserver on the cluster, paraview on your client and then use File->Connect ?
Or, do you access your cluster through a graphical client and run paraview from there ?

I access the cluster via a ssh-connection. The precompiled binaries are on the cluster. On the cluster the job is run with ‘pvbatch < scriptname > .py’

Are you using local rendering or remote rendering ?

To know that, you can do the following:

Edit → Settings → RenderVies → ShowAnnotations → Enable

Then load your dataset and HDRis, it will be written top left of the render window.