glxinfo command returning "BadWindow (invalid Window parameter)" error

I have been doing a TON of installing/uninstalling/reinstalling so that may contribute to this issue, but all of a sudden, any call I make to GLX has been returning this error:

name of display: :0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 150 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x3c00003
Serial number of failed request: 46
Current serial number in output stream: 46

I am getting this error from drivers I downloaded directly from nVidia as well as my package manager.

OS: Linux Mint 17.1
GPUS: 760 and 460SE (3 monitors, 2 on the 460 and 1 on the 760)

Please let me know if there is any other information you need.
nvidia-bug-report.log.gz (227 KB)

Your xorg.conf is screwed

Section "Files"
EndSection

Try adding thew correct module paths for your distro (example shown for fedora).

Section "Files"
	ModulePath   "/usr/lib64/nvidia/xorg"
	ModulePath   "/usr/lib64/xorg/modules"
EndSection

Thank you for the reply.
I have added “/usr/lib/xorg/modules” but “/usr/lib/nvidia/xorg” does not exist on my system.
I did a ‘locate /nvidia/xorg’ and it did not find anything.

With just “/usr/lib/xorg/modules” added to my xorg.conf, I am still having the same issue.
(my xorg log shows that the glx module was loaded and initialized)
((also, nvidia-detector returns ‘none’))

You could remove the empty files section

My files section was previously empty, I had entered in your suggestion into the files section and it is no longer empty.

I did a reinstall of the drivers and I am now getting a new error message when using glxinfo:

name of display: :0
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig

Also, I am seeing these in my xorg log:

[  2439.134] (II) LoadModule: "glx"
[  2439.135] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2439.150] (II) Module glx: vendor="X.Org Foundation"
[  2439.150] 	compiled for 1.15.1, module version = 1.0.0
[  2439.150] 	ABI class: X.Org Server Extension, version 8.0
[  2439.150] (==) AIGLX enabled
[  2439.150] Loading extension GLX
(...)
[  2439.159] (EE) NVIDIA(0): Failed to initialize the GLX module; please check i
n your X
[  2439.159] (EE) NVIDIA(0):     log file that the GLX module has been loaded in you
r X
[  2439.159] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX modul
e.  If
[  2439.159] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[  2439.159] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.