Bug 15411

Summary: 7800GT and nv driver, crashing/corruption after gdm login
Product: xorg Reporter: Andy Matteson <xt.knight>
Component: Driver/nVidia (open)Assignee: Aaron Plattner <aplattner>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: MostAwesomedude, xt.knight
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Andy Matteson 2008-04-08 18:47:12 UTC
Overview:

With a GeForce 7800GT card, the nv driver does not work.  Shortly after I login to gdm, the whole screen corrupts and crashes.  Pressing alt sysrq+k results in the image shifting over to the right by a slight amount.  The system is quite frozen.

The nouveau and nvidia proprietary drivers work on my card.  vesa is also fine.

Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/62230

Steps to Reproduce:

Start x server with nv driver on a 7800GT.  Or, use Ubuntu Hardy LiveCD.

Actual Results:

The screen is corrupt and the system is basically frozen.

Expected Results:

The desktop shouldn't freeze.

Build Date & Platform:

It has always happened with the nv driver on my card, at least with the Ubuntu LiveCDs that I've used.  I recall SUSE also having an issue but I believe they don't use nv anymore for this card.
Comment 1 Andy Matteson 2009-03-20 22:32:06 UTC
(gdb) backtrace
#0  0x00007f8f71f58dc7 in NVDmaWait () from
/usr/lib/xorg/modules/drivers//nv_drv.so
#1  0x00007f8f71f59e90 in ?? () from /usr/lib/xorg/modules/drivers//nv_drv.so
#2  0x00007f8f706d25c2 in XAATEGlyphRendererScanlineLSBFirst (pScrn=0x187c990,
x=63, y=250, w=228, h=7, skipleft=0, startline=5, glyphs=0x18a6a90,
glyphWidth=6, 
    fg=16777215, bg=0, rop=3, planemask=4294967295) at
../../../../hw/xfree86/xaa/./xaaTEGlyph.c:408
#3  0x00007f8f706acd6d in XAAGlyphBltTEColorExpansion (pScrn=0x187c990,
xInit=63, yInit=<value optimized out>, font=<value optimized out>, fg=16777215,
bg=0, 
    rop=3, planemask=4294967295, cclip=0x1b22d00, nglyph=38, gBase=0x0,
ppci=0x18a4230) at ../../../../hw/xfree86/xaa/xaaTEText.c:297
#4  0x00007f8f706ad123 in XAAImageText16TEColorExpansion (pDraw=0x1b22cb0,
pGC=0x1b1ba80, x=62, y=260, count=<value optimized out>, chars=0x1b8443c)
    at ../../../../hw/xfree86/xaa/xaaTEText.c:145
#5  0x00007f8f706e9068 in cwImageText16 (pDst=<value optimized out>,
pGC=0x1b1ba80, x=62, y=260, count=38, chars=0x1b8443c) at
../../../miext/cw/cw_ops.c:425
#6  0x000000000053d3d0 in damageImageText16 (pDrawable=0x1b22cb0,
pGC=0x1b1ba80, x=62, y=260, count=38, chars=0x1b8443c) at
../../../miext/damage/damage.c:1618
#7  0x0000000000450194 in doImageText (client=0x1b283b0, c=0x7fff7e1807e0) at
../../dix/dixfonts.c:1576
#8  0x00000000004503ac in ImageText (client=0x187d000, pDraw=<value optimized
out>, pGC=0xa28, nChars=0, data=0x14 <Address 0x14 out of bounds>,
xorg=1899069440, 
    yorg=260, reqType=<value optimized out>, did=2097197) at
../../dix/dixfonts.c:1627
#9  0x000000000044bce4 in ProcImageText16 (client=0x1b283b0) at
../../dix/dispatch.c:2205
#10 0x000000000044e354 in Dispatch () at ../../dix/dispatch.c:437
#11 0x0000000000433ddd in main (argc=4, argv=0x7fff7e180a18, envp=<value
optimized out>) at ../../dix/main.c:397




(gdb) backtrace full
#0  0x00007f8f71f58dc7 in NVDmaWait () from
/usr/lib/xorg/modules/drivers//nv_drv.so
No symbol table info available.
#1  0x00007f8f71f59e90 in ?? () from /usr/lib/xorg/modules/drivers//nv_drv.so
No symbol table info available.
#2  0x00007f8f706d25c2 in XAATEGlyphRendererScanlineLSBFirst (pScrn=0x187c990,
x=63, y=250, w=228, h=7, skipleft=0, startline=5, glyphs=0x18a6a90,
glyphWidth=6, 
    fg=16777215, bg=0, rop=3, planemask=4294967295) at
../../../../hw/xfree86/xaa/./xaaTEGlyph.c:408
        infoRec = (XAAInfoRecPtr) 0x18a38f0
        bufferNo = 1
        GlyphFunc = (GlyphScanlineFuncPtr) 0x7f8f706d1190
<DrawTETextScanlineWidth6>
#3  0x00007f8f706acd6d in XAAGlyphBltTEColorExpansion (pScrn=0x187c990,
xInit=63, yInit=<value optimized out>, font=<value optimized out>, fg=16777215,
bg=0, 
    rop=3, planemask=4294967295, cclip=0x1b22d00, nglyph=38, gBase=0x0,
ppci=0x18a4230) at ../../../../hw/xfree86/xaa/xaaTEText.c:297
        fallbackBits = <value optimized out>
        infoRec = (XAAInfoRecPtr) 0x18a38f0
        skippix = <value optimized out>
        skipglyphs = <value optimized out>
        Right = 291
        Top = 250
        Bottom = 263
        LeftEdge = 63
        RightEdge = 228
        ytop = 250
        ybot = 263
        nbox = <value optimized out>
        pbox = (BoxPtr) 0x1b22d00
        glyphs = (unsigned int **) 0x18a6a90
        glyphWidth = 6
#4  0x00007f8f706ad123 in XAAImageText16TEColorExpansion (pDraw=0x1b22cb0,
pGC=0x1b1ba80, x=62, y=260, count=<value optimized out>, chars=0x1b8443c)
    at ../../../../hw/xfree86/xaa/xaaTEText.c:145
        infoRec = (XAAInfoRecPtr) 0x18a38f0
        n = 38
#5  0x00007f8f706e9068 in cwImageText16 (pDst=<value optimized out>,
pGC=0x1b1ba80, x=62, y=260, count=38, chars=0x1b8443c) at
../../../miext/cw/cw_ops.c:425
        pGCPrivate = (cwGCPtr) 0x1b1b9c0
        dst_off_x = 0
        dst_off_y = 0
        pBackingDst = (DrawablePtr) 0x1b22cb0
        pBackingGC = (GCPtr) 0x1b1ba80
#6  0x000000000053d3d0 in damageImageText16 (pDrawable=0x1b22cb0,
pGC=0x1b1ba80, x=62, y=260, count=38, chars=0x1b8443c) at
../../../miext/damage/damage.c:1618
        pGCPriv = (DamageGCPrivPtr) 0x1b22a40
        oldFuncs = (GCFuncs *) 0x7cf3a0
#7  0x0000000000450194 in doImageText (client=0x1b283b0, c=0x7fff7e1807e0) at
../../dix/dixfonts.c:1576
        err = <value optimized out>
        lgerr = 2
        fpe = <value optimized out>
#8  0x00000000004503ac in ImageText (client=0x187d000, pDraw=<value optimized
out>, pGC=0xa28, nChars=0, data=0x14 <Address 0x14 out of bounds>,
xorg=1899069440, 
    yorg=260, reqType=<value optimized out>, did=2097197) at
../../dix/dixfonts.c:1627
        local_closure = {client = 0x1b283b0, pDraw = 0x1b22cb0, pGC =
0x1b1ba80, nChars = 38 '&', data = 0x1b8443c "", xorg = 62, yorg = 260, reqType
= 77 'M', 
  imageText = 0x53d290 <damageImageText16>, itemSize = 2, did = 2097197, slept
= 0}
#9  0x000000000044bce4 in ProcImageText16 (client=0x1b283b0) at
../../dix/dispatch.c:2205
        err = 2
        pDraw = (DrawablePtr) 0x1b22cb0
        pGC = (GC *) 0xa28
#10 0x000000000044e354 in Dispatch () at ../../dix/dispatch.c:437
---Type <return> to continue, or q <return> to quit---
        result = <value optimized out>
        client = (ClientPtr) 0x1b283b0
        nready = 0
        start_tick = 40
#11 0x0000000000433ddd in main (argc=4, argv=0x7fff7e180a18, envp=<value
optimized out>) at ../../dix/main.c:397
        i = 1
        alwaysCheckForInput = {0, 1}
Comment 2 Corbin Simpson 2011-09-14 14:03:46 UTC
xf86-video-nv has been officially unmaintained for a bit now, and we are
closing all -nv bugs. If your problem was not addressed, and -nv is still
broken, please try xf86-video-nouveau. Thank you.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.