r300_demo runs with or without this code (and without code in radeon_state.c too)
>One more thing: try this code instead: > > if (IS_FAMILY_R300(dev_priv)) { > BEGIN_RING( 6 ); > > OUT_RING_REG(R300_RB3D_DSTCACHE_CTLSTAT, 0x00000002); > OUT_RING_REG(0x4F18, 0x00000001); /* Z cache? */ > > /* It seems a delay is needed */ > OUT_RING( CP_PACKET3( RADEON_CP_NOP, 0 ) ); > OUT_RING( 0x0 ); > > ADVANCE_RING(); > } > With this code I was able run glxgears on full screen (with glxgears 2>/dev/null - produced lock). Maybe I have only luck :-) Peter Zubaj ____________________________________ RAMMSTEIN, 22.02.2005 o 20,00, Bratislava Incheba, Info: 0904 666 363, http://www.xl.sk ------------------------------------------------------- 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