Results 1 to 2 of 2

Thread: Triple Display xorg.con file PLEASE HELP!

  1. #1
    Join Date
    Dec 2007
    Beans
    3

    Triple Display xorg.con file PLEASE HELP!

    First let me give you an idea of my hardware.

    > Two 17" Inch monitors and one television
    > One nVidia 8500 GT with DVI, VGA, and S-Video/Composite output (Only supports dual display and dual VGA display)
    > One nVidia 8400 GS with DVI, VGA, S-Video output (supports dual display via VGA+DVI, doesn't do dual VGA)

    > both 17" monitors are connected to VGA and DVI ports on the 8500
    > television is connected to the s-video port on the 8400

    > also i would like to point out i have compiz installed and enable on Ubuntu 8.04 Hardy Heron

    I'm trying to get all three display to work, I've had success getting two to work.

    Here's the best xorg.conf file I could come up with. However it doesn't allow for the TV

    Code:
    ...
    Section "Device"
    	Identifier	"nVidia 8500 GT VGA"
    	Driver		"nvidia"
    	Option		"NoLogo"	"False"
    	Option		"TwinView"	"True"
    EndSection
    
    Section "Monitor"
    	Identifier	"SceptreX7G"
    	VendorName	"Sceptre"
    	ModelName	"X7G-Naga"
    EndSection
    
    Section "Screen"
    	Identifier	"Primary"
    	Monitor		"SceptreX7G"
    	Device		"nVidia 8500 GT VGA"
    	Defaultdepth	24
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	Screen		"Primary"
    EndSection
    
    Section "Module"
    	Load		"glx"
    EndSection

    This allows me to have both 17" monitors working, the way i need. windows are NOT spanned across both screens and i can move a window from one to another.

    when i try to add another screen to handle the television, i can get all three to work, however it produces undesirable output. then all of a sudden windows do span across both displays (highly undesirable), the tv works, but i cannot get any windows to come up on it. if i create a launcher on the new screen and try to run it comes on up the main display. basically the screen just sits there and looks pretty. also all of the menus and things become slow.

    Here is the xorg.conf (generated by nvidia-settings) file for this configuration

    Code:
    Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
    EndSection
    
    Section "Module"
        Load           "glx"
    EndSection
    
    Section "ServerFlags"
        Option         "Xinerama" "0"
    EndSection
    
    ...
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "SceptreX7G-Naga6"
        HorizSync       30.0 - 85.0
        VertRefresh     56.0 - 76.0
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor1"
        VendorName     "Unknown"
        ModelName      "TV-0"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
    EndSection
    
    Section "Device"
        Identifier     "Videocard0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 8500 GT"
        BusID          "PCI:1:0:0"
    EndSection
    
    Section "Device"
        Identifier     "Videocard1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 8400 GS"
        BusID          "PCI:4:0:0"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Videocard0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "1"
        Option         "TwinViewXineramaInfoOrder" "CRT-0"
        Option         "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1280+0"
    EndSection
    
    Section "Screen"
        Identifier     "Screen1"
        Device         "Videocard1"
        Monitor        "Monitor1"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "nvidia-auto-select +0+0"
    EndSection
    Basically all i need the tv for is display video, be it from a DVD, a DivX/xVid, or flash video streamed from hulu.com

    any help in getting this matter fixed will highly appreciated. this is basically the only thing thats keeping from fully converting over to linux right now.

    i'm almost tempted to forget about the second gpu and buy a VGA to TV converter box.

  2. #2
    Join Date
    Dec 2007
    Beans
    3

    Re: Triple Display xorg.con file PLEASE HELP!

    Well... I solved this problem a couple of weeks ago. Not entirely sure how I ever managed to get it to work, but basically I used nvidia-settings-manager, enabled one LCD, and the tv applied the settings, then went back and enabled the second LCD. Also, enablgin Compiz seems to take care of most of the issues with windows spanning across both LCDs

    here is my new xorg.conf

    Code:
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 800 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
    EndSection
    
    Section "Module"
        Load           "dbe"
        Load           "extmod"
        Load           "type1"
        Load           "freetype"
        Load           "glx"
    EndSection
    
    Section "ServerFlags"
        Option         "Xinerama" "0"
    EndSection
    
    Section "InputDevice"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
    
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "CRT-0"
        HorizSync       30.0 - 85.0
        VertRefresh     56.0 - 76.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor1"
        VendorName     "Unknown"
        ModelName      "TV-0"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Videocard0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 8500 GT"
        BusID          "PCI:1:0:0"
    EndSection
    
    Section "Device"
        Identifier     "Videocard1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 8400 GS"
        BusID          "PCI:4:0:0"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Videocard0"
        Monitor        "Monitor0"
        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"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "Screen1"
        Device         "Videocard1"
        Monitor        "Monitor1"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "800x600 +0+0"
    EndSection

    There are regrettably still a few issues I have, though they are tolerable. If you open something with gksu (i.e. opening any of the configurations under System->Administration) then the password prompt is centered between both LCDs, which i find mildly annoying. The same applies for the dialog that is brought up when hitting the logout button.

    Also, in order to stop the slowness of the menus... instead of enabling compiz with Change Desktop Background->Visual Effects. You need to set that to disabled, and add compiz manually to your sessions like so


    Code:
    compiz --display :0.0 --only-current-screen --replace &
    This will prevent compiz from running on your third monitor and will prevent the slowness of the menus. Luckily i don't need or even want visual effects on my third display (tv). I just use it for watching movies.

    If you guys have any questions about displays... don't hesitate to send me message, I've become quite adept at configuring displays now...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •