[Bug 242011] New: screen corruption and system crash when configuring multiple displays after KDE login

Ivan Vasin nisavid at gmail.com
Thu Jun 17 15:54:53 BST 2010


https://bugs.kde.org/show_bug.cgi?id=242011

           Summary: screen corruption and system crash when configuring
                    multiple displays after KDE login
           Product: kde
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: dualhead
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: nisavid at gmail.com


Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

i am actually running KDE 4.4.4. this option is missing from the bug report
form.

i would like to configure an external monitor above and to the right of my
laptop display. for convenience, i'll call them by their names in xrandr: the
laptop display is LVDS, and the external display is DVI-0.

the maximum (and desired) resolution of LVDS is 1440x900; DVI-0's is 1900x1080.
the coordinates i would like for DVI-0, relative to LVDS, are (1440, -480).

i would also like to set DVI-0 as the primary display.

by default (with no xorg.conf), DVI-0 is configured as a clone of LVDS at
1440x900. therefore the following xrandr commands should produce the effects i
desire:
xrandr --output LVDS --pos 0x480
xrandr --output DVI-0 --mode 1920x1080
xrandr --output DVI-0 --pos 1440x0
xrandr --output DVI-0 --primary

i tried these commands after initially attempting the configuration via the KDE
Display control module.

with both methods, once the displays are reconfigured to not be clones, they
both exhibit major (but not total) screen corruption, and eventually the system
crashes and reboots without warning. the corruption looks like black and maybe
also multicolored lines and blocks on seemingly random (but not all) parts of
the screen. i think the lines are mostly vertical. the crash sometimes happens
seconds after the reconfiguration, but sometimes it takes minutes. toggling
compositing has no effect on the issue.

a workaround is to place all of the xrandr commands listed above into
/etc/kde4/kdm/Xsetup (on Kubuntu 10.04). the screen corruption and crashes
disappear, and the displays are configured as desired. as an added benefit, the
display settings are saved after rebooting--this functionality seems to be
missing from the kcm.

this is on a MacBook Pro (model A1211) with an ATI video card. i am using the
(open source) radeon driver for xorg.

for all i know, this may be an upstream bug (perhaps in xrandr or
xorg-video-radeon) or a caveat of the MacBook Pro's ATI card. let me know if i
should report this elsewhere.

Reproducible: Always

Steps to Reproduce:
1. acquire a MacBook Pro model A1211 (or similar, perhaps).
2. do not use an xorg.conf.
3. log in to KDE.
4. attempt to configure multiple monitors as above via xrandr or the kcm
display.

Actual Results:  
1. both screens are configured as expected but with much flickering/full-screen
corruption.
2. whenever anything is redrawn on either screen (e.g. when moving windows),
both screens exhibit corruption as described above.
3. after some time, the system crashes and reboots without warning.
   OR
   after rebooting, the screens are reverted to the default cloned
configuration.

Expected Results:  
1. both screens should be configured as expected with no flickering/corruption.
2. the display kcm should save the settings (e.g. to Xsetup via kdesudo/kdesu)
or at least provide an option therefor.

OS: Linux (x86_64) release 2.6.32-23-generic
Compiler: cc

distro: Kubuntu 10.04 with the Kubuntu Updates PPA

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and
945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT
Express PCI Express Root Port (rev 03)
00:07.0 Performance counters: Intel Corporation Device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev
02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev
02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev
02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller
#1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller
#2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller
#3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller
#4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller
(rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge
(rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller
(rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility
X1600]
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E
Gigabit Ethernet Controller (rev 22)
03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network
Adapter (rev 01)
0c:03.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer
Controller (rev 01)

i have the following Ubuntu packages installed:
xserver-xorg-core version 2:1.7.6-2ubuntu7.2
xserver-xorg-video-radeon version 1:6.13.0-1ubuntu5 (shows up as 20090101
according to KWin::CompositingPrefs::detectDriverAndVersion in
~/.xsession-errors)
x11-xserver-utils version 7.5+1ubuntu2
kdelibs5 version 4:4.4.4-0ubuntu1~lucid1~ppa1

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list