Jerome Glisse wrote:
fglrx halts even with glxinfo here for some reason (linux 2.6.15.1, xorg 2.6.9)On 1/26/06, Boris Peterbarg <[EMAIL PROTECTED]> wrote:Hi, I've been trying to run project xenocide(projectxenocide.com), but at the start of it there's a ps20 shader which always causes a crash. Setting "USE_ARB_F_P == 0" in r300_context.c makes the program run. I'm using current mesa and drm(1.2) The error I get is: drmRadeonCmdBuffer: -22 (exiting) And in dmesg: [drm:r300_emit_carefully_checked_packet0] *ERROR* Cannot emit more than 64 values at a time (reg=4c00 sz=68) [drm:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet0 failed Is 64 values a hardware limit?Seems that the ps20 shader reach the hardware limit. Does fglrx works with this ? This might be due to the traduction of the program which isn't optimal. I guess we can save few more instructions and go from 68 to 64. Btw coud you try with USE_ARB_F_P == 1 and setting if (1) Dump.. in r300_fragprog.c (at bottom of the file).
I've attached the dump with USE_ARB_F_P == 1. Boris Peterbarg
dump.tar.gz
Description: GNU Zip compressed data