Kevin Wietzorek Posted May 16, 2018 Posted May 16, 2018 Hey, I've got an Orange Pi Zero Plus 2 (H3) with Armbian 5.41 and mainline 4.14.18 with Debian Stretch. If I try to run X11 with: sudo startx I get the following error: X.Org X Server 1.19.2 Release Date: 2017-03-02 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian Current Operating System: Linux orangepizeroplus2 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l Kernel command line: root=UUID=bab2d356-e17e-4857-836a-5fc44cbf541f rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=451adcfc-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 Build Date: 16 October 2017 09:48:39AM xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/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.1.log", Time: Wed May 16 19:22:28 2018 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" MESA-LOADER: failed to retrieve device information gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/sun4i-drm_dri.so: cannot open shared object file: No such file or directory failed to load driver: sun4i-drm gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory failed to load driver: kms_swrast gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory failed to load swrast driver couldn't get display device I have an Orange Pi Zero (H3) with the same Armbian and Kernel version and there no error occurs. Here is my Xorg.1.log: Spoiler [ 3185.034] X.Org X Server 1.19.2 Release Date: 2017-03-02 [ 3185.035] X Protocol Version 11, Revision 0 [ 3185.035] Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian [ 3185.035] Current Operating System: Linux orangepizeroplus2 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l [ 3185.035] Kernel command line: root=UUID=bab2d356-e17e-4857-836a-5fc44cbf541f rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=451adcfc-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 3185.035] Build Date: 16 October 2017 09:48:39AM [ 3185.035] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support) [ 3185.035] Current version of pixman: 0.34.0 [ 3185.035] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 3185.035] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 3185.036] (==) Log file: "/var/log/Xorg.1.log", Time: Wed May 16 20:45:13 2018 [ 3185.036] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 3185.036] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 3185.037] (==) No Layout section. Using the first Screen section. [ 3185.037] (==) No screen section available. Using defaults. [ 3185.037] (**) |-->Screen "Default Screen Section" (0) [ 3185.037] (**) | |-->Monitor "<default monitor>" [ 3185.038] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 3185.038] (**) | |-->Device "DeviceTFT" [ 3185.038] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 3185.038] (**) Option "BlankTime" "0" [ 3185.038] (**) Option "StandbyTime" "0" [ 3185.038] (**) Option "SuspendTime" "0" [ 3185.038] (**) Option "OffTime" "0" [ 3185.038] (==) Automatically adding devices [ 3185.038] (==) Automatically enabling devices [ 3185.038] (==) Automatically adding GPU devices [ 3185.038] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 3185.038] (WW) The directory "/usr/share/fonts/X11/misc" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 3185.038] Entry deleted from font path. [ 3185.038] (==) FontPath set to: built-ins [ 3185.038] (==) ModulePath set to "/usr/lib/xorg/modules" [ 3185.038] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 3185.038] (II) Loader magic: 0x5dcf60 [ 3185.038] (II) Module ABI versions: [ 3185.038] X.Org ANSI C Emulation: 0.4 [ 3185.038] X.Org Video Driver: 23.0 [ 3185.038] X.Org XInput driver : 24.1 [ 3185.039] X.Org Server Extension : 10.0 [ 3185.041] (--) using VT number 2 [ 3185.042] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 3185.044] (II) xfree86: Adding drm device (/dev/dri/card0) [ 3185.044] (II) no primary bus or device found [ 3185.044] falling back to /sys/devices/platform/display-engine/drm/card0 [ 3185.044] (II) LoadModule: "glx" [ 3185.045] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 3185.052] (II) Module glx: vendor="X.Org Foundation" [ 3185.052] compiled for 1.19.2, module version = 1.0.0 [ 3185.052] ABI class: X.Org Server Extension, version 10.0 [ 3185.052] (==) Matched modesetting as autoconfigured driver 0 [ 3185.052] (==) Matched fbdev as autoconfigured driver 1 [ 3185.053] (==) Assigned the driver to the xf86ConfigLayout [ 3185.053] (II) LoadModule: "modesetting" [ 3185.053] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 3185.054] (II) Module modesetting: vendor="X.Org Foundation" [ 3185.054] compiled for 1.19.2, module version = 1.19.2 [ 3185.054] Module class: X.Org Video Driver [ 3185.054] ABI class: X.Org Video Driver, version 23.0 [ 3185.054] (II) LoadModule: "fbdev" [ 3185.054] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 3185.055] (II) Module fbdev: vendor="X.Org Foundation" [ 3185.055] compiled for 1.19.0, module version = 0.4.4 [ 3185.055] Module class: X.Org Video Driver [ 3185.055] ABI class: X.Org Video Driver, version 23.0 [ 3185.055] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 3185.055] (II) FBDEV: driver for framebuffer: fbdev [ 3185.057] (II) modeset(0): using drv /dev/dri/card0 [ 3185.057] (WW) Falling back to old probe method for fbdev [ 3185.057] (II) Loading sub module "fbdevhw" [ 3185.057] (II) LoadModule: "fbdevhw" [ 3185.057] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 3185.058] (II) Module fbdevhw: vendor="X.Org Foundation" [ 3185.058] compiled for 1.19.2, module version = 0.0.2 [ 3185.058] ABI class: X.Org Video Driver, version 23.0 [ 3185.058] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 3185.059] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 3185.059] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 3185.059] (==) modeset(0): RGB weight 888 [ 3185.059] (==) modeset(0): Default visual is TrueColor [ 3185.059] (II) Loading sub module "glamoregl" [ 3185.059] (II) LoadModule: "glamoregl" [ 3185.059] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 3185.086] (II) Module glamoregl: vendor="X.Org Foundation" [ 3185.086] compiled for 1.19.2, module version = 1.0.0 [ 3185.086] ABI class: X.Org ANSI C Emulation, version 0.4 [ 3185.086] (II) glamor: OpenGL accelerated X.org driver based. [ 3185.088] couldn't get display device [ 3185.088] (EE) modeset(0): glamor initialization failed [ 3185.088] (II) modeset(0): ShadowFB: preferred NO, enabled NO [ 3185.088] (II) modeset(0): Output HDMI-1 has no monitor section [ 3185.089] (II) modeset(0): EDID for output HDMI-1 [ 3185.089] (II) modeset(0): Output HDMI-1 disconnected [ 3185.089] (WW) modeset(0): No outputs definitely connected, trying again... [ 3185.089] (II) modeset(0): Output HDMI-1 disconnected [ 3185.089] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer [ 3185.089] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) [ 3185.089] (==) modeset(0): DPI set to (96, 96) [ 3185.089] (II) Loading sub module "fb" [ 3185.089] (II) LoadModule: "fb" [ 3185.089] (II) Loading /usr/lib/xorg/modules/libfb.so [ 3185.090] (II) Module fb: vendor="X.Org Foundation" [ 3185.090] compiled for 1.19.2, module version = 1.0.0 [ 3185.090] ABI class: X.Org ANSI C Emulation, version 0.4 [ 3185.090] (II) UnloadModule: "fbdev" [ 3185.090] (II) Unloading fbdev [ 3185.090] (II) UnloadSubModule: "fbdevhw" [ 3185.090] (II) Unloading fbdevhw [ 3185.091] (==) Depth 24 pixmap format is 32 bpp [ 3185.094] (==) modeset(0): Backing store enabled [ 3185.094] (==) modeset(0): Silken mouse enabled [ 3185.094] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 3185.095] (==) modeset(0): DPMS enabled [ 3185.095] (WW) modeset(0): Option "fbdev" is not used [ 3185.095] (--) RandR disabled [ 3185.122] (II) SELinux: Disabled on system [ 3185.126] (II) AIGLX: Screen 0 is not DRI2 capable [ 3185.126] (EE) AIGLX: reverting to software rendering [ 3185.126] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so: cannot open shared object file: No such file or directory) [ 3185.126] (EE) GLX: could not load software renderer [ 3185.126] (II) GLX: no usable GL providers found for screen 0 [ 3185.127] (II) modeset(0): Damage tracking initialized [ 3185.449] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event0) [ 3185.449] (**) ADS7846 Touchscreen: Applying InputClass "libinput touchscreen catchall" [ 3185.449] (**) ADS7846 Touchscreen: Applying InputClass "calibration" [ 3185.449] (II) LoadModule: "libinput" [ 3185.449] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 3185.459] (II) Module libinput: vendor="X.Org Foundation" [ 3185.459] compiled for 1.19.0, module version = 0.23.0 [ 3185.459] Module class: X.Org XInput Driver [ 3185.459] ABI class: X.Org XInput driver, version 24.1 [ 3185.459] (II) Using input driver 'libinput' for 'ADS7846 Touchscreen' [ 3185.459] (**) ADS7846 Touchscreen: always reports core events [ 3185.459] (**) Option "Device" "/dev/input/event0" [ 3185.459] (**) Option "_source" "server/udev" [ 3185.462] (II) input device 'ADS7846 Touchscreen', /dev/input/event0 is tagged by udev as: Touchscreen [ 3185.462] (II) input device 'ADS7846 Touchscreen', /dev/input/event0 is a touch device [ 3185.550] (**) Option "config_info" "udev:/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.1/input/input0/event0" [ 3185.550] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6) [ 3185.551] (**) Option "AccelerationScheme" "none" [ 3185.551] (**) ADS7846 Touchscreen: (accel) selected scheme none/0 [ 3185.551] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000 [ 3185.551] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4 [ 3185.551] (**) Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1" [ 3185.553] (II) input device 'ADS7846 Touchscreen', /dev/input/event0 is tagged by udev as: Touchscreen [ 3185.553] (II) input device 'ADS7846 Touchscreen', /dev/input/event0 is a touch device [ 3185.555] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0) [ 3185.555] (**) ADS7846 Touchscreen: Applying InputClass "calibration" [ 3185.555] (II) No input driver specified, ignoring this device. [ 3185.555] (II) This device may have been added with another device file. [ 3185.557] (II) config/udev: Adding input device RC for dw_hdmi (/dev/input/event1) [ 3185.557] (**) RC for dw_hdmi: Applying InputClass "libinput keyboard catchall" [ 3185.557] (II) Using input driver 'libinput' for 'RC for dw_hdmi' [ 3185.557] (**) RC for dw_hdmi: always reports core events [ 3185.557] (**) Option "Device" "/dev/input/event1" [ 3185.558] (**) Option "_source" "server/udev" [ 3185.559] (II) input device 'RC for dw_hdmi', /dev/input/event1 is tagged by udev as: Keyboard [ 3185.559] (II) input device 'RC for dw_hdmi', /dev/input/event1 is a keyboard [ 3185.630] (**) Option "config_info" "udev:/sys/devices/platform/soc/1ee0000.hdmi/rc/rc0/input1/event1" [ 3185.630] (II) XINPUT: Adding extended input device "RC for dw_hdmi" (type: KEYBOARD, id 7) [ 3185.630] (**) Option "xkb_model" "pc105" [ 3185.630] (**) Option "xkb_layout" "us" [ 3185.632] (II) input device 'RC for dw_hdmi', /dev/input/event1 is tagged by udev as: Keyboard [ 3185.632] (II) input device 'RC for dw_hdmi', /dev/input/event1 is a keyboard [ 3186.733] (II) UnloadModule: "libinput" [ 3186.733] (II) UnloadModule: "libinput" [ 3186.738] (II) Server terminated successfully (0). Closing log file. I can't figure out whats the difference, maybe the HDMI? And how I can solve this problem. I would appreciate any help. Thanks
Recommended Posts