[compiz] [PATCH] Use-Copy for Compiz - Non-Texture-From-Pixmaps rendering

Diogo Ferreira diogo at underdev.org
Mon Jul 9 11:14:32 PDT 2007


On Mon, 2007-07-09 at 18:02 +0200, Treviño wrote:
> Some weeks ago one of my friends asked me to port the "use-copy"
> (non-tfp) beryl's feature to Compiz since he wasn't able to run compiz
> (fusion) smoothly in his nvidia card with turbocache (these cards works
> well only using Xgl, otherwise they are affected by the [in]famous
> "Black Window Bug". That's obiouvsly an error that nVidia should fix,
> but in the latest months nothing has changed!); then Vladimir posted in
> this list asking the use-copy feature for using compiz in fglrx drivers
> too, that's why I passed the latest night in porting the code to Compiz
> and... All works well!
> 
> You can find the patch at:
>  compiz-use-copy-rendering.patch - http://tinyurl.com/35rum3
This was dismissed as a driver workaround back when it was implemented
and if an inferior system is implemented the drivers will never get
fixed properly.
If this is really needed I think the copy mode patches implemented as a
plugin by onestone are better because they avoid cluttering the core
with workarounds.
> 
> As in beryl now you'll have an "--use-copy" flag that you could use to
> load compiz also if you don't have the texture-from-pixmaps support
>  
> I've tested this with nvidia and radeon (free drivers) and compiz works
> correctly
> 
> I've not added an ABIVERSION change in patch, not to update the patch on
> each compiz change, however as you'd know it's absolutely needed that
> you recompile every plugin after applying this patch.
Actually this doesn't exactly change the ABI so plugins would work
without recompiling AFAIK.
> 
> Let me know how it works for you!
> Bye...
> 

Diogo



More information about the compiz mailing list