Bug 27702 - [KMS] rv280 segfaults in texdown becnhmark
Summary: [KMS] rv280 segfaults in texdown becnhmark
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 11:20 UTC by Andrew Randrianasulu
Modified: 2014-02-26 19:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
X log (34.14 KB, text/plain)
2010-04-16 11:20 UTC, Andrew Randrianasulu
Details
xorg.conf (10.47 KB, text/plain)
2010-04-16 11:21 UTC, Andrew Randrianasulu
Details
gdb.txt (17.44 KB, text/plain)
2010-04-16 11:23 UTC, Andrew Randrianasulu
Details

Description Andrew Randrianasulu 2010-04-16 11:20:17 UTC
Using mesa master up to 

commit d293c43c9a9658caa5224f710b95a848a912faa1
Author: Brian Paul <brianp@vmware.com>
Date:   Fri Apr 16 10:01:32 2010 -0600
    llvmpipe: rename vars, update comments for texture->resource changes

libdrm up to 

commit 894c86e8400f13f1ee0dfe23ca4b5f98c32d9223
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Fri Apr 9 16:33:38 2010 -0400
    Revert "Fix pkgconfig includes for /usr/include/drm"

and xf86-video-ati 

commit eb5665688ef9b52f03f61546351d0848cab54740
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Thu Apr 8 00:31:52 2010 -0400
    radeon: don't setup Xv on rn50

on top of xserver 
commit e424d5812300e82de375d83dc0b490a76d865016
Merge: 5b0faf3 0e7703f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 15 15:01:34 2010 -0700
    Merge remote branch 'whot/for-keith'

and kernel 2.6.34-rc4+ 


with rv280


lspci -vvn

01:00.0 0300: 1002:5964 (rev 01) (prog-if 00 [VGA controller])
        Subsystem: 1787:5964
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at c800 [size=256]
        Region 2: Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at dfec0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: radeon
        Kernel modules: radeon

I got segfault if i press b (banchmark) in progs/tests/texdown
Comment 1 Andrew Randrianasulu 2010-04-16 11:20:55 UTC
Created attachment 35103 [details]
X log
Comment 2 Andrew Randrianasulu 2010-04-16 11:21:31 UTC
Created attachment 35104 [details]
xorg.conf
Comment 3 Andrew Randrianasulu 2010-04-16 11:23:22 UTC
Created attachment 35105 [details]
gdb.txt
Comment 4 Andrew Randrianasulu 2010-04-16 11:40:53 UTC
and just stdout/stderr:

guest@slax:~/source/mesa/progs/tests$ ./texdown 
GL_VENDOR = Tungsten Graphics, Inc.
GL_VERSION = 1.3 Mesa 7.9-devel
GL_RENDERER = Mesa DRI R200 (RV280 5964) 20090101 x86/MMX+/3DNow!+ TCL DRI2
allocating 16777216 bytes for 4 1024x1024 images
alloc 0xb5a97008 0xb5695008
texture image alignment: 32768 bytes (0xb5a98000)
total texels=55574528.000000  time=3.015000
allocating 16859136 bytes for 4 1026x1026 images
alloc 0xb5a83008 0xb4d38008
texture image alignment: 16384 bytes (0xb5a84000)
radeonMapTexture(0x88a6540, tex 0x88c8530) Failed to validate miptree for sw fallback.
Segmentation fault
Comment 5 Andrew Randrianasulu 2010-04-16 12:57:37 UTC
n00b .... 


b was for border.  Thanks to MrCooper on IRC.
Comment 6 smoki 2014-02-26 08:27:33 UTC
(In reply to comment #0)
> 
> I got segfault if i press b (banchmark) in progs/tests/texdown

 That works today, no segfault when i press b... tried with mesa 10.2 :).


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.