Hi, as first, it's the first time I play with dri, maybe I'm just omitting a step, but in doubt I report. I'm trying to use the r300 driver from http://r300.sourceforge.net/ on aluBook 15" (cpu 7447/7457, radeon mobility 9600). This is what I obtain following the instruction in r300-driver/README: http://laera.web.cs.unibo.it/dri/dri.jpg 3 observation: - the console font is unreadable, but I was getting the same result with the original xorg dri; - glxgears render out of the window; - I get ~700 fps :D (without 100 fps).
Then I've tried the r300_demo(v_0_0_1): I've wrote an ugly fix that just works for me for an endianess problem --- r300_demo.c.orig 2005-02-08 17:28:59.401574088 +0100 +++ r300_demo.c 2005-02-08 17:32:33.791981792 +0100 @@ -79,18 +79,29 @@ unsigned short get_short(CARD32 address) { -unsigned short *p; +unsigned *p; +unsigned short ps; -p=(unsigned short *)(registers+address); -return *p; +p=(unsigned *)(registers+address); +fprintf(stderr,"hei %x\n",*p); + +ps=(((*p)&0xff000000)>>24)|(((*p)&0x00ff0000)>>8); +fprintf(stderr,"hei %x\n",ps); + +return ps; } CARD32 get_int(CARD32 address) { CARD32 *p; +CARD32 ps; p=(CARD32 *)(registers+address); -return *p; +ps=(((*p)&0xff000000)>>24)| + (((*p)&0x00ff0000)>>8)| + (((*p)&0x0000ff00)<<8)| + (((*p)&0x000000ff)<<24); +return ps; } void GetMaps(void) This is what I obtained: http://laera.web.cs.unibo.it/dri/tex-triangles.jpg http://laera.web.cs.unibo.it/dri/triangles.jpg After executing the demo, glxgears fall down to ~200 fps. There is some debug info I can post for help? Thanx, Dario. -- Laera Dario Undergraduate student at Computer Science University of Bologna ICQ # 203250303 Mail to: [EMAIL PROTECTED] [EMAIL PROTECTED] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel