Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261112 - Suspend to RAM fails with Intel GM965 and x11-drivers/xf86-video-intel-2.6.1
Summary: Suspend to RAM fails with Intel GM965 and x11-drivers/xf86-video-intel-2.6.1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard: watch-freedesktop-bugzilla
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 22:07 UTC by Alexey Charkov
Modified: 2009-03-09 17:21 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Charkov 2009-03-03 22:07:23 UTC
I have a system with two switch-selectable video cards, one being NVidia 8400 and the other being Intel GM965. Other things equal, if I try suspending to RAM with the NVidia card, I can return to my X session normally. If, however, I try it with the GM965, I get a frozen X when resuming.

The other packages I use that might be relevant are x11-base/xorg-server-1.5.3-r2, KDE 4.2, sys-apps/hal-0.5.11-r8[laptop].

Reproducible: Always

Steps to Reproduce:
1. Boot into an X session with Intel GM965 as a video card
2. Suspend to RAM by a DE option (through HAL) or by `echo mem > /sys/power/state`
3. Try to resume from the suspended state

Actual Results:  
Blank screen with a cursor, frozen input. However, the system is actually alive, as it can be shut down correctly with an ACPI power button.

Expected Results:  
Resuming into the X session correctly

Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2-alchark-u3s x86_64)                                                                                                                     
=================================================================                                                        
System uname: Linux-2.6.28-gentoo-r2-alchark-u3s-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5       
Timestamp of tree: Mon, 02 Mar 2009 23:35:01 +0000                                                                       
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                
ccache version 2.4 [enabled]                                                                                             
app-shells/bash:     3.2_p48-r1                                                                                          
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                    
dev-lang/python:     2.5.4-r2                                                                                            
dev-util/ccache:     2.4-r8                                                                                              
dev-util/cmake:      2.6.3                                                                                               
sys-apps/baselayout: 2.0.0                                                                                               
sys-apps/openrc:     0.4.3-r1                                                                                            
sys-apps/sandbox:    1.3.8                                                                                               
sys-devel/autoconf:  2.13, 2.63                                                                                          
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                    
sys-devel/binutils:  2.19.1                                                                                              
sys-devel/gcc-config: 1.4.1                                                                                              
sys-devel/libtool:   2.2.6a                                                                                              
virtual/os-headers:  2.6.28-r1                                                                                           
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                                             
CFLAGS="-O2 -march=core2 -pipe"                                                                                          
CHOST="x86_64-pc-linux-gnu"                                                                                              
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /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=core2 -pipe"                                                                                        
DISTDIR="/usr/portage/distfiles"                                                                                         
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphansuserfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j6 -l6"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/jokey /usr/portage/local/misc"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr amrnb amrwb archive avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr chm cli cracklib crypt cups curl dbus dhcp djvu dri dts dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg flac foomaticdb ftp gdbm gif gimp gnutls gpm gs gstreamer hal iconv id3tag ieee1394 imagemagick imlib ipv6 ipw3945 isdnlog java javascript jingle jpeg kipi kqemu ladspa lame laptop latex lcms ldap libnotify lm_sensors lzo mad matroska midi mikmod mmx mmxext mng mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ntp ogg opengl openmposcar pam pcre pdf perl plasma png ppds ppp pppd python qt-copy qt3 qt3support qt4 quicktime rar readline reflection ru-dv samba sasl scanner sdl session smp spell spl sse sse2 ssl ssse3 startup-notification stream svg symlink sysfs taglib tcpd tetex theora threads tiff truetype unicode usb v4l v4l2 vdpau vnc vorbis wifi wmf x264 xcomposite xine xml xorg xulrunner xv xvid xvmc zeroconf zip 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" ELIBC="glibc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="intel nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew Brouwers 2009-03-03 23:08:49 UTC
I notice this too, and it happens almost regularly on my X3100 since updating to xor-server 1.5.3 (and using +hal, without a xorg.conf).

Attempted on 2.6.27 and 2.6.28 as well with no change.  Makes suspending my laptop unusable.
Comment 2 Alexey Charkov 2009-03-04 00:29:42 UTC
I would also like to mention that a Eee PC 901 with Intel 945GME and nearly identical userland resumes from suspend to RAM flawlessly, so the problem seems to be specific to GM965.
Comment 3 Andrew Brouwers 2009-03-04 02:49:19 UTC
I'll add that I am running stable amd64, with similar CFLAGS (core2).  Minus a couple user-land apps, I'm running full stable.  I'm also only running xorg-server (not full xorg-x11), updated to xorg-server 1.5.3 from remi's v3 stabilization list.  I wonder if it could 64-bit specific, too?
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-03-05 22:52:58 UTC
1) has anyone tried -intel 2.6.3 yet?
2) you might want to try out kernel 2.6.29-rc7
3) try both at the same time :)

Cheers
Comment 5 Yu Yuwei 2009-03-06 15:22:33 UTC
I encounter nearly the same problem, my video card is 855GME, but I could not even see a cursor.  The packages are xorg-server-1.5.3-r2, xf86-video-intel-2.6.1, mesa-7.3, libdrm-2.4.5, x11-drm-20080710(I would get xserver started if I use the i915 in gentoo-sources-2.6.28-x).

When I try xf86-video-intel-2.6.3, the screen corruption is gone, but I could not use gnome-mplayer to watch .mkv videos, otherwise, X will crash and leave me only blank screen and a workable poweroff button.

I could not find any related errors in Xorg.0.log :(
Comment 6 Yu Yuwei 2009-03-06 15:24:46 UTC
(In reply to comment #5)

> xf86-video-intel-2.6.1, mesa-7.3, libdrm-2.4.5, x11-drm-20080710(I would get
                                                                          |
                                                                          ^ 
                                                                         not 

missed one "not" :)
Comment 7 Alexey Charkov 2009-03-06 21:17:40 UTC
The problem is still there after an upgrade to x11-drivers/xf86-video-intel-2.6.3. Now I can see the KDM background upon resume (instead of a black screen), but otherwise the symptoms are unchanged. I'm currently with a pure ~amd64 without overlays and only having portage-2.2 unmasked.
Comment 8 Andrew Brouwers 2009-03-06 23:40:08 UTC
I too am still having the issue after updating.  I am certain it is not kernel related, as I have successfully suspended the same laptop using 2.6.27 and 2.6.28 on xorg 7.3

FWIW, I am also on a no-multilib profile.
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-03-06 23:41:03 UTC
I guess only Intel devs will be able to properly fix this.

Please file a bug in FreeDesktop's bugzilla [1] and paste the url here so we
can track the bug.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2009-03-08 18:24:14 UTC
Damn 

I just noticed this on my laptop as well

I am really looking forward for an upstream fix as soon as possible

Same error happens with the latest (2.6.3) driver as well
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-03-08 18:52:10 UTC
Please file a bug in FreeDesktop's bugzilla :)

It's worth the trouble. And don't forget to paste the url here so I can track it.

Thanks
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2009-03-08 19:23:00 UTC
Ok Remi, I added the upstream bug url on URL field

I will provide more info on upstream in a little bit
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2009-03-08 19:37:03 UTC
Thanks Markos,

@kernel, I usually close bugs UPSTREAM when someone opens a bug in fdo's bugzilla. I'll leave you guys handle it :)

Cheers