OpenGL issue: GL_INVALID_OPERATION

Problem

Zivid software is not able to capture, and outputs the following error message:

Error

Error: An error occurred:
CameraImageItem: "ptr = glMapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_WRITE_ONLY)" failed! (OpenGL error: GL_INVALID_OPERATION)

Potential cause

When using Linux 5.8 kernel (released with Ubuntu 20.04.2) with Intel GPU as rendering device, Zivid Studio and Visualizer can give OpenGL errors like the one above when displaying the point cloud.

Note

Ubuntu 20.04 only

Potential solution

Downgrade to the LTS(stable) base Linux kernel 5.4.