You are not logged in.

#26 2013-04-18 15:56:50

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,523

Re: [SOLVED] Tearless compositing.

Well, there is a kwin script in kde examples that completely *disable* compositing as soon as it detects a fullscreen window.
...being compositing completely disabled, and not just the window unredirected, you'll have no flickering in fullscreen too.

i've made a zip to easy install it:

wget http://wpage.unina.it/aorefice/sharevari/nocompositingfs.zip -O /tmp/nocompositingfs.zip && plasmapkg -t kwinscript -i /tmp/nocompositingfs.zip

After that, you should have a new kwin script to activate; if not, try to restart kwin.

Last edited by kokoko3k (2013-04-18 15:57:59)

Online

#27 2013-05-03 03:45:22

Opettaja
Member
From: Oregon
Registered: 2013-04-29
Posts: 3
Website

Re: [SOLVED] Tearless compositing.

z1lt0id wrote:

I was able to solve all tearing issues with compositing under the Awesome WM using a Nvidia GTX 670 last night.  Which I was amazed at.  I installed the compton-git from Aur and inputted the following:

compton --backend glx --paint-on-overlay --vsync opengl-swc 

Thank you very much for this, this fixed my tearing issues with Openbox and Compton smile

Offline

#28 2013-05-03 03:46:14

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

Re: [SOLVED] Tearless compositing.

Glad that my solution was able to help a lot of people smile

Offline

#29 2013-05-03 10:05:21

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 95

Re: [SOLVED] Tearless compositing.

kokoko3k wrote:

@hamelg: in newer kde versions, you can use window rules to completely block compositing when kwin detects a particular window.
see: http://userbase.kde.org/KWin_Rules_Window_Attributes

I didn't know that. Now i use it to manage compositing.
It works great smile
Thank you for the tips !

Offline

#30 2013-06-19 03:00:53

Drumitar
Member
Registered: 2011-04-13
Posts: 73

Re: [SOLVED] Tearless compositing.

Opettaja wrote:
z1lt0id wrote:

I was able to solve all tearing issues with compositing under the Awesome WM using a Nvidia GTX 670 last night.  Which I was amazed at.  I installed the compton-git from Aur and inputted the following:

compton --backend glx --paint-on-overlay --vsync opengl-swc 

Thank you very much for this, this fixed my tearing issues with Openbox and Compton smile

how come when i try that i get

" compton --backend glx --paint-on-overlay --vsync opengl-swc
compton: unrecognized option '--backend'
compton (development version)
"

Offline

#31 2013-06-19 11:47:02

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,523

Re: [SOLVED] Tearless compositing.

compton-git?

Online

#32 2013-06-20 05:15:45

Drumitar
Member
Registered: 2011-04-13
Posts: 73

Re: [SOLVED] Tearless compositing.

yes installed it from the aur

Offline

#33 2013-06-20 05:19:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Tearless compositing.

@Drumitar, how long ago did you install it?  Git packages are funny things, they get their source from a git tree, so it may be that you are using an old version, but no real update to the PKGBUILD has occurred because it was not necessary.  Download and extract the tarball for compton-git and then run makepkg with --force (-f) to make sure that it rebuilds from the (now hopefully updated) source.

BTW, this fix is pretty awesome, and so amazingly simple.  I have this example (mentioned above) successfully in use as a "systemd --user" service:

/usr/bin/compton --backend glx --paint-on-overlay --vsync opengl-swc

Offline

#34 2013-06-20 05:53:07

Drumitar
Member
Registered: 2011-04-13
Posts: 73

Re: [SOLVED] Tearless compositing.

WonderWoofy wrote:

@Drumitar, how long ago did you install it?  Git packages are funny things, they get their source from a git tree, so it may be that you are using an old version, but no real update to the PKGBUILD has occurred because it was not necessary.  Download and extract the tarball for compton-git and then run makepkg with --force (-f) to make sure that it rebuilds from the (now hopefully updated) source.

BTW, this fix is pretty awesome, and so amazingly simple.  I have this example (mentioned above) successfully in use as a "systemd --user" service:

/usr/bin/compton --backend glx --paint-on-overlay --vsync opengl-swc

that did the trick ! thanks

for whatever reason using yaourt -S compton-git may have gave me an older version, but installing from the tarball no longer gives me the error

thanks !

Offline

#35 2013-06-20 06:01:47

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Tearless compositing.

It is because yoaurt is not ebing told to force a rebuild (I do not know if this is possible).

Offline

#36 2013-07-01 23:27:05

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

Re: [SOLVED] Tearless compositing.

I've noticed that with the latest NVIDIA Beta drivers 325.08 that this command causes all boxes to be displayed as just a white box and nothing else.  If I was home I could get the error message.  Has any come across this issue?  I'm tempted to roll back to non beta Nvidia drivers.

Offline

Board footer

Powered by FluxBB