VTK 9.3.1 rendering problem on linux

Hello!

I’m trying to run CylinderExample on a Linux PC. I use VTK 9.3.1.
VTK is builded from the sources. Building and installation of VTK went without errors.
The example source code also builds without errors.
OpenGL drivers (Mesa) are installed. Mesa test applications work correctly.

After running the example, some garbage
garbage
is displayed instead of the cylinder and background.
The application does not hang, but does not respond to mouse events.
There are no errors in the command line window either.

What could be the reason for such incorrect rendering on Linux?

Best regards, Yury