hi, a small patch inspired from Kristian H?gsberg compiz-aiglx patch, to use compiz with xorg aiglx with tftp_damage patch and gl-include-inferior patch. this patch add command-line option to force bind and release whenever the texture is used. to use it you must start xorg in 16 depth mode, and start compiz with LIBGL_ALWAYS_INDIRECT environnement variable PS : sorry for my bad english -------------- next part -------------- A non-text attachment was scrubbed... Name: compiz-aiglx.patch Type: text/x-patch Size: 7412 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20060418/e5c9be9f/compiz-aiglx.bin
2006/4/18, gandalfn <gandalfn@club-internet.fr>:> > hi, > > a small patch inspired from Kristian H?gsberg compiz-aiglx patch, to use > compiz with xorg aiglx with tftp_damage patch and gl-include-inferior > patch. > > this patch add command-line option to force bind and release whenever > the texture is used. > > to use it you must start xorg in 16 depth mode, and start compiz with > LIBGL_ALWAYS_INDIRECT > environnement variable > > PS : sorry for my bad englishMany thanks :) I now understand that I spent hours on this for nothing ^^ (my patch looked like yours, it just does not feature the accelerated indirect rendering option, and i was searching why there were no decoration) Anyway, is there any hope that the 16bpp problem get fixed? I fear it might be a driver/xorg related problem.. Thanks! Regards Guillaume Seguin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/compiz/attachments/20060418/31a5f631/attachment.htm
On Tuesday 18 April 2006 02:02 pm, Guillaume Seguin wrote:> 2006/4/18, gandalfn <gandalfn@club-internet.fr>: > > hi, > > > > a small patch inspired from Kristian H?gsberg compiz-aiglx > > patch, to use compiz with xorg aiglx with tftp_damage patch and > > gl-include-inferior patch. > > > > this patch add command-line option to force bind and release > > whenever the texture is used. > > > > to use it you must start xorg in 16 depth mode, and start > > compiz with LIBGL_ALWAYS_INDIRECT > > environnement variable > > > > PS : sorry for my bad english > > Many thanks :) > I now understand that I spent hours on this for nothing ^^ (my > patch looked like yours, it just does not feature the accelerated > indirect rendering option, and i was searching why there were no > decoration) > > Anyway, is there any hope that the 16bpp problem get fixed? I > fear it might be a driver/xorg related problem..Gandalfn, Guillaume, David: It looks like the major change AIGLX support requires is a rebind whenever damage occurs. To be strictly compliant with the texture from pixmap spec, this is also required. Perhaps rather than use the option name "--accelerated-indirect-rendering" which furthers the confusion that indirect rendering previously meant software rendering (This was only the case for one GLX implementation), the option should be called something like "--conformant", "--compatibility", "--strict-binding" or something similar. Regardless, I like the idea of giving users a clear option to run compiz in a guaranteed-to-work, spec-compliant mode, while leaving the default behavior to run in the faster, bind-once mode. If, in the future, developers want to add strict locking as discussed to death on the xorg list, this option could potentially toggle that behavior as well. Thanks, -James Jones nvpublic> Thanks! > > Regards > > Guillaume Seguin
On Tue, 2006-04-18 at 21:30 +0200, gandalfn wrote:> hi, > > a small patch inspired from Kristian H?gsberg compiz-aiglx patch, to use > compiz with xorg aiglx with tftp_damage patch and gl-include-inferior > patch. > > this patch add command-line option to force bind and release whenever > the texture is used. > > to use it you must start xorg in 16 depth mode, and start compiz with LIBGL_ALWAYS_INDIRECT > environnement variable > > PS : sorry for my bad english >I've committed the strict bind/release support of your patch so it can be enabled with the --strict-binding option. The change to display.c in your patch forces all redraws to be fullscreen redraws. If aiglx can't handle partial screen updates yet, then that's something that should be fixed in the server and not in compiz. -David