[PATCH] glx: Replace broken GLX visual setup with a fixed "all" mode.

Peter Åstrand astrand at cendio.se
Tue Feb 17 02:34:15 PST 2009


> I've been able to apply this patch (619c4d60eb3a8a51a8300ccf8ab5b98a688e6e12) 
> plus the "Don't match fbconfigs to visuals with mismatched channel masks" one 
> (5100d829a4d71ce4a9fbc2b81694a1fb90066ccf) to the 1.6 branch, and it seems to 
> solve the problems with Wine. So I'm positive to cherrypick this one for the 
> 1.6 branch.
>
> For 1.5.3, however, these patches doesn't solve the Wine crash. In fact, they 
> make the problem worse. After applying, glxinfo complains:
>
> Error: couldn't find RGB GLX visual

How many visuals makes sense, btw? Here's our current status:

 		X-visuals	GLX-Visuals	GLXFBConfigs
Fedora 9 laptop:	3		3	36

Our old Xvnc,
based on 6.8.2: 	8		8	? (glxinfo doesn't say)

Xvnc using
1.6+patch: 		64		32	96

Xvnc using
1.5.3:			35		32	32

Xvnc using
1.5.3+patch:		35		32	96

For the last two cases, 2 visuals are created by Xvnc itself, 1 is created 
by the Composite extension, and the other 32 ones are created by GLX. The 
main problem here seems to be that the 3 "extra" visuals lacks GLX; one of 
them is the root visual. Why doesn't the GLX module accept the existing 
visuals, but instead creates new ones?


Best regards, 
---
Peter Åstrand		ThinLinc Chief Developer
Cendio AB		http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping	Phone: +46-13-21 46 00


More information about the xorg-devel mailing list