XE303C12 armsoc "Cannot set the DRM interface ver"& segfault

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

XE303C12 armsoc "Cannot set the DRM interface ver"& segfault

Postby opm0 » Tue Dec 27, 2016 1:16 am

After installing the xf86-video-armsoc-chromium video driver, I get "ERROR: Cannot set the DRM interface version." and "Backtrace: Segmentation fault at address 0x4" when I run startxfce4. I am using a Samsung Chromebook XE303C12 and booting Arch from a flash drive.

Has anyone been able to run Arch Linux ARM with hardware GPU acceleration on the Samsung Chromebook?


Log file:
Code: Select all
[   371.034]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   371.038] X Protocol Version 11, Revision 0
[   371.040] Build Operating System: Linux 3.10.96-3-ARCH armv7l
[   371.041] Current Operating System: Linux alarm 3.8.11-4-ARCH #1 SMP Sat Oct 22 11:59:55 MDT 2016 armv7l
[   371.041] Kernel command line: cros_secure console= console=tty1 init=/sbin/init root=PARTUUID=d16cb8c4-f07a-1e4a-90be-1353f93a999d/PARTNROFF=1 rootwait rw noinitrd
[   371.044] Build Date: 20 July 2016  10:43:25AM
[   371.045] 
[   371.047] Current version of pixman: 0.34.0
[   371.050]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   371.050] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   371.056] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 26 20:29:56 2016
[   371.058] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   371.058] (==) No Layout section.  Using the first Screen section.
[   371.058] (==) No screen section available. Using defaults.
[   371.058] (**) |-->Screen "Default Screen Section" (0)
[   371.058] (**) |   |-->Monitor "<default monitor>"
[   371.058] (==) No device specified for screen "Default Screen Section".
   Using the first device section listed.
[   371.058] (**) |   |-->Device "ArmDev"
[   371.058] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   371.058] (==) Automatically adding devices
[   371.058] (==) Automatically enabling devices
[   371.058] (==) Automatically adding GPU devices
[   371.058] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   371.058] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   371.058]    Entry deleted from font path.
[   371.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   371.058]    Entry deleted from font path.
[   371.058]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   371.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   371.058]    Entry deleted from font path.
[   371.058]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   371.058] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/
[   371.058] (==) ModulePath set to "/usr/lib/xorg/modules"
[   371.058] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   371.058] (II) Loader magic: 0x1e4ee0
[   371.059] (II) Module ABI versions:
[   371.059]    X.Org ANSI C Emulation: 0.4
[   371.059]    X.Org Video Driver: 20.0
[   371.059]    X.Org XInput driver : 22.1
[   371.059]    X.Org Server Extension : 9.0
[   371.061] (++) using VT number 1

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

Re: XE303C12 armsoc "Cannot set the DRM interface ver"& segf

Postby fisherking » Sat Mar 18, 2017 9:30 pm

I'm also interested in a response to this question. I tried following this guide with no luck: https://archlinuxarm.org/forum/viewtopic.php?f=33&t=5979

I cannot load any of the required modules specified in the initial steps:
  1. mali
  2. ump
  3. drm
fisherking
 
Posts: 1
Joined: Sat Mar 18, 2017 9:23 pm

Re: XE303C12 armsoc "Cannot set the DRM interface ver"& segf

Postby opm0 » Sun Mar 19, 2017 7:12 pm

fisherking wrote:I'm also interested in a response to this question. I tried following this guide with no luck: https://archlinuxarm.org/forum/viewtopic.php?f=33&t=5979

I cannot load any of the required modules specified in the initial steps:
  1. mali
  2. ump
  3. drm


This guide uses Debian 9, it doesn't have desktop acceleration so things like dragging a window and browsing the web with Chromium are pretty slow: https://community.arm.com/graphics/b/do ... m-mali-gpu

armsoc supports GLES, but it doesn't have desktop acceleration and it doesn't run on Arch.
fbdev has desktop acceleration, but it doesn't support GLES and it doesn't run on Debian (maybe this can fix it?)

The wayland driver supports desktop acceleration and GLES but XWayland doesn't work.

Edit: It includes the mali user-space binary drivers, uses some kernel patches, and changes the LD_LIBRARY_PATH depending on the driver that you need (/root/mali/fbdev for the text console, /root/mali/x11 for x11, /root/mali/wayland for wayland). Someone with more time than me could probably check what it does and make it work with ALARM.
opm0
 
Posts: 4
Joined: Tue Dec 27, 2016 12:36 am

Re: XE303C12 armsoc "Cannot set the DRM interface ver"& segf

Postby opm0 » Thu Mar 23, 2017 2:14 pm

For Debian: linux-peach patch 0001 fixes the wi-fi (it doesn't crash every 10 seconds now) and 0003 fixes fbdev.
fbdev is faster on the desktop, but it doesn't have OpenGL ES. Mesa software rendering works.
opm0
 
Posts: 4
Joined: Tue Dec 27, 2016 12:36 am


Return to Samsung

Who is online

Users browsing this forum: No registered users and 2 guests

cron