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).

best,
Jerome Glisse


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to