tags: patch On Tue, Jan 27, 2004 at 09:04:41PM +0100, Aurelien Jarno wrote: > Since I upgraded to xfree 4.3.0-1, OpenGL stopped to work on my ATI Radeon > 7500 QW card. glxinfo returns me "direct rendering: No". Seeing the same thing on my voodoo3 (except tdfx_dri.so). > I am not sure if the two problems are related. I believe they are. Here is a patch that I found, but I have not tested it. Found at url: http://dev.gentoo.org/~spyderous/xfree/redhat/XFree86-4.3.0-45/XFree86-4.3.0-Mesa-SSE-fixes-from-MesaCVS-v2.patch -Chris Index: xc/extras/Mesa/src/X86/common_x86_asm.S diff -u xc/extras/Mesa/src/X86/common_x86_asm.S:1.16 xc/extras/Mesa/src/X86/common_x86_asm.S:1.17 --- xc/extras/Mesa/src/X86/common_x86_asm.S:1.16 Mon Dec 16 11:18:33 2002 +++ xc/extras/Mesa/src/X86/common_x86_asm.S Sun Sep 28 15:17:08 2003 @@ -64,11 +64,6 @@ GLNAME( found_intel ): STRING( "Genuine Intel processor found\n\0" ) GLNAME( found_amd ): STRING( "Authentic AMD processor found\n\0" ) -#ifdef USE_SSE_ASM -GLNAME( sse_test_dummy ): - D_LONG 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000 -#endif - SEG_TEXT @@ -222,7 +217,13 @@ LDMXCSR ( REGOFF( -8, EBP ) ) XORPS ( XMM0, XMM0 ) - MOVUPS ( CONTENT( GLNAME( sse_test_dummy ) ), XMM1 ) + + PUSH_L ( CONST( 0x3f800000 ) ) + PUSH_L ( CONST( 0x3f800000 ) ) + PUSH_L ( CONST( 0x3f800000 ) ) + PUSH_L ( CONST( 0x3f800000 ) ) + + MOVUPS ( REGIND( ESP ), XMM1 ) DIVPS ( XMM0, XMM1 )
Attachment:
signature.asc
Description: Digital signature