Problem with X server

I am trying to install older version (1.20.x) of xorg-x11-server on Tumbleweed, needed by nvidia driver. I branched the last version 1.20.13 from Factory (revision 396) and rebuilt it together with needed xf86-input- and xf86-video- drivers. Everything build and install fine but when I try to run the server with startx it fails just after a mouse cursor appear. In Xorg.0.log I have this:

   315.670] (II) LoadModule: "nouveau"
   315.670] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
   315.670] (EE) Failed to load /usr/lib64/xorg/modules/drivers/nouveau_drv.so: /usr/lib64/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaDriver
Alloc
   315.670] (EE) Failed to load module "nouveau" (loader failed, 0)
   315.670] (II) LoadModule: "nv"
   315.670] (II) Loading /usr/lib64/xorg/modules/drivers/nv_drv.so
   315.670] (EE) Failed to load /usr/lib64/xorg/modules/drivers/nv_drv.so: /usr/lib64/xorg/modules/drivers/nv_drv.so: undefined symbol: fbdevHWSave
   315.670] (EE) Failed to load module "nv" (loader failed, 0)
   315.670] (II) LoadModule: "modesetting"
   315.670] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
   315.670] (EE) Failed to load /usr/lib64/xorg/modules/drivers/modesetting_drv.so: /usr/lib64/xorg/modules/drivers/modesetting_drv.so: undefined symbol: s
hadowRemove
   315.670] (EE) Failed to load module "modesetting" (loader failed, 0)
   315.670] (II) LoadModule: "fbdev"
   315.670] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
   315.671] (EE) Failed to load /usr/lib64/xorg/modules/drivers/fbdev_drv.so: /usr/lib64/xorg/modules/drivers/fbdev_drv.so: undefined symbol: fbdevHWSave
   315.671] (EE) Failed to load module "fbdev" (loader failed, 0)
   315.671] (II) LoadModule: "vesa"
   315.671] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
   315.671] (EE) Failed to load /usr/lib64/xorg/modules/drivers/vesa_drv.so: /usr/lib64/xorg/modules/drivers/vesa_drv.so: undefined symbol: VBESetModeParam
eters
   315.671] (EE) Failed to load module "vesa" (loader failed, 0)
   315.671] (II) NVIDIA dlloader X Driver  340.108  Wed Dec 11 14:06:00 PST 2019
   315.671] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
   315.679] (II) Loading sub module "fb"
   315.679] (II) LoadModule: "fb"
   315.679] (II) Loading /usr/lib64/xorg/modules/libfb.so
   315.680] (II) Module fb: vendor="X.Org Foundation"
   315.680]    compiled for 1.20.13, module version = 1.0.0
   315.680]    ABI class: X.Org ANSI C Emulation, version 0.4
   315.680] (WW) Unresolved symbol: fbGetGCPrivateKey

Additionally I see this in dmesg output:

  178.349891] NVRM: Your system is not currently configured to drive a VGA console
  178.349895] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
  178.349896] NVRM: requires the use of a text-mode VGA console. Use of other console
  178.349897] NVRM: drivers including, but not limited to, vesafb, may result in
  178.349898] NVRM: corruption and stability problems, and is not supported.

Why the modules do not load correctly?

I appreciate any help.

Nouveau or Nvidia’s driver?
Nouveau may work with default settings, Nvidia’s needs patching: https://www.if-not-true-then-false.com/2021/install-nvidia-drivers-on-centos-rhel-rocky-linux/