by rpcameron » Wed Jun 01, 2016 11:43 pm
I, too, am interested in this. HK's Ubuntu image has X11 working, and their /etc/X11/xorg.conf is identical to Arch's /etc/X11/xorg.conf.d/99-mali-c2.conf. However, when trying to start an X session (of any sort), Xorg errors out with:
$this->bbcode_second_pass_code('', '[ 20.430] (EE) MALI(0): [mali_drm_open_master:1036] Error: mali_drm_open_master Unable to open DRM: No such file or directory
[ 20.430] (EE) MALI(0): [MaliPreInit:1169] Error: Failed to be master of DRM!') which I take to mean that there is some problem with the kernel driver of some sort ...
I am attaching the full Xorg.0.log, so maybe someone else will be about to see what is exactly going on ...
Edit: Apparently this board won't let me upload an attachment, therefore I'm embedding the text here:
$this->bbcode_second_pass_code('', '[ 20.274]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 20.275] X Protocol Version 11, Revision 0
[ 20.275] Build Operating System: Linux 3.14.29-12-ARCH aarch64
[ 20.275] Current Operating System: Linux sleipnir 3.14.65-5-ARCH #1 SMP PREEMPT Sun May 29 09:24:16 MDT 2016 aarch64
[ 20.275] Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1080p60hz m_bpp=32 vout= fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true rootfstype=f2fs
[ 20.275] Build Date: 05 April 2016 12:20:21PM
[ 20.276]
[ 20.276] Current version of pixman: 0.34.0
[ 20.276] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 20.276] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 20.276] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 1 16:35:47 2016
[ 20.280] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 20.280] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 20.281] (==) No Layout section. Using the first Screen section.
[ 20.281] (**) |-->Screen "Mali-Screen" (0)
[ 20.281] (**) | |-->Monitor "<default monitor>"
[ 20.283] (**) | |-->Device "Mali-Fbdev"
[ 20.283] (==) No monitor specified for screen "Mali-Screen".
Using a default monitor configuration.
[ 20.283] (==) Automatically adding devices
[ 20.283] (==) Automatically enabling devices
[ 20.283] (==) Automatically adding GPU devices
[ 20.283] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 20.289] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 20.289] Entry deleted from font path.
[ 20.290] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 20.290] Entry deleted from font path.
[ 20.290] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 20.290] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 20.290] Entry deleted from font path.
[ 20.290] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 20.290] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 20.290] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 20.290] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 20.290] (II) Loader magic: 0x5cfcd8
[ 20.290] (II) Module ABI versions:
[ 20.290] X.Org ANSI C Emulation: 0.4
[ 20.290] X.Org Video Driver: 20.0
[ 20.290] X.Org XInput driver : 22.1
[ 20.290] X.Org Server Extension : 9.0
[ 20.292] (++) using VT number 1
[ 20.292] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 20.295] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 20.297] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 20.298] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 20.298] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 20.299] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 9 paused 0
[ 20.299] (II) no primary bus or device found
[ 20.299] falling back to /sys/devices/platform/mali_drm.0/drm/card0
[ 20.299] (II) LoadModule: "glx"
[ 20.304] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 20.349] (II) Module glx: vendor="X.Org Foundation"
[ 20.350] compiled for 1.18.3, module version = 1.0.0
[ 20.350] ABI class: X.Org Server Extension, version 9.0
[ 20.350] (==) AIGLX enabled
[ 20.350] (II) LoadModule: "mali"
[ 20.355] (II) Loading /usr/lib/xorg/modules/drivers/mali_drv.so
[ 20.366] (II) Module mali: vendor="X.Org Foundation"
[ 20.366] compiled for 1.18.3, module version = 0.4.2
[ 20.366] ABI class: X.Org Video Driver, version 20.0
[ 20.366] (II) MALI: driver for Mali Framebuffer: mali
[ 20.366] (WW) Falling back to old probe method for mali
[ 20.366] (II) MALI(0): using /dev/fb0
[ 20.366] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 20.366] (II) MALI(0): [MaliPreInit:1067]: Entering
[ 20.366] (II) MALI(0): [MaliGetRec:179]: Entering
[ 20.366] (II) MALI(0): [MaliHWInit:829]: Entering
[ 20.371] (II) MALI(0): [MaliHWGetDepth:882]: Entering
[ 20.371] (II) MALI(0): Creating default Display subsection in Screen section
"Mali-Screen" for depth/fbbpp 24/32
[ 20.371] (==) MALI(0): Depth 24, (==) framebuffer bpp 32
[ 20.371] (==) MALI(0): RGB weight 888
[ 20.371] (==) MALI(0): Default visual is TrueColor
[ 20.371] (==) MALI(0): Using gamma correction (1.0, 1.0, 1.0)
[ 20.371] (II) MALI(0): [MaliHWGetVidmem:900]: Entering
[ 20.371] (II) MALI(0): [MaliHWGetName:908]: Entering
[ 20.371] (II) MALI(0): hardware: OSD FB (video memory: 98304kB)
[ 20.372] (**) MALI(0): Option "DRI2" "true"
[ 20.372] (**) MALI(0): Option "DRI2_PAGE_FLIP" "true"
[ 20.372] (**) MALI(0): Option "DRI2_WAIT_VSYNC" "true"
[ 20.372] (**) MALI(0): Option "UMP_CACHED" "true"
[ 20.372] (**) MALI(0): Option "UMP_LOCK" "false"
[ 20.372] (**) MALI(0): DRI Fullscreen page flip enabled
[ 20.372] (**) MALI(0): DRI Fullscreen page flip VSYNC'd
[ 20.372] (**) MALI(0): Use cached UMP memory
[ 20.372] (**) MALI(0): Don't use umplock across processes
[ 20.430] (EE) MALI(0): [mali_drm_open_master:1036] Error: mali_drm_open_master Unable to open DRM: No such file or directory
[ 20.430] (EE) MALI(0): [MaliPreInit:1169] Error: Failed to be master of DRM!
[ 20.431] (II) UnloadModule: "mali"
[ 20.431] (EE) Screen(s) found, but none have a usable configuration.
[ 20.431] (EE)
Fatal server error:
[ 20.431] (EE) no screens found(EE)
[ 20.431] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 20.431] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 20.431] (EE)
[ 20.477] (EE) Server terminated with error (1). Closing log file.')