Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251693 - x11-base/xorg-server-1.5.2 - aiglx fails to resume after the lid opens and compiz is running
Summary: x11-base/xorg-server-1.5.2 - aiglx fails to resume after the lid opens and co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-20 01:32 UTC by Thomas Demeter
Modified: 2009-06-24 23:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.log (Xorg.0.log.old,27.79 KB, text/plain)
2008-12-20 01:32 UTC, Thomas Demeter
Details
xorg.conf (xorg.conf,3.20 KB, text/plain)
2008-12-20 01:33 UTC, Thomas Demeter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Demeter 2008-12-20 01:32:01 UTC
Hi!

I have just installed compiz, and I have a problem. When I close the lid, and I set the action at GNOME's power management utility to 'Blank Screen', the X fails to come back. The screen remains black, and I can't do anything with it (switching between virtual terminals are not working, and I can't reset the X server). I have a Thinkpad R500 with Intel 4500MHD card.
Package versions: x11-drivers/xf86-video-intel-2.5.1-r1, x11-base/xorg-server-1.5.2

Reproducible: Always

Steps to Reproduce:
1. start compiz
2. close lid
3. open lid

Actual Results:  
The display doesn't turn on again.


emerge --info
Portage 2.2_rc17 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27-tuxonice-r1-woodstock i686)
=================================================================
System uname: Linux-2.6.27-tuxonice-r1-woodstock-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.0
Timestamp of tree: Fri, 19 Dec 2008 21:32:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse4.1 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/layman/kde /usr/local/portage/layman/sunrise /usr/local/portage/layman/wschlich-testing /usr/local/portage/layman/kde-testing /usr/local/portage/layman/sectools /usr/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim all-options alsa amr amrnb amrwb ao apache2 artworkextra atm audiofile avahi bash-completion bcmath berkdb bluetooth branding bzip2 cairo cdb cddb cdinstall cdparanoia cdr clamav cli cracklib crypt cscope css ctype cups curl curlwrappers custom-cflags custom-cpuopts custom-optimization cvs cxx dbus dbx dga dhclient dhcpcd dirac dri dts dv dvd dvdr dvdread eds emacs emboss enca encode enscript exif expat fam fastcgi fbcon ffmpeg fftw firefox firefox3 flac fontconfig fortran ftp gd gdbm gdm gif gimp git glitz glut gnome gnome-keyring gnuplot gnutls google-gadgets gpm graphviz gstreamer gtk gtkhtml hal hddtemp hou htmlhandbook iconv icq idn ieee1394 imagemagick imap imlib inifile innodb inquisitio ipv6 isdnlog jabber jack java java6 javascript jfs jpeg jpeg2 jpeg2k json kdeprefix kerberos kontact krb4 ladspa lame lash latex lcms ldap libcaca libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo mad matroska mdnsresponder-compat memlimit mhash midi mikmod mime mmap mmx mmxext mng modplug mono mp2 mp3 mpeg mpi mplayer msn mudflap musepack musicbrainz mysql mysqli ncurses nls nocd nptl nptlonly nsplugin nss ntfs objc objc++ objc-gc ocaml ocamlopt odbc offensive ogg openal openexr opengl openmp osc oscar pam pcre pdf perl php pink plasma png pnm portage posix postgres ppds pppd python qa qt3support qt4 quicktime rar raw rdesktop readline reflection reiserfs resolvconf rss ruby samba schroedinger sdl session shorten simplexml slang smp sndfile soap soc sockets socks5 sou speex spl sqlite sqlite3 srt sse sse2 sse3 sse4 sse4.1 ssl ssse3 startup-notification subversion svg svga sysfs syslog szip taglib tcl tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb v4l v4l2 vcd vhosts videos vidix vim-syntax visibility vorbis wavpack webkit wicd wifi win32codecs wmf x264 x86 xanim xcb xcomposite xfs xine xml xmlrpc xorg xosd xpm xsl xulrunner xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Demeter 2008-12-20 01:32:38 UTC
Created attachment 175919 [details]
Xorg.log
Comment 2 Thomas Demeter 2008-12-20 01:33:20 UTC
Created attachment 175921 [details]
xorg.conf
Comment 3 Wormo (RETIRED) gentoo-dev 2008-12-21 06:37:03 UTC
Does your network still work when the display fails to resume, or is the system totally hung?

Also, could you see if suspend/resume works with compiz + mainstream kernel instead of tuxonice?
Comment 4 Thomas Demeter 2008-12-21 11:15:09 UTC
(In reply to comment #3)
> Does your network still work when the display fails to resume, or is the system
> totally hung?
> 
> Also, could you see if suspend/resume works with compiz + mainstream kernel
> instead of tuxonice?
> 

The network is working, I can login with SSH.

Suspend/resume works, but when I close the lid, the same thing happens with the gentoo-sources kernel.

I made some research, and I figured out that when I close the lid, and the X's power management is enabled, the X turns off the lcd with DPMS, and the AIGLX tries to suspend itself, but the X crashes here. That is why the screen won't turn on.

Workarounds:
1.) disable compiz and aiglx
2.) use the NoPM option, and turn off DPMS
Comment 5 Thomas Demeter 2008-12-23 10:48:54 UTC
I switched to KDE 4, and when I start the X with AIGLX enabled the problem still exists.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-12-23 10:51:31 UTC
I don't think there's much to be done here until DRI2 shows up (it's planned
for xorg-server 1.6, which is due early next year).

Sorry
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-06-24 23:14:59 UTC
Alright, xorg-server 1.6 is now available in ~arch. Suspend/resume issues have been worked on and there's a pretty good chance this might actually work now.

I'm closing this bug, but if you have any issues wrt suspending, please don't hesiate to reopen it.

Thanks