On Mon, 10 Jan 2005, Keith Conger wrote:
Hi, Here ya go: 0xff030000
Also as of this morning the cvs HEAD's driver no longer displays the gears for me.
This is probably because I left the pipeline using agp buffer upload of vertices instead of immediate one.
Try editint r300_render.c, r300_run_render function to make sure it calls r300_run_immediate_render and not *vb* version.
Also, could you try putting the following fragment in r300_render.c r300_run_immediate_render (and/or *vb* counterpart):
reg_start(0x2140, 0); e32(2);
(Also try 0 and 1).
If this has any effect, try changing r300_state.c, r300ResetHwState, from line r300->hw.unk2140.cmd[1] = 0x00000000;
to r300->hw.unk2140.cmd[1] = #ifdef MESA_BIG_ENDIAN R200_VC_32BIT_SWAP; #else R200_VC_NO_SWAP; #endif
(R200 is not a mistake - these constants are not defined (yet ?) for R300).
thank you !
Vladimir Dergachev
Keith On Mon, 2005-01-10 at 09:44 -0500, Vladimir Dergachev wrote:
On Mon, 10 Jan 2005, Keith Conger wrote:
Hi,
Sorry this took so long. r300_driver prints -16580608 as fbLocation. As for X I can't seem to get it to print it, I'll keep working on this though.
Could you change the format to 0x%08x (instead of %d) ? This way it will be printed as hex, easier to read.
thank you !
Vladimir Dergachev
Thanks, Keith On Thu, 2005-01-06 at 13:58 -0500, Vladimir Dergachev wrote:
This is especially puzzling since your computer does not lockup, as what should surely happen if there were endianness problems all over the place.
Could you check what is the value of fbLocation ? (in Xserver and the driver).
Not sure exactly how to do this but will gladly if you you give me a hint. :)
Probably the easiest way is to grep for it in the driver source, find a place that is executed and add fprintf(stderr, ...) .
The texture code uses it (r300_state.c), so you could put fprintf there and run lesson06 or anything else that uses textures.
best
Vladimir Dergachev
Thanks!
-- -------- Keith Conger [EMAIL PROTECTED] http://pimpstation.org
-- -------- Keith Conger [EMAIL PROTECTED] http://pimpstation.org
-- -------- Keith Conger [EMAIL PROTECTED] http://pimpstation.org
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel