LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-17-2007, 09:54 PM   #16
tcomputerchip
Member
 
Registered: Sep 2004
Location: LA,California
Distribution: FC4, FC5smp, REL4, REL5
Posts: 58

Rep: Reputation: 15

Out of range is actually a good thing, that means your driver is probably loaded correctly.
You just need to find the correct settings for your display.

Your manual should have these, I had to go do a google search to find my monitor manual, then I found the correct settings.


Here is a quick tutorial on the xorg, probably good for anyone to do if you are not understanding xorg.conf file.
Code:
Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout":
If you notice I change it to say "single head configuration"
You can call this anything you want, as long as you call it correctly below.

Code:
Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
        ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
        ModulePath "/usr/lib/xorg/modules"
        FontPath        "unix/:7100"
EndSection
Section "Files":

Be careful here,in the files section that is, you want to make sure your ModulePath is pointing to the location your nvidia kernal module's had been built to. So, for my machine its in "xorg" (dont change this if its already set, if you have troubles with that path, try the "/usr/X11R6/lib/modules/", you must understand, linux has been trying on every release to get rid of this location.
On FC5+ I think everything should be in /usr/lib/xorg/modules/
Check the folder if you are not sure, if you see the nvidia files in the path, then use that path.


Code:
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
    Load           "type1"
EndSection
Section "Module":
All the above stuff is standard, you should not need to change it.
Make sure "dri" is not their, but you should already know that since you read the nvidia readme.txt (right


Code:
Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
    Identifier     "VSPF790"
    VendorName     "Monitor Vendor"
    ModelName      "ViewSonic PF790"
    HorizSync       30.0 - 97.0
    VertRefresh     50.0 - 180.0
    Option         "dpms"
EndSection
Section "Monitor"

@sreraku ...
This is section is for you, see above where it says monitor, then the identifier says "VSPF790"
This is the monitor ID that will be used with the device driver below.
So you need two of these with different names for each monitor, those are my settings, but be sure to use yours.


Code:
Section "Device"
        Identifier "default"
        VendorName "nv"
        Driver "nv"
EndSection
Section "Device"

This one is sometimes called: Video0 or something like that, I changed it to "default"
Again, if you make a change up here, you need to make the change down below too...


Code:
Section "Device"
    Identifier     "Single CRT"
    Driver         "nvidia"
    VendorName     "Videocard vendor"
    BoardName      "nVidia Corporation NV28GL [Quadro4 980 XGL]"
    Option         "IgnoreDisplayDevices" "DFP, TV"
    Option         "UseDisplayDevice" "CRT-1"
    Option         "metamodes"        "CRT-1: 1280x1024 +0+0"
    Option         "UseEDID"          "FALSE"
    Option         "Composite"        "Disable"
    Option         "ConnectedMonitor" "CRT"
    Option         "NvAGP"            "3"
    Option         "CIOverlay"        "On"
    Option         "DPI"              "85x85"
#    Option         "MetaModes"        "1280x1024,1280x1024; 1024x768,1024x768"
EndSection
Section "Device":
This section is called "Single CRT" this is what I use when my nvidia driver loads my first display...

Code:
Section "Device"
        Identifier "Duel Display"
        VendorName "nvidia"
        Driver "nvidia"
        Option "TwinView"
        Option "SecondMonitorHorizSync"   "30.00-82.00"
        #BusID           "PCI:1:0:0"
        Option "CIOverlay"                "On"
        Option "CursorShadow"             "Off"
        Option "NvAgp"                    "3"
        Option "SecondMonitorVertRefresh" "50.00-85.00"
        Option "TwinViewOrientation"      "RightOf"
        Option "MetaModes"                "1280x1024,1280x1024; 1024x768,1024x768"
        Option "DPI"                      "85x85"

EndSection
Section "Device":
Identifier "Duel Display":
Ok, now this is what you need to pay attention too, see this section, I have called it "Duel Display"
This now allows me to use "Duel Display" on my machine, I could call this "My Display" or anything else, as long as I call it the same when I used the driver below.

Code:
Section "Screen"
    Identifier     "Screen0"
    #  Device         "default" #use standard xorg nv drivers
    Device         "Single CRT" #use custom nvidia drivers  
    
    #Enable this for duel display settings
    #Device "Dual Display" #Duel Display settings, see settings above

    Monitor        "VSPF790" #notice VSPF790 matches the ID above...
    DefaultDepth    24
    #Option         "IgnoreDisplayDevices" "DFP, TV"
    #Option         "UseDisplayDevice" "CRT-1"
    #Option         "metamodes"        "CRT-1: 1280x1024 +0+0"
    #Option         "UseEDID"          "FALSE"
    #Option         "Composite"        "Disable"
    #Option         "ConnectedMonitor" "CRT"
    #Option         "NvAGP"            "3"
    #Option         "CIOverlay"        "On"
    #Option         "DPI"              "85x85"
    #Option         "MetaModes"        "1280x1024,1280x1024; 1024x768,1024x768"
    #Option         "DPI"              "85x85"

    SubSection     "Display"
        Viewport    0 0
        Depth       24 
        Modes      "1280x1024"
    EndSubSection
EndSection
# Device "default" #use standard xorg nv drivers
Device "Single CRT" #use custom nvidia drivers

#Enable this for duel display settings
#Device "Dual Display" #Duel Display settings, see settings above
Monitor "VSPF790" #notice VSPF790 matches the ID above...
This section is the reason for me doing this, you can change out the "default"
and "Single CRT", "Duel Display" now just by uncommenting one, and commenting the old one.
In this example I would be using ONLY the "Single CRT" setting


Ok, the above settings are settings that I used, this may vary depending on the machine, that is why I did this little tutorial.
To show all the different ways to construct your xorg.conf file

#Option "UseDisplayDevice" "CRT-1"
#Option "metamodes" "CRT-1: 1280x1024 +0+0"
These two lines are most important on duel display configurations.
CRT-1 means I am attached to head two on the graphics card
CRT-0 means I am attached to head one on the graphics card

Last edited by tcomputerchip; 01-17-2007 at 10:00 PM.
 
Old 01-17-2007, 10:04 PM   #17
tcomputerchip
Member
 
Registered: Sep 2004
Location: LA,California
Distribution: FC4, FC5smp, REL4, REL5
Posts: 58

Rep: Reputation: 15
One more thing to add.

For "Screen0" those settings would only apply to one display/graphics driver.
You would need to add: "Screen1" and have all those settings be for your second display.

I hope all that makes sense. But first things first, you should get a single head working.
 
Old 01-21-2007, 07:36 PM   #18
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 660

Original Poster
Rep: Reputation: 30
Well to make this even more interesting I now have 3 monitors (Viewsonic VP171b) and two video cards, Nvidia Geforce FX5500 and FX5200... Any reply from Nvidia?
 
  


Reply

Tags
blank, freeze, nvidia, startx, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AIGLX and NVidia (9746) on Mandriva One Gnome Philosopher Mandriva 0 12-26-2006 02:24 PM
nvidia drivers & startx, resolution problems. sueisfine Linux - Hardware 1 08-23-2004 05:24 AM
nvidia 6106 drivers on 2.6.7, screen goes blank after startx Cipher3D Slackware 2 07-30-2004 06:00 AM
nvidia module does not load automaticly with startx shadowhunter Linux - Newbie 6 02-08-2004 04:52 PM
Nvidia Drivers Upgraded and now no startx admedic Linux - Newbie 5 08-14-2002 07:42 PM


All times are GMT -5. The time now is 08:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration