If you ever upgrade to Windows 11, the same LGS 5.10/5.12 will still work. Avoid "Logitech G Hub" – it does not support the G27.

If you absolutely cannot get LGS to work, there is an open-source community solution.