[Openchrome-users] 3D -> laptop freezes - K8M800 (ubuntu dapper - acer 1362)
Benno Schulenberg
bensberg
Thu May 11 12:56:48 PDT 2006
Jean-Patrick Pommier wrote:
> How can I be sure that the computer is using the newly build
> driver?
Remove the old one. Or move it to where X won't find it, to the
homedir of root, for example.
> If the build driver is buggy, is there some news
> regarding a possible fixing of that bug ?
Thomas said that the unichrome part of Mesa is unmaintained. :(
> (can I fix the problem
> myself by compiling something : latest mesa, kernel ...?)
The problem lies in Mesa, that's the thing handling textures.
Lately there was some talk of some texture stuff being broken:
https://bugs.freedesktop.org/show_bug.cgi?id=6814
See comment #30.
That same day Keith Whitwell posted a patch to mesa3d-dev that
should fix... something. The post isn't in the archives yet, they
appear to stop at May 4th, so I can't link to it. And I don't know
if this fix made it into CVS already. You could pull the most
recent CVS and see if the fragment below has been applied; if so,
the rest will have been too. Then compile and install and see if it
makes a difference.
diff -u -r1.35 via_ioctl.c
--- drivers/dri/unichrome/via_ioctl.c 16 Nov 2005 17:24:26 -0000
1.35
+++ drivers/dri/unichrome/via_ioctl.c 5 May 2006 09:25:27 -0000
@@ -233,7 +233,7 @@
if (mask & BUFFER_BIT_STENCIL) {
if (vmesa->have_hw_stencil) {
- if (ctx->Stencil.WriteMask[0] == 0xff) {
+ if ((ctx->Stencil.WriteMask[0] & 0xff) == 0xff) {
flag |= VIA_DEPTH;
clear_depth &= ~0xff;
clear_depth |= (ctx->Stencil.Clear & 0xff);
Benno
More information about the Openchrome-users
mailing list