Hi all,
I'm trying to run X11 on the Qualcomm RB5. I am using the version of X that comes with Ubuntu 18.04, as installed via `apt` on the device. This RB5 unit is running the stock firmware that it came with.
Package: xserver-xorg-core Architecture: arm64 Version: 2:1.19.6-1ubuntu4.9 Priority: optional Section: x11 Source: xorg-server Origin: Ubuntu
When I run this command:
/usr/bin/X -verbose 99
There is a segmentation fault:
X.Org X Server 1.19.6 Release Date: 2017-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.15.0-140-generic aarch64 Ubuntu Current Operating System: Linux qrb5165-rb5 4.19.125 #1 SMP PREEMPT Sat Mar 20 11:48:10 CST 2021 aarch64 Kernel command line: rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off noinitrd console=ttyMSM0,115200,n8 earlycon=msm_geni_serial,0xa90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket reboot=panic_warm net.ifnames=0 apparmor=1 security=apparmor root=/dev/sda7 androidboot.bootdevice=1d84000.ufshc androidboot.serialno=ZTR10S1600CS androidboot.wifimac=F074E41057C2 androidboot.btmac=F074E41055BA androidboot.baseband=apq msm_drm.dsi_display0=qcom,mdss_dsi_ext_bridge_1080p: systemd.setenv="SLOT_SUFFIX=_a" skip_initramfs rootwait rw init=/sbin/init Build Date: 08 April 2021 01:53:49PM xorg-server 2:1.19.6-1ubuntu4.9 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 19 05:16:09 2021 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (==) No Layout section. Using the first Screen section. (==) No screen section available. Using defaults. (**) |-->Screen "Default Screen Section" (0) (**) | |-->Monitor "" (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. (==) Automatically adding devices (==) Automatically enabling devices (==) Automatically adding GPU devices (==) Automatically binding GPU devices (==) Max clients allowed: 256, resource mask: 0x1fffff (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. Entry deleted from font path. (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. Entry deleted from font path. (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. Entry deleted from font path. (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. Entry deleted from font path. (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. Entry deleted from font path. (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. Entry deleted from font path. (==) FontPath set to: /usr/share/fonts/X11/misc, built-ins (==) ModulePath set to "/usr/lib/xorg/modules" (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. (II) Loader magic: 0x55889e4010 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 23.0 X.Org XInput driver : 24.1 X.Org Server Extension : 10.0 (--) using VT number 2 (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration (II) xfree86: Adding drm device (/dev/dri/card0) (II) no primary bus or device found falling back to /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0 (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.19.6, module version = 1.0.0 ABI class: X.Org Server Extension, version 10.0 (==) Matched modesetting as autoconfigured driver 0 (==) Matched fbdev as autoconfigured driver 1 (==) Assigned the driver to the xf86ConfigLayout (II) LoadModule: "modesetting" (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so (II) Module modesetting: vendor="X.Org Foundation" compiled for 1.19.6, module version = 1.19.6 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 23.0 (II) LoadModule: "fbdev" (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so (II) Module fbdev: vendor="X.Org Foundation" compiled for 1.19.3, module version = 0.4.4 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 23.0 (II) modesetting: Driver for Modesetting Kernel Drivers: kms (II) FBDEV: driver for framebuffer: fbdev (II) modeset(0): using drv /dev/dri/card0 (WW) Falling back to old probe method for fbdev (II) Loading sub module "fbdevhw" (II) LoadModule: "fbdevhw" (II) Loading /usr/lib/xorg/modules/libfbdevhw.so (II) Module fbdevhw: vendor="X.Org Foundation" compiled for 1.19.6, module version = 0.0.2 ABI class: X.Org Video Driver, version 23.0 (EE) open /dev/fb0: No such file or directory (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 (==) modeset(0): Depth 24, (==) framebuffer bpp 32 (==) modeset(0): RGB weight 888 (==) modeset(0): Default visual is TrueColor (II) Loading sub module "glamoregl" (II) LoadModule: "glamoregl" (II) Loading /usr/lib/xorg/modules/libglamoregl.so (II) Module glamoregl: vendor="X.Org Foundation" compiled for 1.19.6, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) glamor: OpenGL accelerated X.org driver based. MESA-LOADER: failed to open msm_drm (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load driver: msm_drm (II) glamor: EGL version 1.4: EGL_MESA_drm_image required. (EE) modeset(0): glamor initialization failed (II) modeset(0): ShadowFB: preferred NO, enabled NO (II) modeset(0): Output DSI-1 has no monitor section (II) modeset(0): Output DP-1 has no monitor section (II) modeset(0): Up to 2 crtcs needed for screen. (II) modeset(0): Allocated crtc nr. 0 to this screen. (II) modeset(0): Allocated crtc nr. 1 to this screen. (II) modeset(0): Allocated crtc nr. 2 to this screen. (II) modeset(0): Allocated crtc nr. 3 to this screen. (II) modeset(0): EDID for output DSI-1 (II) modeset(0): EDID for output DP-1 (II) modeset(0): Output DSI-1 disconnected (II) modeset(0): Output DP-1 disconnected (WW) modeset(0): No outputs definitely connected, trying again... (II) modeset(0): Output DSI-1 disconnected (II) modeset(0): Output DP-1 disconnected (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) (==) modeset(0): DPI set to (96, 96) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.19.6, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) UnloadModule: "fbdev" (II) Unloading fbdev (II) UnloadSubModule: "fbdevhw" (II) Unloading fbdevhw (==) Depth 24 pixmap format is 32 bpp (==) modeset(0): Backing store enabled (==) modeset(0): Silken mouse enabled (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. (EE) (EE) Backtrace: (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x5c) [0x558898a734] (EE) (EE) Segmentation fault at address 0x0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. Aborted
How can I enable the X11 display server on this board?
Hi Customer,
Our team is checking internally . Will update the thread soon.
Thanks,
Mita
Hi All,
Talk with team and get informationa about X11, currently the X11 is not supoorted on RB5 platform. X11 sever may be supported in future. If you bringup X11 on RB5, you may get the issues as you got now.
Thanks
Kevin
A quick follow-up here. I haven't been able to get native X11 running -- however, I've been able to use the Xwayland adapter successfully. With that, there's no real need to have the actual X11 running.
I create a config file in ~/.config/weston.ini:
And a symlink for a shared library:
Now I can start Weston with Xwayland support:
With that, you can run regular X11 apps on DISPLAY :0, for example:
Currently the X11 display server is not supported on RB5 platform.
do you know when X11 display is supported on RB5 platform ?