I had to do this to get OpenGL to work:
sudo mv /usr/lib/xorg/modules/extensions/libglx.so{,.old}
sudo ln -s /usr/lib/nvidia/xorg/libglx.so.340.107 /usr/lib/xorg/modules/extensions/libglx.so
For more details, see https://bbs.archlinux.org/viewtopic.php?pid=1851223#p1851223
Pinned Comments
JerryXiao commented on 2022-10-13 03:51 (UTC) (edited on 2022-10-14 02:44 (UTC) by JerryXiao)
For testing users, contributors: check out https://github.com/archlinux-jerry/nvidia-340xx
Warning: force push may happen to match the aur tree