Hardware or Software rendering

is there a way to get info is hardware accelerated rendering used or is it rendering on software only?

No, there are no way to do that.

If glGetString(GL_VENDOR) tells you it’s Microsoft’s implementation, you are for sure using a software renderer. But for anything else, you can’t determine whether it’s software of hardware.