Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291955

Summary: kde-base/kwin-4.3.3 sometimes gets confused when connecting/disconnecting power adaptor from laptop (compositing on/off)
Product: Gentoo Linux Reporter: Biker <biker>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: minor Flags: tampakrap: Bugday+
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Biker 2009-11-05 09:56:15 UTC
When I disconnect the power adaptor from my laptop, KWin  gets confused and the screen goes black.

Reproducible: Sometimes

Steps to Reproduce:
1. Unplug the power cord from your laptop

Actual Results:  
When I disconnect the power adaptor from my laptop, KWin gets confused and the screen goes black; reconnecting the power adaptor doesn't help. Whenever I do that (disconnecting the power) kde tries to disable compositing and sometimes it succeed and sometimes not. When everything goes black, I have to press Alt+Shift+F12 to disable compositing and get an usable desktop back. However, if I try to switch compositing back on, everything goes black again. The only way to get kde back to normal is to issue the command kwin --replace from a konsole shell.

Expected Results:  
When unplugging the power, kde should disable compositing and when reconncting the power it should turn it on again, without ever turning my screen black.

I am now running kde 4.3.3, but the bug has been there since at least kde 4.2, probably even before that.

My hardware is a thinkpad T500 with an intel video card.


# emerge --info
Portage 2.2_rc48 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r4 i686)
=================================================================                                          
System uname: Linux-2.6.31-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.11.1 
Timestamp of tree: Thu, 05 Nov 2009 09:00:01 +0000                                                         
app-shells/bash:     4.0_p28                                                                               
dev-java/java-config: 1.3.7-r1, 2.1.9-r1                                                                   
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1                                                             
dev-python/pycrypto: 2.0.1-r6                                                                              
dev-util/cmake:      2.6.4-r3                                                                              
sys-apps/baselayout: 1.12.11.1                                                                             
sys-apps/sandbox:    2.2                                                                                   
sys-devel/autoconf:  2.13, 2.63-r1                                                                         
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                             
sys-devel/binutils:  2.18-r3                                                                               
sys-devel/gcc-config: 1.4.1                                                                                
sys-devel/libtool:   2.2.6a                                                                                
virtual/os-headers:  2.6.30-r1                                                                             
ACCEPT_KEYWORDS="x86"                                                                                      
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/openv/netbackup/bp.conf /usr/openv/netbackup/exclude_list /usr/openv/netbackup/nblog.conf /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests candy distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi ads akonadi alsa amr amrnb amrr amrwb async autoipd automount avahi berkdb bluetooth branding bzip2 cairo cdaudio cddb cdparanoia cdr chm chroot cli connection-sharing consolekit contrast cpudetection cracklib crypt cscope css cups curl daemon dbus dedicated device-mapper dga dhcp dhcpcd disk-partition divx dmi dri dts dvd dvdnav dvdr dvdread dynamicplugin eap-tls ebook ecc eds embedded emboss emerald encode evo exif expat fam faxonly ffmpeg firefox fits flac ftp fuse gd gdal gdbm geoip gif gimp gimpprint glitz gmedia gnokii google-gadgets gphoto2 gpm gps gre gs gtk hal hdaps howl-compat hpn html httpd hybrid ical iconv icu id3tag idea ieee1394 imagemagick imlib injection inotify ipv6 java javascript jce jpeg kde kde4 kdeenablefinal kipi kqemu kvm lame laptop lcms ldap libabcl libnotify libsamplerate libssh2 logitech-mouse logrotate loop-aes lua lzo mad mapnik matroska mdnsresponder-compat messenger mikmod mjpeg mmap mmx mmxext mng modplug modules mp3 mp4 mpeg mplayer mudflap musicbrainz mysql nat ncurses network network-cron networkmanager nls nova npp nptl nptlonly nsplugin ntfs ntp nxclient offensive ogg opengl openmp oscar pam passwordsave pcap pch pcmcia pcre pdf perl plasma png policykit ppds pppd prelude python qt3 qt3support qt4 quicktime radius rar raw rc5 rdesktop readline realmedia reflection remote resolvconf restrict-javascript rss rtc samba sbig scanner scripts sdl semantic-desktop server session sguil slp smi smp sms sndfile snmp spell spl sql sqlite srt sse sse2 sse3 ssl ssse3 startup-notification subtitles svg swat sysfs syslog tcpd threads thumbnail thunar tidy tiff timestats timezone tordns truetype unicode upnp usb utempter utils v4l v4l2 vde vhosts vidix vim-syntax vim-with-x vnc vorbis webinterface webkit wifi win32codecs winbind wlm wmf wmp x264 x86 xattr xcb xcomposite xfs xine xinerama xinetd xml xmp xorg xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="intel nv fbdev v4l vesa vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5300
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-30 20:35:20 UTC
Do you still have this problem with kde 4.3.5 or 4.4.2?
Please attach your xorg.conf and Xorg.0.log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-09-26 11:56:19 UTC
No reply for 5 months