Bug#364228: mesa-swx11-source: indirect rendering broken on 64-bit platforms

Aaron M. Ucko ucko at debian.org
Sat Apr 22 00:42:46 UTC 2006


Package: mesa-swx11-source
Version: 6.4.1-0.4+ucko1
Severity: important
Tags: patch upstream

[XSF: when this patch is in, please bump xorg-server's build dependency
on mesa-swx11-source accordingly in order to pick up the fixes.]

As reported at https://bugs.freedesktop.org/show_bug.cgi?id=5835 and
https://bugs.freedesktop.org/show_bug.cgi?id=6419, the X server's
indirect rendering code (built from mesa-swx11-source) falls over on
64-bit systems, with the server reporting errors of the form

No matching visual for __GLcontextMode with visual class = N (N), nplanes = N

and libGL reporting corresponding errors of the form

3D driver claims to not support visual 0xN

The underlying problem seems to be data type mismatches (some due to
Mesa defaulting to the wrong thing in the absence of dix-config); I
was able to correct it with the small attached patch, merged from
three single-file Gentoo patches.  Could you please apply it, or one
of those cited in fd.o bug #5835 (which I didn't run across until
later)?

Thanks!

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (300, 'unstable'), (300, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.9
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: combined-64-bit-patch
Type: text/x-c
Size: 1018 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mesa-devel/attachments/20060422/f17334f0/combined-64-bit-patch.bin


More information about the Pkg-mesa-devel mailing list