← Back to team overview

desktop-packages team mailing list archive

[Bug 1546401] [NEW] Xmir client performance is lower with swap interval 0 than with 1

 

Public bug reported:

Xmir client performance is lower with swap interval 0 than with 1. Kind
of the opposite of what you might expect:

$ Xmir --desktop_file_hint=unity8 -sw &
$ glxgears 
13339 frames in 5.0 seconds = 2667.750 FPS
13619 frames in 5.0 seconds = 2723.752 FPS
13653 frames in 5.0 seconds = 2730.425 FPS

$ env MIR_CLIENT_FORCE_SWAP_INTERVAL=0 Xmir --desktop_file_hint=unity8 -sw
$ glxgears 
3092 frames in 5.0 seconds = 618.255 FPS
3185 frames in 5.0 seconds = 636.933 FPS
3014 frames in 5.0 seconds = 602.666 FPS

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
     Assignee: Daniel van Vugt (vanvugt)
         Status: New


** Tags: performance xmir

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1546401

Title:
  Xmir client performance is lower with swap interval 0 than with 1

Status in xorg-server package in Ubuntu:
  New

Bug description:
  Xmir client performance is lower with swap interval 0 than with 1.
  Kind of the opposite of what you might expect:

  $ Xmir --desktop_file_hint=unity8 -sw &
  $ glxgears 
  13339 frames in 5.0 seconds = 2667.750 FPS
  13619 frames in 5.0 seconds = 2723.752 FPS
  13653 frames in 5.0 seconds = 2730.425 FPS

  $ env MIR_CLIENT_FORCE_SWAP_INTERVAL=0 Xmir --desktop_file_hint=unity8 -sw
  $ glxgears 
  3092 frames in 5.0 seconds = 618.255 FPS
  3185 frames in 5.0 seconds = 636.933 FPS
  3014 frames in 5.0 seconds = 602.666 FPS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1546401/+subscriptions


Follow ups