Closed avafinger closed 1 year ago
i didn't use ubuntu.
tested on buildroot, cmds in generated config.log:
$ ./configure --target=aarch64-buildroot-linux-gnu --host=aarch64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var runstatedir=/run --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-config-hal --enable-record --disable-xnest --disable-unit-tests --with-builder-addr=buildroot@buildroot.org 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -I/nvme/buildroot/output/rockchip_x11/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/pixman-1 -O2' --with-fontrootdir=/usr/share/fonts/X11/ --disable-xephyr --disable-xvfb --disable-xwayland --without-systemd-daemon --disable-systemd-logind --enable-xorg --enable-libdrm --disable-kdrive --enable-dri --enable-glx --enable-config-udev --enable-config-udev-kms --enable-config-dbus --disable-libunwind --disable-xvmc --disable-composite --enable-dri2 --enable-dri3 --enable-glamor --disable-screensaver --with-sha1=libcrypto
glmark2-es2 --visual-config "a=0"
Thanks for the command.
Apparently, CreateBuffer2 and CreateBuffer failed. I will rebuild and test this and report back. Thank you.
@JeffyCN
i compiled with your command, but unfortunately, it didn't change a thing, same error. The weird thing is that the xorg build info is still ubuntu. Here is the complete log, can you spot if the installation is complete or is missing something?
rock@rock5b:~$ cat /var/log/Xorg.0.log
[ 27.918] (--) Log file renamed from "/var/log/Xorg.pid-1264.log" to "/var/log/Xorg.0.log"
[ 27.919]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 27.919] Current Operating System: Linux rock5b 5.10.110-rk3588 #9 SMP Sat Mar 25 20:55:35 -03 2023 aarch64
[ 27.919] Kernel command line: earlyprintk console=ttyFIQ0,1500000n8 rw init=/sbin/init rootfstype=ext4 rootwait root=/dev/nvme0n1p2 net.ifnames=0 usbcore.autosuspend=-1 irqchip.gicv3_pseudo_nmi=0 coherent_pool=2M
[ 27.919] xorg-server 2:21.1.3-2ubuntu2.8 (For technical support please see http://www.ubuntu.com/support)
[ 27.919] Current version of pixman: 0.40.0
[ 27.919] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 27.919] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 27.920] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 21:36:32 2023
[ 27.920] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 27.920] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 27.921] (==) No Layout section. Using the first Screen section.
[ 27.921] (==) No screen section available. Using defaults.
[ 27.921] (**) |-->Screen "Default Screen Section" (0)
[ 27.921] (**) | |-->Monitor "<default monitor>"
[ 27.921] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 27.921] (**) | |-->Device "Rockchip Graphics"
[ 27.921] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 27.921] (==) Automatically adding devices
[ 27.922] (==) Automatically enabling devices
[ 27.922] (==) Automatically adding GPU devices
[ 27.922] (==) Automatically binding GPU devices
[ 27.922] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 27.922] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 27.922] Entry deleted from font path.
[ 27.922] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 27.922] Entry deleted from font path.
[ 27.922] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 27.922] Entry deleted from font path.
[ 27.922] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 27.922] Entry deleted from font path.
[ 27.922] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 27.922] Entry deleted from font path.
[ 27.922] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 27.922] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 27.922] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 27.922] (II) Loader magic: 0x555a29e010
[ 27.922] (II) Module ABI versions:
[ 27.922] X.Org ANSI C Emulation: 0.4
[ 27.922] X.Org Video Driver: 25.2
[ 27.922] X.Org XInput driver : 24.4
[ 27.922] X.Org Server Extension : 10.0
[ 27.925] (++) using VT number 1
[ 27.929] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c6
[ 27.931] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 27.931] (II) Platform probe for /sys/devices/platform/display-subsystem/drm/card0
[ 27.933] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[ 27.934] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 27.934] (II) Platform probe for /sys/devices/platform/fdab0000.npu/drm/card1
[ 27.936] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[ 27.938] (II) no primary bus or device found
[ 27.938] falling back to /sys/devices/platform/display-subsystem/drm/card0
[ 27.938] (II) LoadModule: "glx"
[ 27.938] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 27.941] (II) Module glx: vendor="X.Org Foundation"
[ 27.941] compiled for 1.21.1.3, module version = 1.0.0
[ 27.941] ABI class: X.Org Server Extension, version 10.0
[ 27.941] (II) LoadModule: "modesetting"
[ 27.941] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 27.941] (II) Module modesetting: vendor="X.Org Foundation"
[ 27.941] compiled for 1.21.1.3, module version = 1.21.1
[ 27.941] Module class: X.Org Video Driver
[ 27.942] ABI class: X.Org Video Driver, version 25.2
[ 27.942] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 27.942] (II) modeset(0): using drv /dev/dri/card0
[ 27.942] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 27.943] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 27.943] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 27.943] (**) modeset(0): Option "AccelMethod" "glamor"
[ 27.943] (==) modeset(0): RGB weight 888
[ 27.943] (==) modeset(0): Default visual is TrueColor
[ 27.943] (II) Loading sub module "glamoregl"
[ 27.943] (II) LoadModule: "glamoregl"
[ 27.943] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 27.963] (II) Module glamoregl: vendor="X.Org Foundation"
[ 27.963] compiled for 1.21.1.3, module version = 1.0.1
[ 27.963] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.979] (II) modeset(0): glamor X acceleration enabled on Mali-LODX
[ 27.979] (II) modeset(0): glamor initialized
[ 27.979] (==) modeset(0): VariableRefresh: disabled
[ 27.979] (==) modeset(0): AsyncFlipSecondaries: disabled
[ 28.122] (II) modeset(0): Output HDMI-1 has no monitor section
[ 28.124] (II) modeset(0): Output HDMI-2 has no monitor section
[ 28.125] (II) modeset(0): Output DP-1 has no monitor section
[ 28.267] (II) modeset(0): EDID for output HDMI-1
[ 28.268] (II) modeset(0): Manufacturer: GSM Model: 5a96 Serial#: 16843009
[ 28.268] (II) modeset(0): Year: 2016 Week: 3
[ 28.269] (II) modeset(0): EDID Version: 1.3
[ 28.270] (II) modeset(0): Digital Display Input
[ 28.270] (II) modeset(0): Max Image Size [cm]: horiz.: 51 vert.: 29
[ 28.272] (II) modeset(0): Gamma: 2.20
[ 28.272] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[ 28.274] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 28.275] (II) modeset(0): First detailed timing is preferred mode
[ 28.275] (II) modeset(0): redX: 0.638 redY: 0.334 greenX: 0.309 greenY: 0.627
[ 28.276] (II) modeset(0): blueX: 0.153 blueY: 0.073 whiteX: 0.313 whiteY: 0.329
[ 28.277] (II) modeset(0): Supported established timings:
[ 28.278] (II) modeset(0): 640x480@60Hz
[ 28.278] (II) modeset(0): 800x600@60Hz
[ 28.279] (II) modeset(0): 1024x768@60Hz
[ 28.280] (II) modeset(0): Manufacturer's mask: 0
[ 28.281] (II) modeset(0): Supported standard timings:
[ 28.281] (II) modeset(0): #0: hsize: 1152 vsize 864 refresh: 60 vid: 16497
[ 28.282] (II) modeset(0): #1: hsize: 1280 vsize 720 refresh: 60 vid: 49281
[ 28.283] (II) modeset(0): #2: hsize: 1280 vsize 800 refresh: 60 vid: 129
[ 28.283] (II) modeset(0): #3: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
[ 28.284] (II) modeset(0): #4: hsize: 1440 vsize 900 refresh: 60 vid: 149
[ 28.285] (II) modeset(0): #5: hsize: 1400 vsize 1050 refresh: 60 vid: 16528
[ 28.286] (II) modeset(0): #6: hsize: 1600 vsize 900 refresh: 60 vid: 49321
[ 28.286] (II) modeset(0): #7: hsize: 1680 vsize 1050 refresh: 60 vid: 179
[ 28.287] (II) modeset(0): Supported detailed timing:
[ 28.287] (II) modeset(0): clock: 148.5 MHz Image Size: 510 x 290 mm
[ 28.288] (II) modeset(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0
[ 28.289] (II) modeset(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 0
[ 28.290] (II) modeset(0): Ranges: V min: 56 V max: 61 Hz, H min: 30 H max: 83 kHz, PixClock max 155 MHz
[ 28.291] (II) modeset(0): Monitor name: 23MB35
[ 28.292] (II) modeset(0): Serial No:
[ 28.293] (II) modeset(0): Supported detailed timing:
[ 28.293] (II) modeset(0): clock: 148.5 MHz Image Size: 510 x 290 mm
[ 28.294] (II) modeset(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0
[ 28.295] (II) modeset(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 0
[ 28.296] (II) modeset(0): Supported detailed timing:
[ 28.297] (II) modeset(0): clock: 74.2 MHz Image Size: 510 x 290 mm
[ 28.298] (II) modeset(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0
[ 28.298] (II) modeset(0): v_active: 540 v_sync: 542 v_sync_end 547 v_blanking: 562 v_border: 0
[ 28.298] (II) modeset(0): Supported detailed timing:
[ 28.298] (II) modeset(0): clock: 74.2 MHz Image Size: 510 x 290 mm
[ 28.298] (II) modeset(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 h_blank_end 1650 h_border: 0
[ 28.299] (II) modeset(0): v_active: 720 v_sync: 725 v_sync_end 730 v_blanking: 750 v_border: 0
[ 28.299] (II) modeset(0): Supported detailed timing:
[ 28.299] (II) modeset(0): clock: 27.0 MHz Image Size: 510 x 290 mm
[ 28.299] (II) modeset(0): h_active: 720 h_sync: 736 h_sync_end 798 h_blank_end 858 h_border: 0
[ 28.299] (II) modeset(0): v_active: 480 v_sync: 489 v_sync_end 495 v_blanking: 525 v_border: 0
[ 28.300] (II) modeset(0): Number of EDID sections to follow: 1
[ 28.300] (II) modeset(0): EDID (in hex):
[ 28.300] (II) modeset(0): 00ffffffffffff001e6d965a01010101
[ 28.300] (II) modeset(0): 031a010380331d78ea6275a3554fa027
[ 28.300] (II) modeset(0): 125054210800714081c0810081809500
[ 28.300] (II) modeset(0): 9040a9c0b300023a801871382d40582c
[ 28.301] (II) modeset(0): 4500fe221100001e000000fd00383d1e
[ 28.301] (II) modeset(0): 530f000a202020202020000000fc0032
[ 28.301] (II) modeset(0): 334d4233350a202020202020000000ff
[ 28.301] (II) modeset(0): 000a2020202020202020202020200111
[ 28.301] (II) modeset(0): 02031df14a900403011412051f101323
[ 28.301] (II) modeset(0): 0907078301000065030c001000023a80
[ 28.302] (II) modeset(0): 1871382d40582c4500fe221100001e01
[ 28.302] (II) modeset(0): 1d8018711c1620582c2500fe22110000
[ 28.302] (II) modeset(0): 9e011d007251d01e206e285500fe2211
[ 28.302] (II) modeset(0): 00001e8c0ad08a20e02d10103e9600fe
[ 28.302] (II) modeset(0): 22110000180000000000000000000000
[ 28.302] (II) modeset(0): 000000000000000000000000000000e6
[ 28.303] (II) modeset(0): Printing probed modes for output HDMI-1
[ 28.303] (II) modeset(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[ 28.304] (II) modeset(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[ 28.304] (II) modeset(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[ 28.304] (II) modeset(0): Modeline "1920x1080i"x60.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[ 28.304] (II) modeset(0): Modeline "1920x1080i"x50.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[ 28.304] (II) modeset(0): Modeline "1920x1080i"x59.9 74.18 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[ 28.304] (II) modeset(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[ 28.305] (II) modeset(0): Modeline "1400x1050"x59.9 101.00 1400 1448 1480 1560 1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[ 28.305] (II) modeset(0): Modeline "1600x900"x60.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz e)
[ 28.305] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 28.305] (II) modeset(0): Modeline "1440x900"x59.9 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
[ 28.305] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
[ 28.305] (II) modeset(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 28.306] (II) modeset(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[ 28.306] (II) modeset(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 28.306] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 28.317] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 28.317] (II) modeset(0): Modeline "720x576"x50.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
[ 28.317] (II) modeset(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 28.317] (II) modeset(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 28.317] (II) modeset(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 28.317] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 28.317] (II) modeset(0): EDID for output HDMI-2
[ 28.318] (II) modeset(0): EDID for output DP-1
[ 28.318] (II) modeset(0): Output HDMI-1 connected
[ 28.318] (II) modeset(0): Output HDMI-2 disconnected
[ 28.318] (II) modeset(0): Output DP-1 disconnected
[ 28.318] (II) modeset(0): Using exact sizes for initial modes
[ 28.318] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[ 28.318] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 28.318] (==) modeset(0): DPI set to (96, 96)
[ 28.318] (II) Loading sub module "fb"
[ 28.319] (II) LoadModule: "fb"
[ 28.319] (II) Module "fb" already built-in
[ 28.496] (==) modeset(0): Backing store enabled
[ 28.497] (==) modeset(0): Silken mouse enabled
[ 28.727] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[ 28.728] (==) modeset(0): DPMS enabled
[ 28.728] (WW) modeset(0): Option "DRI" is not used
[ 28.733] (II) modeset(0): [DRI2] Setup complete
[ 28.733] (II) modeset(0): [DRI2] DRI driver: rockchip
[ 28.734] (II) modeset(0): [DRI2] VDPAU driver: rockchip
[ 28.734] (II) Initializing extension Generic Event Extension
[ 28.736] (II) Initializing extension SHAPE
[ 28.737] (II) Initializing extension MIT-SHM
[ 28.739] (II) Initializing extension XInputExtension
[ 28.741] (II) Initializing extension XTEST
[ 28.743] (II) Initializing extension BIG-REQUESTS
[ 28.745] (II) Initializing extension SYNC
[ 28.747] (II) Initializing extension XKEYBOARD
[ 28.749] (II) Initializing extension XC-MISC
[ 28.751] (II) Initializing extension SECURITY
[ 28.753] (II) Initializing extension XFIXES
[ 28.754] (II) Initializing extension RENDER
[ 28.756] (II) Initializing extension RANDR
[ 28.760] (II) Initializing extension COMPOSITE
[ 28.762] (II) Initializing extension DAMAGE
[ 28.763] (II) Initializing extension MIT-SCREEN-SAVER
[ 28.765] (II) Initializing extension DOUBLE-BUFFER
[ 28.767] (II) Initializing extension RECORD
[ 28.768] (II) Initializing extension DPMS
[ 28.769] (II) Initializing extension Present
[ 28.771] (II) Initializing extension DRI3
[ 28.772] (II) Initializing extension X-Resource
[ 28.773] (II) Initializing extension XVideo
[ 28.774] (II) Initializing extension XVideo-MotionCompensation
[ 28.774] (II) Initializing extension SELinux
[ 28.774] (II) SELinux: Disabled on system
[ 28.774] (II) Initializing extension GLX
[ 29.483] (EE) AIGLX error: Calling driver entry point failed
[ 29.531] (II) IGLX: Loaded and initialized swrast
[ 29.531] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 29.531] (II) Initializing extension XFree86-VidModeExtension
[ 29.532] (II) Initializing extension XFree86-DGA
[ 29.532] (II) Initializing extension XFree86-DRI
[ 29.533] (II) Initializing extension DRI2
[ 29.535] (II) modeset(0): Damage tracking initialized
[ 29.535] (II) modeset(0): Setting screen physical size to 508 x 285
[ 29.639] (II) config/udev: Adding input device rockchip,dp0 rockchip,dp0 (/dev/input/event3)
[ 29.639] (II) No input driver specified, ignoring this device.
[ 29.639] (II) This device may have been added with another device file.
[ 29.640] (II) config/udev: Adding input device PS/2+USB Mouse (/dev/input/event5)
[ 29.640] (**) PS/2+USB Mouse: Applying InputClass "libinput pointer catchall"
[ 29.640] (II) LoadModule: "libinput"
[ 29.640] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 29.643] (II) Module libinput: vendor="X.Org Foundation"
[ 29.643] compiled for 1.20.14, module version = 1.2.1
[ 29.643] Module class: X.Org XInput Driver
[ 29.643] ABI class: X.Org XInput driver, version 24.1
[ 29.643] (II) Using input driver 'libinput' for 'PS/2+USB Mouse'
[ 29.646] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 26 paused 0
[ 29.647] (**) PS/2+USB Mouse: always reports core events
[ 29.647] (**) Option "Device" "/dev/input/event5"
[ 29.651] (II) event5 - PS/2+USB Mouse: is tagged by udev as: Mouse
[ 29.651] (II) event5 - PS/2+USB Mouse: device is a pointer
[ 29.651] (II) event5 - PS/2+USB Mouse: device removed
[ 29.652] (**) Option "config_info" "udev:/sys/devices/platform/fc800000.usb/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.0/0003:1267:0210.0001/input/input5/event5"
[ 29.652] (II) XINPUT: Adding extended input device "PS/2+USB Mouse" (type: MOUSE, id 6)
[ 29.652] (**) Option "AccelerationScheme" "none"
[ 29.652] (**) PS/2+USB Mouse: (accel) selected scheme none/0
[ 29.652] (**) PS/2+USB Mouse: (accel) acceleration factor: 2.000
[ 29.652] (**) PS/2+USB Mouse: (accel) acceleration threshold: 4
[ 29.654] (II) event5 - PS/2+USB Mouse: is tagged by udev as: Mouse
[ 29.654] (II) event5 - PS/2+USB Mouse: device is a pointer
[ 29.656] (II) config/udev: Adding input device USB USB Keykoard (/dev/input/event6)
[ 29.656] (**) USB USB Keykoard: Applying InputClass "libinput keyboard catchall"
[ 29.656] (II) Using input driver 'libinput' for 'USB USB Keykoard'
[ 29.661] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 29 paused 0
[ 29.661] (**) USB USB Keykoard: always reports core events
[ 29.661] (**) Option "Device" "/dev/input/event6"
[ 29.665] (II) event6 - USB USB Keykoard: is tagged by udev as: Keyboard
[ 29.665] (II) event6 - USB USB Keykoard: device is a keyboard
[ 29.666] (II) event6 - USB USB Keykoard: device removed
[ 29.666] (**) Option "config_info" "udev:/sys/devices/platform/fc800000.usb/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.0/0003:1C4F:0002.0002/input/input6/event6"
[ 29.666] (II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD, id 7)
[ 29.666] (**) Option "xkb_model" "pc105"
[ 29.666] (**) Option "xkb_layout" "us"
[ 29.666] (**) Option "xkb_variant" "altgr-intl"
[ 29.731] (II) event6 - USB USB Keykoard: is tagged by udev as: Keyboard
[ 29.732] (II) event6 - USB USB Keykoard: device is a keyboard
[ 29.734] (II) config/udev: Adding input device USB USB Keykoard Consumer Control (/dev/input/event7)
[ 29.734] (**) USB USB Keykoard Consumer Control: Applying InputClass "libinput keyboard catchall"
[ 29.734] (II) Using input driver 'libinput' for 'USB USB Keykoard Consumer Control'
[ 29.737] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 30 paused 0
[ 29.737] (**) USB USB Keykoard Consumer Control: always reports core events
[ 29.737] (**) Option "Device" "/dev/input/event7"
[ 29.741] (II) event7 - USB USB Keykoard Consumer Control: is tagged by udev as: Keyboard
[ 29.741] (II) event7 - USB USB Keykoard Consumer Control: device is a keyboard
[ 29.742] (II) event7 - USB USB Keykoard Consumer Control: device removed
[ 29.742] (II) libinput: USB USB Keykoard Consumer Control: needs a virtual subdevice
[ 29.742] (**) Option "config_info" "udev:/sys/devices/platform/fc800000.usb/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.1/0003:1C4F:0002.0003/input/input7/event7"
[ 29.742] (II) XINPUT: Adding extended input device "USB USB Keykoard Consumer Control" (type: MOUSE, id 8)
[ 29.742] (**) Option "AccelerationScheme" "none"
[ 29.742] (**) USB USB Keykoard Consumer Control: (accel) selected scheme none/0
[ 29.742] (**) USB USB Keykoard Consumer Control: (accel) acceleration factor: 2.000
[ 29.742] (**) USB USB Keykoard Consumer Control: (accel) acceleration threshold: 4
[ 29.744] (II) event7 - USB USB Keykoard Consumer Control: is tagged by udev as: Keyboard
[ 29.744] (II) event7 - USB USB Keykoard Consumer Control: device is a keyboard
[ 29.746] (II) config/udev: Adding input device USB USB Keykoard System Control (/dev/input/event8)
[ 29.746] (**) USB USB Keykoard System Control: Applying InputClass "libinput keyboard catchall"
[ 29.746] (II) Using input driver 'libinput' for 'USB USB Keykoard System Control'
[ 29.748] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 31 paused 0
[ 29.749] (**) USB USB Keykoard System Control: always reports core events
[ 29.749] (**) Option "Device" "/dev/input/event8"
[ 29.753] (II) event8 - USB USB Keykoard System Control: is tagged by udev as: Keyboard
[ 29.753] (II) event8 - USB USB Keykoard System Control: device is a keyboard
[ 29.753] (II) event8 - USB USB Keykoard System Control: device removed
[ 29.753] (**) Option "config_info" "udev:/sys/devices/platform/fc800000.usb/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.1/0003:1C4F:0002.0003/input/input8/event8"
[ 29.753] (II) XINPUT: Adding extended input device "USB USB Keykoard System Control" (type: KEYBOARD, id 9)
[ 29.753] (**) Option "xkb_model" "pc105"
[ 29.753] (**) Option "xkb_layout" "us"
[ 29.753] (**) Option "xkb_variant" "altgr-intl"
[ 29.756] (II) event8 - USB USB Keykoard System Control: is tagged by udev as: Keyboard
[ 29.756] (II) event8 - USB USB Keykoard System Control: device is a keyboard
[ 29.758] (II) config/udev: Adding input device rk805 pwrkey (/dev/input/event0)
[ 29.759] (**) rk805 pwrkey: Applying InputClass "libinput keyboard catchall"
[ 29.759] (II) Using input driver 'libinput' for 'rk805 pwrkey'
[ 29.762] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 32 paused 0
[ 29.762] (**) rk805 pwrkey: always reports core events
[ 29.762] (**) Option "Device" "/dev/input/event0"
[ 29.766] (II) event0 - rk805 pwrkey: is tagged by udev as: Keyboard
[ 29.766] (II) event0 - rk805 pwrkey: device is a keyboard
[ 29.766] (II) event0 - rk805 pwrkey: device removed
[ 29.766] (**) Option "config_info" "udev:/sys/devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.6.auto/input/input0/event0"
[ 29.766] (II) XINPUT: Adding extended input device "rk805 pwrkey" (type: KEYBOARD, id 10)
[ 29.766] (**) Option "xkb_model" "pc105"
[ 29.767] (**) Option "xkb_layout" "us"
[ 29.767] (**) Option "xkb_variant" "altgr-intl"
[ 29.769] (II) event0 - rk805 pwrkey: is tagged by udev as: Keyboard
[ 29.769] (II) event0 - rk805 pwrkey: device is a keyboard
[ 29.771] (II) config/udev: Adding input device rockchip-hdmi0 rockchip-hdmi0 (/dev/input/event1)
[ 29.771] (II) No input driver specified, ignoring this device.
[ 29.771] (II) This device may have been added with another device file.
[ 29.772] (II) config/udev: Adding input device rockchip-hdmi1 rockchip-hdmi1 (/dev/input/event2)
[ 29.772] (II) No input driver specified, ignoring this device.
[ 29.772] (II) This device may have been added with another device file.
[ 29.773] (II) config/udev: Adding input device rk-headset (/dev/input/event4)
[ 29.773] (**) rk-headset: Applying InputClass "libinput keyboard catchall"
[ 29.773] (II) Using input driver 'libinput' for 'rk-headset'
[ 29.776] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 33 paused 0
[ 29.776] (**) rk-headset: always reports core events
[ 29.776] (**) Option "Device" "/dev/input/event4"
[ 29.779] (II) event4 - rk-headset: is tagged by udev as: Keyboard
[ 29.779] (II) event4 - rk-headset: device is a keyboard
[ 29.779] (II) event4 - rk-headset: device removed
[ 29.779] (**) Option "config_info" "udev:/sys/devices/platform/rk-headset/input/input4/event4"
[ 29.780] (II) XINPUT: Adding extended input device "rk-headset" (type: KEYBOARD, id 11)
[ 29.780] (**) Option "xkb_model" "pc105"
[ 29.780] (**) Option "xkb_layout" "us"
[ 29.780] (**) Option "xkb_variant" "altgr-intl"
[ 29.781] (II) event4 - rk-headset: is tagged by udev as: Keyboard
[ 29.782] (II) event4 - rk-headset: device is a keyboard
[ 29.793] (**) USB USB Keykoard Consumer Control: Applying InputClass "libinput keyboard catchall"
[ 29.793] (II) Using input driver 'libinput' for 'USB USB Keykoard Consumer Control'
[ 29.793] (II) systemd-logind: returning pre-existing fd for /dev/input/event7 13:71
[ 29.793] (**) USB USB Keykoard Consumer Control: always reports core events
[ 29.793] (**) Option "Device" "/dev/input/event7"
[ 29.793] (II) libinput: USB USB Keykoard Consumer Control: is a virtual subdevice
[ 29.793] (**) Option "config_info" "udev:/sys/devices/platform/fc800000.usb/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.1/0003:1C4F:0002.0003/input/input7/event7"
[ 29.793] (II) XINPUT: Adding extended input device "USB USB Keykoard Consumer Control" (type: KEYBOARD, id 12)
[ 29.793] (**) Option "xkb_model" "pc105"
[ 29.793] (**) Option "xkb_layout" "us"
[ 29.793] (**) Option "xkb_variant" "altgr-intl"
[ 33.031] (EE) modeset(0): Failed to get DRI2 name for pixmap
[ 33.551] (II) modeset(0): EDID vendor "GSM", prod id 23190
[ 33.551] (II) modeset(0): Using EDID range info for horizontal sync
[ 33.552] (II) modeset(0): Using EDID range info for vertical refresh
[ 33.552] (II) modeset(0): Printing DDC gathered Modelines:
[ 33.552] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[ 33.552] (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[ 33.552] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 33.553] (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 33.553] (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 33.553] (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[ 33.553] (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
[ 33.553] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[ 33.553] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[ 33.554] (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 33.554] (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 33.554] (II) modeset(0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 1520 864 865 868 895 -hsync +vsync (53.7 kHz e)
[ 33.554] (II) modeset(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
[ 33.555] (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 33.555] (II) modeset(0): Modeline "1440x900"x0.0 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
[ 33.556] (II) modeset(0): Modeline "1400x1050"x0.0 101.00 1400 1448 1480 1560 1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[ 33.557] (II) modeset(0): Modeline "1600x900"x60.0 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz e)
[ 33.557] (II) modeset(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[ 33.632] (EE)
[ 33.632] (EE) Backtrace:
[ 33.634] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x188) [0x555a1fd9f8]
[ 33.635] (EE) unw_get_proc_info failed: no unwind info found [-10]
[ 33.635] (EE)
[ 33.635] (EE) Segmentation fault at address 0x555afed9
[ 33.635] (EE)
Fatal server error:
[ 33.635] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 33.636] (EE)
[ 33.636] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 33.636] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 33.636] (EE)
[ 33.669] (EE) Server terminated with error (1). Closing log file.
maybe try to debug it with gdb
For some reason using meson build and install and also configure and make install did not install Xorg properly. I had a mix of default ubuntu packages and your xorg-xserver that caused the crash. I ended up building the ubuntu Xorg 21.1.3-2ubuntu2.8 deb packages and now it works.
The configure command used:
./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var runstatedir=/run --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-config-hal --enable-record --disable-xnest --disable-unit-tests --with-builder-addr=buildroot@buildroot.org 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1
--with-fontrootdir=/usr/share/fonts/X11/ --disable-xephyr --disable-xvfb --disable-xwayland --without-systemd-daemon --disable-systemd-logind --enable-xorg --enable-libdrm --disable-kdrive --enable-dri --enable-glx --enable-config-udev --enable-config-udev-kms --enable-config-dbus --disable-libunwind --disable-xvmc --disable-composite --enable-dri2 --enable-dri3 --enable-glamor --disable-screensaver --with-sha1=libcrypto
Install with:
sudo make install
This command (and meson build) did not install /usr/lib/xorg/Xorg .
Thank you!
Hi @JeffyCN
I have built and installed xorg-xserver in /usr/local , but it crash when running glmark2-es2 with:
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.