Cannot run glx applications from RHEL7, RHEL6 hosts on RHEL8 clients with Quadro P4000

Cannot run glx applications from RHEL7, RHEL6 hosts on RHEL8 client with Quadro P4000 and Nvidia drivers.
Here is the error:

glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 34

Redhat tech support replicated the problem and it points to the Nividia driver.

Looks like this issue.

https://devtalk.nvidia.com/default/topic/1027577/linux/nvidia-387-34-glxinfo-error-of-failed-request-badvalue-integer-parameter-out-of-range-for-operation-/

Thanks for the pointer, that was the issue. However, that syntax did not work for me.

Inserting the below lines into xorg.conf and rebooting the box solved the problem:

Section “ServerFlags”
Option “IndirectGLX” “1”
EndSection