TreviƱo
2007-Jul-09 16:02 UTC
[compiz] [PATCH] Use-Copy for Compiz - Non-Texture-From-Pixmaps rendering
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 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. Let me know how it works for you! Bye... -- Trevi?o's Blog - Life and Linux http://3v1n0.tuxfamily.org/blog/
Diogo Ferreira
2007-Jul-09 18:14 UTC
[compiz] [PATCH] Use-Copy for Compiz - Non-Texture-From-Pixmaps rendering
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/35rum3This 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