OpenGL version issue

Our application required OpenGL version 4.6 and we have installed latest Nvidia which is supports OpenGL 4.6,
But when checked through glxinfo command it is showing the OpenGL version to be 3.1 and also giving below error.
X Error of failed request: GLXBadContextTag
Major opcode of failed request: 146 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 53
Current serial number in output stream: 53

Are you logging in locally or from remote over vnc/rdp?
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.