Assistance with X11 on XE303C SegFaults and No screens found

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

Assistance with X11 on XE303C SegFaults and No screens found

Postby spospartan104 » Sat Dec 20, 2014 3:59 pm

I've been trying to get X11 up and running on my samsung Chromebook 1

I have a base xorg.conf matching: https://github.com/karlssonjohan/ubuntu ... ntu/x.conf

I've tried each of the armsoc's in pacman: xf86-video-armsoc-{chromium,git,odroid} obviously I started with chromium.

I'm about to attempt using the non accelerated instructions from: viewtopic.php?f=47&t=7469 however in this thread most of the people would have at least crappy performance with the other package.

Usually my errors are one of the following
With -git and -odroid
$this->bbcode_second_pass_code('', '
[ 2237.196] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 2237.197] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2237.197] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 2237.198] (II) no primary bus or device found
[ 2237.198] falling back to /sys/devices/platform/exynos-drm.0/drm/card0
[ 2237.198] (II) Open APM successful
[ 2237.198] (II) LoadModule: "glx"
[ 2237.198] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2237.204] (II) Module glx: vendor="X.Org Foundation"
[ 2237.204] compiled for 1.16.2.901, module version = 1.0.0
[ 2237.204] ABI class: X.Org Server Extension, version 8.0
[ 2237.204] (==) AIGLX enabled
[ 2237.204] (II) LoadModule: "armsoc"
[ 2237.204] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[ 2237.205] (II) Module armsoc: vendor="X.Org Foundation"
[ 2237.205] compiled for 1.16.0, module version = 0.7.0
[ 2237.205] Module class: X.Org Video Driver
[ 2237.205] ABI class: X.Org Video Driver, version 18.0
[ 2237.205] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[ 2237.205] (++) using VT number 1

[ 2237.205] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 2237.205] (WW) Falling back to old probe method for armsoc
[ 2237.205] (II) No BusID or DriverName specified - opening /dev/dri/card0
[ 2237.205] (EE) ERROR: Cannot set the DRM interface version.
[ 2237.205] (EE) ERROR: Cannot open a connection with the DRM - Permission denied
[ 2237.205] (EE) No devices detected.
[ 2237.205] (EE)
Fatal server error:
[ 2237.205] (EE) no screens found(EE)
[ 2237.205] (EE)

')

With -chromium
$this->bbcode_second_pass_code('', '
[ 2350.201] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2350.201] (II) Loader magic: 0x1d0ee8
[ 2350.201] (II) Module ABI versions:
[ 2350.201] X.Org ANSI C Emulation: 0.4
[ 2350.201] X.Org Video Driver: 18.0
[ 2350.201] X.Org XInput driver : 21.0
[ 2350.201] X.Org Server Extension : 8.0
[ 2350.205] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 2350.205] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2350.206] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 2350.206] (II) no primary bus or device found
[ 2350.206] falling back to /sys/devices/platform/exynos-drm.0/drm/card0
[ 2350.206] (II) Open APM successful
[ 2350.207] (II) LoadModule: "glx"
[ 2350.207] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2350.213] (II) Module glx: vendor="X.Org Foundation"
[ 2350.213] compiled for 1.16.2.901, module version = 1.0.0
[ 2350.213] ABI class: X.Org Server Extension, version 8.0
[ 2350.213] (==) AIGLX enabled
[ 2350.213] (II) LoadModule: "armsoc"
[ 2350.213] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[ 2350.214] (II) Module armsoc: vendor="X.Org Foundation"
[ 2350.214] compiled for 1.16.0, module version = 0.0.1
[ 2350.214] Module class: X.Org Video Driver
[ 2350.214] ABI class: X.Org Video Driver, version 18.0
[ 2350.214] (II) ARMSOC: Driver for TI OMAP: exynos5
[ 2350.214] (++) using VT number 1

[ 2350.214] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 2350.214] (WW) Falling back to old probe method for armsoc
[ 2350.214] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 2350.214] (II) ARMSOC(0): Creating default Display subsection in Screen section
"DefaultScreen" for depth/fbbpp 24/32
[ 2350.214] (**) ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[ 2350.214] (==) ARMSOC(0): RGB weight 888
[ 2350.214] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[ 2350.214] (==) ARMSOC(0): Default visual is TrueColor
[ 2350.214] (EE) ARMSOC(0): ERROR: Cannot set the DRM interface version.
[ 2350.215] (EE)
[ 2350.215] (EE) Backtrace:
[ 2350.215] (EE)
[ 2350.215] (EE) Segmentation fault at address 0x4
[ 2350.215] (EE)
Fatal server error:
[ 2350.215] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 2350.215] (EE)
[ 2350.215] (EE)
Please consult the The X.Org Foundation support
')

Any recommendations are much appreciated. I've been searching the forums but I would not be surprised if my keywords were crap.
apologies if I didn't research properly :/
spospartan104
 
Posts: 4
Joined: Sat Dec 20, 2014 3:50 pm

Re: Assistance with X11 on XE303C SegFaults and No screens f

Postby WarheadsSE » Sat Dec 20, 2014 7:49 pm

Also install xf86-video-modesetting (for safety), and check the permissions on dri0 and /dev/mali0
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Assistance with X11 on XE303C SegFaults and No screens f

Postby spospartan104 » Sun Dec 21, 2014 1:00 pm

installed.
ls -al /dev/mali0
crw------- 1 root root 10, 62 Dec 20 23:14 /dev/mali0

Still segfaulting but no more modesetting warning!
$this->bbcode_second_pass_code('', '
[ 4412.729] (--) controlling tty is VT number 2, auto-enabling KeepTty
[ 4412.729] (WW) Falling back to old probe method for armsoc
[ 4412.730] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 4412.730] (II) ARMSOC(0): Creating default Display subsection in Screen section
"DefaultScreen" for depth/fbbpp 24/32
[ 4412.730] (**) ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[ 4412.730] (==) ARMSOC(0): RGB weight 888
[ 4412.730] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[ 4412.730] (==) ARMSOC(0): Default visual is TrueColor
[ 4412.730] (EE) ARMSOC(0): ERROR: Cannot set the DRM interface version.
[ 4412.730] (EE)
[ 4412.730] (EE) Backtrace:
[ 4412.730] (EE)
[ 4412.730] (EE) Segmentation fault at address 0x4
[ 4412.730] (EE)
Fatal server error:
[ 4412.730] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 4412.730] (EE)
[ 4412.730] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 4412.730] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 4412.731] (EE)
[ 4412.737] (EE) Server terminated with error (1). Closing log file.
')

from what I can gather I assume the segfault is related to the DRM error, which I assume is related to the external hdmi port? (Nothing's plugged into it, just trying to gather what we can say is fact)

Thank you for your time!
spospartan104
 
Posts: 4
Joined: Sat Dec 20, 2014 3:50 pm

Re: Assistance with X11 on XE303C SegFaults and No screens f

Postby WarheadsSE » Sun Dec 21, 2014 4:08 pm

chown root:video /dev/mali0
chmod 660 /dev/mali0

And try again. Which armsoc driver are you using at the moment?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Assistance with X11 on XE303C SegFaults and No screens f

Postby spospartan104 » Sun Dec 21, 2014 5:41 pm

no luck, currently armsoc-chromium
spospartan104
 
Posts: 4
Joined: Sat Dec 20, 2014 3:50 pm

Re: Assistance with X11 on XE303C SegFaults and No screens f

Postby spospartan104 » Tue Dec 23, 2014 9:58 pm

Attempted again with odroid and git versions after the changes, no luck.
Also the mali0 dev node reverts back to old permissions, I may try updating the udev rule to the perms you recommended to see if it's possibly a preload. Unless anyone has other ideas :/
spospartan104
 
Posts: 4
Joined: Sat Dec 20, 2014 3:50 pm


Return to Samsung

Who is online

Users browsing this forum: No registered users and 5 guests