UDOO Quad Xorg configuration

This forum is for supported devices using an ARMv7 Freescale SoC.

UDOO Quad Xorg configuration

Postby pedronf65 » Tue Mar 01, 2016 3:44 pm

Hi all,
some more testing with the UDOO, I can't make the X server work.
After installing xorg if I start it I have an error:
$this->bbcode_second_pass_code('', '
$ startx
X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.82-8-ARCH armv7l
Current Operating System: Linux udoo-quad 4.4.2-2-rt7-ARCH #1 SMP PREEMPT RT Fri Feb 26 00:58:50 UTC 2016 armv7l
Kernel command line: console=ttymxc1,115200 usbcore.autosuspend=-1 root=/dev/mmcblk0p1 rw rootwait video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32
Build Date: 12 February 2016 02:01:40AM

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: Tue Mar 1 15:29:57 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(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.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console

$ cat /var/log/Xorg.0.log
[ 70.812]
X.Org X Server 1.18.1
Release Date: 2016-02-08
[ 70.812] X Protocol Version 11, Revision 0
[ 70.812] Build Operating System: Linux 3.10.82-8-ARCH armv7l
[ 70.812] Current Operating System: Linux udoo-quad 4.4.2-2-rt7-ARCH #1 SMP PREEMPT RT Fri Feb 26 00:58:50 UTC 2016 armv7l
[ 70.812] Kernel command line: console=ttymxc1,115200 usbcore.autosuspend=-1 root=/dev/mmcblk0p1 rw rootwait video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32
[ 70.812] Build Date: 12 February 2016 02:01:40AM
[ 70.812]
[ 70.812] Current version of pixman: 0.34.0
[ 70.812] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 70.813] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 70.813] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 1 15:29:57 2016
[ 70.817] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 70.822] (==) No Layout section. Using the first Screen section.
[ 70.822] (==) No screen section available. Using defaults.
[ 70.822] (**) |-->Screen "Default Screen Section" (0)
[ 70.822] (**) | |-->Monitor "<default monitor>"
[ 70.828] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 70.828] (==) Automatically adding devices
[ 70.828] (==) Automatically enabling devices
[ 70.828] (==) Automatically adding GPU devices
[ 70.828] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 70.832] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 70.832] Entry deleted from font path.
[ 70.849] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 70.849] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 70.849] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 70.851] (II) Loader magic: 0x1e0ee0
[ 70.851] (II) Module ABI versions:
[ 70.851] X.Org ANSI C Emulation: 0.4
[ 70.851] X.Org Video Driver: 20.0
[ 70.851] X.Org XInput driver : 22.1
[ 70.851] X.Org Server Extension : 9.0
[ 70.854] (--) using VT number 2

[ 70.854] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 70.856] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 70.856] (II) no primary bus or device found
[ 70.857] falling back to /sys/devices/soc0/gpu-subsystem/drm/card0
[ 70.858] (II) LoadModule: "glx"
[ 70.864] (WW) Warning, couldn't open module glx
[ 70.864] (II) UnloadModule: "glx"
[ 70.864] (II) Unloading glx
[ 70.864] (EE) Failed to load module "glx" (module does not exist, 0)
[ 70.864] (==) Matched modesetting as autoconfigured driver 0
[ 70.864] (==) Matched fbdev as autoconfigured driver 1
[ 70.864] (==) Assigned the driver to the xf86ConfigLayout
[ 70.864] (II) LoadModule: "modesetting"
[ 70.865] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 70.870] (II) Module modesetting: vendor="X.Org Foundation"
[ 70.870] compiled for 1.18.1, module version = 1.18.1
[ 70.870] Module class: X.Org Video Driver
[ 70.870] ABI class: X.Org Video Driver, version 20.0
[ 70.870] (II) LoadModule: "fbdev"
[ 70.871] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 70.873] (II) Module fbdev: vendor="X.Org Foundation"
[ 70.873] compiled for 1.18.0, module version = 0.4.4
[ 70.873] Module class: X.Org Video Driver
[ 70.873] ABI class: X.Org Video Driver, version 20.0
[ 70.873] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 70.873] (II) FBDEV: driver for framebuffer: fbdev
[ 70.874] (WW) Falling back to old probe method for modesetting
[ 70.874] (WW) Falling back to old probe method for fbdev
[ 70.874] (II) Loading sub module "fbdevhw"
[ 70.874] (II) LoadModule: "fbdevhw"
[ 70.875] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 70.877] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 70.877] compiled for 1.18.1, module version = 0.0.2
[ 70.877] ABI class: X.Org Video Driver, version 20.0
[ 70.878] (EE) open /dev/fb0: No such file or directory
[ 70.878] (EE) No devices detected.
[ 70.878] (EE)
Fatal server error:
[ 70.878] (EE) no screens found(EE)
[ 70.878] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 70.878] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 70.878] (EE)
')

Looking at the UDOO official ubuntu distro boot log, I can see this at the beginning:
$this->bbcode_second_pass_code('', '
U-Boot 2013.10-rc3 (Jan 20 2014 - 13:33:34)

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: UDOO
DRAM: 1 GiB
MMC: FSL_SDHC: 0
auto-detected panel HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
Net: using phy at 6
FEC [PRIME]
')

It looks like the HDMI interface is detected by u-boot.

But looking at the arch linux boot log:
$this->bbcode_second_pass_code('', '
U-Boot 2015.01 (Jan 24 2015 - 18:35:39) Arch Linux ARM

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: Udoo
DRAM: 1 GiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: using phy at 6
FEC [PRIME]
')

So it looks like u-boot, in spite being of a newer version, doesn't detect the video driver.
In my system there is no /dev/fb0 file...

Is the problem with u-boot or can I load the video driver later so that the X server works?

Many thanks in advance,
Pedro
pedronf65
 
Posts: 13
Joined: Mon Mar 02, 2015 5:15 pm

Return to Freescale

Who is online

Users browsing this forum: No registered users and 4 guests