! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Fix AC_HELP_STRING for the xpresent extension
Status:
RESOLVED: FIXED

Comments

Description poma 2015-04-26 14:50:28 CEST
Created attachment 6220 
Fix AC_HELP_STRING - xpresent extension exclusion

automatic:

Build Configuration for xfwm4 version 4.12.2git.20150424 revision 20150424:
  Startup notification support: yes
  XSync support:                yes
  Render support:               yes
  Xrandr support:               yes
  Xpresent support:             yes
  Embedded compositor:          yes
  Epoxy support:                yes
  KDE systray protocol proxy:   no

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--disable-render        don't try to use the xpresent extension:

Build Configuration for xfwm4 version 4.12.2git.20150424 revision 20150424:
  Startup notification support: yes
  XSync support:                yes
  Render support:               no
  Xrandr support:               no
  Xpresent support:             yes
  Embedded compositor:          no
  Epoxy support:                yes
  KDE systray protocol proxy:   no

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--disable-xpresent:

Build Configuration for xfwm4 version 4.12.2git.20150424 revision 20150424:
  Startup notification support: yes
  XSync support:                yes
  Render support:               yes
  Xrandr support:               yes
  Xpresent support:             no
  Embedded compositor:          yes
  Epoxy support:                yes
  KDE systray protocol proxy:   no
Comment 1 poma 2015-04-26 14:51:22 CEST
Family : NV50
Chipset: G98 (NV98)
 
xf86-video-nouveau aka xorg-x11-drv-nouveau - 1.0.11

                              ___
                             |   | 
Epoxy/OpenGL -> tear-free -> |___|

                                ___
                               |   |
DRI3/Present -> tear-unfree ->  |___|
Comment 2 Olivier Fourdan editbugs 2015-04-26 18:58:35 CEST
(In reply to poma from comment #1)
> Family : NV50
> Chipset: G98 (NV98)
>  
> xf86-video-nouveau aka xorg-x11-drv-nouveau - 1.0.11
> Epoxy/OpenGL -> tear-free
> DRI3/Present -> tear-unfree

That does not depend on xfwm4, it's the driver, but it would be wiser to favor opengl if xpresent is not reliable.
Comment 3 poma 2015-04-27 02:35:07 CEST
Dilemma with the runtime config has since evolved to the config/compile time.

Besides dealing OK with the tearing, OpenGL seems to performes OK on baremetal.
But when using the same binary, thus built with the Epoxy/OpenGL support,
within QEMU/KVM/QXL, compositor is fast as the turtle.

On the other side, DRI3/Present is fast within QEMU/KVM/QXL,
but does not provides "tear-free" functionality on baremetal.

Is it possible that commit "compositor: Add support for GLX" slowed down performance on QEMU/KVM/QXL?
I mean before that it performed quite OK.

Test compilation:
http://goo.gl/Gm4ffO
ISO/
Fedora-21-Live-Xfce-4.12-x64-mini-Epoxy-OpenGL-2015-04-26.iso
Fedora-21-Live-Xfce-4.12-x64-mini-DRI3-Present-2015-04-26.iso
Comment 4 Olivier Fourdan editbugs 2015-04-27 08:58:21 CEST
(In reply to poma from comment #3)
> Is it possible that commit "compositor: Add support for GLX" slowed down
> performance on QEMU/KVM/QXL?
> I mean before that it performed quite OK.

What does glxinfo give for you? The compositor should disable OpenGL if llvmpipe rendering is detected.

Note, that goes slightly off-topic wrt this bug and such discussions should be better on the devel ML.
Comment 5 poma 2015-04-27 18:51:13 CEST
Continued here:
Compositor - performance & functionality
https://bugzilla.xfce.org/show_bug.cgi?id=11861


OK, so you can close this one, after applying the patch.
Comment 6 poma 2015-04-28 09:35:43 CEST
Thanks man.

Bug #11857

Reported by:
poma
Reported on: 2015-04-26
Last modified on: 2015-04-28

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information