Incorrect (low/stuttering) refresh rate with NVIDIA driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
High
|
Sam Spilsbury | ||
Compiz Core |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Ubutter |
Fix Released
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Daniel van Vugt | ||
nvidia-graphics-drivers (Ubuntu) |
Invalid
|
Wishlist
|
Alberto Milone |
Bug Description
The problem here is that incorrect information from the NVIDIA driver is tricking some software like Compiz into using an incorrect refresh rate, which makes the whole desktop look choppy.
The cause of this framerate problem is the DynamicTwinView feature of the NVIDIA graphics driver. It appears to be a documented "feature" of the driver, and has been for several years:
--- Quote from the NVIDIA documentation ---
Option "DynamicTwinView" "boolean"
Enable or disable support for dynamically configuring TwinView on this X screen. When DynamicTwinView is enabled (the default), the refresh rate of a mode (reported through XF86VidMode or XRandR) does not correctly report the refresh rate, but instead is a unique number such that each MetaMode has a different value. This is to guarantee that MetaModes can be uniquely identified by XRandR.
When DynamicTwinView is disabled, the refresh rate reported through XRandR will be accurate, but NV-CONTROL clients such as nvidia-settings will not be able to dynamically manipulate the X screen's MetaModes. TwinView can still be configured from the X config file when DynamicTwinView is disabled.
Default: DynamicTwinView is enabled.
--- End quote ---
[http://
WORKAROUND (1)
(in /etc/X11/xorg.conf)
Section "Device"
Option "DynamicTwinView" "False"
EndSection
If the workaround doesn't work for you and you still see stuttering/
WORKAROUND (2)
CCSM > Composite >
Detect Refresh Rate = OFF
Refresh Rate = 60 (or whatever is correct for you monitor)
ORIGINAL DESCRIPTION:
Binary package hint: xorg
My Samsung SyncMaster 931BF does actually support 75 hz screen refresh rate, but xorg lets me choose only between 50 Hz and 54 Hz. Modification of /etc/X11/xorg.conf does not help. xorg worked ok on edgy.
Here's some info:
$ uname -a
Linux Xel-Naga 2.6.20-10-generic #2 SMP Mon Mar 12 00:02:49 UTC 2007 i686 GNU/Linux
$ apt-cache show xorg | grep Version
Version: 1:7.2-0ubuntu7
The video card is Nvidia GeForce 7300GS.
ProblemType: Bug
Architecture: i386
Date: Thu Mar 15 21:08:22 2007
DistroRelease: Ubuntu 7.04
Uname: Linux Xel-Naga 2.6.20-10-generic #2 SMP Mon Mar 12 00:02:49 UTC 2007 i686 GNU/Linux
Related branches
- Sam Spilsbury: Approve
- Compiz Maintainers: Pending requested
- Tim Penhey: Pending requested
-
Diff: 408 lines (+89/-150)3 files modifiedplugins/composite/src/privates.h (+2/-7)
plugins/composite/src/screen.cpp (+63/-131)
plugins/opengl/src/screen.cpp (+24/-12)
- Daniel van Vugt: Approve
- jenkins (community): Approve (continuous-integration)
-
Diff: 157 lines (+44/-2)5 files modifiedplugins/composite/include/composite/composite.h (+2/-1)
plugins/composite/src/screen.cpp (+8/-1)
plugins/opengl/src/privates.h (+3/-0)
plugins/opengl/src/screen.cpp (+19/-0)
tests/manual/NVIDIAForceRefreshRate.txt (+12/-0)
Changed in xorg: | |
assignee: | norsetto → nobody |
Changed in jockey: | |
status: | New → Confirmed |
Changed in linux-restricted-modules-2.6.20: | |
status: | Confirmed → Invalid |
tags: | added: might-be-763005 |
affects: | jockey (Ubuntu) → nvidia-graphics-drivers (Ubuntu) |
description: | updated |
description: | updated |
summary: |
- [nvidia-glx] unable to "set" proper screen refresh rate due to - DynamicTwinView + Low OpenGL/compiz frame rate with NVIDIA driver |
description: | updated |
Changed in nvidia-drivers-ubuntu: | |
status: | New → Confirmed |
summary: |
- Low OpenGL/compiz frame rate with NVIDIA driver + Incorrect (low/stuttering) refresh rate with NVIDIA driver |
tags: | removed: might-be-763005 |
description: | updated |
description: | updated |
description: | updated |
Changed in compiz-core: | |
status: | New → In Progress |
assignee: | nobody → Daniel van Vugt (vanvugt) |
importance: | Undecided → Medium |
tags: | added: performance |
Changed in compiz-core: | |
status: | In Progress → Fix Committed |
Changed in compiz-core: | |
milestone: | none → 0.9.7 |
no longer affects: | compiz |
Changed in compiz-core: | |
status: | Fix Committed → Fix Released |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | Confirmed → Triaged |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in ubutter: | |
status: | New → Triaged |
description: | updated |
Changed in compiz: | |
status: | New → In Progress |
assignee: | nobody → Sam Spilsbury (smspillaz) |
milestone: | none → 0.9.8.4 |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Changed in ubutter: | |
status: | Fix Committed → Fix Released |
Changed in nvidia-drivers-ubuntu: | |
status: | Confirmed → Fix Released |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | Fix Released → Confirmed |
no longer affects: | nvidia-drivers-ubuntu |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | Confirmed → Invalid |
Thanks for your report Andrey,
What do you mean by "xorg lets me choose only between 50 Hz and 54 Hz"?
Is it during the X configuration process (sudo dpkg-reconfigure xserver-xorg)?
What are the modifications you have tried to xorg.conf?
Did you just change your HorizSync and VertRefresh params in the monitor section, or did you add a new modeline?
Could you also please attach a copy of your (actual) xorg.conf file as well as your (actual) xorg log file (/var/log/ Xorg.0. log) to your report?
Many thanks in advance.