Bug 28570 - glxinfo direct rendering crash on nv11
Summary: glxinfo direct rendering crash on nv11
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 02:49 UTC by Andrew Randrianasulu
Modified: 2010-06-16 05:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Andrew Randrianasulu 2010-06-16 02:49:40 UTC
Using libdrm up to

commit 65ec8d7699267cc59777d531f545a82a14341480
Author: Eric Anholt <eric@anholt.net>
Date:   Thu Jun 10 08:59:05 2010 -0700
    Bump version to 2.4.21 for release.

mesa 

commit bf577393c7334ed8e11584984138285ae0faac93
Author: Zack Rusin <zackr@vmware.com>
Date:   Tue Jun 15 09:11:10 2010 -0400
    draw: run the pipeline with the correct number of verts
    verts per primitive, not total count

xserver


commit 868bf3de478fac0080d525137fc728c551c78ea6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jun 15 13:22:20 2010 +1000
    dix: the default axis mode is Relative, not "0".
    Yay for readability.

xf86-video-nouveau

commit 9a3d0ab43f6335ab6cd48be4aa2f4f728386b386
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 11 21:58:38 2010 +1000
    call NVEnterVT from CreateScreenResources

dri2proto

commit c34ce137fdb21fc9a52bb8d5a0c25e3c5d79e687
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Mar 28 19:25:52 2010 -0400
    config: update AC_PREREQ statement to 2.60

i got crash as fast as i typed 'glxinfo' in Eterm. Indirect case works fine.

Hw is 

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. V7100 Pro with TV output
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at dfef0000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0
        Kernel driver in use: nouveau
        Kernel modules: nouveau, rivafb

kernel up to

commit 03cd3739818d3fa7f973d0fb6d3aa63122ea00a0
Merge: 1067b6c 06b4367
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu Jun 3 07:20:28 2010 -0700
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6

(not latest, but works OK, no bad messages after crash from DRM)


Crash from gbd looks like:


0xb75e6858 in ___newselect_nocancel () from /lib/libc.so.6
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb767f3ba in main_arena () from /lib/libc.so.6
(gdb) bt full
#0  0xb767f3ba in main_arena () from /lib/libc.so.6
No symbol table info available.
#1  0xb7472658 in DRI2Authenticate (pScreen=0x9b14a50, magic=2) at dri2.c:982
No locals.
#2  0xb7474a22 in ProcDRI2Authenticate (client=0xa173d30) at dri2ext.c:152
        rep = {type = 1 '\001', pad1 = 61 '=', sequenceNumber = 19, 
          length = 0, authenticated = 3217032712, pad2 = 135272629, 
          pad3 = 136284068, pad4 = 3217032664, pad5 = 0, pad6 = 4}
        pDraw = 0x9b482b0
        status = 0
#3  ProcDRI2Dispatch (client=0xa173d30) at dri2ext.c:558
        stuff = <value optimized out>
#4  0x0806f031 in Dispatch () at dispatch.c:432
        result = <value optimized out>

Any ideas what was wrong and where? (ddx was compiled with -O0 -g, xserver  just with -g)
Comment 1 Francisco Jerez 2010-06-16 05:26:03 UTC
It should be fixed by the DDX commit db98ad23633958e52 -- I'm reassigning and marking this bug as fixed because it was the DDX fault.

Thanks for reporting.


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.