Bug 242011 - screen corruption and system crash when configuring multiple displays after KDE login
Summary: screen corruption and system crash when configuring multiple displays after K...
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: dualhead (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-06-17 16:54 UTC by Ivan D Vasin
Modified: 2018-10-21 04:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2010-06-17 16:54:45 UTC
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
Comment 1 Ivan D Vasin 2010-06-17 16:56:04 UTC
correction: the maximum and desired resolution of DVI-0 is 1920x1080
Comment 2 Nicolas L. 2010-06-18 09:51:57 UTC
Please provide the backtrace of the crash ( make sure you have the debug packages installed )
Comment 3 Ivan D Vasin 2010-06-18 15:38:35 UTC
i don't think that is possible. it is not an application crash. it is a complete system crash. it goes from screen corruption straight into loading rEFIt.
Comment 4 Andrew Crouthamel 2018-09-20 22:08:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-21 04:49:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!