BBG: BB-AAIM-LCD ubuntu 20.04 and 5.10.x-bone-rt

Was removed, since you were having issue with the LCD launching into X, was that NOT the case on BBG: BB-AAIM-LCD ubuntu 20.04 and 5.10.x-bone-rt - #39 by chougulemrudula ?

Regards,

After removing “DefaultDepth 24”, the LCD and X server is working well. Now I can see depth is set to 16 as per Xorg log and not able to move the cursor to the sides of the screen.

If we set the depth to 24, would it help to resolve the issue?

You can try adding it back into xorg.conf
 It’s also defined in teh device-tree, so a new version of xorg should correctly set it


I’m sorry, i just NEVER use ubuntu. Only Debian 10.x/11.x get tested by me.

Regards,

Yeah, I tried adding, but Xorg is failed. Here is log


82.664] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 82.669] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 82.673] (II) no primary bus or device found
[ 82.673] falling back to /sys/devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/4830e000.target-module/4830e000.lcdc/drm/card0
[ 82.673] (II) LoadModule: “glx”
[ 82.674] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 82.683] (II) Module glx: vendor=“X.Org Foundation”
[ 82.683] compiled for 1.20.8, module version = 1.0.0
[ 82.683] ABI class: X.Org Server Extension, version 10.0
[ 82.683] (II) LoadModule: “fbdev”
[ 82.685] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 82.686] (II) Module fbdev: vendor=“X.Org Foundation”
[ 82.686] compiled for 1.20.1, module version = 0.5.0
[ 82.686] Module class: X.Org Video Driver
[ 82.686] ABI class: X.Org Video Driver, version 24.0
[ 82.686] (II) FBDEV: driver for framebuffer: fbdev
[ 82.687] (WW) Falling back to old probe method for fbdev
[ 82.687] (II) Loading sub module “fbdevhw”
[ 82.687] (II) LoadModule: “fbdevhw”
[ 82.689] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 82.690] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 82.690] compiled for 1.20.8, module version = 0.0.2
[ 82.690] ABI class: X.Org Video Driver, version 24.1
[ 82.690] (II) FBDEV(0): using default device
[ 82.690] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 82.691] () FBDEV(0): Depth 24, (–) framebuffer bpp 32
[ 82.691] (==) FBDEV(0): RGB weight 888
[ 82.691] (==) FBDEV(0): Default visual is TrueColor
[ 82.691] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 82.691] (II) FBDEV(0): hardware: tilcdcdrmfb (video memory: 2000kB)
[ 82.691] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 82.691] (II) FBDEV(0): checking modes against framebuffer device

[ 82.691] (II) FBDEV(0): checking modes against monitor

[ 82.691] (II) FBDEV(0): Virtual size is 1280x800 (pitch 1280)
[ 82.691] (
) FBDEV(0): Built-in mode “current”
[ 82.692] (==) FBDEV(0): DPI set to (96, 96)
[ 82.692] (II) Loading sub module “fb”
[ 82.692] (II) LoadModule: “fb”
[ 82.693] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 82.694] (II) Module fb: vendor=“X.Org Foundation”
[ 82.694] compiled for 1.20.8, module version = 1.0.0
[ 82.694] ABI class: X.Org ANSI C Emulation, version 0.4
[ 82.694] (**) FBDEV(0): using shadow framebuffer
[ 82.694] (II) Loading sub module “shadow”
[ 82.694] (II) LoadModule: “shadow”
[ 82.695] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 82.696] (II) Module shadow: vendor=“X.Org Foundation”
[ 82.696] compiled for 1.20.8, module version = 1.1.0
[ 82.696] ABI class: X.Org ANSI C Emulation, version 0.4
[ 82.697] (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
[ 82.697] (EE) FBDEV(0): mode initialization failed
[ 82.697] (EE)
Fatal server error:
[ 82.697] (EE) AddScreen/ScreenInit failed for driver 0
[ 82.697] (EE)
[ 82.697] (EE)
Please consult the The X.Org Foundation support

If I remove DefaultDepth then the X server is running fine. but the cursor moves in the other direction of finger movement.
Appears like x-axis coordinates moving in 180 degrees


Please provide your suggestions.

it looks like xorg has an option:

There should be a:

Option "InvertX" "true"

Regards,

1 Like

Thank you! I modified xorg. conf and appears working well.

1 Like