You are not logged in.

#1 2014-08-20 01:16:24

buntolo
Member
Registered: 2011-10-11
Posts: 202

Screen tearing in XFCE

I have screen tearing when scrolling pages, it is more noticeable when scrolling Google's search result in Firefox.
I have read: https://bbs.archlinux.org/viewtopic.php … 8#p1251858
And tried installing xfwm4-vsync (https://aur.archlinux.org/packages/xfwm4-vsync/) but it does not seem to work.


Then I have read: https://bbs.archlinux.org/viewtopic.php … 8#p1259058
And tried with:

$ xfconf-query -c xfwm4 -p "/general/sync_to_vblank" -s true 

but it says that «/general/sync_to_vblank» does not exist in «xfwm4». it suggest to create a new property with --create
If I try with:

$ xfconf-query -c xfwm4 -p "/general/sync_to_vblank" -s true --create

but it then asks for a value to assign to --create and I do not know what to do.


What could I do now?

Last edited by buntolo (2014-08-22 22:11:01)

Offline

#2 2014-08-20 02:21:15

toz
Member
Registered: 2011-10-28
Posts: 513

Re: Screen tearing in XFCE

What version of xfwm4 are you running? The sync_to_vblank feature made it into the 4.11 version - the gui setting is located on the Compositor tab in Window Manager Tweaks.

There is an xfwm4-devel 4.11 version in the AUR that should have the fix included.

Offline

#3 2014-08-20 10:29:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Screen tearing in XFCE

If by "I have vsync" you mean screen-tearing, I use compton-git from the AUR to good effect (Intel HD4600):

compton --backend glx --vsync opengl-swc

If you decide to use this, disable the native xfce compositing first...
smile

Last edited by Head_on_a_Stick (2014-08-20 10:29:28)


Jin, Jîyan, Azadî

Offline

#4 2014-08-20 11:50:03

buntolo
Member
Registered: 2011-10-11
Posts: 202

Re: Screen tearing in XFCE

Yes I have screen tearing issues, it was late and I wrote badly, I am going to correct the opening post right now.
My problem: http://en.wikipedia.org/wiki/Screen_tearing

I have xfwm4 version 4.10, this should explain why vsync is not working:

$ pacman -Qi xfwm4
Nome           : xfwm4
Versione       : 4.10.1-1
Descrizione    : Xfce window manager
Architettura   : x86_64
URL            : http://www.xfce.org/
Licenze        : GPL2
Gruppi         : xfce4
Fornisce       : Nessuno
Dipende da     : libxfce4ui  libwnck  hicolor-icon-theme
Dip. opzionali : Nessuno
Richiesto da   : xfwm4-themes
Opzionale per : Nessuno
Conflitti con  : Nessuno
Sostituisce    : Nessuno
Kb richiesti : 1824,00 KiB
Autore         : Evangelos Foutras <evangelos@foutrelis.com>
Creato il      : dom 05 mag 2013 19:35:10 CEST
Installato il  : dom 03 ago 2014 21:16:48 CEST
Motivo         : Installato esplicitamente
Script install : Sì
Convalidato da : Firma

I have read this: https://wiki.archlinux.org/index.php/Ar … Repository
But still I do not understand something...
Now xfwm4 is in extra: https://www.archlinux.org/packages/extra/x86_64/xfwm4/
If I install 4.11 from AUR what will happen when it will be included in official repository? Will xfwm4 come in extra? Do I need to remove the AUR package and re-install it from the official package?

Offline

#5 2014-08-20 11:58:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Screen tearing in XFCE

To get the commands to output in English, use:

LC_ALL=C <command>

Jin, Jîyan, Azadî

Offline

#6 2014-08-20 14:36:45

maslascher
Member
Registered: 2013-10-15
Posts: 52

Re: Screen tearing in XFCE

If you have intel graphics you can always use TearFree option (see intel graphics in Arch Wiki). Compton-git is good for tearing only if you need compositor.

Offline

#7 2014-08-22 22:09:45

buntolo
Member
Registered: 2011-10-11
Posts: 202

Re: Screen tearing in XFCE

$ LC_ALL=C pacman -Qi xfwm4
Name           : xfwm4
Version        : 4.10.1-1
Description    : Xfce window manager
Architecture   : x86_64
URL            : http://www.xfce.org/
Licenses       : GPL2
Groups         : xfce4
Provides       : None
Depends On     : libxfce4ui  libwnck  hicolor-icon-theme
Optional Deps  : None
Required By    : xfwm4-themes
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 1824.00 KiB
Packager       : Evangelos Foutras <evangelos@foutrelis.com>
Build Date     : Sun May 5 19:35:10 2013
Install Date   : Sun Aug 3 21:16:48 2014
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature



maslascher wrote:

If you have intel graphics you can always use TearFree option (see intel graphics in Arch Wiki). Compton-git is good for tearing only if you need compositor.

Already done:

$ cat /etc/X11/xorg.conf.d/30-intel.conf 
#/etc/X11/xorg.conf.d/30-intel.conf

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"

Are the only solutions available installing xfwm4 4.11 or using compton as window manager?
If I install xfwm4 4.11 from AUR what willl happen when it will be stable and come in official repository?

Last edited by buntolo (2014-08-22 22:16:12)

Offline

#8 2014-08-22 22:25:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Screen tearing in XFCE

buntolo wrote:

...using compton as window manager?

Compton is a standalone compositor that can be used instead of the built-in xfce compositing system.


Jin, Jîyan, Azadî

Offline

#9 2014-08-23 10:28:03

maslascher
Member
Registered: 2013-10-15
Posts: 52

Re: Screen tearing in XFCE

You are doing it wrong. This should be 20-intel.conf not 30-intel.conf. Check wiki again. TearFree option is also faster than using compton. This is how suppose to conf file look like:
https://wiki.archlinux.org/index.php/In … free_video
Also EndSection is missing.
Edit. Almost forgot, Vsync has to be enabled, but it is enabled by default so unless you haven't changing anything than it should be enabled.

Last edited by maslascher (2014-08-23 10:31:33)

Offline

#10 2014-08-23 23:20:23

buntolo
Member
Registered: 2011-10-11
Posts: 202

Re: Screen tearing in XFCE

maslascher wrote:

You are doing it wrong. This should be 20-intel.conf not 30-intel.conf. Check wiki again. TearFree option is also faster than using compton. This is how suppose to conf file look like:
https://wiki.archlinux.org/index.php/In … free_video
Also EndSection is missing.
Edit. Almost forgot, Vsync has to be enabled, but it is enabled by default so unless you haven't changing anything than it should be enabled.

EndSection is correctly placed in the .conf, I just made en error copying it here.

Naming it 20 or 30 change nothing, it will only influence the executing order of the .conf in xorg.conf.d.

Offline

Board footer

Powered by FluxBB