HP Chromebook 11 + xf86-video-armsoc = startx segfaults

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

HP Chromebook 11 + xf86-video-armsoc = startx segfaults

Postby dacto » Sun Mar 27, 2016 9:00 pm

Hi All,

I'm trying to enable hardware video acceleration on the HP Chromebook 11 but it isn't going very well.
I have seen several threads on this topic with the last activity being from a couple years ago and no solution.

Some old threads:
https://archlinuxarm.org/forum/viewtopic.php?f=47&t=7469
https://bugs.freedesktop.org/show_bug.cgi?id=87762
https://archlinuxarm.org/forum/viewtopic.php?f=60&t=9425&p=49119
https://archlinuxarm.org/forum/viewtopic.php?f=47&t=9313&p=48619
https://archlinuxarm.org/forum/viewtopic.php?f=47&t=8151&p=43945
https://archlinuxarm.org/forum/viewtopic.php?f=27&t=7794 <- almost exact same situation with no resolution.

So far...
installed: $this->bbcode_second_pass_code('', 'xf86-video-armsoc-chromium')(also tried git, odroid)

/ect/X11/xorg.conf.d/10-monitor.conf:
$this->bbcode_second_pass_code('', '
Section "Device"
Identifier "Mali FBDEV"
Driver "armsoc"
Option "fbdev" "/dev/fb0"
Option "Fimg2DExa" "false"
Option "DRI2" "true"
Option "DRI2_PAGE_FLIP" "false"
Option "DRI2_WAIT_VSYNC" "true"
# Option "Fimg2DExaSolid" "false"
# Option "Fimg2DExaCopy" "false"
# Option "Fimg2DExaComposite" "false"
Option "SWcursorLCD" "false"
EndSection

Section "Screen"
Identifier "DefaultScreen"
Device "Mali FBDEV"
DefaultDepth 24
EndSection

Section "DRI"
Mode 0660
EndSection
')

Xorg.0.log:
$this->bbcode_second_pass_code('', '
[ 440.142]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[ 440.148] X Protocol Version 11, Revision 0
[ 440.150] Build Operating System: Linux 3.10.82-8-ARCH armv7l
[ 440.152] Current Operating System: Linux cb1 3.8.11-3-ARCH #1 SMP Wed Jan 20 13:44:59 MST 2016 armv7l
[ 440.152] Kernel command line: cros_secure console= console=tty1 init=/sbin/init root=PARTUUID=e968c9c6-0a5e-b74d-a5c3-f871870eb9e0/PARTNROFF=1 rootwait rw noinitrd
[ 440.156] Build Date: 25 March 2016 05:35:16AM
[ 440.157]
[ 440.159] Current version of pixman: 0.34.0
[ 440.163] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 440.163] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 440.171] (==) Log file: "/home/dacto/.local/share/xorg/Xorg.0.log", Time: Sun Mar 27 00:09:24 2016
[ 440.173] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 440.175] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 440.176] (==) No Layout section. Using the first Screen section.
[ 440.176] (**) |-->Screen "DefaultScreen" (0)
[ 440.176] (**) | |-->Monitor "<default monitor>"
[ 440.176] (**) | |-->Device "Mali FBDEV"
[ 440.176] (==) No monitor specified for screen "DefaultScreen".
Using a default monitor configuration.
[ 440.176] (==) Automatically adding devices
[ 440.176] (==) Automatically enabling devices
[ 440.176] (==) Automatically adding GPU devices
[ 440.176] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 440.176] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 440.176] Entry deleted from font path.
[ 440.176] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 440.176] Entry deleted from font path.
[ 440.176] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 440.176] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 440.176] Entry deleted from font path.
[ 440.176] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 440.177] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 440.177] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 440.177] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 440.177] (II) Loader magic: 0x1e0ee0
[ 440.177] (II) Module ABI versions:
[ 440.177] X.Org ANSI C Emulation: 0.4
[ 440.177] X.Org Video Driver: 20.0
[ 440.177] X.Org XInput driver : 22.1
[ 440.177] X.Org Server Extension : 9.0
[ 440.179] (++) using VT number 1

[ 440.179] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 440.183] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 440.184] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 440.185] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 440.186] (II) no primary bus or device found
[ 440.186] falling back to /sys/devices/platform/exynos-drm/drm/card0
[ 440.186] (II) LoadModule: "glx"
[ 440.186] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 440.193] (II) Module glx: vendor="X.Org Foundation"
[ 440.193] compiled for 1.18.2, module version = 1.0.0
[ 440.193] ABI class: X.Org Server Extension, version 9.0
[ 440.193] (==) AIGLX enabled
[ 440.193] (II) LoadModule: "armsoc"
[ 440.193] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[ 440.194] (II) Module armsoc: vendor="X.Org Foundation"
[ 440.194] compiled for 1.18.0, module version = 0.0.1
[ 440.194] Module class: X.Org Video Driver
[ 440.194] ABI class: X.Org Video Driver, version 20.0
[ 440.194] (II) ARMSOC: Driver for TI OMAP: exynos5
[ 440.194] (WW) Falling back to old probe method for armsoc
[ 440.194] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 440.194] (II) ARMSOC(0): Creating default Display subsection in Screen section
"DefaultScreen" for depth/fbbpp 24/32
[ 440.194] (**) ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[ 440.194] (==) ARMSOC(0): RGB weight 888
[ 440.194] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[ 440.194] (==) ARMSOC(0): Default visual is TrueColor
[ 440.194] (EE) ARMSOC(0): ERROR: Cannot set the DRM interface version.
[ 440.194] (EE)
[ 440.194] (EE) Backtrace:
[ 440.195] (EE)
[ 440.195] (EE) Segmentation fault at address 0x4
[ 440.195] (EE)
Fatal server error:
[ 440.195] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 440.195] (EE)
[ 440.195] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 440.195] (EE) Please also check the log file at "/home/dacto/.local/share/xorg/Xorg.0.log" for additional information.
[ 440.195] (EE)
[ 440.202] (EE) Server terminated with error (1). Closing log file.
')

If I delete 10-monitor.conf, xf86-video-fbdev is used and startx will work but without hardware acceleration.

Also tried these libraries without success: http://malideveloper.arm.com/resources/drivers/arm-mali-midgard-gpu-user-space-drivers/


Hardware acceleration is the last piece of Arch on the Chromebook 11 that I am missing...so close!
If anyone has tips or suggestions they will be greatly appreciated.
dacto
 
Posts: 5
Joined: Mon Apr 14, 2014 5:30 am

Re: HP Chromebook 11 + xf86-video-armsoc = startx segfaults

Postby jman6495 » Mon Mar 28, 2016 12:02 am

I have to second this, And report that I have the same Issues.

Ultimately I am aware that this would only get us OpenGLES acceleration but it would be a nice addition.

It's very unfortunate that no solution has yet been found,

hope someone can work something out.
jman6495
 
Posts: 4
Joined: Mon Jun 18, 2012 3:13 pm

Re: HP Chromebook 11 + xf86-video-armsoc = startx segfaults

Postby jman6495 » Mon May 02, 2016 11:53 am

Hey !

I usually wouldn't bump or double post but I have some useful information for you !

I recently dug up my chromebook again out of curiosity and put Arch ARM on it, Interestingly if you install the xf86-video-fbturbo driver, performance is twice as good as with the normal framebuffer driver.

Still haven't managed to get OpenGles working though, I'm getting :

$this->bbcode_second_pass_code('', 'file /dev/mali0 is not of a compatible version (user 9.0, kernel 8.0)
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x6956 r0p0 status range [1..1], but none of the GPUs matched:
file /dev/mali0 is not of a compatible version (user 9.0, kernel 8.0)
')

Tried an older version of the userspace driver but there are no indications that it is version 9.0 or not on ARM's site, and got :

$this->bbcode_second_pass_code('', 'es2gears_x11
EGLUT: failed to initialize EGL display')


Hope this can be of use to you !

if anyone has an idea why I'm getting this error i'd really appreciate it if you could give me some help

My gl libs are the ones from ARM's website for the 60X range

Cheers
jman6495
 
Posts: 4
Joined: Mon Jun 18, 2012 3:13 pm


Return to Samsung

Who is online

Users browsing this forum: No registered users and 4 guests