[ODROID-XU4] Can't startx after Mali drivers installation

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[ODROID-XU4] Can't startx after Mali drivers installation

Postby M1CK431 » Sat Nov 14, 2015 4:23 pm

Hello,

I have recently buy an ODROID-XU4 from HardKernel. My goal is use it with Archlinux ARM as a mediacenter, directly plug on my TV through HDMI. After some boot problem, I have successfully install Archlinux on my EMMC memory (using at first boot time an additional SD card to make my EMMC bootable).

After that I have install xorg and KDE (plasma 5) using mesa-libgl.
I have also create a file /home/alarm/.xinitrc with this content:
$this->bbcode_second_pass_code('', 'exec startkde')
Now when I run "startx" as a normal user (alarm), KDE startup as expected.

Sadly, I have a very poor graphic performance (can't read an AVI file with VLC in full screen) because I haven't yet install the specific Mali graphic drivers. So I have try install odroid-xu3-libgl-x11 and xf86-video-armsoc-odroid. After that, I can't startup KDE with the "startx" command. I have the following error (from .local/share/xorg/Xorg.0.log):
$this->bbcode_second_pass_code('', '
[alarm@odroid-xu4 ~]$ cat .local/share/xorg/Xorg.0.log
[ 270.171]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 270.171] X Protocol Version 11, Revision 0
[ 270.171] Build Operating System: Linux 3.10.82-8-ARCH armv7l
[ 270.172] Current Operating System: Linux odroid-xu4 3.10.92-2-ARCH #1 SMP PREEMPT Wed Nov 11 19:26:55 MST 2015 armv7l
[ 270.172] Kernel command line: console=tty1 console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw smsc95xx.macaddr=00:1e:06:61:7a:39
[ 270.172] Build Date: 05 November 2015 02:52:09PM
[ 270.172]
[ 270.172] Current version of pixman: 0.32.8
[ 270.173] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 270.173] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 270.174] (==) Log file: "/home/alarm/.local/share/xorg/Xorg.0.log", Time: Sat Nov 14 17:16:41 2015
[ 270.176] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 270.176] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 270.178] (==) No Layout section. Using the first Screen section.
[ 270.178] (==) No screen section available. Using defaults.
[ 270.178] (**) |-->Screen "Default Screen Section" (0)
[ 270.178] (**) | |-->Monitor "<default monitor>"
[ 270.180] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 270.180] (==) Automatically adding devices
[ 270.180] (==) Automatically enabling devices
[ 270.180] (==) Automatically adding GPU devices
[ 270.187] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 270.187] Entry deleted from font path.
[ 270.187] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 270.187] Entry deleted from font path.
[ 270.187] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 270.188] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 270.188] Entry deleted from font path.
[ 270.188] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 270.188] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 270.188] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 270.188] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 270.188] (II) Loader magic: 0x1def28
[ 270.188] (II) Module ABI versions:
[ 270.189] X.Org ANSI C Emulation: 0.4
[ 270.189] X.Org Video Driver: 19.0
[ 270.189] X.Org XInput driver : 21.1
[ 270.189] X.Org Server Extension : 9.0
[ 270.197] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 270.199] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 270.201] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 270.201] (II) no primary bus or device found
[ 270.201] falling back to /sys/devices/platform/exynos-drm/drm/card0
[ 270.203] (II) LoadModule: "glx"
[ 270.206] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 270.238] (II) Module glx: vendor="X.Org Foundation"
[ 270.238] compiled for 1.17.4, module version = 1.0.0
[ 270.238] ABI class: X.Org Server Extension, version 9.0
[ 270.238] (==) AIGLX enabled
[ 270.238] (==) Matched modesetting as autoconfigured driver 0
[ 270.238] (==) Matched fbdev as autoconfigured driver 1
[ 270.238] (==) Assigned the driver to the xf86ConfigLayout
[ 270.238] (II) LoadModule: "modesetting"
[ 270.238] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 270.240] (II) Module modesetting: vendor="X.Org Foundation"
[ 270.240] compiled for 1.17.4, module version = 1.17.4
[ 270.240] Module class: X.Org Video Driver
[ 270.240] ABI class: X.Org Video Driver, version 19.0
[ 270.240] (II) LoadModule: "fbdev"
[ 270.242] (WW) Warning, couldn't open module fbdev
[ 270.242] (II) UnloadModule: "fbdev"
[ 270.242] (II) Unloading fbdev
[ 270.242] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 270.243] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 270.243] (++) using VT number 1

[ 270.243] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 270.243] (II) modeset(0): using drv /dev/dri/card0
[ 270.243] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 270.290] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 270.290] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 270.290] (==) modeset(0): RGB weight 888
[ 270.290] (==) modeset(0): Default visual is TrueColor
[ 270.290] (II) Loading sub module "glamoregl"
[ 270.290] (II) LoadModule: "glamoregl"
[ 270.290] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 270.327] (II) Module glamoregl: vendor="X.Org Foundation"
[ 270.327] compiled for 1.17.4, module version = 1.0.0
[ 270.327] ABI class: X.Org ANSI C Emulation, version 0.4
[ 270.328] (II) glamor: OpenGL accelerated X.org driver based.
[ 270.777] (EE)
[ 270.778] (EE) Backtrace:
[ 270.778] (EE)
[ 270.778] (EE) Segmentation fault at address 0xb58e3170
[ 270.778] (EE)
Fatal server error:
[ 270.779] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 270.779] (EE)
[ 270.779] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 270.779] (EE) Please also check the log file at "/home/alarm/.local/share/xorg/Xorg.0.log" for additional information.
[ 270.779] (EE)
[ 270.805] (EE) Server terminated with error (1). Closing log file.
')

Can you please help me to setup correctly my Mali drivers?

Regards,
M1CK431
M1CK431
 
Posts: 4
Joined: Sat Nov 14, 2015 3:42 pm

Re: [ODROID-XU4] Can't startx after Mali drivers installatio

Postby M1CK431 » Tue Nov 17, 2015 10:01 pm

So nobody have an Odroid-XU4 with Mali drivers installed? :o
M1CK431
 
Posts: 4
Joined: Sat Nov 14, 2015 3:42 pm

Re: [ODROID-XU4] Can't startx after Mali drivers installatio

Postby M1CK431 » Sat Nov 21, 2015 5:34 pm

Hello,

I have try to follow this thread but no success:
http://archlinuxarm.org/forum/viewtopic.php?f=4&t=9345&p=48720#p48720

Any help please?
M1CK431
 
Posts: 4
Joined: Sat Nov 14, 2015 3:42 pm

Re: [ODROID-XU4] Can't startx after Mali drivers installatio

Postby gripped » Tue Nov 24, 2015 9:34 pm

Expand on 'no success'

The standard Alarm armsoc for odroid does not work well on the XU3/4 hence the version I made you linked to.

The log you posted seems to say you are using fbdev as the driver set in xorg.conf ? That's not right. It should be 'armsoc'

If you go to this thread on the odroid forum
http://forum.odroid.com/viewtopic.php?f=96&t=8334
you'll find packages I've made and instructions to get a desktop with egl working.

And if you look through the thread you'll find a kernel , and mali drivers, for the latest r6p0 version.

I am working too much (in the real world) to keep things as up to date as I'd like to but if you read through the thread you may find some help. Or post here, or there, with specifics and logs and I'll try to help.
gripped
 
Posts: 22
Joined: Sat Nov 30, 2013 1:28 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 14 guests