LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   got nvidia to install and edited xfree86 config but x won't start (https://www.linuxquestions.org/questions/linux-software-2/got-nvidia-to-install-and-edited-xfree86-config-but-x-wont-start-214350/)

foustware 08-06-2004 01:53 PM

got nvidia to install and edited xfree86 config but x won't start
 
hi, i was recently having trouble with installing the latest nvidia driver and i made a post last week about it. i was told to 'cd /usr/src/linux' and do 'make oldconfig'. this was because the nvidia installer couldn't build a module with my kernel sources. after i looked in my kernel sources directory and didn't see a config file i figured that was probably the correct solution so i did it. it actually worked, the nvidia installer successfully built a module and it was loaded. i changed the xfree86config file to remove 'Load "dri"' and 'Load "GLcore"' 'Load "glx"' was there and i didn't touch it. i changed 'nv' to 'nvidia' for the 'Driver' section. but when i tried to start x it failed to start. i looked at the x log file and there was a line "(EE) Failed to start the NVIDIA device!" i know my graphics card is compatible, it's a Geforce4 MX 440. i was thinking that my xfree86config file still needed editing because there are some entries in it that i don't remember seeing with other distros. here is the file:

#
# XF86Config generated by xconfig
# Please do not edit this file by hand!
# Run xconfig to make changes to the X configuration.
# For advanced users, details about the format of this file
# can be found in the XF86Config man page.

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

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/extra/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/PEX/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/tt/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/ttf-zh/"
FontPath "/usr/share/fonts/default/TrueType/"
FontPath "/usr/share/fonts/default/Type1/"
FontPath "/usr/share/fonts/ja/TrueType/"
FontPath "/usr/share/fonts/zh_CN/TrueType"
FontPath "/usr/share/fonts/zh_TW/TrueType"
FontPath "/usr/share/fonts/ko/TrueType"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/extra/"
FontPath "/usr/X11R6/lib/X11/fonts/unicode/"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
SubSection "extmod"
#Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "xtt"
Load "bitmap"
Load "speedo"
Load "pex5"
Load "glx"
Load "record"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse0"
Option "Emulate3Buttons" "yes"
#MouseName "Generic - IntelliMouse (USB)"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5-80.0
VertRefresh 60-75
#VendorName "DDC"
#ModelName "Unprobed Monitor"
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 440]"
BusID "PCI:1:0:0"
VideoRam 65536
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "DRI"
EndSection

Section "ServerFlags"
AllowMouseOpenFail
EndSection

# End of XF86Config.
# Configured by xconfig
# Configured date:

NOTE: i know this says 'nv' in the driver section instead of 'nvidia', i just changed it back and did 'rmmod nvidia' so i could start x and get on the internet.
any suggestions? i'm stumped.

golan69 08-06-2004 02:01 PM

in this section of xfig

Section "Device"
Identifier "Card0"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 440]"
BusID "PCI:1:0:0"
VideoRam 65536
EndSection


replace Identifier "Card0" with Identifier "nvidia"

foustware 08-06-2004 02:35 PM

ill try
 
thanks i'll try that and let you know how it goes.

foustware 08-06-2004 02:54 PM

no go
 
hey i tried to replace "card0" with "nvidia" but it didn't work. i tried variations like "nVidia", "NVIDIA", "NV" but none made a difference. there has to be something i'm missing here because everything else worked out good. and i'm not getting any errors to indicate that theres a problem with the module loading or anything. thanks for the help but if you have another suggestion let me know. thanks.

320mb 08-06-2004 03:13 PM

Code:

Section "Screen"
    Identifier  "Screen 1"
    Device      "GeForce2 GTS"
    Monitor    "Gateway EV910"
    DefaultDepth 24

this is mine............AND--
Code:

Section "Device"
    Identifier  "GeForce2 GTS"
    Driver      "nvidia"
    Option      "IgnoreEDID" "1"
    Option      "NvAgp" "1"
    Option      "NoLogo" "1"
    VideoRam    32768
    # Insert Clocks lines here if appropriate
EndSection

the line in RED, add it under your driver.......

Gryphix 08-06-2004 05:27 PM

did not see note


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