Announcement

Collapse
No announcement yet.

Dual Monitor Difficulties

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Dual Monitor Difficulties

    I've got Dapper 6.06, the latest kernel, and I just installed nvidia-glx. Afterwards, I ran nvidia-xconfig and then rebooted. I now have 3D acceleration, and a full range of resolutions available, but only on my first monitor. I have a second monitor, and a 7900GT, but the driver is apparently not even detecting the second monitor. In the Display settings, the entire Monitor Orientation section is greyed out. I ran nvidia-settings, and in the sections regarding monitors, there is only one monitor listed. How can I configure the nvidia driver(or xorg.conf) to recognize both of my monitors?

    #2
    Re: Dual Monitor Difficulties

    I attempted to modify my xorg.conf, here is what it looks like right now(X won't start with this xorg.conf, so obviously I'm doing something wrong; I have excluded some sections such as the input devices and files)

    Code:
    Section "ServerLayout"
     Identifier "Default Layout"
     screen 0 "Default Screen" 0 0
     screen 1 "Secondary Screen" RightOf 0
     InputDevice "Generic Keyboard"
     InputDevice "Configured Mouse"
     InputDevice "stylus" "SendCoreEvents"
     InputDevice "cursor" "SendCoreEvents"
     InputDevice "eraser" "SendCoreEvents"
    EndSection
    
    Section "Module"
     Load "i2c"
     Load "bitmap"
     Load "ddc"
     Load "extmod"
     Load "freetype"
     Load "int10"
     Load "type1"
     Load "vbe"
     load "glx"
     load "v4l"
    EndSection
    
    Section "Monitor"
     identifier "P95f+-2"
     vendorname "ViewSonic"
     modelname "ViewSonic P95f+-2"
     HorizSync 30-110
     VertRefresh 50-160
     modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
     modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
     modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
     modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
     modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
     modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
     modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
     modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
     modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
     modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
     modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
     modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
     modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
     modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
     modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
     modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
     modeline "1152x768@54" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
     modeline "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
     modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
     modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
     modeline "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
     modeline "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
     modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
     modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
     modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
     modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
     modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
     modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
     modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
     modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
     modeline "1600x1200@85" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
     modeline "1792x1344@75" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
     modeline "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
     modeline "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
     modeline "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
     modeline "2048x1536@60" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync
     gamma 1.0
    EndSection
    
    Section "Monitor"
     identifier "DellMonitor"
    EndSection
    
    Section "Device"
     identifier "NVIDIA Corporation NVIDIA Default Card"
     boardname "nv"
     busid "PCI:1:0:0"
     driver "nvidia"
     screen 0
    EndSection
    
    Section "Device"
     Identifier "NVIDIA Corporation NVIDIA Default Card"
     boardname "nv"
     busid "PCI:1:0:0"
     driver "nvidia"
     screen 1
    EndSection
    
    Section "Screen"
     Identifier "Default Screen"
     Device "NVIDIA Corporation NVIDIA Default Card"
     Monitor "P95f+-2"
     DefaultDepth 24
     SubSection "Display"
      depth 24
      virtual 2048 1536
      modes "1280x1024@85" "1280x1024@60" "1280x960@85" "1280x960@75" "1280x960@60" "1400x1050@60" "1280x1024@75" "1400x1050@75" "1280x854" "1600x1200@65" "1152x768@54" "1600x1200@60" "1152x864@75" "1600x1200@75" "1024x768@43" "1600x1200@70" "1024x768@60" "1600x1200@85" "1024x768@70" "1792x1344@75" "1024x768@75" "1792x1344@60" "1024x768@85" "1856x1392@60" "832x624@75" "1920x1440@60" "800x600@60" "2048x1536@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
     EndSubSection
    EndSection
    
    Section "Screen"
     Identifier "Secondary Screen"
     Device "NVIDIA Corporation NVIDIA Default Card"
     Monitor "DellMonitor"
     DefaultDepth 24
     SubSection "Display"
      depth 24
      virtual 1280 1024
     EndSubSection
    EndSection
    
    Section "ServerFlags"
    EndSection
    
    Section "Extensions"
     Option "Composite" "Enable"
    EndSection

    Comment


      #3
      Re: Dual Monitor Difficulties

      I don't know the answer, but I suggest that you also include the error messages you are getting when you attempt to startx. Many times that will point to the line with the error.

      Comment


        #4
        Re: Dual Monitor Difficulties

        X starts just fine, my second monitor is just not being detected. And I'm not sure what you mean by startx, X starts when I start my computer, as far as I know I'm not having any errors. I just need a way to tell X theres a second monitor.

        Comment


          #5
          Re: Dual Monitor Difficulties

          Post your /var/log/Xorg.0.log file

          Comment


            #6
            Re: Dual Monitor Difficulties

            Here's the log file.
            Attached Files

            Comment


              #7
              Re: Dual Monitor Difficulties

              The log file makes no mention of the second monitor or GPU device at all (yes I know it's one gpu, but it's treated as two).

              ARGHHHHHHH, It's staring me in the face

              Code:
              Section "Device"
               identifier "NVIDIA Corporation NVIDIA Default Card"
               boardname "nv"
               busid "PCI:1:0:0"
               driver "nvidia"
               screen 0
              EndSection
              
              Section "Device"
               Identifier "NVIDIA Corporation NVIDIA Default Card"
               boardname "nv"
               busid "PCI:1:0:0"
               driver "nvidia"
               screen 1
              EndSection
              should be
              Code:
                identifier "NVIDIA Corporation NVIDIA Default Card0"
               boardname "nv"
               busid "PCI:1:0:0"
               driver "nvidia"
               screen 0
              EndSection
              
              Section "Device"
               Identifier "NVIDIA Corporation NVIDIA Default Card1"
               boardname "nv"
               busid "PCI:1:0:0"
               driver "nvidia"
               screen 1
              EndSection
              and likewise the corresponding screen sections get the unique identifiers too.

              Comment


                #8
                Re: Dual Monitor Difficulties

                Thanks for all the help, got it working

                Comment


                  #9
                  Re: Dual Monitor Difficulties

                  If I do this, will it always expect to see the second monitor? I am asking because I have a laptop with an external VGA port that I occasinally connect to an external monitor. What will happen if I make the above changes and then later disconnect the other monitor?

                  Comment


                    #10
                    Re: Dual Monitor Difficulties

                    You'd have to restart X, but it should notice it's not there, it does when the plug falls out of my KVM switch. Other than that you should be able to change screenmode yourself with ctrl-alt-numpad_plus/numpad_minus.

                    Comment


                      #11
                      Re: Dual Monitor Difficulties

                      Well, I tried what you said above and X would not start. It wenth through the bootup with all the hardware list and the OK after each and then it just went back to the bluke Kubuntu logo and froze.

                      Here is my xorg.conf file (the pertinent parts)
                      Code:
                      Section "Device"
                      	Identifier	"NVIDIA Corporation NV41.8 [GeForce Go 6800] 0"
                      	Driver		"nvidia"
                      	BusID		"PCI:1:0:0"
                      	Option		"RenderAccel" "true"
                      	Option 		"AllowGLXWithComposite" "true"
                      	Screen		0
                      EndSection
                      
                      Section "Device"
                      	Identifier	"NVIDIA Corporation NV41.8 [GeForce Go 6800] 1"
                      	Driver		"nvidia"
                      	BusID		"PCI:1:0:0"
                      	Option		"RenderAccel" "true"
                      	Option 		"AllowGLXWithComposite" "true"
                      	Screen		1
                      EndSection
                      
                      Section "Monitor"
                      	Identifier	"Generic Monitor"
                      	Option		"DPMS"
                      	HorizSync	28-96
                      	VertRefresh	43-60
                      EndSection
                      
                      Section "Screen"
                      	Identifier	"Default Screen 0"
                      	Device		"NVIDIA Corporation NV41.8 [GeForce Go 6800]"
                      	Monitor		"Generic Monitor"
                      	DefaultDepth	24
                      	SubSection "Display"
                      		Depth		1
                      		Modes		"1920x1200"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		4
                      		Modes		"1920x1200"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		8
                      		Modes		"1920x1200"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		15
                      		Modes		"1920x1200"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		16
                      		Modes		"1920x1200"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		24
                      		Modes		"1920x1200"
                      	EndSubSection
                      EndSection
                      
                      Section "Screen"
                      	Identifier	"Default Screen 1"
                      	Device		"NVIDIA Corporation NV41.8 [GeForce Go 6800]"
                      	Monitor		"Generic Monitor"
                      	DefaultDepth	24
                      	SubSection "Display"
                      		Depth		1
                      		Modes		"128x1024"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		4
                      		Modes		"128x1024"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		8
                      		Modes		"128x1024"
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		15
                      		Modes		"128x1024""
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		16
                      		Modes		"128x1024""
                      	EndSubSection
                      	SubSection "Display"
                      		Depth		24
                      		Modes		"128x1024""
                      	EndSubSection
                      EndSection
                      
                      Section "ServerLayout"
                      	Identifier	"Default Layout"
                      	Screen		"Default Screen"
                      	InputDevice	"Generic Keyboard"
                      	InputDevice	"Configured Mouse"
                      	InputDevice   "stylus" "SendCoreEvents"
                      	InputDevice   "cursor" "SendCoreEvents"
                      	InputDevice   "eraser" "SendCoreEvents"
                      	InputDevice	"Synaptics Touchpad"
                      EndSection
                      
                      Section "DRI"
                      	Mode	0666
                      EndSection
                      
                      Section "Extensions"
                      	Option 		"Composite" "Enable"
                      EndSection

                      Comment


                        #12
                        Re: Dual Monitor Difficulties

                        Hopefully this is an easy one, as I am not an expert in X, but have had problems like this myself in the past.

                        It looks to me that the problem is simply that your screen sections call up devices that don't exist. The devices correctly have "NVIDIA Corporation NV41.8 [GeForce Go 6800] 0" and "NVIDIA Corporation NV41.8 [GeForce Go 6800] 1" as the identifier strings (which can be any name you like, as long as it is different for each) but the screen sections both call for "NVIDIA Corporation NV41.8 [GeForce Go 6800]" which has not been defined. Juts put in the 0 and 1, observing spaces, and it should work.

                        Or you could rename then "fred" and "jim" for example, as long as you do it in both places.

                        I also think that 128x1024 should be 1028x1024 unless you have a very peculiar screen!

                        Comment


                          #13
                          Re: Dual Monitor Difficulties - minor correction

                          I meant 1280x1024! But you will know what your monitors can do anyway.

                          Comment

                          Working...
                          X