Comment 0 for bug 1009338

Revision history for this message
Daniel van Vugt (vanvugt) wrote : composite refresh rate defaults to 50Hz, which is wrong in most cases

The composite plugin chooses its refresh rate in this order:
  1. Try to sync to vblank and match the monitor's real refresh rate.
  2. Discover the hardware refresh rate from the xrandr extension.
  3. Fall back to the user-configured refresh rate option, usually configured using CCSM.

#1 used to work for most drivers. In Ubuntu 12.04, it now only works for intel and radeon drivers at most. This is because fglrx, nouveau and nvidia all default to disabling sync to vblank.

#2 works for all drivers except nvidia, which fails to report the correct refresh rate in xrandr (bug 92599).

#3 always works but rarely looks correct. Because most LCDs run at 60Hz and composite falls back to 50Hz.

We can't do anything about #1 and #2 in compiz, but we should fix #3.