Bug#206907: xserver-xfree86: hangs on screensaver
Sven Luther <sven.luther@wanadoo.fr> writes:
> > I don't have the X sources or bandwidth to sit around compiling this
> > stuff, but I will test out glint.o's that you guys send me.
> Ok, i will see what i can do, what X are you using ? Mmm, forget
> thta, i will find it from your original bugreport.
> (BTW, one more reason for us to ship the SDK package, that way
> people could easily rebuild the drivers, without needing the whole X
> server tree, and the hours of compile time, not counting the 4+ Go
> needed to build the debian packages.
> > Something I failed to mention in my original bug report is that
> > this machine has always worked just fine in the past. I don't
> > think it's a hardware problem unless it just started for some
> > weird reason.
> Well, i suppose that the hardware could start failing after a period
> of time or somethign such, it is rather old hardware anyway. Or
> maybe you added another pci card or something, which eats your
> bandwith away, or you have a faster processor which fills the fifo
> queue quickly or something. My pm2 board used to work fine for
> month, and now i have duplication of the mouse cursor after
> rebooting it. But then, it is this funny bvision, which is found in
> my apus amiga which was not really designed for such additional
> expansions. Over heating and failing powersupply may also cause this
> kind of problems.
Sure, I guess it's always possible that all of a sudden it started
acting wierd. I didn't touch the machine though.
> One thing you could do is check if there is the possibility of using
> the pciretry option, and if it changes anything to your
> behavior. pci retry or pci disconnect it is called i think, not
> sure, read the glint manpage, it should disable the pci bus when the
> fifo is full.
Enabled PciRetry.
It bailed again, this time in another place (I guess):
0x080833b5 in Permedia2SubsequentHorVertLine (pScrn=0x8942ef0, x=864, y=7,
len=5, dir=3) at pm2_accel.c:583
583 pm2_accel.c: No such file or directory.
in pm2_accel.c
(gdb) bt
#0 0x080833b5 in Permedia2SubsequentHorVertLine (pScrn=0x8942ef0, x=864, y=7,
len=5, dir=3) at pm2_accel.c:583
#1 0x0829dd99 in XAAPolySegment (pDrawable=0x8b83650, pGC=0x8b770f0, nseg=9,
pSeg=0x40d3b790) at xaaSeg.c:108
#2 0x080831bf in Permedia2PolySegmentThinSolidWrapper (pDraw=0x8b83650,
pGC=0x8b770f0, nseg=41, pSeg=0x40d3b690) at pm2_accel.c:557
#3 0x0851d3be in miSpritePolySegment (pDrawable=0x8b83650, pGC=0x8b770f0,
nseg=41, pSegs=0x40d3b690) at misprite.c:1406
#4 0x083cdf88 in ProcPolySegment (client=0x8b6fa18) at dispatch.c:1882
#5 0x083ca795 in Dispatch () at dispatch.c:462
#6 0x083e0a87 in main (argc=9, argv=0xbffffdb4, envp=0xbffffddc) at main.c:488
(gdb) print *pScrn
$2 = {driverVersion = 4000, driverName = 0x88208a0 "glint",
pScreen = 0x8946328, scrnIndex = 0, configured = 1, origIndex = 0,
imageByteOrder = 0, bitmapScanlineUnit = 32, bitmapScanlinePad = 32,
bitmapBitOrder = 0, numFormats = 0, formats = {{depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}, {depth = 0 '\0',
bitsPerPixel = 0 '\0', scanlinePad = 0 '\0'}}, fbFormat = {
depth = 16 '\020', bitsPerPixel = 16 '\020', scanlinePad = 32 ' '},
bitsPerPixel = 16, pixmap24 = Pix24DontCare, depth = 16,
depthFrom = X_CONFIG, bitsPerPixelFrom = X_PROBED, weight = {red = 5,
green = 6, blue = 5}, mask = {red = 63488, green = 2016, blue = 31},
offset = {red = 11, green = 5, blue = 0}, rgbBits = 8, gamma = {red = 1,
green = 1, blue = 1}, defaultVisual = 4, maxHValue = 0, maxVValue = 0,
virtualX = 1280, virtualY = 1024, xInc = 8, virtualFrom = X_PROBED,
displayWidth = 1280, frameX0 = 0, frameY0 = 0, frameX1 = 1279,
frameY1 = 1023, zoomLocked = 0, modePool = 0x0, modes = 0x8946068,
currentMode = 0x8946068, confScreen = 0x8936590, monitor = 0x8936868,
display = 0x893a710, entityList = 0x893ac88, numEntities = 1, widthmm = 0,
---Type <return> to continue, or q <return> to quit---
heightmm = 0, xDpi = 75, yDpi = 75, name = 0x8821006 "GLINT",
driverPrivate = 0x4016a008, privates = 0x8945548, drv = 0x888f7e4,
module = 0x0, colorKey = 0, overlayFlags = 0, chipset = 0x88208a6 "ti_pm2",
ramdac = 0x0, clockchip = 0x0, progClock = 1, numClocks = 0, clock = {
0 <repeats 128 times>}, videoRam = 8192, biosBase = 0,
memPhysBase = 4219469824, fbOffset = 0, ioBase = 0, memClk = 0,
textClockFreq = 0, flipPixels = 0, options = 0x89433f8, chipID = 0,
chipRev = 0, racMemFlags = 15, racIoFlags = 15, access = 0x8942ea8,
CurrentAccess = 0x8907170, resourceType = MEM_IO, busAccess = 0x8942d20,
vtSema = 1, pixmapPrivate = {ptr = 0x0, val = 0, uval = 0, fptr = 0},
silkenMouse = 1, clockRanges = 0x8944da8, adjustFlags = 1, reservedInt = {
0 <repeats 16 times>}, entityInstanceList = 0x893ac98, reservedPtr = {
0x0 <repeats 15 times>}, Probe = 0x8075e04 <GLINTProbe>,
PreInit = 0x8076a51 <GLINTPreInit>,
ScreenInit = 0x807ad6f <GLINTScreenInit>,
SwitchMode = 0x8395148 <CMapSwitchMode>,
AdjustFrame = 0x8392772 <xf86XVAdjustFrame>,
EnterVT = 0x83925a5 <xf86XVEnterVT>, LeaveVT = 0x839260d <xf86XVLeaveVT>,
FreeScreen = 0x807c545 <GLINTFreeScreen>,
ValidMode = 0x807c5cc <GLINTValidMode>,
EnableDisableFBAccess = 0x82800cd <XAAEnableDisableFBAccess>,
SetDGAMode = 0x83951c8 <CMapSetDGAMode>,
ChangeGamma = 0x83963d2 <CMapChangeGamma>,
---Type <return> to continue, or q <return> to quit---
PointerMoved = 0x837e8a5 <xf86PointerMoved>, PMEvent = 0, reservedFuncs = {
0 <repeats 16 times>}}
Continuing.
Program received signal SIGINT, Interrupt.
0x080833b5 in Permedia2SubsequentHorVertLine (pScrn=0x8942ef0, x=864, y=7,
len=5, dir=3) at pm2_accel.c:583
583 in pm2_accel.c
(gdb) stepi
0x080833b8 583 in pm2_accel.c
(gdb)
0x080833bb 583 in pm2_accel.c
(gdb)
0x0808339e 583 in pm2_accel.c
(gdb)
0x080833a1 583 in pm2_accel.c
(gdb)
0x080833a4 583 in pm2_accel.c
(gdb)
0x080833aa 583 in pm2_accel.c
(gdb)
0x080833b0 583 in pm2_accel.c
(gdb)
0x080833b3 583 in pm2_accel.c
(gdb)
0x080833b5 583 in pm2_accel.c
(gdb)
0x080833b8 583 in pm2_accel.c
(gdb)
And that's the loop it's stuck in this time.
> > 01:00.0 Class 0380: 104c:3d07 (rev 01)
> > Subsystem: 1092:0149
> > Flags: 66Mhz, medium devsel, IRQ 11
> > Memory at fcfe0000 (32-bit, non-prefetchable) [size=128K]
> > Memory at fc000000 (32-bit, non-prefetchable) [size=8M]
> > Memory at fb800000 (32-bit, non-prefetchable) [size=8M]
> > Expansion ROM at 80000000 [disabled] [size=64K]
> > Capabilities: [40] AGP version 1.0
> Huh ? What is that, do you have a second pci bus or something ?
Not as far as I know.
> Ok, so you have a TI permedia2, in an agp slot.
Yep. Any kernel options that should or should not be enabled for
sure?
> Mmm, strange, the driver should be able to reinitialize the whole
> graphic pipeline, my diagnostic is that the card is deadlocked
> somehow, and that only a resest can revive it. I don't know if we
> are able to revive it without rebooting, but anyway, best let us try
> to solve the problem instead.
Sure... it might be relevant though.
> I will try to build a debugging glint.o this evening. That said, you
> will not be able to gdb it, since the debugging server is statically
> built, err, that is not using the module loader.
Ok, sure, I'll try whatever.
> Do you use pm2fb or something such ?
Not knowingly!
Thanks,
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
Reply to: