This is somewhat of a copy and paste in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228287 in the FreeBSD bug database.
There are two issues that I see with the Linux libraries as provided with the Nvidia driver:
- There are three empty libraries:
- Indirect GLX needs to be enabled in the X server to run Linux 32-bit applications with hardware acceleration.
The first one may not be an issue, but it is odd. If it is expected, would you update the README to explain it? This would help reduce future questions. An error I see with this comes from running eglinfo32 from a Linux distribution:
./eglinfo32: error while loading shared libraries: /lib/libEGL.so.1: file too short
As for the second issue, the X server is being required to be run with indirect GLX which has security implications. Since native FreeBSD OpenGL applications run well without it, it leads me to suspect that the provided Linux libraries can be fixed to also run without indirect GLX.
The error seen when attempting to run Linux 32-bit binaries is:
libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 153 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 35 Current serial number in output stream: 37
If you need any more details the bug listed above may answer your question. If not, please ping me.