Changes between Initial Version and Version 1 of xfwm4


Ignore:
Timestamp:
02/29/2020 04:42:45 AM (4 years ago)
Author:
ken@…
Comment:

Explain why xpresent can be a good idea

Legend:

Unmodified
Added
Removed
Modified
  • xfwm4

    v1 v1  
     1= xfwm4 =
     2
     3== using libxpresent ==
     4
     5With some AMD Zen APUs (e.g. Ryzen 2500U (Raven) and 3550M  (Picasso) xfwm4-4.14.0 produces text which is slow to render (e.g. tooltips are unreadable for a second or two, similar problems in terminals, e.g. text hard to read except when the cursor is on it. Also described as transparency artifacts.  see e.g. [https://forum.xfce.org/viewtopic.php?id=13232]
     6
     7The problem might only appear if the machine is a laptop, or perhaps it is related to Display Port outputs (my 2550U uses eDP according to xrandr, my 3400G desktop (Picasso) is connected to HDMI).
     8
     9The compositor can also get turned off, killing the desktop.
     10
     11Quoting from that forum, "In xfwm4, glx is the default vblank mode, but it also supports xpresent (which I believe works best for ati cards) and you can also turn it off."
     12
     13As a workaround, setting the vblank mode to off works (you need to be in X to do this, perhaps using a different windowmanager if the compositor has turned off and is 'sulking' - it certainly gives that impression on _my_ laptop, requiring several reboots to sort it out)
     14
     15{{{
     16xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "off" --create
     17}}}
     18
     19That appears to work, but setting it to xpresent is probably better, and that requires installing xpresent before xfwm4 (or rebuilding xfwm4 after installing xpresent) :
     20{{{
     21xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "xpresent" --create
     22}}}
     23
     24== building xpresent ==
     25
     26The book currently points to source for v1.0.0, but the URL is "convoluted" with no obvious way of checking for newer versions. The homepage is apparently at [https://gitlab.freedesktop.org/xorg/lib/libxpresent] but that doesn't show any information about releases.
     27
     28For v1.0.0, and assuming you built X in /usr,
     29{{{
     30./autogen.sh --prefix=/usr &&
     31make &&
     32make install
     33}}}
     34
     35
     36
     37[wiki:Xfce Up][[br]]
     38[wiki:BlfsNotes Top]