[regression] GL(X) apps don't have vsync when running under XMir

Bug #1211186 reported by Daniel van Vugt
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mir
Invalid
High
Unassigned
mesa (Ubuntu)
Invalid
High
Unassigned
xorg-server (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

When using XMir, GL apps are not synchronized to vblank correctly. For example using glxgears...

XMir:
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
5632 frames in 5.0 seconds = 1126.334 FPS
5136 frames in 5.0 seconds = 1027.137 FPS
4686 frames in 5.0 seconds = 937.086 FPS
4519 frames in 5.0 seconds = 903.775 FPS
4469 frames in 5.0 seconds = 893.723 FPS
10179 frames in 5.0 seconds = 2035.627 FPS

Regular X:
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
306 frames in 5.0 seconds = 61.115 FPS
301 frames in 5.0 seconds = 60.080 FPS
302 frames in 5.0 seconds = 60.275 FPS
301 frames in 5.0 seconds = 60.081 FPS
301 frames in 5.0 seconds = 60.078 FPS
301 frames in 5.0 seconds = 60.081 FPS

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This causes unwanted overheating and fan noise in the least.

tags: added: regression-proposed
tags: added: regression-update
removed: regression-proposed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm trying to attach system information but apport-collect and ubuntu-bug don't seem to be working for the new Mir-related packages.

Changed in xmir:
status: New → Triaged
Changed in mir:
status: New → Invalid
Changed in xmir:
status: Triaged → Confirmed
importance: Undecided → Critical
Changed in mir (Ubuntu):
status: New → Invalid
kevin gunn (kgunn72)
tags: added: make-xmir-default
Steve Langasek (vorlon)
tags: removed: regression-update
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Changed in xmir:
importance: Critical → High
Changed in xorg-server (Ubuntu):
importance: Undecided → High
Changed in xmir:
status: Confirmed → Triaged
Changed in xorg-server (Ubuntu):
status: Confirmed → Triaged
Changed in xmir:
assignee: nobody → Daniel van Vugt (vanvugt)
no longer affects: mir (Ubuntu)
no longer affects: mir
Changed in xmir:
status: Triaged → In Progress
Changed in mir:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Daniel van Vugt (vanvugt)
Revision history for this message
kevin gunn (kgunn72) wrote :

after some discussion to be clear - this does not lead to tearing.
the lack of throttling is at the glx level not the mir level

however, lacking a correction for this is still sub optimal for power.

Changed in mir:
status: In Progress → Triaged
Changed in xmir:
status: In Progress → Triaged
kevin gunn (kgunn72)
Changed in mir:
status: Triaged → Opinion
Changed in mir:
status: Opinion → Invalid
Changed in xmir:
assignee: Daniel van Vugt (vanvugt) → nobody
Changed in mir:
assignee: Daniel van Vugt (vanvugt) → nobody
Changed in mesa (Ubuntu):
status: New → Confirmed
importance: Undecided → High
no longer affects: xmir
tags: added: xmir
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I suspect this bug also exists in the new Xmir. Need to confirm.

Changed in xorg-server (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Verified this bug appears fixed with the latest trunk Xmir code. However the fix is an illusion. It's actually bug 1502738. And if you enable the fix that's ready for that bug then this bug reoccurs.

Changed in mesa (Ubuntu):
status: Confirmed → Invalid
Changed in xorg-server (Ubuntu):
status: Incomplete → Triaged
importance: High → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Invalid. The bug does not exist at all right now. And hopefully won't exist again.

Changed in xorg-server (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.