0 A.D bug with radeon driver

Jonathan MERCIER jonathan.mercier.fr at gmail.com
Fri Aug 20 17:24:51 PDT 2010


hello,
i am a fedora packager and i have a problem with  radeon driver not
fglrx for this game http://www.wildfiregames.com/0ad
i do a package:
*  32:
-
http://koji.fedoraproject.org/koji/getfile?taskID=2415656&name=0ad-data-r07970-1.20100819svn8004.fc13.noarch.rpm
-
http://koji.fedoraproject.org/koji/getfile?taskID=2415656&name=0ad-r07970-1.20100819svn8004.fc13.i686.rpm
*  64:
-
http://koji.fedoraproject.org/koji/getfile?taskID=2415655&name=0ad-data-r07970-1.20100819svn8004.fc13.noarch.rpm
-
http://koji.fedoraproject.org/koji/getfile?taskID=2415655&name=0ad-r07970-1.20100819svn8004.fc13.x86_64.rpm


log error:
___________________________________________________________________
(gdb) bt full
#0  0x00007fffe9926e99 in next_ins (pAsm=0x2a3ff70) at
r700_assembler.c:2619
        pILInst = <value optimized out>
#1  0x00007fffe992776c in assemble_MOV (pAsm=0x2a3ff70) at
r700_assembler.c:3874
No locals.
#2  0x00007fffe992b594 in AssembleInstr (uiFirstInst=<value optimized
out>, uiIL_Shift=0, uiNumberInsts=4, pILInst=0x2a41e30,
pR700AsmCode=0x2a3ff70) at r700_assembler.c:5622
        i = 1
#3  0x00007fffe992c7fd in r700TranslateFragmentShader (fp=0x2a3bcc0,
mesa_fp=0x2a3bcc0, ctx=0xb493f0) at r700_fragprog.c:412
        number_of_colors_exported = <value optimized out>
        z_enabled = 0 '\000'
        unBit = <value optimized out>
        shadow_unit = <value optimized out>
        i = <value optimized out>
        inst = <value optimized out>
        shadow_ambient = {STATE_INTERNAL, STATE_SHADOW_AMBIENT, 0, 0, 0}
#4  0x00007fffe99360af in r700UpdateShaders (ctx=0xb493f0) at
r700_state.c:72
        context = 0xb454f0
#5  0x00007fffe9938953 in r700TryDrawPrims (ctx=0xb493f0,
arrays=0xb988b8, prim=0x7fffffffdba0, nr_prims=1, ib=0x7fffffffdb80,
index_bounds_valid=<value optimized out>, min_index=0, max_index=75)
    at r700_render.c:904
        context = 0xb454f0
        i = <value optimized out>
        radeon = 0xb454f0
        rrb = <value optimized out>
        emit_end = <value optimized out>
        id = 0
#6  r700DrawPrims (ctx=0xb493f0, arrays=0xb988b8, prim=0x7fffffffdba0,
nr_prims=1, ib=0x7fffffffdb80, index_bounds_valid=<value optimized out>,
min_index=0, max_index=75) at r700_render.c:993
        retval = 0 '\000'
#7  0x00007fffe99c1e05 in vbo_validated_drawrangeelements (ctx=0xb493f0,
mode=4, index_bounds_valid=1 '\001', start=0, end=75, count=138,
type=5123, indices=0x29f1450, basevertex=0)
    at vbo/vbo_exec_array.c:663
        vbo = 0xb95c40
        exec = 0xb96860
        ib = {count = 138, type = 5123, obj = 0xafb500, ptr = 0x29f1450}
        prim = {{mode = 4, indexed = 1, begin = 1, end = 1, weak = 0,
pad = 0, start = 0, count = 138, basevertex = 0}}
#8  0x00007fffe99c2086 in vbo_exec_DrawRangeElementsBaseVertex (mode=4,
start=0, end=75, count=138, type=5123, indices=0x29f1450, basevertex=0)
at vbo/vbo_exec_array.c:771
        warnCount = 0
        ctx = 0xb493f0
        __PRETTY_FUNCTION__ = "vbo_exec_DrawRangeElementsBaseVertex"
#9  0x00007fffe99c20f0 in vbo_exec_DrawRangeElements (mode=<value
optimized out>, start=<value optimized out>, end=<value optimized out>,
count=<value optimized out>, type=<value optimized out>, 
    indices=<value optimized out>) at vbo/vbo_exec_array.c:788
No locals.
#10 0x0000000000559d2d in FixedFunctionModelRenderer::RenderModel
(this=0xf02d80, streamflags=<value optimized out>, model=<value
optimized out>, data=<value optimized out>)
    at ../../../source/renderer/FixedFunctionModelRenderer.cpp:290
        mdldef = {px = 0x20d9f70, pn = {pi_ = 0x20da460}}
        ffmodel = <value optimized out>
        numFaces = 46
        base = 0x474e0 <Address 0x474e0 out of bounds>
        stride = 16
#11 0x0000000000568b38 in SortModelRenderer::Render (this=0xf01ff0,
modifier=..., flags=1)
at ../../../source/renderer/TransparencyRenderer.cpp:576
        tex = 0x20efdf0
        smdl = 0x29f13a0
        mdl = 0x20efd30
        mdef = {px = 0x20d9f70, pn = {pi_ = 0x20da460}}
        it = 
        streamflags = 9
        texturematrix = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        lastmdef = {px = 0x20d9f70, pn = {pi_ = 0x20da460}}
        lasttex = 0x20efdf0
        pass = 0
        __func__ = "Render"
#12 0x000000000054d230 in CRenderer::RenderShadowMap (this=0xe9ffb0)
at ../../../source/renderer/Renderer.cpp:858
        __profile = {static evMap = <optimized out>}
        shadowTransp = <value optimized out>
        transparentShadows = {px = 0xf07bf0, pn = {pi_ = 0xf07c10}}
#13 0x000000000054d754 in CRenderer::RenderSubmissions (this=0xe9ffb0)
at ../../../source/renderer/Renderer.cpp:1223
No locals.
#14 0x000000000054d834 in CRenderer::RenderScene (this=0xe9ffb0,
scene=0x1418e20) at ../../../source/renderer/Renderer.cpp:1450
        frustum = {m_aPlanes = {{m_Norm = {X = -3.43084455, Y = -0.5, Z
= 0.866025448}, m_Dist = 204.526093}, {m_Norm = {X = 3.43084455, Y =
-0.5, Z = 0.866025448}, m_Dist = -669.317993}, {m_Norm = {X = 0, 
                Y = 3.25116825, Z = 3.03176332}, m_Dist = -1405.6604},
{m_Norm = {X = 0, Y = -4.25116825, Z = -1.29971242}, m_Dist =
940.868408}, {m_Norm = {X = 0, Y = 0.000977516174, Z = -0.00169312954}, 
              m_Dist = 8.4621582}, {m_Norm = {X = 0, Y = -1.00097752, Z
= 1.73374403}, m_Dist = -473.254089}, {m_Norm = {X = 0, Y = 0, Z = 0},
m_Dist = 0}, {m_Norm = {X = 0, Y = 0, Z = 0}, m_Dist = 0}, {
              m_Norm = {X = 0, Y = 0, Z = 0}, m_Dist = 0}, {m_Norm = {X
= 0, Y = 0, Z = 0}, m_Dist = 0}}, m_NumPlanes = 6}
#15 0x00000000004cf061 in Render ()
at ../../../source/ps/GameSetup/GameSetup.cpp:212
        skystring = {<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >> = "61 193 255", <No data fields>}
        skycol = {r = 0.239215687, g = 0.75686276, b = 1, a = 1}
        cursorName = {<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >> = Traceback (most
recent call last):
  File "/usr/lib64/../share/gdb/python/libstdcxx/v6/printers.py", line
558, in to_string
    return self.val['_M_dataplus']['_M_p'].lazy_string (length = len)
RuntimeError: Cannot access memory at address 0x4c6f0a2a
, <No data fields>}
#16 0x0000000000411e4b in Frame () at ../../../source/main.cpp:344
        __profile = {static evMap = <optimized out>}
        TimeSinceLastFrame = 0.0136488527
        __func__ = "Frame"
        need_render = true
        time = <value optimized out>
        need_update = true
        is_building_archive = false
#17 0x00000000004122d5 in RunGameOrAtlas (argc=<value optimized out>,
argv=<value optimized out>) at ../../../source/main.cpp:441
        args = {m_Args = std::vector of length 0, capacity 0, m_Arg0 =
{<std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> = "/usr/bin/pyrogenesis", <No data fields>}}
        ran_atlas = <value optimized out>
        res = <value optimized out>
#18 main (argc=<value optimized out>, argv=<value optimized out>)
at ../../../source/main.cpp:460
No locals.
___________________________________________________________________


* how i can see where is the problem for do a good bug report ??

___________________________________________________________________
Miscellaneous: you can create a conf file in.config/0ad/config/local.cfg
mine conf is:
$ cat .config/0ad/config/local.cfg
windowed = true
xres = 1280
yres = 1024
renderpath = fixed




More information about the xorg-driver-ati mailing list