Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676
I'm using a Debian AMD64 box, kernel 18.104.22.168, with a 32 bit chroot environment so I can run some games like Enemy Territory or Wolfenstein. It works well if I use driver version 7676 (with 32 bit compat libraries installed). But if I try to update to a newer version (such as the latest one, 8762), those games no longer work. I get a segmentation fault loading libGL.so.1 when loading the games. And I don't know why it works with 7676, and it doesn't with newer versions.
My card is a NVIDIA FX 5200, and my X-Window system works perfectly. In fact, if I run any 64-bit game (like 64-bit version of Quake 3 or TuxRacer), they also work. It only fails with 32-bit games. Is there a problem with 32-bit libraries?
By the way, I don't know if it has something to do with it or not, but all the NVIDIA installers I've used so far (including 7676) give me the following error:
-> Running runtime sanity check:
ERROR: The runtime configuration check failed for library 'libGL.so.1.0.7676'
(expected: '/emul/ia32-linux/usr/lib/libGL.so.1', found: '(not found)').
The most likely reason for this is that conflicting OpenGL libraries are
installed in a location not inspected by `nvidia-installer`. Please be
sure you have uninstalled any third-party OpenGL and third-party
graphics driver packages.
Thanks in advance.