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
Zivid Studio and Visualizer can give OpenGL errors like the one above when displaying the point cloud. The issue happens on Zivid SDK version 2.6 and earlier when using Linux 5.8 kernel (released with Ubuntu 20.04.2) with Intel GPU as rendering device.
Note
Ubuntu 20.04 only
Solutions
Upgrade Zivid SDK to 2.7 or newer. Alternatively, downgrade to the LTS (stable) base Linux kernel 5.4.