[Mesa-dev] [Bug 29404] "Cannot yet select" LLVM error with r300g, softpipe and llvmpipe
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 5 10:05:47 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29404
--- Comment #2 from steckdenis at yahoo.fr 2010-08-05 10:05:47 PDT ---
Created an attachment (id=37592)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37592)
Output from LLVM when trying to run Neverball
Hello,
I attach to this bug the output of Gallium and LLVM when trying to run
neverball. I also saw the bug #29407 (and commented it). It's possible that
that bug has something to do with this one. Gallium seems to wrongly manage the
type of the instructions it uses.
I also tried the patch found in the third comment of #29407. Unfortunately, I
could not test with r300g because recent changes in Mesa (the changes of today
I think) broke the memory allocator
("util/u_mempool.c:89:util_mempool_malloc_st: Assertion `block->magic ==
0xcafe4321' failed."). I tried with llvmpipe, and I didn't encountered this
assertion.
Instead, the assert here is raised
(src/gallium/drivers/llvmpipe/lp_state_fs.c:820):
#ifdef DEBUG
if(LLVMVerifyFunction(function, LLVMPrintMessageAction)) {
if (1)
lp_debug_dump_value(function);
abort();
}
#endif
The stack trace given by GDB is :
#0 0x00007ffff727d565 in raise () from /lib/libc.so.6
#1 0x00007ffff727e9e6 in abort () from /lib/libc.so.6
#2 0x00007ffff49dac57 in generate_fragment (lp=<value optimized out>,
shader=0x400088, variant=0x1fdde20, partial_mask=0)
at lp_state_fs.c:695
#3 0x00007ffff49db496 in generate_variant (lp=0x61d2a0) at lp_state_fs.c:820
#4 llvmpipe_update_fs (lp=0x61d2a0) at lp_state_fs.c:1157
#5 0x00007ffff49d8488 in llvmpipe_update_derived (llvmpipe=0x61d2a0) at
lp_state_derived.c:171
#6 0x00007ffff49cd34a in llvmpipe_draw_vbo (pipe=0x61d2a0,
info=0x7fffffffdbc0) at lp_draw_arrays.c:60
#7 0x00007ffff4abd0f8 in st_draw_vbo (ctx=0x1f2feb0, arrays=<value optimized
out>, prims=0x1fbda90, nr_prims=2, ib=0x0,
index_bounds_valid=<value optimized out>, min_index=0, max_index=161) at
state_tracker/st_draw.c:722
#8 0x00007ffff4ae9419 in vbo_save_playback_vertex_list (ctx=0x1f2feb0,
data=0x1fbd2f8) at vbo/vbo_save_draw.c:287
#9 0x00007ffff4a0a8da in ext_opcode_execute (ctx=0x1f2feb0, list=<value
optimized out>) at main/dlist.c:533
#10 execute_list (ctx=0x1f2feb0, list=<value optimized out>) at
main/dlist.c:6876
#11 0x00007ffff4a0d352 in _mesa_CallList (list=1) at main/dlist.c:8133
The program produces output. I will attach it after sending this comment.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list