CuBOX-i 4Pro X11 problems

Hi!

I have a running system with the latest official Debian buster release got from the official SolidRun repo. I tried to get X11 up and running according to instructions on this page:

https://github.com/SolidRun/documentation/blob/bsp/imx6/debian-11_sr1.md#x11

X11 does not start. The end of the logfile looks like:

[ 5624.558] Require OpenGL version 2.1 or later.
[ 5624.559] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[ 5624.559] (EE)
Fatal server error:
[ 5624.559] (EE) AddScreen/ScreenInit failed for driver 0
[ 5624.559] (EE)

Any idea what might be wrong?

can you please upload the full log? Thanks

Hi

Please see below…

[  5623.744]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[  5623.760] Build Operating System: linux Debian
[  5623.764] Current Operating System: Linux sr-imx6 5.10.0-26-armmp #1 SMP Debian 5.10.197-1 (2023-09-29) armv7l
[  5623.765] Kernel command line:   console=ttymxc0,115200 deferred_probe_timeout=10 ahci_imx.hotplug=1 cma=128M log_level=7 net.ifnames=0
[  5623.774] Build Date: 25 October 2023  07:47:13AM
[  5623.778] xorg-server 2:1.20.11-1+deb11u8 (https://www.debian.org/support) 
[  5623.783] Current version of pixman: 0.40.0
[  5623.793] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  5623.793] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5623.812] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 25 14:35:39 2023
[  5623.817] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  5623.822] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  5623.823] (==) No Layout section.  Using the first Screen section.
[  5623.823] (==) No screen section available. Using defaults.
[  5623.823] (**) |-->Screen "Default Screen Section" (0)
[  5623.823] (**) |   |-->Monitor ""
[  5623.824] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  5623.824] (**) |   |-->Device "etnaviv"
[  5623.824] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  5623.824] (**) Option "AutoAddGPU" "false"
[  5623.824] (==) Automatically adding devices
[  5623.824] (==) Automatically enabling devices
[  5623.824] (**) Not automatically adding GPU devices
[  5623.825] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  5623.825] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  5623.825] 	Entry deleted from font path.
[  5623.825] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  5623.825] 	Entry deleted from font path.
[  5623.825] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  5623.825] 	Entry deleted from font path.
[  5623.825] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  5623.825] 	Entry deleted from font path.
[  5623.825] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  5623.825] 	Entry deleted from font path.
[  5623.825] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  5623.825] 	Entry deleted from font path.
[  5623.825] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[  5623.825] (==) ModulePath set to "/usr/lib/xorg/modules"
[  5623.825] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  5623.825] (II) Loader magic: 0x5b6f58
[  5623.825] (II) Module ABI versions:
[  5623.826] 	X.Org ANSI C Emulation: 0.4
[  5623.826] 	X.Org Video Driver: 24.1
[  5623.826] 	X.Org XInput driver : 24.1
[  5623.826] 	X.Org Server Extension : 10.0
[  5623.829] (++) using VT number 1

[  5623.842] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_36
[  5623.846] (II) xfree86: Adding drm device (/dev/dri/card1)
[  5623.849] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[  5623.851] (II) xfree86: Adding drm device (/dev/dri/card0)
[  5623.856] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[  5623.857] (II) no primary bus or device found
[  5623.857] 	falling back to /sys/devices/platform/display-subsystem/drm/card1
[  5623.857] (II) LoadModule: "glx"
[  5623.858] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  5623.865] (II) Module glx: vendor="X.Org Foundation"
[  5623.866] 	compiled for 1.20.11, module version = 1.0.0
[  5623.866] 	ABI class: X.Org Server Extension, version 10.0
[  5623.866] (II) LoadModule: "modesetting"
[  5623.866] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  5623.867] (II) Module modesetting: vendor="X.Org Foundation"
[  5623.867] 	compiled for 1.20.11, module version = 1.20.11
[  5623.867] 	Module class: X.Org Video Driver
[  5623.867] 	ABI class: X.Org Video Driver, version 24.1
[  5623.867] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  5623.868] (II) modeset(0): using drv /dev/dri/card1
[  5623.870] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  5623.870] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  5623.870] (**) modeset(0): Option "kmsdev" "/dev/dri/card1"
[  5623.870] (**) modeset(0): Option "AccelMethod" "glamor"
[  5623.870] (==) modeset(0): RGB weight 888
[  5623.870] (==) modeset(0): Default visual is TrueColor
[  5623.870] (II) Loading sub module "glamoregl"
[  5623.871] (II) LoadModule: "glamoregl"
[  5623.871] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  5623.902] (II) Module glamoregl: vendor="X.Org Foundation"
[  5623.902] 	compiled for 1.20.11, module version = 1.0.1
[  5623.903] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  5624.461] (II) modeset(0): glamor X acceleration enabled on Vivante GC2000 rev 5108
[  5624.462] (II) modeset(0): glamor initialized
[  5624.481] (II) modeset(0): Output HDMI-1 has no monitor section
[  5624.501] (II) modeset(0): EDID for output HDMI-1
[  5624.501] (II) modeset(0): Manufacturer: ACR  Model: 1c7  Serial#: 310393991
[  5624.501] (II) modeset(0): Year: 2011  Week: 28
[  5624.501] (II) modeset(0): EDID Version: 1.3
[  5624.501] (II) modeset(0): Digital Display Input
[  5624.501] (II) modeset(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[  5624.501] (II) modeset(0): Gamma: 2.20
[  5624.501] (II) modeset(0): DPMS capabilities: Off
[  5624.501] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  5624.501] (II) modeset(0): First detailed timing is preferred mode
[  5624.501] (II) modeset(0): redX: 0.648 redY: 0.339   greenX: 0.290 greenY: 0.603
[  5624.502] (II) modeset(0): blueX: 0.143 blueY: 0.070   whiteX: 0.313 whiteY: 0.329
[  5624.502] (II) modeset(0): Supported established timings:
[  5624.502] (II) modeset(0): 720x400@70Hz
[  5624.502] (II) modeset(0): 640x480@60Hz
[  5624.502] (II) modeset(0): 640x480@67Hz
[  5624.502] (II) modeset(0): 800x600@56Hz
[  5624.502] (II) modeset(0): 800x600@60Hz
[  5624.502] (II) modeset(0): 1024x768@60Hz
[  5624.502] (II) modeset(0): 1024x768@70Hz
[  5624.502] (II) modeset(0): Manufacturer's mask: 0
[  5624.502] (II) modeset(0): Supported standard timings:
[  5624.502] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[  5624.502] (II) modeset(0): #1: hsize: 1280  vsize 800  refresh: 60  vid: 129
[  5624.502] (II) modeset(0): #2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  5624.502] (II) modeset(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[  5624.503] (II) modeset(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[  5624.503] (II) modeset(0): Supported detailed timing:
[  5624.503] (II) modeset(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[  5624.503] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[  5624.503] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[  5624.503] (II) modeset(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[  5624.503] (II) modeset(0): Monitor name: Acer P226HQV
[  5624.503] (II) modeset(0): Serial No: LQ20W0024320
[  5624.503] (II) modeset(0): EDID (in hex):
[  5624.503] (II) modeset(0): 	00ffffffffffff000472c701873c8012
[  5624.503] (II) modeset(0): 	1c15010380301b782a3585a6564a9a24
[  5624.503] (II) modeset(0): 	125054b30c00714f810081809500d1c0
[  5624.503] (II) modeset(0): 	010101010101023a801871382d40582c
[  5624.503] (II) modeset(0): 	4500dd0c1100001e000000fd00384b1e
[  5624.504] (II) modeset(0): 	5311000a202020202020000000fc0041
[  5624.504] (II) modeset(0): 	63657220503232364851560a000000ff
[  5624.504] (II) modeset(0): 	004c51323057303032343332300a0065
[  5624.504] (II) modeset(0): Printing probed modes for output HDMI-1
[  5624.504] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[  5624.504] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[  5624.504] (II) modeset(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[  5624.505] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[  5624.505] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[  5624.505] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[  5624.505] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  5624.505] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  5624.505] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  5624.505] (II) modeset(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[  5624.505] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  5624.505] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  5624.505] (II) modeset(0): Output HDMI-1 connected
[  5624.505] (II) modeset(0): Using exact sizes for initial modes
[  5624.505] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[  5624.505] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  5624.506] (==) modeset(0): DPI set to (96, 96)
[  5624.506] (II) Loading sub module "fb"
[  5624.506] (II) LoadModule: "fb"
[  5624.506] (II) Loading /usr/lib/xorg/modules/libfb.so
[  5624.507] (II) Module fb: vendor="X.Org Foundation"
[  5624.507] 	compiled for 1.20.11, module version = 1.0.0
[  5624.507] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  5624.558] Require OpenGL version 2.1 or later.
[  5624.559] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[  5624.559] (EE) 
Fatal server error:
[  5624.559] (EE) AddScreen/ScreenInit failed for driver 0
[  5624.559] (EE) 
[  5624.560] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  5624.560] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  5624.561] (EE) 
[  5624.584] (EE) Server terminated with error (1). Closing log file.