Giter Site home page Giter Site logo

jeffycn / xorg-xserver Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 21.0 58.89 MB

X server with glamor hacks for gles2 and rga based exa

License: Other

Emacs Lisp 0.01% Shell 0.12% Makefile 0.53% C 95.62% Meson 0.57% Objective-C 0.93% Python 0.14% M4 0.64% DTrace 0.02% C++ 0.10% Roff 1.10% Yacc 0.10% Lex 0.04% HTML 0.01% Awk 0.02% Assembly 0.06% Dockerfile 0.01%
exa glamor gles2 modesetting pageflip rockchip-rga xserver xv zero-copy

xorg-xserver's People

Contributors

aaronp24 avatar airlied avatar alanc avatar anholt avatar dbnicholson avatar dottedmag avatar e4t avatar evelikov avatar fooishbar avatar gisburn avatar gregkh avatar ickle avatar jameysharp avatar jcristau avatar jeffycn avatar jeremyhu avatar jon-turney avatar jwrdegoede avatar keith-packard avatar madman2003 avatar mattst88 avatar memsize avatar mherrb avatar nwnk avatar ofourdan avatar simonthum avatar sorensp avatar tiagovignatti avatar whot avatar yselkowitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xorg-xserver's Issues

[GUIDE] Can you guide me to build debian packages for this repositories?

Hey jeffy, I want to use updated Xorg with my RK3399 board, I am not able to get accelerated DRM to work on Rockchip debian, From the glxinfo results it fails to load rockchip dri and the DRM is offload onto the CPU itself.

It seems like mesa and Xorg is outdated and needs to be updated to get the DRM offloaded to MALI.

Can you guide me in the correct direction?

Memory leak

Hi @JeffyCN

There is a memory leak in xorg that i am trying to hunt down.
I have noticed there is a leak of about 1M every ~10 min in idle mode.
If you run an intensive opengles2 application you can have a significant amount of memory not released.
I have all memory leak fix patches applied.

You can reproduce the leak by running glmark2-es2 and checking with xrestop.

  1. before running glmark2-es2
xrestop - Display: localhost
          Monitoring 20 clients. XErrors: 14
          Pixmaps:   58868K total, Other:      49K total, All:   58917K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier    
0c00000   204   30    1  232  728    37982K     23K  38005K   799 xfwm4
0600000     0    0    0    1    0     8100K      0B   8100K   ?   <unknown>
1800000     5   22    0    4   39     5784K      1K   5785K   812 Desktop
0000000     2    0    2    0  119     2700K      4K   2704K   ?   <unknown>
0e00000    11    3    0    6  171     2304K      4K   2308K   803 debian - File
2200000    19    3    1   10   99     1355K      3K   1359K   851 Terminal -
1000000    10   33    0    2   40      384K      1K    385K   808 xfce4-panel
2600000     7    4    0    2   59      256K      1K    257K   357 *Untitled 1 -
1c00000     7   36    0    2   14        1K      1K      3K   819 wrapper-1.0
1200000     4    1    0    0   99        0B      2K      2K   810 xfsettingsd
1a00000     5   26    0    1   12        4B      1K      1K   821 wrapper-1.0
0400000    10    3    0    0   27        8B    960B    968B   778 Fcitx Tray Win
0800000     2    1    0    0   25        0B    672B    672B   786 xfce4-session
1600000     3    2    0    0   22        4B    648B    652B   824 light-locker
2400000     1    1    0    0    9        0B    264B    264B   803 Thunar
0a00000     1    1    0    0    9        0B    264B    264B   795 xfce4-notifyd
2000000     1    1    0    0    1        0B     72B     72B   ?   xrestop
1e00000     0    1    0    0    0        0B     24B     24B   ?   <unknown>
1400000     0    1    0    0    0        0B     24B     24B   ?   <unknown>
0200000     0    0    0    0    0        0B      0B      0B   ?   <unknown>

  1. After running glmark2-es2
xrestop - Display: localhost
          Monitoring 20 clients. XErrors: 14
          Pixmaps:   60788K total, Other:      51K total, All:   60840K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier    
0c00000   204   30    1  232  736    38175K     23K  38199K   799 xfwm4
0600000     0    0    0    1    0     8100K      0B   8100K   ?   <unknown>
1800000     6   22    0    4   40     5784K      1K   5785K   812 Desktop
0e00000    11    3    0    7  173     4031K      4K   4035K   803 debian - File
0000000     2    0    2    0  120     2700K      4K   2704K   ?   <unknown>
2200000    21    3    1   10  104     1355K      4K   1359K   851 Terminal -
1000000    10   33    0    2   40      384K      1K    385K   808 xfce4-panel
2600000     7    4    0    2  136      256K      3K    259K   357 *Untitled 1 -
1c00000     7   36    0    2   14        1K      1K      3K   819 wrapper-1.0
1200000     4    1    0    0   99        0B      2K      2K   810 xfsettingsd
1a00000     5   26    0    1   12        4B      1K      1K   821 wrapper-1.0
0400000    10    3    0    0   27        8B    960B    968B   778 Fcitx Tray Win
0800000     2    1    0    0   25        0B    672B    672B   786 xfce4-session
1600000     3    2    0    0   22        4B    648B    652B   824 light-locker
2400000     1    1    0    0    9        0B    264B    264B   803 Thunar
0a00000     1    1    0    0    9        0B    264B    264B   795 xfce4-notifyd
2000000     1    1    0    0    1        0B     72B     72B   ?   xrestop
1e00000     0    1    0    0    0        0B     24B     24B   ?   <unknown>
1400000     0    1    0    0    0        0B     24B     24B   ?   <unknown>
0200000     0    0    0    0    0        0B      0B      0B   ?   <unknown>

How can this be mitigated? Can you check with your setup?

X server requires "randrproto >= 1.6.0"

Hello,
I'm trying to test xvimagesink on rk3328

because rk3328 SDK is only on STRETCH, I cannot compile this xorg-xserver on STRETCH.

Is there a branch that does not require randrproto >= 1.6.0?

Unable to resolve '1.20.14_2022_01_17' in upstream git repository in git ls-remote output for github.com/JeffyCN/xorg-xserver

Hello,
im trying to build yocto for my rk3399 excavator. I've a problem with xserver-xorg seem there is no 1.20.14_2022_01_17 tag in this repo. Here steb by step what i've done:

repo init -u https://github.com/JeffyCN/yocto-manifests -b honister -m rockchip-rk3399-sapphire-excavator.xml
repo sync

#edited build/conf/include/display.conf to disable weston/wayland group and enabled x11 group:

# For weston
# DISTRO_FEATURES:remove = "x11"
# DISTRO_FEATURES:append = " wayland"
# IMAGE_INSTALL:append = " weston weston-init weston-examples"

# For x11
DISTRO_FEATURES:remove = "wayland"
DISTRO_FEATURES:append = " x11 opengl"
IMAGE_FEATURES:append = " x11-base"
IMAGE_INSTALL:append = " xf86-video-modesetting xserver-xorg-module-exa"

# For mali gpu
DISTRO_FEATURES:append = " egl"

# For QT5
# IMAGE_INSTALL:append = " qtbase qtbase-examples"
# IMAGE_INSTALL:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)}"
# PACKAGECONFIG:append:pn-qtbase = " examples"

when i start bitbake core-image-minimal i got:

Loading cache: 100% |                                                                                                                                                                                                         | ETA:  --:--:--
Loaded 0 entries from dependency cache.
WARNING: /home/builder/my-yocto/build/../poky/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.14.bb: Exception during build_dependencies for AUTOREV##########################                                         | ETA:  0:00:05
WARNING: /home/builder/my-yocto/build/../poky/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.14.bb: Error during finalise of /home/builder/my-yocto/build/../poky/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.14.bb
ERROR: ExpansionError during parsing /home/builder/my-yocto/build/../poky/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.14.bb
Traceback (most recent call last):
  File "/home/builder/my-yocto/poky/bitbake/lib/bb/fetch2/git.py", line 245, in Git.urldata_init(ud=<bb.fetch2.FetchData object at 0x7fbd57ee6cc0>, d=<bb.data_smart.DataSmart object at 0x7fbd56fef8d0>):
     
    >        ud.setup_revisions(d)
     
  File "/home/builder/my-yocto/poky/bitbake/lib/bb/fetch2/__init__.py", line 1331, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart object at 0x7fbd56fef8d0>):
             for name in self.names:
    >            self.revisions[name] = srcrev_internal_helper(self, d, name)
     
  File "/home/builder/my-yocto/poky/bitbake/lib/bb/fetch2/__init__.py", line 1196, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7fbd57ee6cc0>, d=<bb.data_smart.DataSmart object at 0x7fbd56fef8d0>, name='default'):
         if srcrev == "AUTOINC":
    >        srcrev = ud.method.latest_revision(ud, d, name)
     
  File "/home/builder/my-yocto/poky/bitbake/lib/bb/fetch2/__init__.py", line 1605, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7fbd57ee6cc0>, d=<bb.data_smart.DataSmart object at 0x7fbd56fef8d0>, name='default'):
             except KeyError:
    >            revs[key] = rev = self._latest_revision(ud, d, name)
                 return rev
  File "/home/builder/my-yocto/poky/bitbake/lib/bb/fetch2/git.py", line 729, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7fbd57ee6cc0>, d=<bb.data_smart.DataSmart object at 0x7fbd56fef8d0>, name='default'):
             raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
    >            (ud.unresolvedrev[name], ud.host+ud.path))
     
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve '1.20.14_2022_01_17' in upstream git repository in git ls-remote output for github.com/JeffyCN/xorg-xserver
The variable dependency chain for the failure is: SRCPV -> AUTOREV[vardepvalue]


Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

corrupt display when mouse pointer moved to left side of screen

when mouse pointer moved on the left side of screnn the screen right of Mouse pointer shifts on 1 pix to the right. I can provide video of this issue if you can't reproduce. This issue observed on kernel 4.19 and on your tag xorg-xserver 1.20.4_2021_03_15. Also older version have this issue.

RK3588 debian 内存泄露

在正常运行的情况下,Xorg 会不断申请 drmbuf ,但是没有释放。以下有三个日志文件
log0 :运行一会后,rockchipdrm 使用情况
log1 :再大概运行几分钟后,rockchipdrm 使用情况,相对 log0 ,只有新增加的 rockchipdrm 使用,并未发现有释放的
log2 :重新启动 lightdm 服务后,rockchipdrm 使用情况,发现在 Xorg 服务重启启动后,rockchipdrm 有释放

日志文件均使用命令 cat /proc/rk_dmabuf/dev > logx 生成
log3.log
log0.log
log2.log

xorg-xserver 21.1.3 command to build and install

Hi @JeffyCN

I have built and installed xorg-xserver in /usr/local , but it crash when running glmark2-es2 with:

0  900 903 909 926 +hsync -vsync (55.5 kHz e)
[   173.424] (II) modeset(0): Modeline "1400x1050"x0.0  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[   173.424] (II) modeset(0): Modeline "1600x900"x60.0  119.00  1600 1696 1864 2128  900 901 904 932 -hsync +vsync (55.9 kHz e)
[   173.424] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[   768.568] (EE) modeset(0): Failed to get DRI2 name for pixmap
[   768.571] (EE) 
[   768.571] (EE) Backtrace:
[   768.572] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x188) [0x559441e938]
[   768.573] (EE) unw_get_proc_info failed: no unwind info found [-10]
[   768.573] (EE) 
[   768.573] (EE) Segmentation fault at address 0x55c7876
[   768.573] (EE) 
Fatal server error:
[   768.573] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   768.573] (EE) 

Can you provide the correct command to build and install 21.1.3 to integrate it with the current ubuntu jammy?
glmark2-es2-drm runs fine.

Graphical glitch with glamor on 1.20.8-2ubuntu2

Hello! I run in to some graphical glitches when using glamor

Windows and texts looks distorted, and Xorg.0.log is flooded with errors like

...
[  5670.324] (EE) modeset(0): Failed to make 1x21x8bpp GBM bo
[  5670.326] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  5670.328] (EE) modeset(0): Failed to make 19x19x8bpp GBM bo
[  5670.336] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  5670.337] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
...

I can screenshot this effect so it's not a hardware issue, and if I switch to exa accel, it works just fine.
This seems to happen only when I use xfce, it dissappears when I switch to gnome.

I'd like to know what might have caused it and if there is any way to fix it or work around it?

Stuff I use:

Here is the screenshot, notice the jagged window frame and blurry text.
Screenshot_2020-11-27_03-14-29

modesetting.conf
Section "Device"
    Identifier  "Rockchip Graphics"
    Driver      "modesetting"
    # Option      "AccelMethod"    "exa"
    Option      "AccelMethod"    "glamor"
    Option      "DRI"    "2"
    # Option      "FlipFB"         "always"
    Option      "PageFlip"    "false"
    Option      "FlipFB"         "none"
    Option      "NoEDID"         "true"
EndSection

Section	"Screen"
    Identifier	"Default Screen"
    Device	"Rockchip Graphics"
    Monitor	"Default Monitor"
EndSection

### Valid values for rotation are "normal", "left", "right"
Section	"Monitor"
    Identifier	"Default Monitor"
    Option	"Rotate" "normal"
EndSection

PageFlip option has to be set to false when I use exa, otherwise I can't log into the system

Xorg.0.log
[  7502.851] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[  7502.852] Build Operating System: Linux 4.4.194 armv7l Ubuntu
[  7502.852] Current Operating System: Linux localhost.localdomain 4.4.194 #290 SMP Tue Nov 24 10:17:13 CST 2020 armv7l
[  7502.852] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.slot_suffix= androidboot.serialno=T8P9XUT0OO  earlyprintk rw rootwait console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4
[  7502.852] Build Date: 06 April 2020  09:39:29AM
[  7502.852] xorg-server 2:1.20.8-2ubuntu2 (For technical support please see http://www.ubuntu.com/support) 
[  7502.852] Current version of pixman: 0.38.4
[  7502.852] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  7502.852] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7502.852] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 27 03:36:47 2020
[  7502.853] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  7502.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  7502.853] (==) No Layout section.  Using the first Screen section.
[  7502.853] (**) |-->Screen "Default Screen" (0)
[  7502.853] (**) |   |-->Monitor "Default Monitor"
[  7502.854] (**) |   |-->Device "Rockchip Graphics"
[  7502.854] (==) Automatically adding devices
[  7502.854] (==) Automatically enabling devices
[  7502.854] (==) Automatically adding GPU devices
[  7502.854] (==) Automatically binding GPU devices
[  7502.854] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  7502.854] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  7502.854] 	Entry deleted from font path.
[  7502.854] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  7502.854] 	Entry deleted from font path.
[  7502.854] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  7502.854] 	Entry deleted from font path.
[  7502.854] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  7502.854] 	Entry deleted from font path.
[  7502.854] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  7502.854] 	Entry deleted from font path.
[  7502.854] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[  7502.854] (==) ModulePath set to "/usr/lib/xorg/modules"
[  7502.854] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  7502.855] (II) Loader magic: 0x7f767008
[  7502.855] (II) Module ABI versions:
[  7502.855] 	X.Org ANSI C Emulation: 0.4
[  7502.855] 	X.Org Video Driver: 24.1
[  7502.855] 	X.Org XInput driver : 24.1
[  7502.855] 	X.Org Server Extension : 10.0
[  7502.857] (++) using VT number 7

[  7502.858] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  7502.859] (II) xfree86: Adding drm device (/dev/dri/card0)
[  7502.859] (II) no primary bus or device found
[  7502.859] 	falling back to /sys/devices/platform/display-subsystem/drm/card0
[  7502.859] (II) LoadModule: "glx"
[  7502.860] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  7502.861] (II) Module glx: vendor="X.Org Foundation"
[  7502.862] 	compiled for 1.20.8, module version = 1.0.0
[  7502.862] 	ABI class: X.Org Server Extension, version 10.0
[  7502.862] (II) LoadModule: "modesetting"
[  7502.862] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  7502.869] (II) Module modesetting: vendor="X.Org Foundation"
[  7502.869] 	compiled for 1.20.8, module version = 1.20.8
[  7502.869] 	Module class: X.Org Video Driver
[  7502.869] 	ABI class: X.Org Video Driver, version 24.1
[  7502.869] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  7502.870] (II) modeset(0): using drv /dev/dri/card0
[  7502.870] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  7502.870] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen" for depth/fbbpp 24/32
[  7502.870] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  7502.870] (**) modeset(0): Option "AccelMethod" "glamor"
[  7502.870] (**) modeset(0): Option "PageFlip" "false"
[  7502.870] (**) modeset(0): Option "FlipFB" "none"
[  7502.870] (**) modeset(0): Option "NoEDID" "true"
[  7502.870] (==) modeset(0): RGB weight 888
[  7502.870] (==) modeset(0): Default visual is TrueColor
[  7502.870] (II) Loading sub module "glamoregl"
[  7502.870] (II) LoadModule: "glamoregl"
[  7502.871] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  7502.888] (II) Module glamoregl: vendor="X.Org Foundation"
[  7502.888] 	compiled for 1.20.8, module version = 1.0.1
[  7502.888] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  7502.895] (II) modeset(0): glamor X acceleration enabled on Mali-T760
[  7502.895] (II) modeset(0): glamor initialized
[  7502.895] (II) modeset(0): Output HDMI-1 using monitor section Default Monitor
[  7502.895] (**) modeset(0): Option "Rotate" "normal"
[  7502.911] (II) modeset(0): Output VGA-1 has no monitor section
[  7502.911] (II) modeset(0): EDID for output HDMI-1
[  7502.926] (II) modeset(0): EDID for output VGA-1
[  7502.927] (II) modeset(0): Printing probed modes for output VGA-1
[  7502.927] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[  7502.927] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[  7502.927] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[  7502.927] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[  7502.927] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[  7502.927] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[  7502.927] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[  7502.927] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[  7502.927] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[  7502.927] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  7502.927] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[  7502.927] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[  7502.927] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  7502.927] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  7502.927] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[  7502.927] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[  7502.927] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  7502.927] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  7502.927] (II) modeset(0): Output HDMI-1 disconnected
[  7502.927] (II) modeset(0): Output VGA-1 connected
[  7502.927] (II) modeset(0): Using exact sizes for initial modes
[  7502.927] (II) modeset(0): Output VGA-1 using initial mode 1920x1080 +0+0
[  7502.927] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  7502.927] (==) modeset(0): DPI set to (96, 96)
[  7502.927] (II) Loading sub module "fb"
[  7502.928] (II) LoadModule: "fb"
[  7502.928] (II) Loading /usr/lib/xorg/modules/libfb.so
[  7502.928] (II) Module fb: vendor="X.Org Foundation"
[  7502.928] 	compiled for 1.20.8, module version = 1.0.0
[  7502.928] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  7503.025] (==) modeset(0): Backing store enabled
[  7503.025] (==) modeset(0): Silken mouse enabled
[  7503.026] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[  7503.026] (==) modeset(0): DPMS enabled
[  7503.026] (WW) modeset(0): Option "DRI" is not used
[  7503.026] (WW) modeset(0): Option "Rotate" is not used
[  7503.027] (II) modeset(0): [DRI2] Setup complete
[  7503.027] (II) modeset(0): [DRI2]   DRI driver: rockchip
[  7503.027] (II) modeset(0): [DRI2]   VDPAU driver: rockchip
[  7503.027] (II) Initializing extension Generic Event Extension
[  7503.028] (II) Initializing extension SHAPE
[  7503.028] (II) Initializing extension MIT-SHM
[  7503.029] (II) Initializing extension XInputExtension
[  7503.029] (II) Initializing extension XTEST
[  7503.029] (II) Initializing extension BIG-REQUESTS
[  7503.030] (II) Initializing extension SYNC
[  7503.030] (II) Initializing extension XKEYBOARD
[  7503.031] (II) Initializing extension XC-MISC
[  7503.031] (II) Initializing extension SECURITY
[  7503.031] (II) Initializing extension XFIXES
[  7503.032] (II) Initializing extension RENDER
[  7503.032] (II) Initializing extension RANDR
[  7503.033] (II) Initializing extension COMPOSITE
[  7503.033] (II) Initializing extension DAMAGE
[  7503.034] (II) Initializing extension MIT-SCREEN-SAVER
[  7503.034] (II) Initializing extension DOUBLE-BUFFER
[  7503.034] (II) Initializing extension RECORD
[  7503.035] (II) Initializing extension DPMS
[  7503.035] (II) Initializing extension Present
[  7503.036] (II) Initializing extension DRI3
[  7503.036] (II) Initializing extension X-Resource
[  7503.036] (II) Initializing extension XVideo
[  7503.037] (II) Initializing extension XVideo-MotionCompensation
[  7503.037] (II) Initializing extension SELinux
[  7503.037] (II) SELinux: Disabled on system
[  7503.037] (II) Initializing extension GLX
[  7503.557] (EE) AIGLX error: Calling driver entry point failed
[  7503.569] (II) IGLX: Loaded and initialized swrast
[  7503.569] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  7503.569] (II) Initializing extension XFree86-VidModeExtension
[  7503.569] (II) Initializing extension XFree86-DGA
[  7503.570] (II) Initializing extension XFree86-DRI
[  7503.570] (II) Initializing extension DRI2
[  7503.571] (II) modeset(0): Damage tracking initialized
[  7503.571] (II) modeset(0): Setting screen physical size to 508 x 285
[  7503.658] (II) config/udev: Adding input device MOSART Semi. 2.4G Keyboard Mouse (/dev/input/event0)
[  7503.658] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput keyboard catchall"
[  7503.658] (II) LoadModule: "libinput"
[  7503.658] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  7503.662] (II) Module libinput: vendor="X.Org Foundation"
[  7503.662] 	compiled for 1.20.4, module version = 0.29.0
[  7503.662] 	Module class: X.Org XInput Driver
[  7503.662] 	ABI class: X.Org XInput driver, version 24.1
[  7503.662] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Keyboard Mouse'
[  7503.662] (**) MOSART Semi. 2.4G Keyboard Mouse: always reports core events
[  7503.662] (**) Option "Device" "/dev/input/event0"
[  7503.662] (**) Option "_source" "server/udev"
[  7503.669] (II) event0  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard
[  7503.669] (II) event0  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[  7503.670] (II) event0  - MOSART Semi. 2.4G Keyboard Mouse: device removed
[  7503.720] (**) Option "config_info" "udev:/sys/devices/platform/ff540000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:062A:4101.0001/input/input1/event0"
[  7503.720] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Keyboard Mouse" (type: KEYBOARD, id 6)
[  7503.720] (**) Option "xkb_model" "pc105"
[  7503.720] (**) Option "xkb_layout" "us"
[  7503.724] (II) event0  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard
[  7503.725] (II) event0  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[  7503.727] (II) config/udev: Adding input device MOSART Semi. 2.4G Keyboard Mouse (/dev/input/event1)
[  7503.727] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput pointer catchall"
[  7503.727] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput keyboard catchall"
[  7503.728] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Keyboard Mouse'
[  7503.728] (**) MOSART Semi. 2.4G Keyboard Mouse: always reports core events
[  7503.728] (**) Option "Device" "/dev/input/event1"
[  7503.728] (**) Option "_source" "server/udev"
[  7503.732] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard Mouse
[  7503.732] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: device is a pointer
[  7503.732] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[  7503.733] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: device removed
[  7503.780] (II) libinput: MOSART Semi. 2.4G Keyboard Mouse: needs a virtual subdevice
[  7503.780] (**) Option "config_info" "udev:/sys/devices/platform/ff540000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:062A:4101.0002/input/input2/event1"
[  7503.780] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Keyboard Mouse" (type: MOUSE, id 7)
[  7503.780] (**) Option "AccelerationScheme" "none"
[  7503.780] (**) MOSART Semi. 2.4G Keyboard Mouse: (accel) selected scheme none/0
[  7503.780] (**) MOSART Semi. 2.4G Keyboard Mouse: (accel) acceleration factor: 2.000
[  7503.780] (**) MOSART Semi. 2.4G Keyboard Mouse: (accel) acceleration threshold: 4
[  7503.785] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard Mouse
[  7503.785] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: device is a pointer
[  7503.785] (II) event1  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[  7503.787] (II) config/udev: Adding input device rk29-keypad (/dev/input/event2)
[  7503.787] (**) rk29-keypad: Applying InputClass "libinput keyboard catchall"
[  7503.787] (II) Using input driver 'libinput' for 'rk29-keypad'
[  7503.787] (**) rk29-keypad: always reports core events
[  7503.787] (**) Option "Device" "/dev/input/event2"
[  7503.787] (**) Option "_source" "server/udev"
[  7503.788] (II) event2  - rk29-keypad: is tagged by udev as: Keyboard
[  7503.788] (II) event2  - rk29-keypad: device is a keyboard
[  7503.789] (II) event2  - rk29-keypad: device removed
[  7503.810] (**) Option "config_info" "udev:/sys/devices/platform/rockchip-key/input/input3/event2"
[  7503.810] (II) XINPUT: Adding extended input device "rk29-keypad" (type: KEYBOARD, id 8)
[  7503.810] (**) Option "xkb_model" "pc105"
[  7503.810] (**) Option "xkb_layout" "us"
[  7503.812] (II) event2  - rk29-keypad: is tagged by udev as: Keyboard
[  7503.812] (II) event2  - rk29-keypad: device is a keyboard
[  7503.824] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput pointer catchall"
[  7503.824] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput keyboard catchall"
[  7503.824] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Keyboard Mouse'
[  7503.824] (**) MOSART Semi. 2.4G Keyboard Mouse: always reports core events
[  7503.824] (**) Option "Device" "/dev/input/event1"
[  7503.824] (**) Option "_source" "_driver/libinput"
[  7503.824] (II) libinput: MOSART Semi. 2.4G Keyboard Mouse: is a virtual subdevice
[  7503.825] (**) Option "config_info" "udev:/sys/devices/platform/ff540000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:062A:4101.0002/input/input2/event1"
[  7503.825] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Keyboard Mouse" (type: KEYBOARD, id 9)
[  7503.825] (**) Option "xkb_model" "pc105"
[  7503.825] (**) Option "xkb_layout" "us"
[  7506.568] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7506.570] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7506.571] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7506.572] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7506.606] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7506.607] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7506.608] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7506.609] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7506.630] (II) modeset(0): Disabling kernel dirty updates, not required.
[  7506.671] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7506.672] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7506.673] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7506.674] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.158] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.159] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.160] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.161] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.174] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.175] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.176] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.177] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.303] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.304] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.306] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.307] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.319] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.320] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.321] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.322] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.435] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.436] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.437] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.437] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.448] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.449] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.450] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.451] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.564] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.566] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.567] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.568] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.578] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.579] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.580] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.581] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.648] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.650] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.651] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.652] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.664] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.665] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.666] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.667] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7507.912] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.914] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7507.915] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7507.916] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7508.711] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7508.713] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7508.713] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7508.714] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7509.110] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7509.112] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7509.112] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7509.113] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7509.915] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7509.916] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7509.917] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7509.918] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7510.313] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7510.315] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7510.315] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7510.316] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7511.114] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7511.115] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7511.116] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7511.117] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7511.515] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7511.551] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7511.552] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7511.553] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7512.315] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7512.317] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7512.318] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7512.318] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7512.714] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7512.716] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7512.716] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7512.718] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7513.515] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7513.517] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7513.518] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7513.519] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7513.919] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7513.920] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7513.921] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7513.922] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7514.721] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7514.722] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7514.723] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7514.724] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7515.118] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7515.119] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7515.120] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7515.121] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7515.921] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7515.923] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7515.924] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7515.925] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7516.112] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7516.113] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7516.115] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7516.115] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7516.125] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7516.126] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7516.127] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7516.127] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7516.321] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7516.323] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7516.323] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7516.324] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7517.120] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7517.122] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7517.122] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7517.123] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
[  7517.522] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7517.523] (EE) modeset(0): Failed to make 18x1x8bpp GBM bo
[  7517.524] (EE) modeset(0): Failed to make 1x24x8bpp GBM bo
[  7517.525] (EE) modeset(0): Failed to make 24x1x8bpp GBM bo
...

unable to connect to X server

I installed xorg-xserver branches21.1.4 in your repository, but it cannot be started.
cat .local/share/xorg/Xorg.1.log
[ 448.697]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[ 448.697] Current Operating System: Linux alarm 5.10.110-rockchip-rk3588 #trunk SMP Sun Dec 18 03:48:27 CET 2022 aarch64
[ 448.697] Kernel command line: root=UUID=eea8e753-4d16-4d52-b228-fa5c9a151151 earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 console=tty1 consoleblank=0 loglevel=0 panic=10 rootwait rw init=/sbin/init rootfstype=ext4 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 irqchip.gicv3_pseudo_nmi=0 switolb=1 coherent_pool=2M
[ 448.698]
[ 448.698] Current version of pixman: 0.42.2
[ 448.698] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 448.698] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 448.712] (==) Log file: "/home/alarm/.local/share/xorg/Xorg.1.log", Time: Tue Mar 14 07:01:38 2023
[ 448.715] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 448.718] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 448.718] (==) No Layout section. Using the first Screen section.
[ 448.718] (==) No screen section available. Using defaults.
[ 448.718] (
) |-->Screen "Default Screen Section" (0)
[ 448.718] () | |-->Monitor ""
[ 448.718] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 448.718] (
) | |-->Device "GPU"
[ 448.718] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 448.719] (==) Automatically adding devices
[ 448.719] (==) Automatically enabling devices
[ 448.719] (==) Automatically adding GPU devices
[ 448.719] (==) Automatically binding GPU devices
[ 448.719] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 448.719] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 448.719] Entry deleted from font path.
[ 448.719] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 448.719] Entry deleted from font path.
[ 448.719] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 448.719] Entry deleted from font path.
[ 448.719] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 448.719] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 448.719] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 448.719] (II) Module ABI versions:
[ 448.719] X.Org ANSI C Emulation: 0.4
[ 448.719] X.Org Video Driver: 25.2
[ 448.719] X.Org XInput driver : 24.4
[ 448.719] X.Org Server Extension : 10.0
[ 448.721] (++) using VT number 3

[ 448.727] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[ 448.729] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 448.729] (II) Platform probe for /sys/devices/platform/display-subsystem/drm/card0
[ 448.733] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 448.733] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 448.733] (II) Platform probe for /sys/devices/platform/fdab0000.npu/drm/card1
[ 448.736] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[ 448.737] (II) no primary bus or device found
[ 448.737] falling back to /sys/devices/platform/display-subsystem/drm/card0
[ 448.737] (II) LoadModule: "glx"
[ 448.737] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 448.740] (II) Module glx: vendor="X.Org Foundation"
[ 448.740] compiled for 1.21.1.4, module version = 1.0.0
[ 448.740] ABI class: X.Org Server Extension, version 10.0
[ 448.740] (==) Matched modesetting as autoconfigured driver 0
[ 448.740] (==) Matched fbdev as autoconfigured driver 1
[ 448.740] (==) Assigned the driver to the xf86ConfigLayout
[ 448.740] (II) LoadModule: "modesetting"
[ 448.740] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 448.741] (II) Module modesetting: vendor="X.Org Foundation"
[ 448.741] compiled for 1.21.1.4, module version = 1.21.1
[ 448.741] Module class: X.Org Video Driver
[ 448.741] ABI class: X.Org Video Driver, version 25.2
[ 448.741] (II) LoadModule: "fbdev"
[ 448.741] (WW) Warning, couldn't open module fbdev
[ 448.741] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 448.742] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 448.742] (II) modeset(0): using drv /dev/dri/card0
[ 448.742] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 448.742] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 448.742] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 448.742] (**) modeset(0): Option "SWcursor" "True"
[ 448.742] (==) modeset(0): RGB weight 888
[ 448.742] (==) modeset(0): Default visual is TrueColor
[ 448.742] (II) Loading sub module "glamoregl"
[ 448.742] (II) LoadModule: "glamoregl"
[ 448.742] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[ 448.749] (II) Module glamoregl: vendor="X.Org Foundation"
[ 448.749] compiled for 1.21.1.4, module version = 1.0.1
[ 448.749] ABI class: X.Org ANSI C Emulation, version 0.4
[ 448.774] (II) modeset(0): glamor X acceleration enabled on Mali-G610 (Panfrost)
[ 448.774] (II) modeset(0): glamor initialized
[ 448.774] (==) modeset(0): VariableRefresh: disabled
[ 448.774] (==) modeset(0): AsyncFlipSecondaries: disabled
[ 448.774] (II) modeset(0): FlipFB: Transformed, limited to: -1 fps
[ 448.921] (II) modeset(0): Output HDMI-1 has no monitor section
[ 448.922] (II) modeset(0): Bind output 197 to current crtc 82.
[ 448.923] (II) modeset(0): Output DP-1 has no monitor section
[ 449.070] (II) modeset(0): EDID for output HDMI-1
[ 449.070] (II) modeset(0): Manufacturer: HWV Model: 2402 Serial#: 16843009
[ 449.071] (II) modeset(0): Year: 2021 Week: 41
[ 449.071] (II) modeset(0): EDID Version: 1.3
[ 449.071] (II) modeset(0): Digital Display Input
[ 449.071] (II) modeset(0): Max Image Size [cm]: horiz.: 53 vert.: 30
[ 449.071] (II) modeset(0): Gamma: 2.20
[ 449.071] (II) modeset(0): DPMS capabilities: Off
[ 449.071] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 449.071] (II) modeset(0): First detailed timing is preferred mode
[ 449.072] (II) modeset(0): redX: 0.652 redY: 0.337 greenX: 0.315 greenY: 0.626
[ 449.072] (II) modeset(0): blueX: 0.151 blueY: 0.063 whiteX: 0.313 whiteY: 0.329
[ 449.072] (II) modeset(0): Supported established timings:
[ 449.072] (II) modeset(0): 720x400@70Hz
[ 449.072] (II) modeset(0): 640x480@60Hz
[ 449.072] (II) modeset(0): 640x480@75Hz
[ 449.072] (II) modeset(0): 800x600@60Hz
[ 449.072] (II) modeset(0): 800x600@75Hz
[ 449.072] (II) modeset(0): 1024x768@60Hz
[ 449.073] (II) modeset(0): 1024x768@75Hz
[ 449.073] (II) modeset(0): 1280x1024@75Hz
[ 449.073] (II) modeset(0): Manufacturer's mask: 0
[ 449.073] (II) modeset(0): Supported standard timings:
[ 449.073] (II) modeset(0): #0: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
[ 449.073] (II) modeset(0): #1: hsize: 1600 vsize 900 refresh: 60 vid: 49321
[ 449.073] (II) modeset(0): #2: hsize: 1152 vsize 864 refresh: 75 vid: 20337
[ 449.073] (II) modeset(0): Supported detailed timing:
[ 449.073] (II) modeset(0): clock: 174.5 MHz Image Size: 527 x 296 mm
[ 449.074] (II) modeset(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 449.074] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1119 v_border: 0
[ 449.074] (II) modeset(0): Serial No:
[ 449.074] (II) modeset(0): Ranges: V min: 48 V max: 76 Hz, H min: 15 H max: 85 kHz, PixClock max 185 MHz
[ 449.074] (II) modeset(0): Monitor name: HUAWEI AD80HW
[ 449.074] (II) modeset(0): Supported detailed timing:
[ 449.074] (II) modeset(0): clock: 148.5 MHz Image Size: 527 x 296 mm
[ 449.075] (II) modeset(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0
[ 449.075] (II) modeset(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 0
[ 449.075] (II) modeset(0): Supported detailed timing:
[ 449.075] (II) modeset(0): clock: 74.2 MHz Image Size: 527 x 296 mm
[ 449.075] (II) modeset(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 h_blank_end 1650 h_border: 0
[ 449.075] (II) modeset(0): v_active: 720 v_sync: 725 v_sync_end 730 v_blanking: 750 v_border: 0
[ 449.075] (II) modeset(0): Supported detailed timing:
[ 449.075] (II) modeset(0): clock: 27.0 MHz Image Size: 527 x 296 mm
[ 449.076] (II) modeset(0): h_active: 720 h_sync: 736 h_sync_end 798 h_blank_end 858 h_border: 0
[ 449.076] (II) modeset(0): v_active: 480 v_sync: 489 v_sync_end 495 v_blanking: 525 v_border: 0
[ 449.076] (II) modeset(0): Number of EDID sections to follow: 1
[ 449.076] (II) modeset(0): EDID (in hex):
[ 449.076] (II) modeset(0): 00ffffffffffff0022f6022401010101
[ 449.076] (II) modeset(0): 291f010380351e782a1dd5a75650a026
[ 449.076] (II) modeset(0): 105054a54b008180a9c0714f01010101
[ 449.077] (II) modeset(0): 0101010101012a4480a0703827403020
[ 449.077] (II) modeset(0): 35000f282100001a000000ff00202020
[ 449.077] (II) modeset(0): 20202020202020202020000000fd0030
[ 449.077] (II) modeset(0): 4c0f5512000a202020202020000000fc
[ 449.077] (II) modeset(0): 004855415745492041443830485701ce
[ 449.077] (II) modeset(0): 020321324801139f129004020365030c
[ 449.077] (II) modeset(0): 0010006d1a00000201304bed00000000
[ 449.077] (II) modeset(0): 00023a801871382d40582c45000f2821
[ 449.078] (II) modeset(0): 00001e011d007251d01e206e2855000f
[ 449.078] (II) modeset(0): 282100001e8c0ad08a20e02d10103e96
[ 449.078] (II) modeset(0): 000f2821000018000000000000000000
[ 449.078] (II) modeset(0): 00000000000000000000000000000000
[ 449.078] (II) modeset(0): 00000000000000000000000000000092
[ 449.079] (II) modeset(0): Printing probed modes for output HDMI-1
[ 449.079] (II) modeset(0): Modeline "1920x1080"x75.0 174.50 1920 1968 2000 2080 1080 1083 1088 1119 +hsync -vsync (83.9 kHz eP)
[ 449.079] (II) modeset(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[ 449.079] (II) modeset(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[ 449.080] (II) modeset(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[ 449.080] (II) modeset(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[ 449.080] (II) modeset(0): Modeline "1600x900"x60.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz e)
[ 449.080] (II) modeset(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 449.080] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 449.080] (II) modeset(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 449.080] (II) modeset(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 449.081] (II) modeset(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 449.081] (II) modeset(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[ 449.081] (II) modeset(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 449.081] (II) modeset(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 449.081] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 449.081] (II) modeset(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 449.081] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 449.082] (II) modeset(0): Modeline "720x576"x50.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
[ 449.082] (II) modeset(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 449.082] (II) modeset(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 449.082] (II) modeset(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 449.082] (II) modeset(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 449.082] (II) modeset(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 449.082] (II) modeset(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 449.082] (II) modeset(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 449.083] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 449.083] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 449.083] (II) modeset(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 449.083] (II) modeset(0): Output DP-1 status changed to disconnected.
[ 449.083] (II) modeset(0): EDID for output DP-1
[ 449.083] (II) modeset(0): Output HDMI-1 connected
[ 449.083] (II) modeset(0): Output DP-1 disconnected
[ 449.084] (II) modeset(0): Using exact sizes for initial modes
[ 449.084] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[ 449.084] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 449.084] (==) modeset(0): DPI set to (96, 96)
[ 449.084] (II) Loading sub module "fb"
[ 449.084] (II) LoadModule: "fb"
[ 449.084] (II) Module "fb" already built-in
[ 449.161] Failed to compile VS: 0:1(1): error: syntax error, unexpected NEW_IDENTIFIER

[ 449.161] Program source:
precision highp float;
attribute vec4 v_position;
attribute vec4 v_texcoord;
varying vec2 source_texture;

void main()
{
gl_Position = v_position;
source_texture = v_texcoord.xy;
}
[ 449.161] (EE)
Fatal server error:
[ 449.161] (EE) GLSL compile failure
[ 449.161] (EE)
[ 449.161] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 449.161] (EE) Please also check the log file at "/home/alarm/.local/share/xorg/Xorg.1.log" for additional information.
[ 449.161] (EE)
[ 449.185] (EE) Server terminated with error (1). Closing log file.

xserver will not compile.

There is an isssue in the repository for tag 1.20,14_2022_01_17

Line 729 in /hw/xfree86/drivers/modesetting/driver.c

        drmmode_set_desired_modes(pScrn, &ms->drmmode, TRUE);

Line 1432 & 1411 in /hw/xfree86/drivers/modesetting/drmmode_display.c

       drmmode_set_desired_modes(scrn, &ms->drmmode, TRUE)

These function calls don't match the prototype in drmmode_display.h

xorg-xserver ask for gbm_create_device on X11

Hi Jeffy,

Debian 11, installed libmali-valhall-g610-g6p0-x11_1.9-1_arm64.deb and your rockchip/debian/1.20.11 deb package since i get error while building deb for rk3588.

I get this error with X11:

/usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/libglamoregl.so: undefined symbol: gbm_create_device
xinit: giving up
xinit: unable to connect to X server: Connection refused

ldd /usr/lib/xorg/modules/libglamoregl.so
	linux-vdso.so.1 (0x0000007faa3fe000)
	libgbm.so.1 => /usr/lib/aarch64-linux-gnu/mali/libgbm.so.1 (0x0000007faa34c000)
	libepoxy.so.0 => /lib/aarch64-linux-gnu/libepoxy.so.0 (0x0000007faa1f6000)
	libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007faa14b000)
	libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x0000007faa126000)
	libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007faa0f5000)
	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fa9f7f000)
	/lib/ld-linux-aarch64.so.1 (0x0000007faa3ce000)
	libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fa9f6b000)
	libmd.so.0 => /lib/aarch64-linux-gnu/libmd.so.0 (0x0000007fa9f4f000)


dpkg -l |grep mali
ii  libmali-valhall-g610-g6p0-x11         1.9-1                           arm64        Mali GPU User-Space Binary Drivers

compile 1.20.8-2ubuntu2 fail

I use dpkg-buildpackage to compile 1.20.8-2ubuntu2 in ubuntu 20.04. Encountered this problem:

Applying patch reset-transforms-in-closescreen.diff
patching file hw/xfree86/modes/xf86Crtc.c

Applying patch dri2-use-va-gl-for-intel.diff
patching file hw/xfree86/dri2/dri2.c
Hunk #1 FAILED at 1602.
1 out of 1 hunk FAILED -- rejects in file hw/xfree86/dri2/dri2.c
Patch dri2-use-va-gl-for-intel.diff does not apply (enforce with -f)
dh_quilt_patch: error: quilt --quiltrc /dev/null push -a || test $? = 2 returned exit code 1
make: *** [debian/rules:12: build] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.