[Pkg-utopia-maintainers] Bug#561460: hal: breaks kdm login and xrandr

Stefan Lippers-Hollmann s.L-H at gmx.de
Thu Dec 17 16:39:20 UTC 2009


Hi

On Thursday 17 December 2009, Michael Biebl wrote:
> Stefan Lippers-Hollmann wrote:
> > Package: hal
> > Version: 0.5.14-1
> > Severity: important
> > 
> > Hi
> > 
> > Upon upgrading to hal 0.5.14-1, logging into KDE4 through kdm starts 
> > failing. While the password seems to be accepted and a KDE session starts 
> > to load, it fails immediately, the screen turns black and kdm appears 
> > again. Restarting hal or trying to log in several times usually succeeds 
> > after a few attempts.
> 
> I fail to see how hal could cause such an issue. Have you checked the log files
> (Xorg.0.log, messages, syslog, ~/.xsession-errors) for error messages?
> This looks more like an X issue.

I get exactly the same symptoms on amd64 and i386, ATi radeon r300, ATi 
radeon rv630, Intel i945G and nVidia GeForce 2MX nv11, each with current 
xserver-xorg-video-{radeon,intel,nv} - with my own 2.6.32.2-rc1 and 
Debian's linux-image-2.6.32-trunk-{686,amd64} 2.6.32-2 kernel.

> Could you compare a lshal dump before and after the upgrade, do you have any
> noticeable differences?

I don't really notice anything different in lshal, but Xorg.0.log seems to 
detect a lot more (bogus) input devices, all systems (except radeon-rv630) 
run without any /etc/X11/xorg.conf and rely purely on hal/evdev and X.org 
runtime detection. radeon-rv630 requires a minimal xorg.conf for the 
dual-head setup, and there I do see an additional GPU reset in dmesg:

$ grep -v ^\# /etc/X11/xorg.conf 
Section "ServerLayout"                          
        Identifier      "Xorg Configured"
        Screen          "Screen 0"
EndSection


Section "Device"
        Identifier      "Device 0"
        Driver          "radeon"
        BoardName       "ATI Technologies Inc RV630 [Radeon HD 2600 Series]"
        BusID           "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier      "Screen 0"
        DefaultDepth    24
        SubSection "Display"
                Virtual 2880 1200
        EndSubSection
EndSection

and the actual resolution set by a script invoked 
through ~/.kde/Autostart/xrandr.desktop

$ cat /usr/local/bin/dual-screen.sh
#!/bin/sh

[ -r /etc/X11/xorg.conf ] || exit 0

if grep -q "^[[:space:]]*Driver[[:space:]]*\"radeonhd\"" /etc/X11/xorg.conf; then
        xrandr --output DVI-I_2/digital --mode 1600x1200
        xrandr --output DVI-I_1/digital --mode 1280x1024
        xrandr --output DVI-I_1/digital --right-of DVI-I_2/digital
else
        xrandr --output DVI-0 --mode 1600x1200
        xrandr --output DVI-1 --mode 1280x1024
        xrandr --output DVI-1 --right-of DVI-0
fi

The attached logs (I've stripped the timestamps from messages and syslog, 
to make them diff'able) have all been taken under identical circumstances, 
fully booted and logged into KDE4 (with hal 0.5.14-1 this requires multiple
attempts and results in heavy screen corruptions on radeon-rv630, after 
invoking the xrandr commands) through kdm. The only difference being the 
installed hal, libhal-storage1 and libhal1 versions.

Regards
	Stefan Lippers-Hollmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-logs.tar.gz
Type: application/x-compressed-tar
Size: 375034 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091217/4b79404f/attachment-0001.bin>


More information about the Pkg-utopia-maintainers mailing list