LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   What is the best driver for a GeForce 6100 in Ubuntu? (https://www.linuxquestions.org/questions/ubuntu-63/what-is-the-best-driver-for-a-geforce-6100-in-ubuntu-544776/)

kc5hwb 04-10-2007 06:55 AM

What is the best driver for a GeForce 6100 in Ubuntu?
 
Will this driver work?
http://www.nvidia.com/object/linux_d..._1.0-8174.html

This is the mobo I am using:
http://www.abit-usa.com/products/mb/...es=1&model=332

I just installed a fresh install of Ubuntu 6.10 and none of the drivers seem to work... graphics, sound... I just need someone to tell me which drive would be best for the integrated graphics card on this motherboard.

Thru Synaptic, I installed the nvidia-glx driver and ran this command
Code:

sudo aptitude install linux-restricted-modules-generic
then I ran
Code:

sudo nvidia-glx-config enable
Each time I reboot, it comes up to a black screen after posting, when X should be loading.

So I thought I would try the driver listed above, from Nvidia's site. It doesn't want to install in RunLevel 1, and when I type "telinit 3" into a cmd line, it launches X.

???

jiml8 04-10-2007 08:40 AM

The latest version of the NVIDIA driver for Linux is 9755. That is the one you want. 8174 is for cards that are no longer supported by NVIDIA; the 6100 is still being supported.

kc5hwb 04-10-2007 11:29 AM

Quote:

Originally Posted by jiml8
The latest version of the NVIDIA driver for Linux is 9755. That is the one you want. 8174 is for cards that are no longer supported by NVIDIA; the 6100 is still being supported.

Ok, I am sure I can find that, but can you tell me how to install it? All attempts to install it with the instructions on Nvidia's site have failed. This is what they say...

Quote:

STEP 3: Install
Type "sh NVIDIA-Linux-x86-1.0-8174-pkg1.run" to install the driver. NVIDIA now provides a utility to assist you with configuration of your X config file. Please see Chapter 3 of the README or run 'man nvidia-xconfig' for details on usage. Instructions for those wishing to edit their X config file by hand can also be found in the README.

evildarknight 04-10-2007 11:57 AM

you should shutdown X before installing the driver by typing
init 3
then when you are asked to download kernel sources from nvidia use the sources that comes with ubuntu it should be ok!!!!

kc5hwb 04-10-2007 03:06 PM

Quote:

Originally Posted by evildarknight
you should shutdown X before installing the driver by typing
init 3
then when you are asked to download kernel sources from nvidia use the sources that comes with ubuntu it should be ok!!!!

typing init 3 in Terminal? Or shut down X with "sudo /etc/initd/gdm stop" and then init 3 ?

fragos 04-10-2007 05:18 PM

Why not use Synaptic to install package "nvidia-glx". No command line hell involved. If you can boot to X then boot the recovery version in grub. Then "sudo nano /etc/X11/xorg.conf" and edit the driver name to "nv" or "vesa". You can then boot to X and use the GUI as above in this message.

jiml8 04-10-2007 06:48 PM

Quote:

Originally Posted by kc5hwb
typing init 3 in Terminal? Or shut down X with "sudo /etc/initd/gdm stop" and then init 3 ?

IT really doesn't matter. Just shut down X; either mechanism you propose here will do that.

Restarting X will be a bit easier if you just stop gdm; if you do an init 3, install the drivers, then follow with an init 5, it is possible that things will be a bit messed up because services will be restarting possibly in the wrong sequence.

kc5hwb 04-10-2007 07:59 PM

Quote:

Originally Posted by fragos
Why not use Synaptic to install package "nvidia-glx". No command line hell involved. If you can boot to X then boot the recovery version in grub. Then "sudo nano /etc/X11/xorg.conf" and edit the driver name to "nv" or "vesa". You can then boot to X and use the GUI as above in this message.


Been down that road already, doesn't work.

The current driver that I have running is the VESA driver and it is what is making everything so choppy and low-res color. I have not tried the "nv" driver, but after installing the nvidia-glx driver thru Synaptic, I ran the reconfigure tool and it detected it as "nvidia" but upon re-launching GDM just a black screen comes up and it doesn't want to load X.

kc5hwb 04-10-2007 08:18 PM

Ok, here are the latest results..... I got farther this time...

I exited GDM and ran init 3, then launched the .RUN file. It told me that it could not detect my Kernal source and wanted to attempt a download from ftp.nvidia.com. It tries this, but fails and asks if I want it to compile the Kernal. I tell it yes, but it fails because it says I do not have the Source Kernal package installed

QUOTE
"unable to find the Kernal Source files for your currently running Kernal. Make sure you have installed the correct Kernal Source files"

fragos 04-10-2007 08:34 PM

Install package "linux-source" and you'll get the source code for the current kernel.

jiml8 04-10-2007 09:03 PM

Quote:

Originally Posted by kc5hwb
Ok, here are the latest results..... I got farther this time...

I exited GDM and ran init 3, then launched the .RUN file. It told me that it could not detect my Kernal source and wanted to attempt a download from ftp.nvidia.com. It tries this, but fails and asks if I want it to compile the Kernal. I tell it yes, but it fails because it says I do not have the Source Kernal package installed

QUOTE
"unable to find the Kernal Source files for your currently running Kernal. Make sure you have installed the correct Kernal Source files"

That'll kill you every time. If you intend to compile...well...just about anything, you need to have the kernel source installed.

Frankly, I don't understand why most distros don't install it by default.

Make sure when you get it from your repository that you pick the source that exactly matches your running kernel.

kc5hwb 04-10-2007 09:08 PM

And how do I know what Kernal I am running?

kc5hwb 04-10-2007 09:14 PM

I rebooted and chose the GRUB menu and here is what is listed:

2.6.17-11-generic

2.6.17-10-386

2.6.17-10-generic


In that order. If I don't go into the GRUB menu when booting, which one does it choose by default? Seems like I should be running the 2.6.17-10-386 one, can someone confirm?

fragos 04-10-2007 09:16 PM

"uname -r"

kc5hwb 04-10-2007 09:25 PM

Quote:

Originally Posted by fragos
"uname -r"

This returns 2.6.17-10-386

When I do a search for 2.6.17-10-386 in Synaptic, it show these 4 files...

linux-headers-2.6.17-10-386 (not installed)
linux-image-2.6.17-10-386 (installed)
linux-image-debug-2.6.17-10-386 (not installed)
linux-restricted-modules-2.6.17-10-386 (installed)

kc5hwb 04-10-2007 09:31 PM

I went ahead and installed the linux-headers and ran the install again and got farther this time...baby steps I guess.

The Kernal starts to build then errors out and says to see the nvidia-installer.log for details. I copied this log here...


Code:

-> No precompiled kernel interface was found to match your kernel; would you li
  ke the installer to attempt to download a kernel interface for your kernel f
  rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
  this means that the installer will need to compile a kernel interface for
  your kernel.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.17-10-386/build'
-> Kernel output path: '/lib/modules/2.6.17-10-386/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
  executing: 'cd ./usr/src/nv; make clean'...
  rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
  -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
  rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
  rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
  rm -f -f stprof stprof.o symtab.h
  rm -f -rf .tmp_versions
-> Building kernel module:
  executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.17-10-386/b
  uild SYSOUT=/lib/modules/2.6.17-10-386/build'...
 
  NVIDIA: calling KBUILD...
  make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.17-10-386/build SUBDIRS=/tm
  p/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv modules
  mkdir -p /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_vers
  ions
  rm -f /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_version
  s/*
  make -f scripts/Makefile.build obj=/tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756
  -pkg1/usr/src/nv
  echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz8429/NVI
  DIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv_compiler.h
    cc -Wp,-MD,/tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nv.o
  .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
  _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
  ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-protector -O
  2 -fomit-frame-pointer -fasynchronous-unwind-tables -pipe -msoft-float -mpre
  ferred-stack-boundary=2  -march=i486 -mtune=generic -mregparm=3 -ffreestandi
  ng -Iinclude/asm-i
  386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/self
  gz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-t
  ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-
  multichar  -Werror -O -fno-common -MD  -Wsign-compare -Wno-cast-qual -Wno-e
  rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -DNVRM -DDYNAMIC_SL
  I  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756  -UDEBUG -
  U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRE
  SENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PF
  N_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s"
  -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
  -o /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_nv.o /tmp/
  selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c
  In file included from include/linux/list.h:7,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:57,
                    from include/linux/module.h:9,
                    from /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
  /nv/nv-linux.h:51,
                    from /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
  /nv/nv.c:14:
  include/linux/prefetch.h: In function ‘prefetch_range’:
  include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  rithmetic
  In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
  /nv/nv-linux.h:76,
                    from /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
  /nv/nv.c:14:
  include/asm/io.h: In function ‘check_signature’:
  include/asm/io.h:245: warning: wrong type argument to increment
  In file included from /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
  /nv/nv.c:14:
  /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-linux.h: At top
  level:
  /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-linux.h:711: er
  ror: conflicting types for ‘pm_message_t’
  include/linux/pm.h:142: error: previous declaration of ‘pm_message_t’ wa
  s here
  /tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c:307: warning:
  initialization from incompatible pointer type
  make[3]: *** [/tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.o
  ] Error 1
  make[2]: *** [_module_/tmp/selfgz8429/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
  /nv] Error 2
  NVIDIA: left KBUILD.
  nvidia.ko failed to build!
  make[1]: *** [mdl] Error 1
  make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
      '/var/log/nvidia-installer.log' for details.  You may find suggestions
      on fixing installation problems in the README available on the Linux
      driver download page at www.nvidia.com.


kc5hwb 04-10-2007 09:50 PM

I talked to a guy on the nvidia Linux forum and he told me to use the 1.0-9755 driver. I tried that AND IT WORKS!!!!!

For anyone asking, the correct driver is this one for the GeForce 6100
http://www.nvidia.com/object/linux_d..._1.0-9755.html

jiml8 04-11-2007 11:12 AM

Quote:

Originally Posted by kc5hwb
I talked to a guy on the nvidia Linux forum and he told me to use the 1.0-9755 driver. I tried that AND IT WORKS!!!!!

I told you that a couple of days ago.

kc5hwb 04-11-2007 11:25 AM

Quote:

Originally Posted by jiml8
I told you that a couple of days ago.


I know...but several others have said other drivers, so I had no idea which one was right.

jiml8 04-11-2007 12:14 PM

I'm always right! Why, one time I thought I was wrong, but I turned out to be mistaken. ;)

In any event, you're up and running now and that is what really matters.

fragos 04-11-2007 12:30 PM

The 1.0-9755 driver is now included as nvidia-glx-new. nvidia-glx and nvidia-glx-legacy remain as before 9755 came out.

kc5hwb 04-11-2007 04:46 PM

Quote:

Originally Posted by fragos
The 1.0-9755 driver is now included as nvidia-glx-new. nvidia-glx and nvidia-glx-legacy remain as before 9755 came out.


Not according to Nvidia...they say to make sure the nvidia-glx package has been uninstalled with the --purge option and the file /etc/init.d/nvidia-glx does not exist.


http://www.nvnews.net/vbulletin/showthread.php?t=72490

fragos 04-11-2007 05:39 PM

Once you've installed the binary driver from the nvidia site you broken the package manager's awareness of what's installed. That is why you have to perform steps manually. nvidia-glx-new is included in the latest update of Ubuntu 7.04 Feisty. I may not be found in the 6.10 your member panel identifies.

kc5hwb 04-11-2007 05:41 PM

Yes I am running 6.10 Edgy. 7.04 is still in Beta, is it not?

the_warper 05-06-2007 11:07 AM

What fps?
 
Hi,
I just wanted to know what fps u get with ur 6100 GPU when you run glxgears ?
Thanx

fragos 05-06-2007 06:27 PM

With the default window size I got about 1,350 fps with an FX5200. However this is very dependent on the size of the window. By making the window about 1x1 inch on a 1440x900 19" wise screen my number jumped to 8,500 fps. Maximizing the screen it dropped to 120 fps. At default window size covered by another window it went up to 3,850 fps.

the_warper 05-07-2007 03:32 AM

Quote:

Originally Posted by fragos
With the default window size I got about 1,350 fps with an FX5200. However this is very dependent on the size of the window. By making the window about 1x1 inch on a 1440x900 19" wise screen my number jumped to 8,500 fps. Maximizing the screen it dropped to 120 fps. At default window size covered by another window it went up to 3,850 fps.

Thankyou Fragos , but I was wondering abt kc5hwb. Anyway isnt the FX5200 an older model than the 6100 ? If that's the case then something wierd is going on because I'm only getting half your FPS - about 720. This is despite having direct rendering and stuff.

Is this FPS normal on my card? I am using FC6 on an AMD 3600+, with Nvidia 6100 integrated GPU.

Thanx

fragos 05-07-2007 03:59 PM

glxgears isn't a scientific measurement. As you can see from what I provided there's a lot of variability on a single system. I see your video is on the mobo. 1st the memory used by the video is shared with the AMD. A BIOS parameter is available to change the amount allocated. Default may be less than the 128MB on my card. My card is 8X AGP which is faster than PCI which may be how your video chipset is interfaced. What else is running on the machine will also slow down the reported frame rate. For example if I watch TV in a window using my tuner card the frame rate will also slow down. I'm running 24 bit color depth, 32 would slow things down. Your CPU is faster than mine, a Sempron +2800. Don't let the frame rate set your performance expectations. If you're a gamer and the game performance lags you can always buy an add-on video card but be sure it matches the video slot your mobo requires, probably PCI-Express but perhaps AGP.


All times are GMT -5. The time now is 04:51 AM.