On Wed, Feb 1, 2012 at 11:17 PM, Jonathan Thornburg <jth...@astro.indiana.edu> wrote: > In a thread back in November 2011, > B http://marc.info/?t=132173453400070&r=1&w=1 > I reported intermittent kernel/X hangs (usually under near-idle loads) > on a Thinkpad T60 widescreen laptop (alas I misspelled the name as > "Tinkpad" in the Subject: line) running 5.0-stable amd64. B My full > dmesg is given in the first message in that thread, > B http://marc.info/?l=openbsd-misc&m=132105242827683&w=1 > along with various other (hopefully-)relevant information. B There's > also more information on the problem symptoms in my later messages in > that thread, > B http://marc.info/?l=openbsd-misc&m=132103762123592&w=1 > B http://marc.info/?l=openbsd-misc&m=132137790200900&w=1 > > I've now gathered a bit more information, and have some new questions > for the list: > > > Moving to 5.0-stable made no difference to this problem. > Switching between GENERIC.mp and GENERIC made no difference to this > problem. > > My original reports were with X autoconfiguring (i.e., > /etc/X11/xorg.conf did NOT exist), using the Radeon driver: > > % dmesg|grep vga > vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > radeondrm0 at vga1: apic 1 int 16 > > Since I don't actually need/use accelerated 3-D video, I've tried to > switch to the generic VESA X driver. B Alas, I haven't been able to > construct an B /etc/X11/xorg.conf B which successfully uses the VESA > driver at the full (15.4" widescreen) hardware screen resolution of > 1680x1050 pixels. B (None of my attempts would go above 1400x1050 > pixels, "stretched" in a horribly ugly way to fill the screen.) > > As a last-ditch measure to try to get a reliable computer, I've tried > disabling ALL video acceleration using the xorg.conf given below. B This > "works" -- I've had no more hangs in the 2 months I've been using this > configuration (now with 5.0-stable GENERIC.mp), whereas before I was > getting multiple hangs/week. B Alas, this has come at the price of > painfully slow scrolling in xterm, painfully slow window drags, and > general video "performance" that reminds me of that 8 MB Sparcstation > SLC I remember using back around 1990 or so. :( :( > > So... questions for the list: > * Can anyone point me to a working xorg.conf to use the VESA video > B driver on a T60 @ 1680x1050 pixel resolution? > * Can anyone suggest a better fix or workaround for my X hangs? > B Loosing 3-D acceleration is no problem for me, but 2-D acceleration > B would be nice... > * If I do switch back to the Radeon driver, and the hangs reoccur, > B is there any information I could gather from a hung machine, and/or > B any logging I could switch on before a hang, that would be useful > B in further diagnosing the problem? > * Starting from a cold boot, my current xorg.conf (given below) doesn't > B work -- X is unable to properly initialize the video, resulting in > B a screen display that's vaguely abstract-art bars of white pixels > B scattered around the screen, with no X cursor visible. B So, right > B now, after each cold boot I first start X with an xorg.conf in which > B the line > > B B B B Option B B "NoAccel" B B B B B B B B B B # [<bool>] > > B is commented out (with thie xorg.conf X starts fine, but is vulnerable > B to crashes), then immediately shut down X, then restart with the > B no-acceleration xorg.conf (the one given below). B This procedure works, > B but is awkward. B Is there a way around this kludge?
Do you have possibility to try a snapshot to see if problem still persist? > > --- begin /etc/X11/xorg.conf to disable ALL video acceleration --- > Section "ServerLayout" > B B B B Identifier B B "X.org Configured" > B B B B Screen B B B 0 B "Screen0" 0 0 > B B B B InputDevice B B "Mouse0" "CorePointer" > B B B B InputDevice B B "Keyboard0" "CoreKeyboard" > EndSection > > Section "Files" > B B B B ModulePath B "/usr/X11R6/lib/modules" > B B B B FontPath B B "/usr/X11R6/lib/X11/fonts/misc/" > B B B B FontPath B B "/usr/X11R6/lib/X11/fonts/TTF/" > B B B B FontPath B B "/usr/X11R6/lib/X11/fonts/OTF/" > B B B B FontPath B B "/usr/X11R6/lib/X11/fonts/Type1/" > B B B B FontPath B B "/usr/X11R6/lib/X11/fonts/100dpi/" > B B B B FontPath B B "/usr/X11R6/lib/X11/fonts/75dpi/" > EndSection > > Section "Module" > B B B B Load B "dbe" > B B B B Load B "dri" > B B B B Load B "dri2" > B B B B Load B "extmod" > B B B B Load B "glx" > B B B B Load B "record" > EndSection > > Section "InputDevice" > B B B B Identifier B "Keyboard0" > B B B B Driver B B B "kbd" > EndSection > > Section "InputDevice" > B B B B Identifier B "Mouse0" > B B B B Driver B B B "mouse" > B B B B Option B B B "Protocol" "wsmouse" > B B B B Option B B B "Device" "/dev/wsmouse" > B B B B Option B B B "ZAxisMapping" "4 5 6 7" > EndSection > > Section "Monitor" > B B B B Identifier B "Monitor0" > B B B B VendorName B "Monitor Vendor" > B B B B ModelName B B "Monitor Model" > EndSection > > Section "Device" > B B B B ### Available Driver options are:- > B B B B ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", > B B B B ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", > B B B B ### <percent>: "<f>%" > B B B B ### [arg]: arg optional > B B B B Option B B "NoAccel" B B B B B B B B B B # [<bool>] > B B B B #Option B B "SWcursor" B B B B B B B B B # [<bool>] > B B B B #Option B B "Dac6Bit" B B B B B B B B B # [<bool>] > B B B B #Option B B "Dac8Bit" B B B B B B B B B # [<bool>] > B B B B #Option B B "BusType" B B B B B B B B B # [<str>] > B B B B #Option B B "CPPIOMode" B B B B B B B B # [<bool>] > B B B B #Option B B "CPusecTimeout" B B B B B B # <i> > B B B B #Option B B "AGPMode" B B B B B B B B B # <i> > B B B B #Option B B "AGPFastWrite" B B B B B B B # [<bool>] > B B B B #Option B B "AGPSize" B B B B B B B B B # <i> > B B B B #Option B B "GARTSize" B B B B B B B B B # <i> > B B B B #Option B B "RingSize" B B B B B B B B B # <i> > B B B B #Option B B "BufferSize" B B B B B B B B # <i> > B B B B #Option B B "EnableDepthMoves" B B B B B # [<bool>] > B B B B #Option B B "EnablePageFlip" B B B B B B # [<bool>] > B B B B #Option B B "NoBackBuffer" B B B B B B B # [<bool>] > B B B B #Option B B "DMAForXv" B B B B B B B B B # [<bool>] > B B B B #Option B B "FBTexPercent" B B B B B B B # <i> > B B B B #Option B B "DepthBits" B B B B B B B B # <i> > B B B B #Option B B "PCIAPERSize" B B B B B B B # <i> > B B B B #Option B B "AccelDFS" B B B B B B B B B # [<bool>] > B B B B #Option B B "IgnoreEDID" B B B B B B B B # [<bool>] > B B B B #Option B B "DisplayPriority" B B B B B # [<str>] > B B B B #Option B B "PanelSize" B B B B B B B B # [<str>] > B B B B #Option B B "ForceMinDotClock" B B B B B # <freq> > B B B B #Option B B "ColorTiling" B B B B B B B # [<bool>] > B B B B #Option B B "VideoKey" B B B B B B B B B # <i> > B B B B #Option B B "RageTheatreCrystal" B B B B # <i> > B B B B #Option B B "RageTheatreTunerPort" B B B # <i> > B B B B #Option B B "RageTheatreCompositePort" B # <i> > B B B B #Option B B "RageTheatreSVideoPort" B B # <i> > B B B B #Option B B "TunerType" B B B B B B B B # <i> > B B B B #Option B B "RageTheatreMicrocPath" B B # <str> > B B B B #Option B B "RageTheatreMicrocType" B B # <str> > B B B B #Option B B "ScalerWidth" B B B B B B B # <i> > B B B B #Option B B "RenderAccel" B B B B B B B # [<bool>] > B B B B #Option B B "SubPixelOrder" B B B B B B # [<str>] > B B B B #Option B B "ShowCache" B B B B B B B B # [<bool>] > B B B B #Option B B "DynamicClocks" B B B B B B # [<bool>] > B B B B #Option B B "VGAAccess" B B B B B B B B # [<bool>] > B B B B #Option B B "ReverseDDC" B B B B B B B B # [<bool>] > B B B B #Option B B "LVDSProbePLL" B B B B B B B # [<bool>] > B B B B #Option B B "AccelMethod" B B B B B B B # <str> > B B B B #Option B B "DRI" B B B B B B B B B B B # [<bool>] > B B B B #Option B B "ConnectorTable" B B B B B B # <str> > B B B B #Option B B "DefaultConnectorTable" B B # [<bool>] > B B B B #Option B B "DefaultTMDSPLL" B B B B B B # [<bool>] > B B B B #Option B B "TVDACLoadDetect" B B B B B # [<bool>] > B B B B #Option B B "ForceTVOut" B B B B B B B B # [<bool>] > B B B B #Option B B "TVStandard" B B B B B B B B # <str> > B B B B #Option B B "IgnoreLidStatus" B B B B B # [<bool>] > B B B B #Option B B "DefaultTVDACAdj" B B B B B # [<bool>] > B B B B #Option B B "Int10" B B B B B B B B B B # [<bool>] > B B B B #Option B B "EXAVSync" B B B B B B B B B # [<bool>] > B B B B #Option B B "ATOMTVOut" B B B B B B B B # [<bool>] > B B B B #Option B B "R4xxATOM" B B B B B B B B B # [<bool>] > B B B B Identifier B "Card0" > B B B B Driver B B B "radeon" > B B B B BusID B B B "PCI:1:0:0" > EndSection > > Section "Screen" > B B B B Identifier "Screen0" > B B B B Device B B "Card0" > B B B B Monitor B B "Monitor0" > B B B B SubSection "Display" > B B B B B B B B Viewport B 0 0 > B B B B B B B B Depth B B 1 > B B B B EndSubSection > B B B B SubSection "Display" > B B B B B B B B Viewport B 0 0 > B B B B B B B B Depth B B 4 > B B B B EndSubSection > B B B B SubSection "Display" > B B B B B B B B Viewport B 0 0 > B B B B B B B B Depth B B 8 > B B B B EndSubSection > B B B B SubSection "Display" > B B B B B B B B Viewport B 0 0 > B B B B B B B B Depth B B 15 > B B B B EndSubSection > B B B B SubSection "Display" > B B B B B B B B Viewport B 0 0 > B B B B B B B B Depth B B 16 > B B B B EndSubSection > B B B B SubSection "Display" > B B B B B B B B Viewport B 0 0 > B B B B B B B B Depth B B 24 > B B B B EndSubSection > EndSection > > --- end /etc/X11/xorg.conf --- > > thanks, ciao, > > -- > -- Jonathan Thornburg <jth...@astro.indiana.edu> > B Dept of Astronomy & IUCSS, Indiana University, Bloomington, Indiana, USA > B "Washing one's hands of the conflict between the powerful and the > B B powerless means to side with the powerful, not to be neutral." > B B B B B B B B B B B B B B B B B B B -- quote by Freire / > poster by Oxfam