nvidia-glx-new and TwinView

Thomas Kaiser ubuntu at kaiser-linux.li
Tue Apr 29 21:44:45 UTC 2008


Thomas Kaiser wrote:
> Matthew Clarke wrote:
>> what works for me:
>>
>> - install the nvidia drivers (as you have)
>> - install the nvidia-settings package
>> - Run: System->Administration->Nvidia X Server Settings
>>
>> That will give you a GUI interface for your video hardware! Works much
>> like other OS's resolution/monitor setup apps. Handles TwinView very
>> nicely. And writes the config to your xorg.conf and all
>>   
> Good Tip.
> 
> nvidia-settings is a nice tool, but it looks like it does not recognize my second TFT :-(. In Ubuntu 7.10 the nvidia driver had no problems and I did not change anything on the hardware after/before the upgrade to Ubuntu 8.04. Ubuntu 7.10 did use nvidia-glx, didn't it? (not nvidia-glx-new).
> 
I played with nvidia-settings tool and got somehow a TwinView (dual 
monitor) setup running. My main monitor is running on 640x480 and my 
second monitor is running on 1280x1024. 1280x1024 should be the same 
resolution on both monitors because both monitors are the same models.

The main monitor is connected on the analog VGA port and the second 
monitor is connected on the DVI port with a DVI to VGA adapter (that 
means the second port is analog VGA, too!)

I checked the xorg.conf file and found this interesting line:
    Option         "metamodes" "CRT-0: 640x480 +0+0, CRT-1: 1280x1024 
+640+0"

I changed it to:
    Option         "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: 1280x1024 
+1280+0"
and the second screen went black :-( .

The TwinView (dual monitor) setup was working fine in Ubuntu 7.10 with 
the restricted nvidia driver which was available there but it dose not 
work anymore with Ubuntu 8.04 :-(

Any pointers advice or help are really appreciated.

Here is my full xorg.conf:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd at yellow)  Tue Mar  4 20:28:57 
UTC 2008

Section "ServerLayout"
     Identifier     "X.org Configured"
     Screen      0  "Screen0" 0 0
     InputDevice    "Mouse0" "CorePointer"
     InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
     RgbPath         "/etc/X11/rgb"
     ModulePath      "/usr/lib/xorg/modules"
     FontPath        "/usr/share/fonts/X11/misc"
     FontPath        "/usr/share/fonts/X11/cyrillic"
     FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
     FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
     FontPath        "/usr/share/fonts/X11/Type1"
     FontPath        "/usr/share/fonts/X11/100dpi"
     FontPath        "/usr/share/fonts/X11/75dpi"
     FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
     Load           "glx"
     Load           "GLcore"
     Load           "record"
     Load           "dbe"
     Load           "xtrap"
     Load           "dri"
     Load           "extmod"
EndSection

Section "ServerFlags"
     Option         "Xinerama" "0"
EndSection

Section "InputDevice"
     Identifier     "Keyboard0"
     Driver         "kbd"
EndSection

Section "InputDevice"
     Identifier     "Mouse0"
     Driver         "mouse"
     Option         "Protocol" "auto"
     Option         "Device" "/dev/input/mice"
     Option         "ZAxisMapping" "4 5 6 7"
EndSection

#Section "Monitor"
#    Identifier     "Monitor0"
#    VendorName     "Unknown"
#    ModelName      "CRT-0"
#    HorizSync       28.0 - 33.0
#    VertRefresh     43.0 - 72.0
#EndSection

Section "Device"

         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "SWcursor"               # [<bool>]
         #Option     "HWcursor"               # [<bool>]
         #Option     "NoAccel"                # [<bool>]
         #Option     "ShadowFB"               # [<bool>]
         #Option     "UseFBDev"               # [<bool>]
         #Option     "Rotate"                 # [<str>]
         #Option     "VideoKey"               # <i>
         #Option     "FlatPanel"              # [<bool>]
         #Option     "FPDither"               # [<bool>]
         #Option     "CrtcNumber"             # <i>
         #Option     "FPScale"                # [<bool>]
         #Option     "FPTweak"                # <i>
         #Option     "DualHead"               # [<bool>]
#    Driver      "nv"
#    Option     "SecondMonitorHorizSync"   "UseEdidFreqs"
#    Option     "SecondMonitorVertRefresh" "UseEdidFreqs"
     Identifier     "Card0"
     Driver         "nvidia"
     VendorName     "nVidia Corporation"
     BoardName      "NV43 [GeForce 6600 GT]"
     Option         "TwinView" "1"
     Option         "MetaModes" "1280x1024,1280x1024"
#    Option     "TwinViewOrientation"      "RightOf"
     BusID          "PCI:1:0:0"
EndSection

Section "Device"
     Identifier     "Videocard0"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BoardName      "GeForce 6600 GT"
EndSection

Section "Screen"
     Identifier     "Screen0"
     Device         "Videocard0"
     Monitor        "Monitor0"
     DefaultDepth    24
     Option         "TwinView" "1"
     Option         "TwinViewXineramaInfoOrder" "CRT-0"
     Option         "metamodes" "CRT-0: 640x480 +0+0, CRT-1: 1280x1024 
+1280+0"
     SubSection     "Display"
         Depth       24
     EndSubSection
EndSection

Thomas




More information about the ubuntu-users mailing list