Rockchip Xserver

Does anyone know how to successfully build this xserver? Seems like i do not understand how to do it at all. I tried following this (exluding --enable-dmx), but xserver just refuse to start up with message from log
Fatal server error: AddScreen/ScreenInit failed for driver 0
I tried fresh install, i tried installing xubuntu and then installing this, i tried just kdfe4 (without lightdm or xubuntu as whole). Also i tried enabling only glamor and dri2 in autogen.sh options

Full log

Summary
[    39.977] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[    39.983] X Protocol Version 11, Revision 0
[    39.985] Build Operating System: Linux 4.4.154-72-rockchip-g6520deb aarch64 
[    39.990] Current Operating System: Linux localhost.localdomain 4.4.154-72-rockchip-g6520deb #2 SMP Wed Jan 16 15:38:32 CST 2019 aarch64
[    39.990] Kernel command line: earlyprintk console=ttyFIQ0,1500000n8 rw init=/sbin/init root=PARTUUID=b921b045-1d rootwait rootfstype=ext4
[    39.997] Build Date: 09 February 2019  05:21:21PM
[    39.999]  
[    40.001] Current version of pixman: 0.34.0
[    40.006] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    40.006] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    40.016] (==) Log file: "/var/log//Xorg.0.log", Time: Sat Feb  9 18:27:01 2019
[    40.025] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    40.029] (==) No Layout section.  Using the first Screen section.
[    40.029] (==) No screen section available. Using defaults.
[    40.029] (**) |-->Screen "Default Screen Section" (0)
[    40.029] (**) |   |-->Monitor "<default monitor>"
[    40.030] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    40.030] (==) Automatically adding devices
[    40.030] (==) Automatically enabling devices
[    40.030] (==) Automatically adding GPU devices
[    40.030] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    40.035] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[    40.036] 	Entry deleted from font path.
[    40.036] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[    40.036] 	Entry deleted from font path.
[    40.036] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    40.036] 	Entry deleted from font path.
[    40.036] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    40.036] 	Entry deleted from font path.
[    40.036] (==) FontPath set to:
	/usr/share/fonts/X11/misc/,
	/usr/share/fonts/X11/Type1/
[    40.036] (==) ModulePath set to "/usr/lib/xorg/modules"
[    40.036] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    40.037] (II) Loader magic: 0x5573176010
[    40.037] (II) Module ABI versions:
[    40.037] 	X.Org ANSI C Emulation: 0.4
[    40.037] 	X.Org Video Driver: 23.0
[    40.037] 	X.Org XInput driver : 24.1
[    40.037] 	X.Org Server Extension : 10.0
[    40.040] (++) using VT number 1

[    40.049] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[    40.051] (II) xfree86: Adding drm device (/dev/dri/card0)
[    40.055] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    40.056] (II) no primary bus or device found
[    40.056] 	falling back to /sys/devices/platform/display-subsystem/drm/card0
[    40.056] (II) LoadModule: "glx"
[    40.065] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    40.083] (II) Module glx: vendor="X.Org Foundation"
[    40.084] 	compiled for 1.19.3, module version = 1.0.0
[    40.084] 	ABI class: X.Org Server Extension, version 10.0
[    40.084] (==) Matched modesetting as autoconfigured driver 0
[    40.084] (==) Matched fbdev as autoconfigured driver 1
[    40.084] (==) Assigned the driver to the xf86ConfigLayout
[    40.084] (II) LoadModule: "modesetting"
[    40.084] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    40.086] (II) Module modesetting: vendor="X.Org Foundation"
[    40.086] 	compiled for 1.19.3, module version = 1.19.3
[    40.086] 	Module class: X.Org Video Driver
[    40.086] 	ABI class: X.Org Video Driver, version 23.0
[    40.086] (II) LoadModule: "fbdev"
[    40.086] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    40.087] (II) Module fbdev: vendor="X.Org Foundation"
[    40.087] 	compiled for 1.19.3, module version = 0.4.4
[    40.087] 	Module class: X.Org Video Driver
[    40.087] 	ABI class: X.Org Video Driver, version 23.0
[    40.087] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    40.087] (II) FBDEV: driver for framebuffer: fbdev
[    40.088] (II) modeset(0): using drv /dev/dri/card0
[    40.088] (WW) Falling back to old probe method for fbdev
[    40.088] (II) Loading sub module "fbdevhw"
[    40.088] (II) LoadModule: "fbdevhw"
[    40.088] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    40.089] (II) Module fbdevhw: vendor="X.Org Foundation"
[    40.089] 	compiled for 1.19.3, module version = 0.0.2
[    40.089] 	ABI class: X.Org Video Driver, version 23.0
[    40.090] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    40.090] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    40.090] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    40.090] (==) modeset(0): RGB weight 888
[    40.090] (==) modeset(0): Default visual is TrueColor
[    40.090] (II) Loading sub module "glamoregl"
[    40.090] (II) LoadModule: "glamoregl"
[    40.090] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    40.175] (II) Module glamoregl: vendor="X.Org Foundation"
[    40.176] 	compiled for 1.19.3, module version = 1.0.0
[    40.176] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    40.176] (II) glamor: OpenGL accelerated X.org driver based.
[    40.245] (II) glamor: EGL version 1.4 Midgard-"r14p0-01rel0":
[    40.245] EGL_KHR_surfaceless_gles2 required.
[    40.265] (II) modeset(0): Using GLES2.
[    40.266] (WW) modeset(0): Glamor is using GLES2 but GLX needs GL. Indirect GLX may not work correctly.
[    40.266] (II) modeset(0): glamor initialized
[    40.384] (II) modeset(0): Output HDMI-1 has no monitor section
[    40.385] (II) modeset(0): Output DSI-1 has no monitor section
[    40.498] (WW) EDID timing clock 148.50 exceeds claimed max 145MHz, fixing
[    40.499] (II) modeset(0): EDID for output HDMI-1
[    40.499] (II) modeset(0): Manufacturer: IVM  Model: 46e4  Serial#: 20000080
[    40.499] (II) modeset(0): Year: 2007  Week: 30
[    40.499] (II) modeset(0): EDID Version: 1.3
[    40.499] (II) modeset(0): Digital Display Input
[    40.499] (II) modeset(0): DFP 1.x compatible TMDS
[    40.499] (II) modeset(0): Max Image Size [cm]: horiz.: 33  vert.: 27
[    40.499] (II) modeset(0): Gamma: 2.20
[    40.499] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[    40.499] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    40.499] (II) modeset(0): First detailed timing is preferred mode
[    40.499] (II) modeset(0): redX: 0.650 redY: 0.330   greenX: 0.300 greenY: 0.600
[    40.499] (II) modeset(0): blueX: 0.150 blueY: 0.080   whiteX: 0.313 whiteY: 0.329
[    40.499] (II) modeset(0): Supported established timings:
[    40.499] (II) modeset(0): 720x400@70Hz
[    40.499] (II) modeset(0): 640x480@60Hz
[    40.499] (II) modeset(0): 640x480@67Hz
[    40.499] (II) modeset(0): 640x480@72Hz
[    40.499] (II) modeset(0): 640x480@75Hz
[    40.499] (II) modeset(0): 800x600@56Hz
[    40.499] (II) modeset(0): 800x600@60Hz
[    40.499] (II) modeset(0): 800x600@72Hz
[    40.499] (II) modeset(0): 800x600@75Hz
[    40.499] (II) modeset(0): 832x624@75Hz
[    40.499] (II) modeset(0): 1024x768@60Hz
[    40.499] (II) modeset(0): 1024x768@70Hz
[    40.499] (II) modeset(0): 1024x768@75Hz
[    40.499] (II) modeset(0): 1280x1024@75Hz
[    40.499] (II) modeset(0): Manufacturer's mask: 0
[    40.499] (II) modeset(0): Supported standard timings:
[    40.499] (II) modeset(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    40.500] (II) modeset(0): Supported detailed timing:
[    40.500] (II) modeset(0): clock: 83.5 MHz   Image Size:  337 x 270 mm
[    40.500] (II) modeset(0): h_active: 1280  h_sync: 1352  h_sync_end 1480 h_blank_end 1680 h_border: 0
[    40.500] (II) modeset(0): v_active: 800  v_sync: 803  v_sync_end 809 v_blanking: 831 v_border: 0
[    40.500] (II) modeset(0): Monitor name: HDMI
[    40.500] (II) modeset(0): Ranges: V min: 55 V max: 76 Hz, H min: 29 H max: 82 kHz, PixClock max 149 MHz
[    40.500] (II) modeset(0): Serial No: 586673000001
[    40.500] (II) modeset(0): Supported detailed timing:
[    40.500] (II) modeset(0): clock: 27.0 MHz   Image Size:  697 x 392 mm
[    40.500] (II) modeset(0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
[    40.500] (II) modeset(0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
[    40.500] (II) modeset(0): Supported detailed timing:
[    40.500] (II) modeset(0): clock: 74.2 MHz   Image Size:  697 x 392 mm
[    40.500] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    40.500] (II) modeset(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    40.500] (II) modeset(0): Supported detailed timing:
[    40.500] (II) modeset(0): clock: 74.2 MHz   Image Size:  697 x 392 mm
[    40.500] (II) modeset(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    40.500] (II) modeset(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    40.500] (II) modeset(0): Supported detailed timing:
[    40.500] (II) modeset(0): clock: 74.2 MHz   Image Size:  697 x 392 mm
[    40.500] (II) modeset(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[    40.500] (II) modeset(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    40.500] (II) modeset(0): Supported detailed timing:
[    40.501] (II) modeset(0): clock: 148.5 MHz   Image Size:  697 x 392 mm
[    40.501] (II) modeset(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    40.501] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    40.501] (II) modeset(0): Number of EDID sections to follow: 1
[    40.501] (II) modeset(0): EDID (in hex):
[    40.501] (II) modeset(0): 	00ffffffffffff0026cde446502d3101
[    40.501] (II) modeset(0): 	1e11010381211b78eaaea5a6544c9926
[    40.501] (II) modeset(0): 	145054bfef0081800101010101010101
[    40.501] (II) modeset(0): 	0101010101019e20009051201f304880
[    40.501] (II) modeset(0): 	3600510e1100001c000000fc0048444d
[    40.501] (II) modeset(0): 	490a0a0a0a0a0a0a0a0a000000fd0037
[    40.501] (II) modeset(0): 	4c1d520e000a202020202020000000ff
[    40.501] (II) modeset(0): 	003538363637333030303030310a01d6
[    40.501] (II) modeset(0): 	020321714e0607020315961112130414
[    40.501] (II) modeset(0): 	051f90230907078301000065030c0010
[    40.501] (II) modeset(0): 	008c0ad090204031200c405500b98821
[    40.501] (II) modeset(0): 	000018011d8018711c1620582c2500b9
[    40.501] (II) modeset(0): 	882100009e011d80d0721c1620102c25
[    40.501] (II) modeset(0): 	80b9882100009e011d00bc52d01e20b8
[    40.501] (II) modeset(0): 	285540b9882100001e023a80d072382d
[    40.501] (II) modeset(0): 	40102c4580b9882100001e00000000d0
[    40.502] (II) modeset(0): Printing probed modes for output HDMI-1
[    40.502] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz eP)
[    40.502] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    40.502] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    40.502] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    40.502] (II) modeset(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    40.502] (II) modeset(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    40.502] (II) modeset(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[    40.502] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    40.502] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    40.502] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    40.502] (II) modeset(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    40.502] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    40.502] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    40.502] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    40.502] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    40.502] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    40.502] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    40.502] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    40.502] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    40.503] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    40.503] (II) modeset(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    40.503] (II) modeset(0): Modeline "720x576i"x50.0   13.50  720 732 795 864  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    40.503] (II) modeset(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    40.503] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    40.503] (II) modeset(0): Modeline "720x480i"x60.0   13.51  720 739 801 858  480 488 494 525 interlace -hsync -vsync (15.8 kHz e)
[    40.503] (II) modeset(0): Modeline "720x480i"x59.9   13.50  720 739 801 858  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    40.503] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    40.503] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    40.503] (II) modeset(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    40.503] (II) modeset(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    40.503] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    40.503] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    40.503] (II) modeset(0): EDID for output DSI-1
[    40.503] (II) modeset(0): Printing probed modes for output DSI-1
[    40.503] (II) modeset(0): Modeline "800x480"x61.9   26.70  800 816 820 846  480 487 489 510 -hsync -vsync (31.6 kHz)
[    40.503] (II) modeset(0): Output HDMI-1 connected
[    40.503] (II) modeset(0): Output DSI-1 connected
[    40.503] (II) modeset(0): Using sloppy heuristic for initial modes
[    40.504] (II) modeset(0): Output HDMI-1 using initial mode 1280x800 +0+0
[    40.504] (II) modeset(0): Output DSI-1 using initial mode 800x480 +0+0
[    40.504] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    40.504] (==) modeset(0): DPI set to (96, 96)
[    40.504] (II) Loading sub module "fb"
[    40.504] (II) LoadModule: "fb"
[    40.504] (II) Loading /usr/lib/xorg/modules/libfb.so
[    40.510] (II) Module fb: vendor="X.Org Foundation"
[    40.510] 	compiled for 1.19.3, module version = 1.0.0
[    40.510] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    40.510] (II) UnloadModule: "fbdev"
[    40.510] (II) Unloading fbdev
[    40.510] (II) UnloadSubModule: "fbdevhw"
[    40.510] (II) Unloading fbdevhw
[    40.510] (==) Depth 24 pixmap format is 32 bpp
[    40.512] (EE) 
Fatal server error:
[    40.512] (EE) AddScreen/ScreenInit failed for driver 0
[    40.512] (EE) 
[    40.512] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    40.512] (EE) Please also check the log file at "/var/log//Xorg.0.log" for additional information.
[    40.512] (EE) 
[    40.524] (EE) Server terminated with error (1). Closing log file.

Nvm, solved with dpkg-buildpackage