LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-22-2006, 09:17 AM   #1
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Rep: Reputation: 15
installing nvidia drivers


when i try to install nvidia drivers for my nvidia geforce 5500 agp i get the error message cannot find libedata1.2-2 is missing in newline when i check it is installed it also says E: subprocess /usr/bin/dpkg returned an error code 1 my xorg.conf file is# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nv"
BusID "PCI:1:0:0"
VideoRam 262144
EndSection

Section "Monitor"
Identifier "Gateway EV70"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-130
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5500]"
Monitor "Gateway EV70"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 06-22-2006, 10:06 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Under section Device change driver from nv to nvidia.
 
Old 06-22-2006, 02:11 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by unisol
when i try to install nvidia drivers for my nvidia geforce 5500 agp i get the error message cannot find libedata1.2-2 is missing in newline when i check it is installed it also says E: subprocess /usr/bin/dpkg returned an error code 1 my xorg.conf file is# /etc/X11/xorg.conf (xorg X Window System server configuration file)
<snip>
Erm, well that doesn't really make much sense to me. I can't think what the libedata1.2-2 might have to do with the nvidia driver.

how are you trying to install the nvidia driver?

You can either try to install it via one of the package manager facilities (adept, synaptic, apt, etc) or you can also just get it from www.nvidia.com and follow their instructions.

I would suggest that you just open a terminal window and do
Code:
sudo apt-get install nvidia-glx && nvidia-kernel-common
which should normally do the job. If theres been some updates since you installed (where talking new kernel here) then it maybe that you have to re-write/configure your apt-sources list - theres an excellent site for assisting with that at http://www.ubuntulinux.nl/source-o-matic

If you try the route via the nvidia site then you would have to check what kernel you are running - open a terminal window and then do
Code:
uname -r
that gives you the kernel version number - note it down and make sure you have the kernel-headers for that kernel (if you open synaptic package manager -> systems>synaptic then it's located by linux-image-xxxxxxxxxxxxx and should be listed as kernel headers for - and you want the ones that correspond with the kernel you're running. Then get the latest driver from nvidia.com and just follow their instructions.

Either way, you would have to check the /etc/X11/xorg.conf and make sure that the line suggested by jstephens84 is amended accordingly. If you think you have the nvidia driver installed then you could just change it and re-start the session if you ended up at with it not starting i.e. you're left with the ubuntu splash frozen/not doing anything, then you can just hit alt+F4 and then alt+F1 to return to a console login and change the xorg.conf back to "nv" (if you know that it's gonna work and look for further assistance)

regards

John
 
Old 06-22-2006, 02:28 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I got ahead of myself. Forgot to have him install the nvidia driver first. But the instructions you gave him Bigjohn is the exact way I got my Gforce 400 card to work with no problems what so ever.

One thing I would comment out would be under Section Module
where it says Load "dri".

I found this place which may help you out also.
http://ubuntuguide.org/wiki/Dapper#H...r_.28NVIDIA.29
 
  


Reply



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
Installing nVidia drivers punchthemonkey94 Debian 3 05-20-2006 09:29 PM
Installing NVidia Drivers darrenforster99 Linux - Hardware 10 07-22-2005 05:31 AM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM
Installing NVIDIA drivers Feldon Linux - Newbie 2 09-19-2004 09:11 PM
installing nvidia drivers.... slivuh Linux - Newbie 2 02-25-2004 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:44 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