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

Peter Åstrand astrand at cendio.se
Tue Feb 17 05:45:12 PST 2009


On Tue, 17 Feb 2009, Peter Åstrand wrote:

> 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?

The answer to this question seems to be: Because this patch (Replace 
broken GLX visual setup with a fixed "all" mode) adds the "best_score" 
varible, but does not initialize it to zero. Having fixed this, I'm down 
to 33 X-visuals, and 33 GLX visuals. "glxinfo" on my FC6 machine still 
complains about "Error: couldn't find RGB GLX visual", but this might of 
course be a problem with glxinfo rather than the X server.

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