LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2006, 11:12 AM   #1
Factor[Y]
LQ Newbie
 
Registered: Aug 2005
Location: Lithuania
Distribution: Slackware 11
Posts: 9

Rep: Reputation: 0
nvidia drivers on slackware 11


So i have installed nvidia drivers on my box..every step on installation went perfect..no errors..no crap..i was so exited..i'd never had so good experiance when installing nvidia drivers on ubuntu..but there came the reboot..everything was looking fine..nvidia logo..and perfomance..but then when i wanted to change my resolution i released that there is no chois for me..i only have 800x600@85Hz..any ideas felows?
p.s. i have changed the vertical and horizontal sync rates..
 
Old 11-28-2006, 11:21 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Something like this is also part of the X configuration file. Just edit the modes line to suite your needs. It's sufficient to do it for the default depth (usually 24).
Code:
    SubSection     "Display"
        Depth       24
        Modes      "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
You might find that the nvidia driver will refuse to use higher refresh rates than your monitor can handle. In that case you can add the bold line in the device section is shown below.
Code:
Section "Device"
    Identifier     "Generic Video Card"
    Driver         "nvidia"
    Option         "UseEdidFreqs" "false"
EndSection
 
Old 11-28-2006, 11:48 AM   #3
Factor[Y]
LQ Newbie
 
Registered: Aug 2005
Location: Lithuania
Distribution: Slackware 11
Posts: 9

Original Poster
Rep: Reputation: 0
I try to do everything you advised to me..and now my box don't even start X.. and i can't even go to console..now looking for my live cd..
 
Old 11-28-2006, 09:57 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Glad you're still smiling. When booting and the Lilo screen appears, you can try to start Linux in single user mode by typing Linux single Never tried it in Slack, so not sure if it works.
 
Old 11-28-2006, 10:09 PM   #5
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 10
Posts: 1,272

Rep: Reputation: 81
Hi.

I am running slackware 11 with the nvidia drivers.
I will post the relevant portions of my xorg.conf
Please note that the refresh rates are for my monitor (viewsonic A90f+).
Your vertical and horizontal rates may need to be different.
Lines starting with # are commented out.
Code:
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

     Identifier  "ViewSonic A90f+"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

     HorizSync 31-120

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

     VertRefresh 50-180
     Option      "dpms"         "true"
     Option      "UseEdidDpi"   "false"

#    calc: [96 DPI : 3.8], [100 DPI : 3.96], [104 DPI : 4.12]
#    96 / 25.25 = 3.8  100 / 25.25 = 3.96  104 / 25.25 = 4.12  
#
#    DisplaySize 168 126 # 96 DPI @ 640x480
#    DisplaySize 210 157 # 96 DPI @ 800x600

#    DisplaySize 270.3 202.1 #  96 DPI @ 1024x768
#    DisplaySize 258.6 193.9 # 100 DPI @ 1024x768
#    DisplaySize 256.0 192.0 # 101 DPI @ 1024x768

     DisplaySize 303.2 227.4 # 96 DPI @ 1152x864
#    DisplaySize 336 252     # 96 DPI @ 1280x960
#    DisplaySize 336 269     # 96 DPI @ 1280x1024 (non 4:3 aspect)
#    DisplaySize 420 315     # 96 DPI @ 1600x1200


EndSection
Regarding the above section:
I like my resolution for fonts to be 96 dpi.
The "UseEdidDpi - false" section is needed or the DisplaySize lines are ignored.
I am currently running at 1152x864

Code:
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"

    Identifier  "nVidia"
#   Driver      "nv"
    Driver      "nvidia"
    
EndSection
Regarding the above section:
I am running the nvidia driver. The nv driver line is commented out (#)

Code:
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"

    Identifier  "Screen 1"
    Device      "nVidia"
    Monitor     "ViewSonic A90f+"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes  "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes  "1024x768" "800x600" "640x480"
    EndSubsection

EndSection
Regarding the above section:
My color depth is 24. The mode section for 24 color depth starts with "1152x864". This is where you would define the display mode you want besides the "800x600" you are currently experiencing. The X server will default to the first setting in the list (1152x864 in my example). Bear in mind that you will need the specify the correct horizontal and vertical refresh rates for your monitor in the monitor section or you will run at a too low a refresh rate or not be able to start X at all.

HTH

Steve
 
Old 11-29-2006, 03:29 AM   #6
Factor[Y]
LQ Newbie
 
Registered: Aug 2005
Location: Lithuania
Distribution: Slackware 11
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you Steve, but this did'nt worked for me..i'm getting sad.. could anyone post his all conf? afcourse if hi uses Slack 11 and nvidia.. here is my..
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Nov  1 19:47:17 PST 2006

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    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      "Unknown"
    HorizSync       30 - 75
    VertRefresh     47 - 160
    Option         "DPMS"
    DisplaySize 270.3 202.1 #  96 DPI @ 1024x768
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
by the way i'm still having great resolution @ 800x600 and a perfect refreshrate @ 50Hz and i have no ideas what's going wrong..

Last edited by Factor[Y]; 11-29-2006 at 03:31 AM.
 
  


Reply


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
NVIDIA drivers on Slackware 10.1 hoolie_v Linux - Newbie 6 06-04-2005 04:08 AM
slackware current and NVIDIA drivers Xavius Slackware 13 11-13-2004 03:59 PM
NVIDIA drivers on slackware lax0r Slackware 6 06-10-2003 07:45 PM
nVidia drivers in Slackware 8 hecresper Slackware 7 12-23-2002 11:31 AM
slackware nvidia drivers? barazor Linux - General 1 12-20-2001 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration