Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: XFree86 error, Undevined Device "nvidia"< Next Oldest | Next Newest >
16shells Offline





Group: Members
Posts: 3
Joined: April 2005
Posted: April 30 2005,15:18 QUOTE

Sorry if this has been answered somewhere but I've been unable to find it here. I'm fairly new to linux but after four other distros this is the best I've found for my PII 350. I've been using DSL for the last month (and have loved it!) or so and finaly decided to try to get my old nvidia card configured with XFree86. I've followed all the documentation here and on the myDSL download but am getting the below error when I attempt to start x:

Code Sample
(==) Using config file: "/etc/X11/XF86Config"
Data incomplete in file /etc/X11/XF86Config
Undefined Device "nvidia" referenced by Screen "Screen0".
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found


my .xserverrc contains:
exec /usr/X11R6/bin/XFree86 -nolisten tcp

This is my XF86Config file:
Code Sample


Section "ServerLayout"
Identifier "VESA device"
Screen 0 "Screen0" 0 0
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[2]" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection


Section "ServerFlags"
 AllowMouseOpenFail
EndSection

Section "Files"
#FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
#FontPath "/usr/lib/X11/fonts/CID"
#FontPath "/usr/lib/X11/fonts/Speedo"
#FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load  "dbe"
Load  "extmod"
# Load  "fbdevhw"
# Load  "dri"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
EndSection

Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier  "Keyboard0"
Driver      "keyboard"
Option    "XkbRules" "xfree86"
Option    "XkbModel" "pc105"
Option    "XkbLayout" "us" #Option "XkbVariant" ""
EndSection


Section "InputDevice"
Identifier    "Mouse[1]"
Driver        "mouse"
       Option        "CorePointer"
Option        "Device"                "/dev/psaux"
Option        "Protocol"              "imPS/2"
       Option        "Emulate3Buttons"       "true"
Option        "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
Identifier  "Mouse[2]"            
Driver  "mouse"
Option  "Device"               "/dev/input/mice"
       Option        "Protocal"               "PS/2"
       Option  "Emulate3Buttons"        "true"
EndSection

Section "Device"
Identifier "vesa"
driver "vesa"
VendorName "x"
BoardName "y"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName   "x"
ModelName   "y"
# HorizSync   31.5 - 48.5
# VertRefresh 50.0 - 70.0
# Option     "dpms"
EndSection


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


Section "DRI"
Mode         0666
EndSection


Sorry for all the code but I thought touch much info would be better than not enough.

Thanks.
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: April 30 2005,17:40 QUOTE

Change the device name in the Screen section from nvidia to whatever you have named your device, just like the error message said.

It looks like you named it vesa.

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 30 2005,21:07 QUOTE

If you don't have the proprietary nvidia driver installed, you can't use "nvidia" for device name.  Try "nv", or install nvidia.dsl

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
16shells Offline





Group: Members
Posts: 3
Joined: April 2005
Posted: April 30 2005,21:38 QUOTE

I'm confused, I've already installed nvidia.dsl and according to the intructions provided in the myDSL download I was suposed to change "nv" to "nvidia", replace my ".xserverrc" with the one provided, and copy the "XF86Config-4" to /etc/X11.

Under which section do I name my device?
Back to top
Profile PM 
adraker Offline





Group: Members
Posts: 229
Joined: Feb. 2004
Posted: May 01 2005,10:00 QUOTE

16shells,
In the Section "Device",
the Identifier line should be something -like- "Device 0".
The next line, driver, should be "nvidia". Or "nv" if nvidia.dsl not present.
Then, down in Section "Screen", Device should be "Device 0".

Hope this works for you....
Back to top
Profile PM 
6 replies since April 30 2005,15:18 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: XFree86 error

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code