Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dell 2005FPW and Dell Inspiron 2560 Dual-Head fantasticness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kawlin
n00b
n00b


Joined: 18 Dec 2003
Posts: 12

PostPosted: Wed Jun 01, 2005 8:27 pm    Post subject: Dell 2005FPW and Dell Inspiron 2560 Dual-Head fantasticness Reply with quote

Hi. I wanted to post the configuration that I used to get my Inspiron 2560 to work with the nvidia drivers and my widscreen monitor (dell 2005FPW) because I've found a bunch of really long threads with such information, but nothing concise. Here goes:

This set-up pretty much works (text is a little flickery in X on the widescreen). Note that the laptop display can only handle up to 1024x768 (I think, anway), so I've added panning domain parameters to the meta-modes line of the nvidia drivers option section. (Getting the nvidia stuff to work with TwinView (their dual-head implementation) is not terribly hard once you read the documentation at /usr/share/doc/nvidia-kernel-1.0.xxxx-rx/README.gz), note that lots of things can open compressed texts (i used "less").

My junk: P4 1.4Ghz, Nvidia GeForce2 Go, Gentoo 2.4.24

FIRST: there has been much discussion of the newer nVidia drivers not working properly with the older cards. the thing that most people got to work was to downgrade to nvidia-kernel version 1.0.6111 (ie. emerge it by the path). without doing this, i couldn't get X to display on a single screen. Also, AGP support had to be removed from the kernel (the nvidia card has it's own agp support, it's turned on in the xorg.conf file).

Things I did that may or may not have been necessary: removed advanced power management junk in my kernel.

THEN: I used this Xorg.conf to get dual displays:

Code:

Section "ServerLayout"
   Identifier     "Dual-Head"
   Screen      0  "DualHeadScreen" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Mouse1" "SendCoreEvents"
EndSection

Section "ServerFlags"
   Option "Xinerama" "false" #need to turn this off to use nvidia's TwinView xinerama extensions
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "glx"
   Load  "extmod"
   #Load  "dri"  #the nvidia docs say to disable this, but i'm not sure whether or not it's necessary
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "type1"
   Load  "freetype"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/mouse"
EndSection

Section "InputDevice"
        #USB Mouse
   Identifier "Mouse1"
   Driver "mouse"
   Option "SendCoreEvents"
   Option "Protocol" "IMPS/2"
   Option "Device" "/dev/input/mice"
   Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier   "Internal"
   VendorName   "Dell"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier  "External"
   VendorName  "Dell"
   ModelName   "2005FPW"
   DisplaySize 430 270
   UseModes "16:10"
   VertRefresh 56.0 - 75.0
   HorizSync 30.0 - 83.0
   Option "dpms"
EndSection

Section "Modes"
        #this modeline might not be completely correct. I have found conflicting ones.
   Identifier "16:10"
   ModeLine "1680x1050" 146.2 1680 1784 1968 2256 1050 1051 1054 1087 -hsync -vsync
EndSection

Section "Device"
        #even though I'm really using 2 DFP's,
        #since I'm not using DVI to connect to the external one,
        #it is seen by the card as a CRT.
        Option     "NvAGP" "1"  #this tells the card to use its own AGP stuff              
        Option     "RenderAccel" "true"   
        Option     "TwinView" "true"           
        Option     "TwinViewOrientation" "CRT-0 RightOf DFP-0"  #this says that my external monitor will be placed to the right of my laptop         
        Option     "SecondMonitorHorizSync" "UseEdidFreqs"    #these lines tell the card to probe my internal monitor for freq values, read the
        Option     "SecondMonitorVertRefresh" "UseEdidFreqs"    # nvidia documentation for more info (/usr/share/doc/nvidia-kernel-blah/)
        Option     "MetaModes" "DFP-0: 1024x768 @1024x1050, CRT-0: 1680x1050"     #the "@" here says that the laptop display will be able to
                                                                                                                                        #pan down to 1050 pixels, so it can see the whole length       
                                                                                                                                        #of the other monitor.
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV11 [GeForce2 Go]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   #note: when using dual-head with nvidia chips in a laptop,
   #the external monitor becomes the primary display, so set it's values here and
   #set the internal values in the nvidia device options above.
   Identifier "DualHeadScreen"
   Device     "Card0"
   Monitor    "External"
   DefaultDepth 16
   SubSection "Display"
      Viewport   0 0
      Modes "1680x1050"
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Modes "1680x1050"
      Depth     24
   EndSubSection
EndSection


My screen still flickers like a banshee when i shutdown the X server. Don't know how (or care?) to fix this. Any suggestions, comments, etc.? yeah. i'm bored

colin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum