Activity log for bug #1566157

Date Who What changed Old value New value Message
2016-04-05 06:09:58 Alkis Georgopoulos bug added bug
2016-04-05 17:01:05 Alkis Georgopoulos attachment added x11perf.ods https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1566157/+attachment/4624852/+files/x11perf.ods
2016-04-08 06:54:37 Alkis Georgopoulos attachment added glmark2.zip https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1566157/+attachment/4628575/+files/glmark2.zip
2016-04-15 17:54:25 Alberts Muktupāvels bug added subscriber Dmitry Shachnev
2016-04-17 11:50:54 Alberts Muktupāvels attachment added test.tar.xz https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1566157/+attachment/4638613/+files/test.tar.xz
2016-04-17 14:45:26 Dmitry Shachnev attachment added stacktrace.txt https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1566157/+attachment/4638675/+files/stacktrace.txt
2016-04-18 19:35:44 Alberts Muktupāvels attachment removed test.tar.xz https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1566157/+attachment/4638613/+files/test.tar.xz
2016-04-24 18:31:05 Dmitry Shachnev description I did the following benchmarks between `metacity --no-composite`, `metacity --composite`, and `compiz`, in Ubuntu 16.04. First, I disabled vsync: $ cat ~/.drirc <device screen="0" driver="dri2"> <application name="Default"> <option name="vblank_mode" value="0"/> </application> </device> Then I ran glxgears as follows: $ metacity --no-composite --replace & sleep 5 && glxgears & sleep 20 && killall glxgears 29564 frames in 5.0 seconds = 5912.721 FPS 29729 frames in 5.0 seconds = 5945.777 FPS $ metacity --composite --replace & sleep 5 && glxgears & sleep 20 && killall glxgears 10366 frames in 5.0 seconds = 2073.057 FPS 10194 frames in 5.0 seconds = 2038.702 FPS $ compiz --replace & sleep 5 && glxgears & sleep 20 && killall glxgears 37633 frames in 5.0 seconds = 7522.813 FPS 37990 frames in 5.0 seconds = 7597.965 FPS As a second set of benchmarks, I ran glxgears -fullscreen as follows: $ metacity --no-composite --replace & sleep 5 && glxgears -fullscreen & sleep 20 && killall glxgears 1652 frames in 5.0 seconds = 330.296 FPS 1667 frames in 5.0 seconds = 333.281 FPS $ metacity --composite --replace & sleep 5 && glxgears -fullscreen & sleep 20 && killall glxgears 886 frames in 5.0 seconds = 177.007 FPS 891 frames in 5.0 seconds = 178.099 FPS $ compiz --replace & sleep 5 && glxgears -fullscreen & sleep 20 && killall glxgears 1830 frames in 5.0 seconds = 365.868 FPS 1847 frames in 5.0 seconds = 369.242 FPS Normalized results (with compiz=100): ================================ Windowed: metacity --no-composite: 78 FPS metacity --composite: 27 FPS compiz: 100 FPS Full screen: metacity --no-composite: 90 FPS metacity --composite: 48 FPS compiz: 100 FPS So `metacity --composite` in this test was about 2 times slower than `metacity --no-composite` and about 3 times slower than `compiz`. This test was done an "Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz" CPU, with the following embedded graphics card: $ lspci -nn -k | grep -A 2 VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1458:d000] Kernel driver in use: i915 I'll upload more tests if I find anything newsworthy. [Impact] Metacity's performance is about 2 times slower than it was in 14.04 version. It is a regression from previous LTS and impacts users with slow hardware. [Test Case] Run some performance checker like x11perf or glmark2, see the reporter's comments below for detailed info. [Regression Potential] This fix is tested by several users and seems to not have any regressions. ----------------------------------------------------------------------------- I did the following benchmarks between `metacity --no-composite`, `metacity --composite`, and `compiz`, in Ubuntu 16.04. First, I disabled vsync: $ cat ~/.drirc <device screen="0" driver="dri2">     <application name="Default">             <option name="vblank_mode" value="0"/>     </application> </device> Then I ran glxgears as follows: $ metacity --no-composite --replace & sleep 5 && glxgears & sleep 20 && killall glxgears 29564 frames in 5.0 seconds = 5912.721 FPS 29729 frames in 5.0 seconds = 5945.777 FPS $ metacity --composite --replace & sleep 5 && glxgears & sleep 20 && killall glxgears 10366 frames in 5.0 seconds = 2073.057 FPS 10194 frames in 5.0 seconds = 2038.702 FPS $ compiz --replace & sleep 5 && glxgears & sleep 20 && killall glxgears 37633 frames in 5.0 seconds = 7522.813 FPS 37990 frames in 5.0 seconds = 7597.965 FPS As a second set of benchmarks, I ran glxgears -fullscreen as follows: $ metacity --no-composite --replace & sleep 5 && glxgears -fullscreen & sleep 20 && killall glxgears 1652 frames in 5.0 seconds = 330.296 FPS 1667 frames in 5.0 seconds = 333.281 FPS $ metacity --composite --replace & sleep 5 && glxgears -fullscreen & sleep 20 && killall glxgears 886 frames in 5.0 seconds = 177.007 FPS 891 frames in 5.0 seconds = 178.099 FPS $ compiz --replace & sleep 5 && glxgears -fullscreen & sleep 20 && killall glxgears 1830 frames in 5.0 seconds = 365.868 FPS 1847 frames in 5.0 seconds = 369.242 FPS Normalized results (with compiz=100): ================================ Windowed: metacity --no-composite: 78 FPS metacity --composite: 27 FPS compiz: 100 FPS Full screen: metacity --no-composite: 90 FPS metacity --composite: 48 FPS compiz: 100 FPS So `metacity --composite` in this test was about 2 times slower than `metacity --no-composite` and about 3 times slower than `compiz`. This test was done an "Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz" CPU, with the following embedded graphics card: $ lspci -nn -k | grep -A 2 VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)  Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1458:d000]  Kernel driver in use: i915 I'll upload more tests if I find anything newsworthy.
2016-04-26 08:58:30 Martin Pitt nominated for series Ubuntu Yakkety
2016-04-26 08:58:30 Martin Pitt bug task added metacity (Ubuntu Yakkety)
2016-04-26 08:58:30 Martin Pitt nominated for series Ubuntu Xenial
2016-04-26 08:58:30 Martin Pitt bug task added metacity (Ubuntu Xenial)
2016-04-26 08:59:03 Martin Pitt metacity (Ubuntu Xenial): status New Fix Committed
2016-04-26 08:59:05 Martin Pitt bug added subscriber Ubuntu Stable Release Updates Team
2016-04-26 08:59:10 Martin Pitt bug added subscriber SRU Verification
2016-04-26 08:59:19 Martin Pitt tags verification-needed
2016-04-26 10:53:50 Alkis Georgopoulos tags verification-needed verification-done
2016-04-26 23:06:26 Launchpad Janitor metacity (Ubuntu Yakkety): status New Fix Released
2016-05-09 08:44:36 Launchpad Janitor metacity (Ubuntu Xenial): status Fix Committed Fix Released
2016-05-09 08:44:43 Martin Pitt removed subscriber Ubuntu Stable Release Updates Team