Use utilities that come with your OS or video driver. MuJoCo uses standard OpenGL, and does not distinguish between hardware and software rendering. OpenGL hides those details from the software.