LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Is TwinView Possible With 2 Seperate Video Cards? (https://www.linuxquestions.org/questions/slackware-14/is-twinview-possible-with-2-seperate-video-cards-279989/)

TruANTOlogy 01-19-2005 11:45 PM

Is TwinView Possible With 2 Seperate Video Cards?
 
Hey All,
First Post!! (I'm A Gnu-b)

I have PCI AND An agp nVidia Cards (GeForce 2 MX440's)

I want to be able to set up TwinView with them and am having great difficulties.

The best i can do is to have 2 Seperate X's up (Both have seperate wallpapers and kickers)

I want to be able to set it up so that X doesnt even know its two monitors (Like TwinView on a GeForce FX 5700 Ultra)

Any Ideas?

Included Is My Xorg.Conf

Thanks,
Truant


Code:

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

    Load        "dbe"          # Double buffer extension
   
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
    Load      "glx"
#    Load      "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    RgbPath        "/usr/X11R6/lib/X11/rgb"

    FontPath  "/usr/X11R6/lib/X11/fonts/local/"
    FontPath  "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath  "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath  "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath  "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier        "Keyboard1"
    Driver        "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"        "xorg"
    Option "XkbModel"        "pc101"
    Option "XkbLayout"        "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"          "IMPS/2"
    Option "Device"                "/dev/mouse"
    Option "ZAxisMapping"        "4 5"
#    Option "Resolution"        "256"

EndSection


#***********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "Dell M991"
    HorizSync  30-96
    VertRefresh 50-160
EndSection

Section "Monitor"
    Identifier        "Packard Bell 3020"
    HorizSync        30-69
    VertRefresh        50-160
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "nVidia (AGP)"
    Driver      "nvidia"
    BoardName  "NV11 [GeForce2 MX/MX 400]"
    BusID        "PCI:1:0:0"
EndSection

Section "Device"
    Identifier        "nVidia (PCI)"
    Driver        "nvidia"
    BoardName  "NV18 [GeForce4 MX 440 AGP 8x]"
    BusID        "PCI:0:12:0"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 1"
    Device      "nVidia (AGP)"
    Monitor    "Dell M991"
    DefaultDepth 24

    Subsection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 2"
    Device      "nVidia (PCI)"
    Monitor    "Packard Bell 3020"
    DefaultDepth 16

    Subsection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "Screen 1"
    Screen "Screen 2" RightOf "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


tw001_tw 01-20-2005 12:34 AM

If by TwinView, you mean Xinerama (1 big desktop):

In your xorg.conf file:


Add this line in your ServerFlags section:
Quote:

Section "ServerFlags"

Option "Xinerama" "true"
and add 1 line here:

Quote:

Section "ServerLayout"

Identifier "Simple Layout"
Screen "Screen 1"
Screen "Screen 2" RightOf "Screen 1"
# ADD THE FOLLOWING LINE
Option "Xinerama" "true"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
This what your looking for?
-tw

EDITED: I double checked, I think thats all your missing. - good luck

acid_kewpie 01-20-2005 03:11 AM

TwinView is a hardware feature in the NVidia cards, it only works on dual head NVidia cards, not any random cards. As above, use Xinerama.

TruANTOlogy 01-20-2005 06:18 PM

Thank you both!!!

It worked splenditly!

now i just have to find out how to upgrade my version of krandtray - a part of kdebase....thing is, i dont seem to see a "./configure" script when i download the source.

Anyway, thanks again!,
Truant

DavidPhillips 01-20-2005 08:14 PM

Do you have a Makefile?


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