Light Display Manager fails to load

Bug #1540774 reported by Jeffrey Walton
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openchrome
Unknown
Unknown
xserver-xorg-video-openchrome (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I've got a Lubuntu 15 i686 installation with a VIA C7-D cpu. The system was purchased specifically to test the processor. Its got a 8GB SSD and 2GB of RAM, so its a lower end device.

The machine appears to hang during boot. Some time around when text mode is supposed to end and the window manager should begin, the machine appears to freeze. I was able to install SSH through a recovery terminal, so I can peek at things remotely.

It looks like Light Display Manager is failing:

    $ sudo systemctl --failed

      UNIT LOAD ACTIVE SUB DESCRIPTION
    ● lightdm.service loaded failed failed Light Display Manager

    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.

    1 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.

It looks like the it could be related to the VIA P4M900 chipset:

    $ dmesg | egrep "(vga|agp)"
    [ 0.190082] vgaarb: setting as boot device: PCI:0000:01:00.0
    [ 0.190090] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.190094] vgaarb: loaded
    [ 0.190099] vgaarb: bridge control possible 0000:01:00.0
    [ 2.298179] Linux agpgart interface v0.103
    [ 2.298424] agpgart: Detected VIA P4M900 chipset
    [ 2.304478] agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xf0000000

Other system details:

    $ uname -a
    Linux via 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:48:15 UTC 2016 i686 i686 i686 GNU/Linux

    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 15.10
    Release: 15.10
    Codename: wily

Tags: wily
Revision history for this message
Jeffrey Walton (noloader) wrote :
Revision history for this message
Jeffrey Walton (noloader) wrote :

Fixed target... Somehow it was submitted under Lubuntu Artwork, rather than Lubuntu's LightDM.

affects: lubuntu-artwork → lightdm
Revision history for this message
Jeffrey Walton (noloader) wrote :

$ sudo cat /var/log/lightdm/x-0.log

X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.0-68-generic i686 Ubuntu
Current Operating System: Linux via 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:48:15 UTC 2016 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-27-generic root=UUID=cfc626dc-ce95-48e1-a8c8-98c258e77415 ro ipv6.disable=1 biosdevname=0 longhaul.enable=0 splash vt.handoff=7
Build Date: 12 November 2015 05:33:32PM
xorg-server 2:1.17.2-1ubuntu9.1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.32.6
 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: Wed Feb 10 23:15:41 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x52) [0x802980e2]
(EE) 1: /usr/bin/X (0x800f5000+0x1a7522) [0x8029c522]
(EE) 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb76f1bd0]
(EE) 3: /usr/lib/xorg/modules/drivers/openchrome_drv.so (0xb6d15000+0x125bc) [0xb6d275bc]
(EE) 4: /usr/bin/X (InitOutput+0xb89) [0x801782e9]
(EE) 5: /usr/bin/X (0x800f5000+0x4207f) [0x8013707f]
(EE) 6: /usr/bin/X (0x800f5000+0x2bd9a) [0x80120d9a]
(EE) 7: /lib/i386-linux-gnu/libc.so.6 (__libc_start_main+0xde) [0xb72b072e]
(EE) 8: /usr/bin/X (0x800f5000+0x2bdd8) [0x80120dd8]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(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.

Revision history for this message
Jeffrey Walton (noloader) wrote :
Download full text (10.6 KiB)

$ sudo cat /var/log/Xorg.0.log
[ 19.667]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 19.667] X Protocol Version 11, Revision 0
[ 19.667] Build Operating System: Linux 3.13.0-68-generic i686 Ubuntu
[ 19.667] Current Operating System: Linux via 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:48:15 UTC 2016 i686
[ 19.667] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-27-generic root=UUID=cfc626dc-ce95-48e1-a8c8-98c258e77415 ro ipv6.disable=1 biosdevname=0 longhaul.enable=0 splash vt.handoff=7
[ 19.667] Build Date: 12 November 2015 05:33:32PM
[ 19.667] xorg-server 2:1.17.2-1ubuntu9.1 (For technical support please see http://www.ubuntu.com/support)
[ 19.667] Current version of pixman: 0.32.6
[ 19.667] Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
[ 19.667] Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 19.667] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 10 23:15:41 2016
[ 19.668] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 19.669] (==) No Layout section. Using the first Screen section.
[ 19.669] (==) No screen section available. Using defaults.
[ 19.669] (**) |-->Screen "Default Screen Section" (0)
[ 19.669] (**) | |-->Monitor "<default monitor>"
[ 19.669] (==) No monitor specified for screen "Default Screen Section".
 Using a default monitor configuration.
[ 19.670] (==) Automatically adding devices
[ 19.670] (==) Automatically enabling devices
[ 19.670] (==) Automatically adding GPU devices
[ 19.670] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 19.670] Entry deleted from font path.
[ 19.670] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 19.670] Entry deleted from font path.
[ 19.670] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 19.670] Entry deleted from font path.
[ 19.670] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 19.670] Entry deleted from font path.
[ 19.670] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 19.670] Entry deleted from font path.
[ 19.670] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 19.670] Entry deleted from font path.
[ 19.670] (==) FontPath set to:
 /usr/share/fonts/X11/misc,
 built-ins
[ 19.670] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 19.670] (II) The server relies on udev to provide the list of input devices.
 If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 19.670] (II) Loader magic: 0x8035c6c0
[ 19.670] (II) Module ABI versions:
[ 19.670] X.Org ANSI C Emulation: 0.4
[ 19.670] X.Org Video Driver: 19.0
[ 19.670] X.Org XInput driver : 21.0
[ 19.670] X.Org Server Extension : 9.0
[ 19.673] (--) PCI:*(0:1:0:0) 1106:3371:1019:2125 rev 1, Mem @ 0xd8000000/134217728, 0xfd000000/16777216, BIOS @ 0x????????/65536
[ 19.67...

Revision history for this message
Jeffrey Walton (noloader) wrote :
Revision history for this message
Jeffrey Walton (noloader) wrote :

dmesg, x-0.log, and Xorg.0.log

Revision history for this message
Jeffrey Walton (noloader) wrote :

Now related on the X.org bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94130.

Revision history for this message
Jeffrey Walton (noloader) wrote :
affects: lightdm → xserver-xorg-video-openchrome (Ubuntu)
Revision history for this message
Jeffrey Walton (noloader) wrote :
Download full text (18.8 KiB)

It appears this issue is resolved in the daily builds of Ubuntu 16. I'm not observing it in the Xenial image dated 13-FEB-2016 (http://cdimage.ubuntu.com/lubuntu/daily-live/20160213/xenial-desktop-i386.iso).

Based on Xorg.0.log, it appears OpenChrome is no longer used.

=====

$ cat /var/log/Xorg.0.log
[ 17.423]
X.Org X Server 1.17.3
Release Date: 2015-10-26
[ 17.423] X Protocol Version 11, Revision 0
[ 17.423] Build Operating System: Linux 3.13.0-68-generic i686 Ubuntu
[ 17.423] Current Operating System: Linux via 4.4.0-4-generic #19-Ubuntu SMP Fri Feb 5 17:38:10 UTC 2016 i686
[ 17.423] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-4-generic root=UUID=edc978dd-91b1-4f90-8e6a-1e69dd73f5d8 ro ipv6.disable=1 biosdevname=0 longhaul.enable=0 audit=0 quiet splash vt.handoff=7
[ 17.423] Build Date: 25 November 2015 04:17:09PM
[ 17.423] xorg-server 2:1.17.3-2ubuntu2 (For technical support please see http://www.ubuntu.com/support)
[ 17.423] Current version of pixman: 0.33.6
[ 17.423] Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
[ 17.423] Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 17.431] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 14 07:18:33 2016
[ 17.440] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 17.441] (==) No Layout section. Using the first Screen section.
[ 17.441] (==) No screen section available. Using defaults.
[ 17.441] (**) |-->Screen "Default Screen Section" (0)
[ 17.441] (**) | |-->Monitor "<default monitor>"
[ 17.456] (==) No monitor specified for screen "Default Screen Section".
 Using a default monitor configuration.
[ 17.456] (==) Automatically adding devices
[ 17.456] (==) Automatically enabling devices
[ 17.456] (==) Automatically adding GPU devices
[ 17.456] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 17.456] Entry deleted from font path.
[ 17.456] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 17.456] Entry deleted from font path.
[ 17.456] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 17.456] Entry deleted from font path.
[ 17.456] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 17.456] Entry deleted from font path.
[ 17.456] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 17.456] Entry deleted from font path.
[ 17.456] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 17.456] Entry deleted from font path.
[ 17.456] (==) FontPath set to:
 /usr/share/fonts/X11/misc,
 built-ins
[ 17.456] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 17.456] (II) The server relies on udev to provide the list of input devices.
 If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 17.465] (II) Loader magic: 0x80290700
[ 17.466] (II) Module ABI versions:
[ 17.466] X.Org ANSI ...

Revision history for this message
Jeffrey Walton (noloader) wrote :

It appears the Freedesktop folks have cleared this issue: https://bugs.freedesktop.org/show_bug.cgi?id=94130#c4 .

Revision history for this message
Jeffrey Walton (noloader) wrote :

The patch appears to be available in Ubuntu in the -proposed repository. I tested the proposed patch from Debian upstream under Ubuntu, and the machine tested OK.

The machine also tested OK with the manual patch as outlined by Kevin Brace at http://lists.freedesktop.org/archives/openchrome-users/2016-February/007234.html.

I would encourage Ubuntu to move this from Proposed to Updates.

Once the update is available en masse, close this bug report.

**********

For Ubuntu users, they can follow http://wiki.ubuntu.com/Testing/EnableProposed. Here's the 3 second tour
using Wily/15.10:

$ cat /etc/apt/sources.list | tail -2
deb http://archive.ubuntu.com/ubuntu/ wily-proposed restricted main multiverse universe

$ cat /etc/apt/preferences.d/proposed-updates
Package: *
Pin: release a=wily-proposed
Pin-Priority: 400

Then, perform an 'apt-get update'. Finally:

$ sudo apt-get install xserver-xorg-video-openchrome/wily-proposed

After "xserver-xorg-video-openchrome" is installed from proposed, the new driver will be used. Xserver should no longer crash at boot, and the desktop should be available.

Revision history for this message
Jeffrey Walton (noloader) wrote :

Here's a related bug report that focuses purely on getting the updated OpenChrome driver into Updates: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-openchrome/+bug/1561275.

Once the 1561275 is closed, this should be closed, too.

Revision history for this message
Mathew Hodson (mhodson) wrote :

Did you test xserver-xorg-video-openchrome (1:0.3.3-1ubuntu1.1) in wily-updates? It is not the same as the version in Debian. Only a small fix was backported for Wily in that bug.

You can see the diff here: https://launchpadlibrarian.net/247897641/xserver-xorg-video-openchrome_1%3A0.3.3-1ubuntu1_1%3A0.3.3-1ubuntu1.1.diff.gz

Xenial does have xserver-xorg-video-openchrome (1:0.3.3+git20160310-1), so it should be fixed there.

Changed in xserver-xorg-video-openchrome (Ubuntu):
status: New → Fix Released
importance: Undecided → Medium
tags: added: wily
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.