[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

thinkpad A21p display restore problem when opening top in X11



I just recently bought a Thinkpad A21p and it's a wonderful machine.  I'm
running Debian unstable (Cid, I belive) and so far I have encountered only
one major problem: when I close the top for just a minute and then reopen
it, the display is almost always messed up.

This does _not_ happen when I suspend the machine.  It only occurs when I
close the top for maybe a few minutes: the bios shuts off the backlight
(as it should).  When I come back and open the top, most of the time
either one of two things happens:

1) The display is messed up in one of a couple different ways.  Either the
entire screen is shifted over by about half (so the edge of the screen is
right in the middle, and windows that would be in the middle wrap around
off the right hand side over to the left) or it is shifted up several rows
(and there is some junk at the bottom of the screen.)  Input still works
and the mouse pointer, oddly enough, is positioned correctly (maybe not so
odd, since I expect it's managed by the hardware seperately.)

2) The backlight comes on, but the display simply stays entirely dark.  
Hitting keys, moving the mouse etc doesn't make it come back like you
would expect.  I haven't determined if it's actually accepting input or
not.

The current fix I have depends on whether I am on battery on AC power.  
If I'm on AC power, alt-ctl-F1 to a console and back fixes the problem[1].  
If I'm on battery, for some reason alt-ctl-F1 doesn't do anything.  It is
completly ignored.  So instead I have to put the system in powered-on
suspend (with fn-F4) and then wake it up again.

[1] Another, possibly related problem, is that it does not restore the
console video mode properly.  I get a nice fireworks show of screen
garbage.  Hitting alt-F7 to return to X works.  Since I use X for nearly
everything this isn't a crucial problem, but it is very annoying.

I've tried "xset s off" to disable the default X screet blanking, but it
doesn't seem to affect anything (well, it may prevent problem (2) but not
problem (1), which occurs more frequently anyhow.)

While on the subject, I have also noticed what appears to be X
missing/dropping enter-exit messages when the pointer moves from window to
window.  In other words, if I move the pointer around quickly, the focus
sometimes will not be assigned to the window that the pointer is actually
on.

Attached is my XF86Config-4.

Okay, software versions:
xserver-xfree86_4.1.0-2
gnome-* 1.4.0.3-4
sawfish-gnome_1.0-2
linux kernel 2.4.8 (compiled from source)

Has anyone else experienced this problem?  I suspect it's a bug in X 4.1
since I haven't been able to find it mentioned anywhere.  I would
appreciate any suggestions of things to try or or maybe a pointer of who
to send a bug report to.

Thanks!

           ------------------ Peter Amstutz --------------------
           ---------------- amstutz@cs.umass.edu ---------------
           ------- http://www-unix.oit.umass.edu/~tetron -------
           -----------------------------------------------------
#--------#
# ?? SaX generated XFree86 config file ??
# Copyright (c) 2000 SuSE GmbH Nuernberg, All rights reserved.
#
# Version: 4.1
# Contact: Marcus Schaefer <sax@suse.de>, 2000
#
# this file has been created from SaX version 4.1
# Please do not edit this file, changes may be lost the
# next time using SaX
#
Section "Files"
 FontPath  	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin5/misc"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin5/75dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin5/100dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin5/Type1"
 FontPath  	"/usr/X11R6/lib/X11/fonts/local"
 FontPath  	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
 FontPath  	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
 FontPath  	"/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
 FontPath  	"/usr/X11R6/lib/X11/fonts/Type1"
 FontPath  	"/usr/X11R6/lib/X11/fonts/URW"
 FontPath  	"/usr/X11R6/lib/X11/fonts/Speedo"
 FontPath  	"/usr/X11R6/lib/X11/fonts/misc"
 FontPath  	"/usr/X11R6/lib/X11/fonts/75dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/100dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/PEX"
 FontPath  	"/usr/X11R6/lib/X11/fonts/cyrillic"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin2/misc"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin2/75dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin2/100dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin2/Type1"
 FontPath  	"/usr/X11R6/lib/X11/fonts/latin7/75dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/kwintv"
 FontPath  	"/usr/X11R6/lib/X11/fonts/truetype"
 FontPath  	"/usr/X11R6/lib/X11/fonts/uni"
 FontPath  	"/usr/X11R6/lib/X11/fonts/ucs/misc"
 FontPath  	"/usr/X11R6/lib/X11/fonts/ucs/75dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/ucs/100dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/hellas/misc"
 FontPath  	"/usr/X11R6/lib/X11/fonts/hellas/75dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/hellas/100dpi"
 FontPath  	"/usr/X11R6/lib/X11/fonts/hellas/Type1"
 FontPath  	"/usr/X11R6/lib/X11/fonts/xtest"
 ModulePath  	"/usr/X11R6/lib/modules"
 RgbPath  	"/usr/X11R6/lib/X11/rgb"
EndSection
Section "ServerFlags"
 Option  	"AllowMouseOpenFail"
EndSection
Section "Module"
 Load  	"dbe"
 Load  	"type1"
 Load  	"speedo"
 Load  	"extmod"
 Load  	"freetype"
EndSection
Section "InputDevice"
 Driver  	"keyboard"
 Identifier  	"Keyboard[0]"
 Option 	"Protocol"  	"Standard"
 Option 	"XkbKeyCodes"  	"xfree86"
 Option 	"XkbModel"  	"pc104"
 Option 	"XkbRules"  	"xfree86"
 Option 	"XkbVariant"  	"nodeadkeys"
EndSection
Section "InputDevice"
 Driver  	"mouse"
 Identifier  	"Mouse[1]"
 Option 	"Device"  	"/dev/psaux"
 Option 	"Emulate3Buttons"  	"on"
 Option 	"Name"  	"AutoDetected"
 Option 	"Protocol"  	"ps/2"
 Option 	"Vendor"  	"AutoDetected"
EndSection
Section "Monitor"
 HorizSync  	31-77
 Identifier  	"Monitor[0]"
 ModelName  	"AutoDetected"
 VendorName  	"AutoDetected"
 VertRefresh  	50-77
 UseModes  	"Modes[0]"
EndSection
Section "Modes"
 Identifier 	"Modes[0]"
 Modeline "640x480" 27.96 640 656 720 864 480 480 485 501
 Modeline "800x600" 43.68 800 816 928 1072 600 600 606 626
 Modeline "1024x768" 71.39 1024 1040 1216 1400 768 768 776 802
 Modeline "1152x864" 90.48 1152 1168 1384 1568 864 864 873 902
 Modeline "1280x960" 111.82 1280 1296 1552 1736 960 960 970 1003
 Modeline "1280x1024" 119.28 1280 1296 1552 1736 1024 1024 1035 1070
 Modeline 	"1600x1200" 160.16 1600 1616 1968 2208 1200 1200 1212 1253
 Modeline 	"1600x1200" 167.23 1600 1616 1968 2208 1200 1200 1212 1253
EndSection
Section "Screen"
 DefaultDepth	16
 SubSection "Display"
 Depth	16
 Modes  	"1600x1200"  "640x480" "800x600" "1024x768" "1152x864" "1280x960" "1280x1024"
 EndSubSection
 Device  	"Device[0]"
 Identifier  	"Screen[0]"
 Monitor  	"Monitor[0]"
EndSection
Section "Device"
 BoardName  	"AutoDetected"
 Driver  	"r128"
 Identifier  	"Device[0]"
 VendorName  	"AutoDetected"
EndSection
Section "ServerLayout"
 Identifier  	"Layout[all]"
 InputDevice	"Keyboard[0]" 	"CoreKeyboard"
 InputDevice	"Mouse[1]" 	"CorePointer"
 Screen	"Screen[0]"
EndSection
Section "DRI"
 Group  	"video"
 Mode   	0660
EndSection


Reply to: