Yes, I recall using GLXInfo in a xterm window to check whether I correctly installed graphics drivers or not. "Direct Rendering: Yes" would confirm that. Good old times indeed.
That'll still work to see which driver is running. Might want to append "| head -30" so you don't get all the unnecessary debug for your answer, though. Or grep for what you're expecting (i.e. "| grep -i nvidia").