LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   XF86 - Dual head Nvidia problem (https://www.linuxquestions.org/questions/linux-general-1/xf86-dual-head-nvidia-problem-161046/)

Saak 03-22-2004 02:48 PM

XF86 - Dual head Nvidia problem
 
Hello everone,
im new to the forums.

I did a fresh install today, and had to reconfigure my XF86Config-4.
After i had installed the nvidia drivers, i started altering the config file for a dual head setup.
Now my first monitor is correct, but my second one is doing real strange (it looks really bad, with stripes and flashy stuff)
I have the refreshrates from the manual, turning xinerama on/off doesnt work.

When XFree86 configured the XF86Config-4 for me, the second monitor was working well, here's how it was:

Code:

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "GLcore"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "record"
        Load        "speedo"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "PS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "geforce4"
        Driver                "vesa"
EndSection

Section "Monitor"
        Identifier        "Monitor0"
        HorizSync        30-107
        VertRefresh        85-100
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Screen0"
        Device                "geforce4"
        Monitor                "Monitor0"
        DefaultDepth        16
        SubSection "Display"
                Depth                1
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Screen0"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

With the above setup, both monitors are working well, on a 1024x768 resolution.
After altering its now like this:

Code:

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
#        Load        "GLcore"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
#        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "record"
        Load        "speedo"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "PS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "geforce40"
        Driver                "nvidia"
        BusID                "PCI:1:0:0"
        Screen                0
EndSection

Section "Device"
        Identifier        "geforce41"
        Driver                "nvidia"
        BusID                "PCI:01:00:0"
        Screen                1
EndSection

Section "Monitor"
        Identifier        "Monitor0"
        HorizSync        30-107
        VertRefresh        85-100
        Option                "DPMS"
EndSection

Section "Monitor"
        Identifier        "Monitor1"
        HorizSync        30-107
        VertRefresh        85-100
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Screen0"
        Device                "geforce40"
        Monitor                "Monitor0"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "Screen1"
        Device                "geforce41"
        Monitor                "Monitor1"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768"
        EndSubSection
EndSection


Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                0 "Screen0"
        Screen                1 "Screen1" RightOf "Screen0"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
        Option                "xinerama" "on"
EndSection

Its not working :( I tried everything :confused:
As you can see, the 2nd monitor is working in the first config on 1024x768 with the same settings.
Changing depth doesnt work, other refresh rates doesnt work.

Can someone help me with this?

Thanks!!

AutOPSY 03-22-2004 03:38 PM

you were supposed to backup your working XF86Config file.

Saak 03-22-2004 04:12 PM

Quote:

Originally posted by AutOPSY
you were supposed to backup your working XF86Config file.
You're so right :(
But i didnt expect this to be such a problem, configuring it should normally take 10 min or so :rolleyes:

Saak 03-23-2004 03:48 PM

Anyone got a clue why my new XF86config is wrong?

Saak 03-24-2004 01:05 PM

Last bump ;)

skel 03-24-2004 04:30 PM

TwinView doesn't work like xinerama.

You don't set up the monitors and positions seperately, also, you should move the xinerama option entirely.

ok, remove your geforce41 device, and change the geforce40 device to look like:

Code:

Section "Device"
  Identifier "geforce40"
  VendorName "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"

  #Twinview setup
  Option "TwinView"
  Option "SecondMonitorHorizSync "30-107"
  Option "TwinViewOrientation"      "LeftOf"
  Option "85-100"
  Option "MetaModes" "1024x768,1024x768"
  Option "ConnectedMonitor" "crt,crt"
EndSection

and change the server layout section to look like this:
Code:

Section "ServerLayout"
  Identifier "Default Layout"
  Screen "Screen0"
  InputDevice "Generic Keyboard"
  InputDevice "Configured Mouse"
EndSection

you can also remove the Screen1 and Monitor1 sections, this should probabyl work, if not then check the readme and fiddle with it a bit

Saak 03-27-2004 06:23 PM

Hello
skel, thx for your reply.

But twinview is not what im want to use, only xinerama is.
And xinerama is working well, the problem is my 2nd monitor.

This is from the nvidia readme for setting up dual monitors using xinerama:
ftp://download.nvidia.com/XFree86/Li....0-5336/README (see appendix R)

Code:

To configure two separate X screens to share one graphics chip, here is
what you will need to do:

First, create two separate Device sections, each listing the BusID of
the graphics card to be shared, each listing the driver as "nvidia",
and assign each a separate screen:


    Section "Device"
        Identifier  "nvidia0"
        Driver      "nvidia"
        # Edit the BusID with the location of your graphics card
        BusID      "PCI:2:0:0"
        Screen      0
    EndSection

    Section "Device"
        Identifier  "nvidia1"
        Driver      "nvidia"
        # Edit the BusID with the location of your graphics card
        BusId      "PCI:2:0:0"
        Screen      1
    EndSection


Then, create two Screen sections, each using one of the Device sections:


    Section "Screen"
        Identifier  "Screen0"
        Device      "nvidia0"
        Monitor    "Monitor0"
        DefaultDepth 24
        Subsection "Display"
            Depth      24
            Modes      "1600x1200" "1024x768" "800x600" "640x480"
        EndSubsection
    EndSection

    Section "Screen"
        Identifier  "Screen1"
        Device      "nvidia1"
        Monitor    "Monitor1"
        DefaultDepth 24
        Subsection "Display"
            Depth      24
            Modes      "1600x1200" "1024x768" "800x600" "640x480"
        EndSubsection
    EndSection


(note: you'll also need to create a second Monitor section)

Finally, update the ServerLayout section to use and position both Screen
sections:


    Section "ServerLayout"
        ...
        Screen        0 "Screen0"
        Screen        1 "Screen1" leftOf "Screen0"
        ...
    EndSection


For further details, please refer to the XF86Config manpage.

Followed the instructions, read the man page(s), double checked the busID, but still my second monitor wont work correctly!

Any help would really be appriciated!

greetings


All times are GMT -5. The time now is 11:53 AM.