You are not logged in.

#1 2013-03-20 22:03:43

Snark1994
Member
From: Wales
Registered: 2011-06-09
Posts: 30

[SOLVED] XDM crashes after update

Hiya,

I'm having a problem after a recent update, though I'm not entirely sure what's caused it. pacman.log (for the day when things broke) says:

[2013-03-19 10:53] Running 'pacman -Sy'
[2013-03-19 10:53] synchronizing package lists
[2013-03-19 10:54] starting full system upgrade
[2013-03-19 10:54] Running 'pacman -S -u'
[2013-03-19 10:54] starting full system upgrade
[2013-03-19 10:54] upgraded polkit (0.109-1 -> 0.110-1)
[2013-03-19 10:54] warning: /etc/colord.conf installed as /etc/colord.conf.pacnew
[2013-03-19 10:54] upgraded colord (0.1.30-1 -> 0.1.30-2)
[2013-03-19 10:54] upgraded gdk-pixbuf2 (2.26.5-1 -> 2.26.5-2)
[2013-03-19 10:54] upgraded gtk-update-icon-cache (2.24.16-1 -> 2.24.17-1)
[2013-03-19 10:54] upgraded libxi (1.6.2-1 -> 1.7-1)
[2013-03-19 10:54] upgraded gtk2 (2.24.16-1 -> 2.24.17-1)
[2013-03-19 10:54] upgraded i3-wm (4.5-1 -> 4.5.1-1)
[2013-03-19 10:54] upgraded libproxy (0.4.7-2 -> 0.4.11-1)
[2013-03-19 10:54] upgraded libwbclient (3.6.12-2 -> 3.6.13-1)
[2013-03-19 10:54] upgraded smbclient (3.6.12-2 -> 3.6.13-1)
[2013-03-19 10:54] upgraded xf86-input-evdev (2.7.3-2 -> 2.7.3-3)
[2013-03-19 10:54] upgraded xf86-input-synaptics (1.6.3-1 -> 1.6.3-2)
[2013-03-19 10:54] upgraded xf86-video-intel (2.21.3-1 -> 2.21.4-1)
[2013-03-19 10:54] upgraded xorg-server-common (1.13.3-1 -> 1.14.0-2)
[2013-03-19 10:54] upgraded xorg-server (1.13.3-1 -> 1.14.0-2)
[2013-03-19 11:25] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.gMa/dropbox-2.0.2-1-x86_64.pkg.tar.xz'
[2013-03-19 11:26] upgraded dropbox (2.0.0-1 -> 2.0.2-1)
[2013-03-19 11:26] Running 'pacman -Sy'
[2013-03-19 11:26] synchronizing package lists
[2013-03-19 11:26] Running 'pacman -Sy'
[2013-03-19 11:26] synchronizing package lists
[2013-03-19 18:43] Running 'pacman -Syu'
[2013-03-19 18:43] synchronizing package lists
[2013-03-19 18:43] starting full system upgrade
[2013-03-19 18:43] upgraded libcups (1.6.1-6 -> 1.6.2-1)
[2013-03-19 18:43] upgraded sqlite (3.7.15.2-1 -> 3.7.16-1)
[2013-03-19 22:05] Running '/usr/bin/pacman -Syu'
[2013-03-19 22:05] synchronizing package lists
[2013-03-19 22:05] starting full system upgrade

and based on https://bbs.archlinux.org/viewtopic.php?id=159868 I tried downgrading the packages they suggest, but to no effect.

The symptoms are: my background image loads, but the rest of the XDM interface (e.g. the username/password fields) don't display. If I change to a virtual terminal and run htop, I see the memory usage increase very rapidly (about 2MB/s) until everything crashes. If I run "systemctl stop xdm" before that, then the memory usage goes back to normal and everything is fine. Having done this, I can start an X server normally with "startx", but if I restart XDM the same behaviour occurs.

$ grep EE /var/log/Xorg.0.log
[   286.555] Current Operating System: Linux joshua-laptop 3.8.3-2-ARCH #1 SMP PREEMPT Sun Mar 17 13:04:22 CET 2013 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   286.576] Initializing built-in extension MIT-SCREEN-SAVER
[   286.581] (EE) Failed to load module "vesa" (module does not exist, 0)
[   286.581] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   286.581] (EE) Failed to load module "fbdev" (module does not exist, 0)
$ tail /var/log/xdm.log
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE) module ABI major version (19) doesn't match the server's version (18)
xdm info (pid 1663): sourcing /etc/X11/xdm/arch-xdm/Xsetup
xdm info (pid 1657): Shutting down
xdm info (pid 1657): display :0 is being disabled
Server terminated successfully (0). Closing log file.
xdm info (pid 1657): Exiting

Any suggestions? Thanks!

Last edited by Snark1994 (2013-03-21 10:05:48)


Snark1994

Offline

#2 2013-03-21 03:39:33

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: [SOLVED] XDM crashes after update

I've recently had the same problem as I used to use a custom xdm setup which now after updates doesn't work.  I installed the xdm-archlinux package and now it works again.  I had to redo my background and make a new icon but now it works whereas my old xdm theme froze on startup after recent upgrades.

And as the wiki states add "systemctrl enable xdm-archlinux".

Last edited by bgc1954 (2013-03-21 03:43:34)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2013-03-21 10:05:22

Snark1994
Member
From: Wales
Registered: 2011-06-09
Posts: 30

Re: [SOLVED] XDM crashes after update

Ah yes, installing xdm-archlinux fixes it. It's an awfully ugly theme though, when I have some spare time I'll have to figure out what's broken with the other theme...

Many thanks,


Snark1994

Offline

#4 2013-03-21 14:56:14

RGoose
Member
From: The Hoosier State
Registered: 2012-03-19
Posts: 7

Re: [SOLVED] XDM crashes after update

Came across the same issue upon updating imagemagick

I had been calling the background in my custom Xsetup with:

 display -window root /path/to/background 

This resulted in a memory leak that switching to qiv has solved, I now call my background with:

 /usr/bin/qiv -z /path/to/background 

Dell XPS 13 Ultrabook

Offline

#5 2013-03-22 14:15:59

Snark1994
Member
From: Wales
Registered: 2011-06-09
Posts: 30

Re: [SOLVED] XDM crashes after update

Ooh, good spot! Yeah, that's the problem - if I alter the Xsetup so that it uses feh instead of imagemagick, the memory leak doesn't occur.


Snark1994

Offline

#6 2013-03-22 19:41:12

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 129

Re: [SOLVED] XDM crashes after update

Same thing here.
In my Xsetup, I load a desktop wallpaper with the command "display -window root  ...".
After upgrading imagemagick to 6.8.3.10-1 and restarting my Xserver, it triggers a massive memory consumption in the X server, about 3Gb !
a workaround is to downgrade imagemagick and block version to 6.8.2.3-1.

Offline

#7 2013-03-22 19:50:40

Snark1994
Member
From: Wales
Registered: 2011-06-09
Posts: 30

Re: [SOLVED] XDM crashes after update

hamelg wrote:

a workaround is to downgrade imagemagick and block version to 6.8.2.3-1.

Or just use feh/qiv/another image viewer instead...


Snark1994

Offline

Board footer

Powered by FluxBB