[June 25] Stock Android 8.1 ROCK64 | [June 19] Armbian (5.42) ROCK64 | [June 19] Armbian (5.38) PINE A64(+) / PINE A64-LTS / SOPINE | [June 19] motionEyeOS (20180224) PINE A64(+) | [June 19] Armbian (5.46) Pinebook | [June 06] Bionic LXDE (0.6.44-239) ROCK64 | Bionic Minimal (0.6.44-239) ROCK64 | [June 06] Debian Stretch Minimal (0.6.44-239) ROCK64 | [June 06] Jessie OpenMediaVault (0.6.44-239) ROCK64

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


[solved] Unable to start X
#1
Hello together,

I've got some troubles to start X on my Rock64.

So, fist of all I've donwloaded "Debian Stretch Mate Community Build Image [microSD Boot] [0.5.15-136-20171222]", this one: http://files.pine64.org/os/ROCK64/debian...m64.img.xz

After burning the image on sd I've bootet from this and then apt update and apt upgrade.

After reboot I've saw in the console:

Code:
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.

Okay, systemctl status lightdm.service says:


Code:
[email protected]:~# systemctl status lightdm.service
● lightdm.service - Light Display Manager
  Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Mon 2018-07-09 10:46:10 UTC; 1h 58min ago
    Docs: man:lightdm(1)
 Process: 662 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
 Process: 657 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] (code=exited, status=0/SUCCESS)
Main PID: 662 (code=exited, status=1/FAILURE)

Jul 09 10:46:10 rock64 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jul 09 10:46:10 rock64 systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
Jul 09 10:46:10 rock64 systemd[1]: Stopped Light Display Manager.
Jul 09 10:46:10 rock64 systemd[1]: lightdm.service: Start request repeated too quickly.
Jul 09 10:46:10 rock64 systemd[1]: Failed to start Light Display Manager.
Jul 09 10:46:10 rock64 systemd[1]: lightdm.service: Unit entered failed state.
Jul 09 10:46:10 rock64 systemd[1]: lightdm.service: Failed with result 'exit-code'.
[email protected]:~#

The manual startx bringt:


Code:
[email protected]:~# startx


X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-4-arm64 aarch64 Debian
Current Operating System: Linux rock64 4.4.126-rockchip-ayufan-239 #1 SMP Sun May 27 18:38:24 UTC 2018 aarch64
Kernel command line: rw root=LABEL=linux-root rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=16:fc:cc:d2:25:67 eth1addr=16:fc:cc:d2:25:87 serial=aa8010ecb10fe21 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
Build Date: 16 October 2017  08:11:43AM
xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
Current version of pixman: 0.34.0
       Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul  9 12:45:33 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) armsoc: module ABI major version (20) doesn't match the server's version (23)
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
        at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

Okay, the ABI version doesn't match, no problem:

Code:
[email protected]:~# startx -- -ignoreABI


X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-4-arm64 aarch64 Debian
Current Operating System: Linux rock64 4.4.126-rockchip-ayufan-239 #1 SMP Sun May 27 18:38:24 UTC 2018 aarch64
Kernel command line: rw root=LABEL=linux-root rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=16:fc:cc:d2:25:67 eth1addr=16:fc:cc:d2:25:87 serial=aa8010ecb10fe21 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
Build Date: 16 October 2017  08:11:43AM
xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
Current version of pixman: 0.34.0
       Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul  9 12:47:21 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(WW) armsoc: module ABI major version (20) doesn't match the server's version (23)
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for gpu driver 0 -1
(EE)
(EE)
Please consult the The X.Org Foundation support
        at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

Okay, -ignoreABI is not enougth...

I've attached the log file from X.org.

Any ideas?


Attached Files
.log   Xorg.0.log (Size: 18.39 KB / Downloads: 7)
Reply
#2
0.5.15 is old version, use 0.6.44
Reply
#3
Code:
Before upgrade:
ls -la /etc/X11/xorg.conf.d/
-rw-r--r-- 1 root root  177 Oct 12  2017 20-modesetting.conf

After upgrade:
ls -la /etc/X11/xorg.conf.d/
-rw-r--r-- 1 root root  564 May 28 03:33 20-armsoc.conf
-rw-r--r-- 1 root root  177 Oct 12  2017 20-modesetting.conf
-rw-r--r-- 1 root root  177 May 28 03:33 20-modesetting.conf.bak

----
Restart. after doing the following

# cd /etc/X11/xorg.conf.d/
# mv 20-armsoc.conf 20-armsoc.conf.bak

There is another way to build from source code.
However, there is no big advantage in doing it

ayufan-rock64/xf86-video-armsoc
https://github.com/ayufan-rock64/xf86-vi...ial.tar.gz
Reply
#4
This may apply if you're trying to upgrade.

Quote:X11 and older releases
When upgrading from older releases, some users have reported issues with X11 no longer starting. If you are upgrading an older (i.e. 0.5.x) release with a desktop environment, before rebooting the system it is advisable that you run the following command:

sudo apt-get install xserver-xorg-video-armsoc

You may also want to check the contents of the /etc/X11/xorg.conf.d/ directory, and if 20-modesetting.conf is present, move or rename it. i.e. sudo mv /etc/X11/xorg.conf.d/20-modesetting.conf /etc/X11/xorg.conf.d/20-modesetting.disabled

If you don't do this, there is a chance that X11 will crash on next boot, and you'll need to login to your system using a serial console or via SSH, and run the above commands. You should then be able to reboot your system and be greeted with a working X11 install again!
Reply
#5
> sudo apt-get install xserver-xorg-video-armsoc
The result of doing it is as he indicated
(EE) armsoc: module ABI major version (20) does not match the server's version (23)

In short, at least as of today the files uploaded to the repository
"xserver-xorg-video-armsoc_1.9.3ayufan6.xenial4_arm64.deb"
there is a problem with this file itself.

To avoid it
· Use traditional modesetting_drv.so
· Receive source code and rebuild (in correct environment)
· Wait for the correct file to be uploaded
It becomes one of the above choices.

---
An example, result of rebuilding: (I do not expect performance this driver, but at least it works)

Code:
---  Xorg.0.log @ rebuilded armsoc_drv.so from source code ---
...
[  1020.958] (II) LoadModule: "armsoc"
[  1020.958] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[  1020.959] (II) Module armsoc: vendor="X.Org Foundation"
[  1020.959]    compiled for 1.19.2, module version = 1.4.1
[  1020.959]    Module class: X.Org Video Driver
[  1020.959]    ABI class: X.Org Video Driver, version 23.0
[  1020.959] (II) ARMSOC: Driver for ARM Mali compatible chipsets
...
Reply
#6
Hello guys,

after upgrade to 0.6.44-minimal and installation XFCE, X is starting properly.

Attached is the logfile.


Attached Files
.log   Xorg.0.log (Size: 14.62 KB / Downloads: 7)
Reply
#7
(07-10-2018, 04:09 AM)Osiander Wrote: Hello guys,

after upgrade to 0.6.44-minimal and installation XFCE, X is starting properly.

Attached is the logfile.

Hi,

Thank's for this thread, as I'm experiencing the same issue.

@Osiander : did you flashed a new image or is there a command for this upgrade ?

@t4_4t : what kind of delay can we expect for the correct file to be available ? (if its on his way…)
Reply
#8
First of all I've flashed the new image and after that "apt update" and install XFCE4 per tasksel.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Display limited to 800x600 [SOLVED] Averell 12 402 07-16-2018, 08:33 PM
Last Post: ab1jx
  If you've messed up your eMMC Card - Solved gregb49 11 411 07-11-2018, 02:08 PM
Last Post: gregb49
  rock64/ubuntu start-up pas059 36 1,214 06-28-2018, 08:43 AM
Last Post: pas059
  Any reason why ntp time is 6 minutes slow (Solved) Rocklobster 1 90 05-29-2018, 05:27 AM
Last Post: Rocklobster
  [Solved] Open VPN +Wi-Fi hotspot - Debian S3phi40T 1 145 05-01-2018, 05:51 AM
Last Post: S3phi40T
  [PROBLEM SOLVED] Distcc Help cooker 2 96 05-01-2018, 05:35 AM
Last Post: cooker
  I could not start ROCK 64. pine3228 0 170 04-12-2018, 07:08 AM
Last Post: pine3228
  Im having weird crashes on a new rock64 [solved] Trash_Can_Man 4 546 02-06-2018, 04:06 AM
Last Post: a1w.ca
Information Solved - Resize Root Filesystem (Xenial) aussiemate 4 889 08-29-2017, 03:43 PM
Last Post: fbms

Forum Jump:


Users browsing this thread: 1 Guest(s)