LCD shield + HDMI as a Xinerama desktop

LCD shield + HDMI as a Xinerama desktop

Unread postby mad_ady » Fri Jan 27, 2017 9:28 pm

Hello all,

For fun I thought I'd try to enable both the 3.5" LCD shield and HDMI output in a single desktop (with Xinerama support). Here's what I tried:
1. Installed the LCD screen with @Fourdee's installer: viewtopic.php?f=145&t=24248
2. Renamed the following files to lower their load priority:
Code: Select all
$ sudo mv /etc/X11/xorg.conf.d/99-calibration.conf /etc/X11/xorg.conf.d/90-calibration.conf
$ sudo mv /etc/X11/xorg.conf.d/99-odroid-lcd35.conf /etc/X11/xorg.conf.d/90-odroid-lcd35.conf

3. Create a config file for the HDMI port
Code: Select all
$ sudo cat /etc/X11/xorg.conf.d/90-fbturbo.conf
Section "Device"
        Identifier      "FBTURBO"
        Driver          "fbturbo"
        Screen          0
        Option          "fbdev" "/dev/fb0"

        Option          "SwapbuffersWait" "true"
EndSection

4. Add a "Screen 1" line to /etc/X11/xorg.conf.d/90-odroid-lcd35.conf:
Code: Select all
$ sudo cat /etc/X11/xorg.conf.d/90-odroid-lcd35.conf
Section "Device"
    Identifier    "C fbdev"
    Driver        "fbdev"
    Screen         1
    Option        "fbdev" "/dev/fb2"
EndSection

5. Add the glue to attach both monitors to xinerama (the resolutions are hardcoded for now):
Code: Select all
$ sudo cat /etc/X11/xorg.conf.d/91-multihead.conf
Section "Screen"
        Identifier      "HDMI"
        Device          "FBTURBO"
        Monitor         "HDMI"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1680x1050"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1680x1050"
        EndSubSection
EndSection
 
Section "Screen"
        Identifier      "ODROID35"
        Device          "C fbdev"
        Monitor         "LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "480x320"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "480x320"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Multihead"
        Screen          0 "HDMI"
        Screen          1 "ODROID35" RightOf "HDMI"
        Option "Xinerama" "on"
        Option "Clone" "off"
EndSection



With these changes if I restart lightdm (or reboot the system), the HDMI output displays the X server, while the 3.5" LCD only displays part of the boot process (systemd stuff). So - it doesn't work. Xorg.0.log looks like this:
Code: Select all
adrianp@kbd:~$ cat /var/log/Xorg.0.log
[    15.307]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    15.307] X Protocol Version 11, Revision 0
[    15.307] Build Operating System: Linux 4.4.0-45-generic aarch64 Ubuntu
[    15.307] Current Operating System: Linux kbd 3.14.79-104 #1 SMP PREEMPT Thu Jan 19 09:05:15 BRST 2017 aarch64
[    15.307] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1680x1050p60hz  m_bpp=32 vout=dvi fsck.repair=yes
net.ifnames=0 elevator=noop disablehpd=true max_freq=1752 maxcpus=4 monitor_onoff=false
[    15.307] Build Date: 02 November 2016  10:05:28PM
[    15.307] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
[    15.307] Current version of pixman: 0.33.6
[    15.307]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    15.308] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.308] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 11 18:28:05 2016
[    15.356] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    15.356] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.434] (==) ServerLayout "Multihead"
[    15.434] (**) |-->Screen "HDMI" (0)
[    15.434] (**) |   |-->Monitor "<default monitor>"
[    15.441] (**) |   |-->Device "FBTURBO"
[    15.441] (==) No monitor specified for screen "HDMI".
        Using a default monitor configuration.
[    15.441] (**) |-->Screen "ODROID35" (1)
[    15.441] (**) |   |-->Monitor "<default monitor>"
[    15.442] (**) |   |-->Device "C fbdev"
[    15.442] (==) No monitor specified for screen "ODROID35".
        Using a default monitor configuration.
[    15.442] (**) Option "Xinerama" "on"
[    15.442] (==) Automatically adding devices
[    15.442] (==) Automatically enabling devices
[    15.442] (==) Automatically adding GPU devices
[    15.442] (**) Xinerama: enabled
[    15.442] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.472] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    15.472]    Entry deleted from font path.
[    15.472] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    15.472]    Entry deleted from font path.
[    15.472] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    15.472]    Entry deleted from font path.
[    15.478] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    15.478]    Entry deleted from font path.
[    15.478] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    15.478]    Entry deleted from font path.
[    15.478] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[    15.478] (==) ModulePath set to "/usr/lib/aarch64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    15.478] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    15.481] (II) Loader magic: 0x556cf8cd80
[    15.481] (II) Module ABI versions:
[    15.481]    X.Org ANSI C Emulation: 0.4
[    15.481]    X.Org Video Driver: 20.0
[    15.481]    X.Org XInput driver : 22.1
[    15.481]    X.Org Server Extension : 9.0
[    15.483] (++) using VT number 7

[    15.484] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    15.485] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.485] (II) xfree86: Adding drm device (/dev/dri/card1)
[    15.485] (II) no primary bus or device found
[    15.485]    falling back to /sys/devices/platform/mali_drm.0/drm/card0
[    15.485] (II) LoadModule: "glx"
[    15.500] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.595] (II) Module glx: vendor="X.Org Foundation"
[    15.595]    compiled for 1.18.4, module version = 1.0.0
[    15.595]    ABI class: X.Org Server Extension, version 9.0
[    15.595] (==) AIGLX enabled
[    15.597] (II) LoadModule: "fbturbo"
[    15.605] (WW) Warning, couldn't open module fbturbo
[    15.605] (II) UnloadModule: "fbturbo"
[    15.605] (II) Unloading fbturbo
[    15.605] (EE) Failed to load module "fbturbo" (module does not exist, 0)
[    15.605] (II) LoadModule: "fbdev"
[    15.605] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    15.610] (II) Module fbdev: vendor="X.Org Foundation"
[    15.610]    compiled for 1.18.1, module version = 0.4.4
[    15.610]    Module class: X.Org Video Driver
[    15.610]    ABI class: X.Org Video Driver, version 20.0
[    15.610] (==) Matched modesetting as autoconfigured driver 0
[    15.610] (==) Matched fbdev as autoconfigured driver 1
[    15.611] (==) Assigned the driver to the xf86ConfigLayout
[    15.611] (II) LoadModule: "modesetting"
[    15.611] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    15.617] (II) Module modesetting: vendor="X.Org Foundation"
[    15.617]    compiled for 1.18.4, module version = 1.18.4
[    15.617]    Module class: X.Org Video Driver
[    15.617]    ABI class: X.Org Video Driver, version 20.0
[    15.617] (II) LoadModule: "fbdev"
[    15.618] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    15.618] (II) Module fbdev: vendor="X.Org Foundation"
[    15.618]    compiled for 1.18.1, module version = 0.4.4
[    15.618]    Module class: X.Org Video Driver
[    15.618]    ABI class: X.Org Video Driver, version 20.0
[    15.618] (II) UnloadModule: "fbdev"
[    15.618] (II) Unloading fbdev
[    15.618] (II) Failed to load module "fbdev" (already loaded, 0)
[    15.618] (II) FBDEV: driver for framebuffer: fbdev
[    15.618] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    15.658] (WW) Falling back to old probe method for fbdev
[    15.659] (II) Loading sub module "fbdevhw"
[    15.659] (II) LoadModule: "fbdevhw"
[    15.659] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    15.665] (II) Module fbdevhw: vendor="X.Org Foundation"
[    15.665]    compiled for 1.18.4, module version = 0.0.2
[    15.665]    ABI class: X.Org Video Driver, version 20.0
[    15.665] (II) FBDEV(0): using /dev/fb0
[    15.665] (WW) Falling back to old probe method for modesetting
[    15.665] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    15.665] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[    15.665] (==) FBDEV(0): RGB weight 888
[    15.665] (==) FBDEV(0): Default visual is TrueColor
[    15.665] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    15.665] (II) FBDEV(0): hardware: OSD FB (video memory: 98304kB)
[    15.665] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
[    15.665] (II) FBDEV(0): checking modes against framebuffer device...
[    15.666] (II) FBDEV(0):     mode "1680x1050" test failed
[    15.666] (II) FBDEV(0):     mode "1680x1050" test failed
[    15.666] (II) FBDEV(0):     mode "1680x1050" test failed
[    15.666] (II) FBDEV(0):     mode "1680x1050" test failed
[    15.666] (II) FBDEV(0):     mode "1680x1050" not found
[    15.666] (II) FBDEV(0): checking modes against monitor...
[    15.666] (--) FBDEV(0): Virtual size is 1680x1050 (pitch 1680)
[    15.666] (**) FBDEV(0):  Built-in mode "current"
[    15.666] (==) FBDEV(0): DPI set to (96, 96)
[    15.666] (II) Loading sub module "fb"
[    15.666] (II) LoadModule: "fb"
[    15.666] (II) Loading /usr/lib/xorg/modules/libfb.so
[    15.677] (II) Module fb: vendor="X.Org Foundation"
[    15.678]    compiled for 1.18.4, module version = 1.0.0
[    15.678]    ABI class: X.Org ANSI C Emulation, version 0.4
[    15.678] (**) FBDEV(0): using shadow framebuffer
[    15.678] (II) Loading sub module "shadow"
[    15.678] (II) LoadModule: "shadow"
[    15.678] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    15.687] (II) Module shadow: vendor="X.Org Foundation"
[    15.687]    compiled for 1.18.4, module version = 1.1.0
[    15.687]    ABI class: X.Org ANSI C Emulation, version 0.4
[    15.687] (==) Depth 24 pixmap format is 32 bpp
[    15.740] (==) FBDEV(0): Backing store enabled
[    15.745] (==) FBDEV(0): DPMS enabled
[    15.745] (==) RandR enabled
[    15.763] (II) SELinux: Disabled on system
[    15.764] (II) AIGLX: Screen 0 is not DRI2 capable
[    15.764] (EE) AIGLX: reverting to software rendering
[    17.885] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    17.887] (II) AIGLX: Loaded and initialized swrast
[    17.888] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    18.197] (II) config/udev: Adding input device SX865X Touchscreen (/dev/input/event3)
[    18.198] (**) SX865X Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    18.198] (**) SX865X Touchscreen: Applying InputClass "calibration"
[    18.198] (II) LoadModule: "evdev"
[    18.198] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    18.211] (II) Module evdev: vendor="X.Org Foundation"
[    18.212]    compiled for 1.18.1, module version = 2.10.1
[    18.212]    Module class: X.Org XInput Driver
[    18.212]    ABI class: X.Org XInput driver, version 22.1
[    18.212] (II) Using input driver 'evdev' for 'SX865X Touchscreen'
[    18.212] (**) SX865X Touchscreen: always reports core events
[    18.212] (**) evdev: SX865X Touchscreen: Device: "/dev/input/event3"
[    18.212] (--) evdev: SX865X Touchscreen: Vendor 0 Product 0
[    18.212] (--) evdev: SX865X Touchscreen: Found absolute axes
[    18.212] (--) evdev: SX865X Touchscreen: Found x and y absolute axes
[    18.212] (--) evdev: SX865X Touchscreen: Found absolute touchscreen
[    18.212] (**) Option "SwapAxes" "0"
[    18.212] (II) evdev: SX865X Touchscreen: Configuring as touchscreen
[    18.212] (**) evdev: SX865X Touchscreen: YAxisMapping: buttons 4 and 5
[    18.212] (**) evdev: SX865X Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    18.212] (**) Option "config_info" "udev:/sys/devices/i2c-2/2-0049/input/input3/event3"
[    18.212] (II) XINPUT: Adding extended input device "SX865X Touchscreen" (type: TOUCHSCREEN, id 6)
[    18.213] (II) evdev: SX865X Touchscreen: initialized for absolute axes.
[    18.213] (**) SX865X Touchscreen: (accel) keeping acceleration scheme 1
[    18.213] (**) SX865X Touchscreen: (accel) acceleration profile 0
[    18.213] (**) SX865X Touchscreen: (accel) acceleration factor: 2.000
[    18.213] (**) SX865X Touchscreen: (accel) acceleration threshold: 4
[    18.214] (II) config/udev: Adding input device SX865X Touchscreen (/dev/input/mouse1)
[    18.214] (**) SX865X Touchscreen: Applying InputClass "calibration"
[    18.214] (II) No input driver specified, ignoring this device.
[    18.214] (II) This device may have been added with another device file.
[    18.216] (II) config/udev: Adding input device Lenovo Optical Mouse (/dev/input/event2)
[    18.216] (**) Lenovo Optical Mouse: Applying InputClass "evdev pointer catchall"
[    18.216] (II) Using input driver 'evdev' for 'Lenovo Optical Mouse'
[    18.216] (**) Lenovo Optical Mouse: always reports core events
[    18.216] (**) evdev: Lenovo Optical Mouse: Device: "/dev/input/event2"
[    18.217] (--) evdev: Lenovo Optical Mouse: Vendor 0x17ef Product 0x600e
[    18.217] (--) evdev: Lenovo Optical Mouse: Found 3 mouse buttons
[    18.217] (--) evdev: Lenovo Optical Mouse: Found scroll wheel(s)
[    18.217] (--) evdev: Lenovo Optical Mouse: Found relative axes
[    18.217] (--) evdev: Lenovo Optical Mouse: Found x and y relative axes
[    18.217] (II) evdev: Lenovo Optical Mouse: Configuring as mouse
[    18.217] (II) evdev: Lenovo Optical Mouse: Adding scrollwheel support
[    18.217] (**) evdev: Lenovo Optical Mouse: YAxisMapping: buttons 4 and 5
[    18.217] (**) evdev: Lenovo Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    18.217] (**) Option "config_info" "udev:/sys/devices/platform/dwc2_b/usb1/1-1/1-1.4/1-1.4:1.0/0003:17EF:600E.0001/input/input2/event2"
[    18.217] (II) XINPUT: Adding extended input device "Lenovo Optical Mouse" (type: MOUSE, id 7)
[    18.217] (II) evdev: Lenovo Optical Mouse: initialized for relative axes.
[    18.217] (**) Lenovo Optical Mouse: (accel) keeping acceleration scheme 1
[    18.218] (**) Lenovo Optical Mouse: (accel) acceleration profile 0
[    18.218] (**) Lenovo Optical Mouse: (accel) acceleration factor: 2.000
[    18.218] (**) Lenovo Optical Mouse: (accel) acceleration threshold: 4
[    18.219] (II) config/udev: Adding input device Lenovo Optical Mouse (/dev/input/mouse0)
[    18.219] (II) No input driver specified, ignoring this device.
[    18.219] (II) This device may have been added with another device file.
[    18.221] (II) config/udev: Adding input device cec_input (/dev/input/event0)
[    18.221] (**) cec_input: Applying InputClass "evdev keyboard catchall"
[    18.221] (II) Using input driver 'evdev' for 'cec_input'
[    18.221] (**) cec_input: always reports core events
[    18.221] (**) evdev: cec_input: Device: "/dev/input/event0"
[    18.221] (--) evdev: cec_input: Vendor 0x1b8e Product 0xcec
[    18.221] (--) evdev: cec_input: Found 1 mouse buttons
[    18.221] (--) evdev: cec_input: Found keys
[    18.221] (II) evdev: cec_input: Forcing relative x/y axes to exist.
[    18.221] (II) evdev: cec_input: Configuring as mouse
[    18.221] (II) evdev: cec_input: Configuring as keyboard
[    18.221] (**) evdev: cec_input: YAxisMapping: buttons 4 and 5
[    18.221] (**) evdev: cec_input: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    18.221] (**) Option "config_info" "udev:/sys/devices/virtual/input/input0/event0"
[    18.221] (II) XINPUT: Adding extended input device "cec_input" (type: KEYBOARD, id 8)
[    18.221] (**) Option "xkb_rules" "evdev"
[    18.221] (**) Option "xkb_model" "pc105"
[    18.221] (**) Option "xkb_layout" "us"
[    18.223] (II) config/udev: Adding input device vt-input (/dev/input/event1)
[    18.223] (**) vt-input: Applying InputClass "evdev keyboard catchall"
[    18.223] (II) Using input driver 'evdev' for 'vt-input'
[    18.223] (**) vt-input: always reports core events
[    18.223] (**) evdev: vt-input: Device: "/dev/input/event1"
[    18.223] (--) evdev: vt-input: Vendor 0x16b4 Product 0x701
[    18.223] (--) evdev: vt-input: Found keys
[    18.223] (II) evdev: vt-input: Configuring as keyboard
[    18.224] (**) Option "config_info" "udev:/sys/devices/virtual/input/input1/event1"
[    18.224] (II) XINPUT: Adding extended input device "vt-input" (type: KEYBOARD, id 9)
[    18.224] (**) Option "xkb_rules" "evdev"
[    18.224] (**) Option "xkb_model" "pc105"
[    18.224] (**) Option "xkb_layout" "us"


From what I see in the logs, Xinerama is enabled, but the second "Screen" is not activated (the module is not loaded). Does anyone have any idea what's missing?
User avatar
mad_ady
 
Posts: 1692
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU3, C1+, C2

Re: LCD shield + HDMI as a Xinerama desktop

Unread postby odroid » Mon Jan 30, 2017 7:49 pm

We didn't try the dual-head X display yet.
Can you try "fbdev" on HDMI display instead of "fbturbo"?
User avatar
odroid
Site Admin
 
Posts: 22715
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: LCD shield + HDMI as a Xinerama desktop

Unread postby mad_ady » Tue Jan 31, 2017 9:37 pm

@odroid: The same thing happens with fbdev - the desktop session uses only the first display. I'll try to dig some more into it.
Edit: Here is the xorg.0.log:
Code: Select all
[  2049.769]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  2049.770] X Protocol Version 11, Revision 0
[  2049.770] Build Operating System: Linux 4.4.0-45-generic aarch64 Ubuntu
[  2049.770] Current Operating System: Linux kbd 3.14.79-104 #1 SMP PREEMPT Thu Jan 19 09:05:15 BRST 2017 aarch64
[  2049.771] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1680x1050p60hz  m_bpp=32 vout=dvi fsck.repair=yes
net.ifnames=0 elevator=noop disablehpd=true max_freq=1752 maxcpus=4 monitor_onoff=false
[  2049.771] Build Date: 02 November 2016  10:05:28PM
[  2049.772] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
[  2049.772] Current version of pixman: 0.33.6
[  2049.772]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2049.772] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2049.774] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 31 15:08:56 2017
[  2049.776] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2049.777] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2049.782] (==) ServerLayout "Multihead"
[  2049.782] (**) |-->Screen "HDMI" (0)
[  2049.782] (**) |   |-->Monitor "HDMI"
[  2049.785] (**) |   |-->Device "FBTURBO"
[  2049.785] (**) |-->Screen "ODROID35" (1)
[  2049.785] (**) |   |-->Monitor "LCD"
[  2049.787] (**) |   |-->Device "C fbdev"
[  2049.787] (**) Option "Xinerama" "on"
[  2049.788] (==) Automatically adding devices
[  2049.788] (==) Automatically enabling devices
[  2049.788] (==) Automatically adding GPU devices
[  2049.788] (**) Xinerama: enabled
[  2049.788] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2049.789] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2049.789]    Entry deleted from font path.
[  2049.789] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  2049.789]    Entry deleted from font path.
[  2049.789] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  2049.789]    Entry deleted from font path.
[  2049.789] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  2049.789]    Entry deleted from font path.
[  2049.790] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  2049.790]    Entry deleted from font path.
[  2049.790] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[  2049.790] (==) ModulePath set to "/usr/lib/aarch64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[  2049.790] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2049.790] (II) Loader magic: 0x558af21d80
[  2049.790] (II) Module ABI versions:
[  2049.791]    X.Org ANSI C Emulation: 0.4
[  2049.791]    X.Org Video Driver: 20.0
[  2049.791]    X.Org XInput driver : 22.1
[  2049.791]    X.Org Server Extension : 9.0
[  2049.799] (--) using VT number 2

[  2049.799] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  2049.804] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2049.806] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2049.806] (II) no primary bus or device found
[  2049.807]    falling back to /sys/devices/platform/mali_drm.0/drm/card0
[  2049.807] (II) LoadModule: "glx"
[  2049.810] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2049.825] (II) Module glx: vendor="X.Org Foundation"
[  2049.825]    compiled for 1.18.4, module version = 1.0.0
[  2049.825]    ABI class: X.Org Server Extension, version 9.0
[  2049.825] (==) AIGLX enabled
[  2049.826] (II) LoadModule: "fbdev"
[  2049.828] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  2049.829] (II) Module fbdev: vendor="X.Org Foundation"
[  2049.829]    compiled for 1.18.1, module version = 0.4.4
[  2049.830]    Module class: X.Org Video Driver
[  2049.830]    ABI class: X.Org Video Driver, version 20.0
[  2049.830] (II) FBDEV: driver for framebuffer: fbdev
[  2049.941] (WW) Falling back to old probe method for fbdev
[  2049.941] (II) Loading sub module "fbdevhw"
[  2049.941] (II) LoadModule: "fbdevhw"
[  2049.943] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  2049.943] (II) Module fbdevhw: vendor="X.Org Foundation"
[  2049.944]    compiled for 1.18.4, module version = 0.0.2
[  2049.944]    ABI class: X.Org Video Driver, version 20.0
[  2049.944] (II) FBDEV(0): using /dev/fb0
[  2049.944] (II) FBDEV(1): using /dev/fb2
[  2049.944] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2049.944] (EE) Screen 1 deleted because of no matching config section.
[  2049.944] (II) UnloadModule: "fbdev"
[  2049.944] (II) UnloadSubModule: "fbdevhw"
[  2049.945] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[  2049.945] (==) FBDEV(0): RGB weight 888
[  2049.945] (==) FBDEV(0): Default visual is TrueColor
[  2049.945] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  2049.945] (II) FBDEV(0): hardware: OSD FB (video memory: 98304kB)
[  2049.945] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
[  2049.945] (II) FBDEV(0): checking modes against framebuffer device...
[  2049.945] (II) FBDEV(0):     mode "1680x1050" test failed
[  2049.945] (II) FBDEV(0):     mode "1680x1050" test failed
[  2049.945] (II) FBDEV(0):     mode "1680x1050" test failed
[  2049.945] (II) FBDEV(0):     mode "1680x1050" test failed
[  2049.945] (II) FBDEV(0):     mode "1680x1050" test failed
[  2049.946] (II) FBDEV(0):     mode "1680x1050" not found
[  2049.946] (II) FBDEV(0): checking modes against monitor...
[  2049.946] (--) FBDEV(0): Virtual size is 1680x1050 (pitch 1680)
[  2049.946] (**) FBDEV(0):  Built-in mode "current"
[  2049.946] (==) FBDEV(0): DPI set to (96, 96)
[  2049.946] (II) Loading sub module "fb"
[  2049.946] (II) LoadModule: "fb"
[  2049.947] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2049.948] (II) Module fb: vendor="X.Org Foundation"
[  2049.948]    compiled for 1.18.4, module version = 1.0.0
[  2049.948]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2049.948] (**) FBDEV(0): using shadow framebuffer
[  2049.948] (II) Loading sub module "shadow"
[  2049.948] (II) LoadModule: "shadow"
[  2049.949] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  2049.950] (II) Module shadow: vendor="X.Org Foundation"
[  2049.950]    compiled for 1.18.4, module version = 1.1.0
[  2049.950]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2049.950] (==) Depth 24 pixmap format is 32 bpp
[  2049.983] (==) FBDEV(0): Backing store enabled
[  2049.984] (==) FBDEV(0): DPMS enabled
[  2049.985] (==) RandR enabled
[  2050.021] (II) SELinux: Disabled on system
[  2050.026] (II) AIGLX: Screen 0 is not DRI2 capable
[  2050.026] (EE) AIGLX: reverting to software rendering
[  2050.182] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  2050.187] (II) AIGLX: Loaded and initialized swrast
[  2050.187] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  2050.622] (II) config/udev: Adding input device SX865X Touchscreen (/dev/input/event2)
[  2050.622] (**) SX865X Touchscreen: Applying InputClass "evdev touchscreen catchall"
[  2050.623] (**) SX865X Touchscreen: Applying InputClass "calibration"
[  2050.623] (II) LoadModule: "evdev"
[  2050.623] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  2050.624] (II) Module evdev: vendor="X.Org Foundation"
[  2050.624]    compiled for 1.18.1, module version = 2.10.1
[  2050.624]    Module class: X.Org XInput Driver
[  2050.624]    ABI class: X.Org XInput driver, version 22.1
[  2050.625] (II) Using input driver 'evdev' for 'SX865X Touchscreen'
[  2050.625] (**) SX865X Touchscreen: always reports core events
[  2050.625] (**) evdev: SX865X Touchscreen: Device: "/dev/input/event2"
[  2050.625] (--) evdev: SX865X Touchscreen: Vendor 0 Product 0
[  2050.625] (--) evdev: SX865X Touchscreen: Found absolute axes
[  2050.625] (--) evdev: SX865X Touchscreen: Found x and y absolute axes
[  2050.625] (--) evdev: SX865X Touchscreen: Found absolute touchscreen
[  2050.625] (**) Option "SwapAxes" "0"
[  2050.625] (II) evdev: SX865X Touchscreen: Configuring as touchscreen
[  2050.625] (**) evdev: SX865X Touchscreen: YAxisMapping: buttons 4 and 5
[  2050.625] (**) evdev: SX865X Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  2050.625] (**) Option "config_info" "udev:/sys/devices/i2c-2/2-0049/input/input2/event2"
[  2050.626] (II) XINPUT: Adding extended input device "SX865X Touchscreen" (type: TOUCHSCREEN, id 6)
[  2050.626] (II) evdev: SX865X Touchscreen: initialized for absolute axes.
[  2050.626] (**) SX865X Touchscreen: (accel) keeping acceleration scheme 1
[  2050.626] (**) SX865X Touchscreen: (accel) acceleration profile 0
[  2050.626] (**) SX865X Touchscreen: (accel) acceleration factor: 2.000
[  2050.626] (**) SX865X Touchscreen: (accel) acceleration threshold: 4
[  2050.628] (II) config/udev: Adding input device SX865X Touchscreen (/dev/input/mouse0)
[  2050.628] (**) SX865X Touchscreen: Applying InputClass "calibration"
[  2050.628] (II) No input driver specified, ignoring this device.
[  2050.628] (II) This device may have been added with another device file.
[  2050.630] (II) config/udev: Adding input device cec_input (/dev/input/event0)
[  2050.630] (**) cec_input: Applying InputClass "evdev keyboard catchall"
[  2050.631] (II) Using input driver 'evdev' for 'cec_input'
[  2050.631] (**) cec_input: always reports core events
[  2050.631] (**) evdev: cec_input: Device: "/dev/input/event0"
[  2050.631] (--) evdev: cec_input: Vendor 0x1b8e Product 0xcec
[  2050.631] (--) evdev: cec_input: Found 1 mouse buttons
[  2050.631] (--) evdev: cec_input: Found keys
[  2050.631] (II) evdev: cec_input: Forcing relative x/y axes to exist.
[  2050.631] (II) evdev: cec_input: Configuring as mouse
[  2050.631] (II) evdev: cec_input: Configuring as keyboard
[  2050.631] (**) evdev: cec_input: YAxisMapping: buttons 4 and 5
[  2050.631] (**) evdev: cec_input: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  2050.631] (**) Option "config_info" "udev:/sys/devices/virtual/input/input0/event0"
[  2050.631] (II) XINPUT: Adding extended input device "cec_input" (type: KEYBOARD, id 7)
[  2050.631] (**) Option "xkb_rules" "evdev"
[  2050.631] (**) Option "xkb_model" "pc105"
[  2050.631] (**) Option "xkb_layout" "us"
[  2050.633] (II) config/udev: Adding input device vt-input (/dev/input/event1)
[  2050.634] (**) vt-input: Applying InputClass "evdev keyboard catchall"
[  2050.634] (II) Using input driver 'evdev' for 'vt-input'
[  2050.634] (**) vt-input: always reports core events
[  2050.634] (**) evdev: vt-input: Device: "/dev/input/event1"
[  2050.634] (--) evdev: vt-input: Vendor 0x16b4 Product 0x701
[  2050.634] (--) evdev: vt-input: Found keys
[  2050.634] (II) evdev: vt-input: Configuring as keyboard
[  2050.634] (**) Option "config_info" "udev:/sys/devices/virtual/input/input1/event1"
[  2050.634] (II) XINPUT: Adding extended input device "vt-input" (type: KEYBOARD, id 8)
[  2050.634] (**) Option "xkb_rules" "evdev"
[  2050.634] (**) Option "xkb_model" "pc105"
[  2050.634] (**) Option "xkb_layout" "us"
[  2051.032] (II) evdev: vt-input: Close
[  2051.032] (II) UnloadModule: "evdev"
[  2051.032] (II) evdev: cec_input: Close
[  2051.032] (II) UnloadModule: "evdev"
[  2051.032] (II) evdev: SX865X Touchscreen: Close
[  2051.033] (II) UnloadModule: "evdev"
[  2051.112] (II) Server terminated successfully (0). Closing log file.



Now I can see that
[ 2049.944] (EE) Screen 1 deleted because of no matching config section.
. I'm not sure what it's not matching in the config section...
User avatar
mad_ady
 
Posts: 1692
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU3, C1+, C2

Re: LCD shield + HDMI as a Xinerama desktop

Unread postby Pzr » Fri May 05, 2017 6:42 am

Any news regarding this? Did you ever get this working?

Kind regards, Emanuel
Pzr
 
Posts: 1
Joined: Fri May 05, 2017 6:36 am
languages_spoken: english, swedish
ODROIDs: C2

Re: LCD shield + HDMI as a Xinerama desktop

Unread postby mad_ady » Fri May 05, 2017 10:39 am

No, I wasn't able to make it work. I wasn't going to use it in production anyway, but wanted to see if it would work
User avatar
mad_ady
 
Posts: 1692
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU3, C1+, C2


Return to 3.5inch LCD Shield

Who is online

Users browsing this forum: No registered users and 1 guest