Segmentation Fault in Xorg with 440.31 driver on Quadro RTX 4000

Encountering a Segmentation Fault in Xorg 1.20.4 after successful installation of the 440.31 driver for Quadro RTX 4000 with libGL 19.2.1.

Log file reports the following:

[ 952.666] (II) AIGLX: Screen 0 is not DRI2 capable
[ 952.666] (EE) AIGLX: reverting to software rendering
[ 952.712] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[ 952.715] (EE)
[ 952.715] (EE) Backtrace:
[ 952.715] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x558f6a89e2c9]
[ 952.715] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f4c0d99655f]
[ 952.716] (EE) 2: /usr/lib/xorg/modules/extensions/libglx.so (GlxSetVisualConfigs+0x2fa) [0x7f4c0ced5a2a]
[ 952.716] (EE) 3: /usr/lib/xorg/modules/extensions/libglx.so (_init+0x1ad8a) [0x7f4c0ceefb7a]
[ 952.716] (EE) 4: /usr/lib/xorg/modules/extensions/libglx.so (_init+0x1a1a2) [0x7f4c0ceee412]
[ 952.717] (EE) 5: /usr/lib/xorg/Xorg (InitExtensions+0x89) [0x558f6a7ad439]
[ 952.717] (EE) 6: /usr/lib/xorg/Xorg (InitFonts+0x1eb) [0x558f6a74378b]
[ 952.717] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb) [0x7f4c0d7e7bbb]
[ 952.717] (EE) 8: /usr/lib/xorg/Xorg (_start+0x2a) [0x558f6a72d67a]
[ 952.717] (EE)
[ 952.718] (EE) Segmentation fault at address 0x7f4c0ce0f220
[ 952.718] (EE)
Fatal server error:
[ 952.718] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 952.718] (EE)
[ 952.718] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 952.718] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
[ 952.718] (EE)
[ 953.095] (EE) Server terminated with error (1). Closing log file.
nvidia-bug-report.log.gz (1.05 MB)

You have xorg 1.20 but libglx 1.19, that sometimes happens when using the .run installer to upgrade from 390 to >410 and having an intermediate xserver upgrade 1.19->1.20.
Please uninstall the nvidia driver by calling the .run installer with --uninstall option, then reinstall libglx
sudo apt install --reinstall xserver-xorg-core
afterwards, reinstall the nvidia driver.

Yes, removed driver, removed xserver-xorg and mesa, then reinstalled those. Working now, thanks!