Hi all,

I've come across a probelm with X 4.1 and 4.2 (4.0 was fine). I'm trying
to avoid using shadowfb for performance reasons.

This is on an oldish PowerMac 7600, using the built-in 'control' video,
which is a plain unaccelerated framebuffer, used through the fbdev
driver. Using shadowfb makes the scroll500 performance drop by 30%,
which is a lot. As scrolling is the single most annoying 'slowness', so
the perfomance drop is a problem.

Anyway, upon initialization, I get a segfault whn not using shadowfb.
Here's the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x10253c9c in fbBlt (srcLine=0x10af2f68, srcStride=4, srcX=0, 
    dstLine=0x30545010, dstStride=1536, dstX=0, width=128, height=0, alu=3, 
    pm=4294967295, bpp=32, reverse=0, upsidedown=0) at fbblt.c:174
174     fbblt.c: No such file or directory.
        in fbblt.c
(gdb) bt
#0  0x10253c9c in fbBlt (srcLine=0x10af2f68, srcStride=4, srcX=0, 
    dstLine=0x30545010, dstStride=1536, dstX=0, width=128, height=0, alu=3, 
    pm=4294967295, bpp=32, reverse=0, upsidedown=0) at fbblt.c:174
#1  0x1026f2fc in fbOddTile (dst=0x30047010, dstStride=1536, dstX=0, 
    width=36864, height=12, tile=0x10af2f28, tileStride=4, tileWidth=128, 
    tileHeight=4, alu=3, pm=4294967295, bpp=32, xRot=0, yRot=0) at fbtile.c:149
#2  0x1026f438 in fbTile (dst=0x30047010, dstStride=1536, dstX=0, width=36864, 
    height=864, tile=0x10af2f28, tileStride=4, tileWidth=128, tileHeight=4, 
    alu=3, pm=4294967295, bpp=32, xRot=0, yRot=0) at fbtile.c:197
#3  0x1024b928 in fbFillRegionTiled (pDrawable=0x108c68b8, pRegion=0x7ffffcb8, 
    pTile=0x10af2ef8) at fbwindow.c:268
#4  0x1024ba38 in fbPaintWindow (pWin=0x108c68b8, pRegion=0x7ffffcb8, what=0)
    at fbwindow.c:304
#5  0x10356d84 in miSpritePaintWindowBackground (pWin=0x108c68b8, 
    pRegion=0x7ffffcb8, what=0) at misprite.c:844
#6  0x1032a4dc in miWindowExposures (pWin=0x108c68b8, prgn=0x7ffffcb8, 
    other_exposed=0x0) at miexpose.c:536
#7  0x10222238 in MapWindow (pWin=0x108c68b8, client=0x108aa580)
    at window.c:2869
#8  0x1021c73c in InitRootWindow (pWin=0x108c68b8) at window.c:522
#9  0x10209378 in main (argc=1, argv=0x7ffffde4, envp=0x7ffffdec) at main.c:439
#10 0x0fe03c30 in __libc_start_main () from /lib/libc.so.6

It's not the first time that fbBlt() is called that segfaults.

dstLine in fbBlt() points to nowhere. Its value is set in fbwindow.c, in
fbFillRegionTiled(), which groks a DrawablePtr pDrawable through
fbGetDrawable() (a rather simple macro, so I doubt the problem is here...).

Anyone seen this problem? Any hints as to where to look? I'm certainly
no Xpert (ha..), and X source code looks like a big hostile monster to
me... I'd appreciate if someone could guide me a bit in my search for
the source of this problem.

Thanks, and cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   [EMAIL PROTECTED]            |
http://www.cpu.lu/~mlan        |                     Learn Always. "

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to