| 1 | = xfwm4 = |
| 2 | |
| 3 | == using libxpresent == |
| 4 | |
| 5 | With 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 | |
| 7 | The 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 | |
| 9 | The compositor can also get turned off, killing the desktop. |
| 10 | |
| 11 | Quoting 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 | |
| 13 | As 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 | {{{ |
| 16 | xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "off" --create |
| 17 | }}} |
| 18 | |
| 19 | That 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 | {{{ |
| 21 | xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "xpresent" --create |
| 22 | }}} |
| 23 | |
| 24 | == building xpresent == |
| 25 | |
| 26 | The 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 | |
| 28 | For v1.0.0, and assuming you built X in /usr, |
| 29 | {{{ |
| 30 | ./autogen.sh --prefix=/usr && |
| 31 | make && |
| 32 | make install |
| 33 | }}} |
| 34 | |
| 35 | |
| 36 | |
| 37 | [wiki:Xfce Up][[br]] |
| 38 | [wiki:BlfsNotes Top] |