nvidia-settings v1.0-26, bug in "save settings for twin-view"

I believe that I have identified a bug in the “nvidia-settings” applet v1.0-26.fc18.x86_64.

This is not the latest version of the utility from Nvidia, but it is the most current for Fedora 18.
I attempted to search this site using FireFox 20, but that fails to show any results, only a blank page.

Description:
I have identified 2 issues with the nvidia-settings applet:-

  1. It adds the wrong location info to the additional device settings
  2. It adds duplicate modes, it un-necessarily extends the modes list by appending duplicate modes to the modes list until the maximum length is reached

The location of the main window, DFP is +0+0;
The require location of the CRT is +1920+0; and not +0+0;

  • which I believe is the source of my problem, the nvidia-settings incorrectly sets the additional CRT modes with an invalid location co-ordinate. It also adds a invalid default duplicates.

Effect:
Setting the current configuration works fine, but restart of the X-Server [reboot, resume from Hibernation] sets the wrong Default screen for the OS, with the wrong placement of Desktop Panels and application windows. Making an additional login task of fixing the desktop every time.

Work-Around:
Save the current settings in the Applet and then manually editing the xorg.conf 'Section “Screen” ', and setting the following :-

Option         "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1920+0; CRT: 1680x1050_60 +1920+0"

This may not be the latest version available, but I have not see this bug previously recorded. The search feature on this site does not work with FireFox 20, I get a blank page.

Linux : Fedora 18,
Kernel: 3.8.5-201.fc18.x86_64
Driver: 304.64, xorg-x11-drv-nvidia-304.64-5.fc18.x86_64

akmod-nvidia-304.64-7.fc18.x86_64
kmod-nvidia-3.8.3-203.fc18.x86_64-304.64-7.fc18.3.x86_64
kmod-nvidia-3.8.4-202.fc18.x86_64-304.64-7.fc18.4.x86_64
kmod-nvidia-3.8.5-201.fc18.x86_64-304.64-7.fc18.5.x86_64
nvidia-settings-1.0-26.fc18.x86_64
nvidia-xconfig-1.0-25.fc18.x86_64
xorg-x11-apps-7.7-1.fc18.x86_64
xorg-x11-docs-1.6-5.fc18.noarch
xorg-x11-drv-ati-7.0.0-0.9.20121015gitbd9e2c064.fc18.x86_64
xorg-x11-drv-evdev-2.7.3-5.fc18.x86_64
xorg-x11-drv-fbdev-0.4.3-3.fc18.x86_64
xorg-x11-drv-intel-2.21.5-1.fc18.x86_64
xorg-x11-drv-mga-1.6.1-2.fc18.x86_64
xorg-x11-drv-modesetting-0.6.0-1.fc18.x86_64
xorg-x11-drv-nouveau-1.0.6-1.fc18.x86_64
xorg-x11-drv-nvidia-304.64-5.fc18.x86_64
xorg-x11-drv-nvidia-libs-304.64-5.fc18.x86_64
xorg-x11-drv-openchrome-0.3.2-1.fc18.x86_64
xorg-x11-drv-qxl-0.0.22-5.20120718gitde6620788.fc18.x86_64
xorg-x11-drv-synaptics-1.6.3-1.fc18.x86_64
xorg-x11-drv-vesa-2.3.2-2.fc18.x86_64
xorg-x11-drv-vmmouse-13.0.0-1.fc18.x86_64
xorg-x11-drv-vmware-12.0.2-3.20120718gite5ac80d8f.fc18.x86_64
xorg-x11-drv-wacom-0.16.1-2.fc18.x86_64
xorg-x11-fonts-truetype-1.0.2-1.fc18.noarch
xorg-x11-fonts-Type1-7.5-6.fc18.noarch
xorg-x11-font-utils-7.5-10.fc18.x86_64
xorg-x11-proto-devel-7.6-24.fc18.noarch
xorg-x11-server-common-1.13.3-2.fc18.x86_64
xorg-x11-server-utils-7.5-16.fc18.x86_64
xorg-x11-server-Xorg-1.13.3-2.fc18.x86_64
xorg-x11-utils-7.5-7.fc18.x86_64
xorg-x11-xauth-1.0.7-2.fc18.x86_64

I have initially reported this at another site, but this is a bug and not a error is user configuration.
http://www.nvnews.net/vbulletin/showthread.php?p=2589141#post2589141

The offending, but re-formatted, entry in xorg.conf :-

Section “Screen”

Option “metamodes” “DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1920+0;
CRT: 1680x1050_60 +0+0;
CRT: 1680x1050_75 +0+0;
CRT: 1680x1050_60_0 +0+0;
CRT: 1600x1000 +0+0;
CRT: 1600x1000_60 +0+0;
CRT: 1440x900 +0+0;
CRT: 1440x900_75 +0+0;
CRT: 1440x900_60 +0+0;
CRT: 1280x1024 +0+0;
CRT: 1280x1024_75 +0+0;
CRT: 1280x1024_72 +0+0;
CRT: 1280x1024_60 +0+0;
CRT: 1152x864 +0+0;
CRT: 1152x864_75 +0+0;
CRT: 1024x768 +0+0;
CRT: 1024x768_75 +0+0;
CRT: 1024x768_70 +0+0;
CRT: 1024x768_60 +0+0;
CRT: 800x600 +0+0;
CRT: 800x600_75 +0+0;
CRT: 800x600_72 +0+0;
CRT: 800x600_60 +0+0;
CRT: 640x480 +0+0;
CRT: 640x480_75 +0+0;
CRT: 640x480_72 +0+0;
CRT: 640x480_60 +0+0;
CRT: nvidia-auto-select +0+0;
CRT: nvidia-auto-select +0+0;
CRT: nvidia-auto-select +0+0;
CRT: nvidia-auto-select +0+0;

CRT: 1680x1050 +0+0;
CRT: 1680x1050_60 +0+0;
CRT: 1680x1050_75 +0+0;
CRT: 1680x1050_60_0 +0+0;
CRT: 1600x1000 +0+0;
CRT: 1600x1000_60 +0+0”

Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    24
Option         "Stereo" "0"
Option         "nvidiaXineramaInfoOrder" "DFP-0"
Option         "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1920+0; CRT: 1680x1050_60 +1920+0"
SubSection     "Display"
    Depth       24
EndSubSection

EndSection