Open dhylands opened 6 months ago
My system is a Sytstem 76 Galago Pro, running Ubuntu 22.04 and `lspci | grep VGA' shows me:
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
and some of the info from glxinfo shows:
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.0-1pop0~1706872735~22.04~0fa430c
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
It appears that the Intel Grpahics Driver really has no sRGB frame buffers, so I just did a temporary hack and modified main to do:
displayMode = defaults(displayMode, width, height);
// Hack for Intel Graphics
displayMode &= ~GLUT_SRGB;
and now I can run the demos
If I try to run
Tut18BumpySquare
then I get the following error:If I edit the default function ini BumpySquare.cpp and change:
to look like (i.e. remove GLUT_SRGB)
then the program runs, but I'm not sure whether the effects shown are correct or not.