Page MenuHomeFreeBSD (Eirik Øverby)


User does not belong to any projects.

User Details

User Since
Jan 9 2018, 12:28 AM (100 w, 1 d)

Recent Activity

Aug 27 2019 added a comment to D21278: Update XFCE to 4.14.

I made some tests (on 12.0-STABLE):
Libepoxy and XPresent are required for support of vblank (Vertical blanking interval). Currently only GL backend (via libepoxy) is used. I get these warnings (.xession-errors)

(xfwm4:1092): xfwm4-WARNING **: 16:28:42.750: Unsupported GL renderer (llvmpipe (LLVM 8.0, 128 bits)).
(xfwm4:1092): xfwm4-WARNING **: 16:28:42.751: Screen is missing required GL renderer, GL support disabled.

This property (vblank) is by default on 'auto' xfconf-query -c xfwm4 -p /general/vblank_mode

Have you tested setting that to off?

According to compositor documentation, we can disable this property. If I use the kernel mode-setting port, borders are not well formed [1] (same result when vblank_mode is on 'auto'), but with Xorg drivers everything is fine (not checked warnings in .xsession-errors).
Then I tried with libXpresent (no update since 2015, but still uses by linux distributions), 2 backends are enabled, in my .xsession-errors messages related to xfwm4 disappeared. Render of borders (when I use the drm-kmod port) is always identical even if Xpresent is installed or not.
Presence of libXpresent avoids warnings for xfwm4. I can provide this port (and diff for x11-wm/xfce4-wm) if someone is interested.

If I understand the docs I read, the mere presence of libXpresent could not be enough. The window manager by default tries to autodetect what to use and could not even try using libXpresent by itself.
To be sure to test libXpresent you should run:
xfwm4 --vblank=xpresent --replace

I also noticed (on my laptop) compositor is not functional (it was functional with the previous stable release).

I have no idea what is causing this at this point.
Now first a personal note. My poudriere machine died just today. I was testing a libXpresent port. I could not fully test it but here is the XFCE 4.14 diff including this port and adding it as a dependency for xfwm:
I'm posting this patch just in case someone could test it.
I will need a little time to fix or rebuild the failed machine before I can do much work on ports.
Apart from this we need some plan to get ahead on this. I'm personally out of ideas and unable to test it since it does not show on my hardware.
I'd like to understand if this is an xfce problem, an x11 problem or a driver problem. I'm asking someone with hardware showing the problem to run another compositing window manager, to check what happens.
I also need to decide if I should push to commit this update anyway, or wait for a solution. Keeping XFCE not updated indefinitely does not look like a good thing to me. Also because now I have problems updating the old ports. I'd need to build a brand new testing environment. I was hoping to update everything at once with this big update.
Does someone has a suggestion on how to address or manage this issue? Is it really a showstopper?

Aug 27 2019, 11:34 PM · xfce

Aug 26 2019 added a comment to D21278: Update XFCE to 4.14.

Can you specify exactly which driver is creating problems?

It is AMD Radeon R2.

vgapci0@pci0:0:1:0:     class=0x030000 card=0x108a1025 chip=0x98531002 rev=0x40 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Mullins [Radeon R2 Graphics]'
    class      = display
    subclass   = VGA

Xorg loads the Vesa driver (amdgpu is also installed, but not loaded).
If I follow this documentation, I have same problem as Eirik.

So it depends on the hardware.
I'm almost sure it has to do with the compositing functionality. shadows, transparencies and the like. I'm sorry I have no idea how to "fix" this.
Could you try using some other compositing window manager and check if the problem appears with them too? (compiz for example)
Another thing to try iis disabling the compositing functionality in xfwm. I found this:
Could you try this and see if the problem goes away?

Aug 26 2019, 9:23 PM · xfce added a comment to D21278: Update XFCE to 4.14.

Has the new xfwm4 been tested with the modesetting X driver? When I do, all window decorations are black. That is - buttons and title shows up, also the corner pieces of windows, but the rest is just black. Switching to intel driver does not show this problem. Other window managers (windowmaker tested so far) do not seem to exhibit any such issues.

Aug 26 2019, 1:14 PM · xfce

Aug 25 2019 added a comment to D21278: Update XFCE to 4.14.

Your log is related to ibus, not xfce4-conf. Xfconf does not depend of dbus-glib anymore, only of gdbus through gio.

Aug 25 2019, 11:15 AM · xfce added a comment to D21278: Update XFCE to 4.14.

x11/xfce4-conf fails to build because it need dbus, but this has been removed from the Makefile.
The following needs adding back before it will build (using poudriere):

This isn't failing for me in poudriere. It builds fine(I've been testing all the xfce ports with poudriere with various FreeBSD versions and OPTIONS combinations for some time) and the resulting binaries are not linked with libdbus, which is the reason why I removed the dependency.
Also xfce components have been migrated away from dbus-glib to gdbus, which, if I'm correct, is included in glib, so the new versions don't need that library.
Could you provide a full build log for the failure so this can be investigated?

Aug 25 2019, 9:22 AM · xfce

Aug 24 2019 added a comment to D21278: Update XFCE to 4.14.

x11/xfce4-conf fails to build because it need dbus, but this has been removed from the Makefile.

Aug 24 2019, 10:21 PM · xfce