LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dual Monitor nVidia 5200 (https://www.linuxquestions.org/questions/linux-hardware-18/dual-monitor-nvidia-5200-a-635233/)

nfawcett81 04-14-2008 08:23 AM

Dual Monitor nVidia 5200
 
My dual monitors work in the fact I can maximize applications to both screens and drag them from one to another. So working in gnome works with no problem. But if I use an application like Tux Racer where it uses true full screen it splits between both monitors. Any idea how to tweak this to open to a single monitor? I have a dual head geforce 5200.

lspci:
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

xorg.conf:

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E172FP"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "DELL E172FP"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: 1280x1024 +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

leonscape 04-15-2008 05:14 PM

I've found the only way to get everything working properply was not to use TwinView but Xinerama. My setup is tripple headed but with two screen it would look something like this...
Code:

Section "Device"
        Identifier        "Nvidia GeForce 7950GT 1"
        Driver                "nvidia"
        Option                "RenderAccel" "true"
        Option                "NoLogo" "true"
        Option                "AllowGLXWithComposite" "true"
        Option                "BackingStore" "true"
        BusID                "02:00:0"
        Screen                0
EndSection

Section "Device"
        Identifier        "Nvidia GeForce 7950GT 2"
        Driver                "nvidia"
        Option                "RenderAccel" "true"
        Option                "NoLogo" "true"
        Option                "AllowGLXWithComposite" "true"
        Option                "BackingStore" "true"
        BusID                "02:00:0"
        Screen                1
EndSection

Section "Screen"
        Identifier        "Centre"
        Device                "Nvidia GeForce 7950GT 1"
        Monitor                "Samsung 1100MB"
        DefaultDepth        24
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "Left"
        Device                "Nvidia GeForce 7950GT 2"
        Monitor                "Samsung 920N 1"
        DefaultDepth        24
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Centre"
        Screen                "Left" LeftOf "Centre"
EndSection


nfawcett81 04-16-2008 08:25 AM

found solution
 
I finally got it working the way I want it to. I actually shortened up my config. But what really did it was the MetaModes by putting in some NULL statements.

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E172FP"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 70.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
Option "TwinView" "true"
Option "MetaModes" "DFP-0: 1280x1024, DFP-1: 1280x1024; DFP-0: 1280x1024, DFP-1: NULL; DFP-0: NULL, DFP-1: 1280x1024"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "31.5-79.0"
Option "SecondMonitorVertRefresh" "50.0-70.0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
EndSection

Pariah 05-27-2008 04:36 AM

I've also found an easy way to let X use 2 screens, be able to maximize to just one of the monitors, and still drag windows around both windows.

Just follow these steps:

1. Open nvidia-settings as root
2. Configure the second monitor as 'Seperate X screen'
3. Click the 'Save to X Configuration File'
4. Configure the second monitor as 'TwinView'
5. Click the 'Save to X Configuration File' and 'Apply'

You might have to reboot, but the settings in the xorg.conf file are now ok. This is because the NVidia settings tool creates an extra entry for the second monitor for step 2, and does not remove it for step 4...

Not really needed for this thread anymore, but it might be helpful for someone ;-)


All times are GMT -5. The time now is 10:36 PM.