X is using Mesa GLX Indirect OpenGL renderer

I recently updated the kernel on a CentOS 7.9.2009 system (kernel-3.10.0-1160.25.1.el7.x86_64) and then reinstalled the 460.73.01 drivers using the .run file. I believed everything was fine afterward because nvidia-smi displays the GPUs:

# nvidia-smi
Sun Oct 17 11:39:08 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 3090    Off  | 00000000:1A:00.0 Off |                  N/A |
|  0%   32C    P8     5W / 350W |      1MiB / 24268MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 3090    Off  | 00000000:68:00.0 Off |                  N/A |
|  0%   34C    P8    13W / 350W |     23MiB / 24267MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

However, I discovered that WebGL content was failing to display in Firefox. Further investigation showed that OpenGL rendering was being done via Mesa instead of the NVIDIA driver:

OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)

I attempted to fix this without success by running “nvidia-uninstall”, rebooting the system, and then reinstalling with the same .run file.

I searched and found a number of forum posts by people with this situation but did not find any successful resolution. How can I get hardware acceleration back?

nvidia-bug-report.log.gz (1.8 MB)
nvidia-installer.log (274.3 KB)