primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: wrong ELF class: ELFCLASS64
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
glsanity-bee:
Checking native (usually Mesa/i965) GL
Running 32-bit tests
info: libGL.so.1: loaded from: /usr/lib/i386-linux-gnu/libGL.so.1
info: libGL.so.1: symlink to: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0
info: X display: :0.0
info: X Ext. "GLX": present
info: X Ext. "NV-GLX": not present; OK for non-nVidia drivers
info: GLX server: SGI
info: GLX client: Mesa Project and SGI
info: GL vendor: Intel Open Source Technology Center
info: GL renderer: Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2
info: GL version: 3.0 Mesa 10.3.2
Running 64-bit tests
info: libGL.so.1: loaded from: /usr/lib/x86_64-linux-gnu/libGL.so.1
info: libGL.so.1: symlink to: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0
info: X display: :0.0
info: X Ext. "GLX": present
info: X Ext. "NV-GLX": not present; OK for non-nVidia drivers
info: GLX server: SGI
info: GLX client: Mesa Project and SGI
info: GL vendor: Intel Open Source Technology Center
info: GL renderer: Mesa DRI Intel(R) Ivybridge Mobile
info: GL version: 3.0 Mesa 10.3.2
Checking secondary (usually NVIDIA) GL
Running 32-bit tests
info: libGL.so.1: loaded from: /usr/lib/i386-linux-gnu/libGL.so.1
info: libGL.so.1: symlink to: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0
info: X display: :8
info: X Ext. "GLX": present
info: X Ext. "NV-GLX": present
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
info: GLX server: NVIDIA Corporation
info: GLX client: Mesa Project and SGI
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 39
Current serial number in output stream: 38
Running 64-bit tests
info: libGL.so.1: loaded from: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
info: libGL.so.1: symlink to: /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.352.63
info: X display: :8
info: X Ext. "GLX": present
info: X Ext. "NV-GLX": present
info: GLX server: NVIDIA Corporation
info: GLX client: NVIDIA Corporation
info: GL vendor: NVIDIA Corporation
info: GL renderer: GeForce GT 650M/PCIe/SSE2
info: GL version: 4.5.0 NVIDIA 352.63
Testing offloading with primus
Running 32-bit tests
primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: wrong ELF class: ELFCLASS64
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
Running 64-bit tests
info: libGL.so.1: loaded from: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
info: X display: :0.0
info: X Ext. "GLX": present
info: X Ext. "NV-GLX": not present; OK for non-nVidia drivers
info: GLX server: NVIDIA Corporation
info: GLX client: primus
info: GL vendor: NVIDIA Corporation
info: GL renderer: GeForce GT 650M/PCIe/SSE2
info: GL version: 4.5.0 NVIDIA 352.63
Running Debian 8:
i have installed primus-libs:i386
glsanity-bee: