HL2 had both OpenGL and DirectX on paper, but the DirectX implementation was notoriously poor such that everyone used and recommended the OpenGL renderer.
Ironically now with Valve's push for Linux gaming, I'd expect that Linux is probably a great platform for HL2, probably even better than Windows. Intel GMA drivers might still be bad though, not sure if that is too far back for the open-source driver that showed up in the Core era.
https://arstechnica.com/civis/viewtopic.php?f=22&t=1007962
https://arstechnica.com/civis/viewtopic.php?f=6&t=931690
https://arstechnica.com/civis/viewtopic.php?f=22&t=987307
Ironically now with Valve's push for Linux gaming, I'd expect that Linux is probably a great platform for HL2, probably even better than Windows. Intel GMA drivers might still be bad though, not sure if that is too far back for the open-source driver that showed up in the Core era.