How to install nvidia driver on LMDE?

Questions about hardware and drivers
Forum rules
Before you post please read this

How to install nvidia driver on LMDE?

Postby nelson2006 on Wed Sep 08, 2010 1:32 am

Hello everyone. I've just installed LMDE and might say very impressive. This is my first debian distro after using Ubuntu for a long while. But my problem is that I don't know how to install the nvidia driver. It's easier with ubuntu but really want to get the hang of debian for awhile.
Dual boot: Windows 7 & Linux Mint Maya Cinnamon Edition
Linux Registered user #485739
User avatar
nelson2006
Level 1
Level 1
 
Posts: 15
Joined: Sat Jan 31, 2009 10:29 pm

Linux Mint is funded by ads and donations.
 

Re: How to install nvidia driver on LMDE?

Postby Gingerbread-Man on Wed Sep 08, 2010 2:09 am

nelson2006 wrote:Hello everyone. I've just installed LMDE and might say very impressive. This is my first debian distro after using Ubuntu for a long while. But my problem is that I don't know how to install the nvidia driver. It's easier with ubuntu but really want to get the hang of debian for awhile.

http://gingerbread-man.co.cc/node/10
“Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends.”
User avatar
Gingerbread-Man
Level 1
Level 1
 
Posts: 23
Joined: Sat Jul 10, 2010 7:28 am
Location: New Zealand

Re: How to install nvidia driver on LMDE?

Postby water spirit on Wed Sep 08, 2010 6:11 am

Image
Image
water spirit
Level 2
Level 2
 
Posts: 84
Joined: Sun Aug 01, 2010 12:32 am
Location: Queensland

Re: How to install nvidia driver on LMDE?

Postby hns on Wed Sep 08, 2010 9:59 am

I installed with synaptic: nvidia-kernel-dkms. This one took the rest for nvidia as dependecies.
Also i installed: nvidia-settings and nvidia-xconfig

After install i ran as root nvidia-xconfig.

Rebooted and working.

From memory and experience this can only be done with Debian stable.
With testing it will give missing dependecies, which are in unstable/experimental or nat available at all
As testing is frozen, it works in testing.

When LMDE is using the new upcoming Debian-testing this wil change.
hns
Level 1
Level 1
 
Posts: 9
Joined: Wed Jan 06, 2010 3:26 pm

Re: How to install nvidia driver on LMDE?

Postby TobiSGD on Fri Sep 10, 2010 12:49 am

hns wrote:From memory and experience this can only be done with Debian stable.
With testing it will give missing dependecies, which are in unstable/experimental or nat available at all
As testing is frozen, it works in testing.

I currently run Debian testing on my main machine and have absolutely no problems with the NVidia drivers.
TobiSGD
Level 1
Level 1
 
Posts: 2
Joined: Fri Sep 10, 2010 12:47 am

Re: How to install nvidia driver on LMDE?

Postby mandog on Fri Sep 10, 2010 1:15 am

nelson2006 wrote:Hello everyone. I've just installed LMDE and might say very impressive. This is my first debian distro after using Ubuntu for a long while. But my problem is that I don't know how to install the nvidia driver. It's easier with ubuntu but really want to get the hang of debian for awhile.

This is the easyest way to install the drivers http://gingerbread-man.co.cc/node/10 I personally do not change the drivers name as there is no need. and read the nvidia instructions
User avatar
mandog
Level 1
Level 1
 
Posts: 8
Joined: Sun May 27, 2007 5:40 pm

Re: How to install nvidia driver on LMDE?

Postby TobiSGD on Fri Sep 10, 2010 1:47 am

mandog wrote:
nelson2006 wrote:Hello everyone. I've just installed LMDE and might say very impressive. This is my first debian distro after using Ubuntu for a long while. But my problem is that I don't know how to install the nvidia driver. It's easier with ubuntu but really want to get the hang of debian for awhile.

This is the easyest way to install the drivers http://gingerbread-man.co.cc/node/10 I personally do not change the drivers name as there is no need. and read the nvidia instructions

This will work, but is not the recommended Debian way. The next time your kernel updates your X will not work and you will have to reinstall the driver. If you do it the way described by hns the driver will be adapted to the new kernel automatically.
TobiSGD
Level 1
Level 1
 
Posts: 2
Joined: Fri Sep 10, 2010 12:47 am

Re: How to install nvidia driver on LMDE?

Postby KenWeiLL on Fri Sep 10, 2010 2:25 am

hns wrote:I installed with synaptic: nvidia-kernel-dkms. This one took the rest for nvidia as dependecies.
Also i installed: nvidia-settings and nvidia-xconfig

After install i ran as root nvidia-xconfig.

Rebooted and working.

From memory and experience this can only be done with Debian stable.
With testing it will give missing dependecies, which are in unstable/experimental or nat available at all
As testing is frozen, it works in testing.

When LMDE is using the new upcoming Debian-testing this wil change.


Doesn't work on mine. After reboot, all I get is a blank screen and a blinking cursor. Don't know what to do next. :(
Image
User avatar
KenWeiLL
Level 2
Level 2
 
Posts: 60
Joined: Sun May 11, 2008 8:25 am

Re: How to install nvidia driver on LMDE?

Postby yoooley on Sun Sep 12, 2010 10:53 am

I use the Debian way method and I get an error when I start to build the kernel module from source. The error asks me to update the sources.list file with update repositories. Should I add the actual Debian repositories to the sources.list file. Perhaps this would help during the build of the kernel module for the nvidia drivers. Did anyone have problems building the kernel module?
yoooley
Level 1
Level 1
 
Posts: 1
Joined: Sun Sep 12, 2010 10:40 am

Re: How to install nvidia driver on LMDE?

Postby hns on Sun Sep 12, 2010 3:29 pm

KenWeiLL wrote:
hns wrote:I installed with synaptic: nvidia-kernel-dkms. This one took the rest for nvidia as dependecies.
Also i installed: nvidia-settings and nvidia-xconfig

After install i ran as root nvidia-xconfig.

Rebooted and working.

From memory and experience this can only be done with Debian stable.
With testing it will give missing dependecies, which are in unstable/experimental or nat available at all
As testing is frozen, it works in testing.

When LMDE is using the new upcoming Debian-testing this wil change.


Doesn't work on mine. After reboot, all I get is a blank screen and a blinking cursor. Don't know what to do next. :(


Something went wrong. Pres Ctrl-Alt-F1. This opens a new console. Log in as user. Then become root with: sudo -s.
Easiest way is to install now mc (midnight commander) with apt-get install mc.
Start up mc.
Go to /etc/X11/XF86config. Open this file for editing with F4. Find Section Device. Change nvidia to nv. Save and close. Close mc.
Reboot with ctrl-alt-del

When back figure out what went wrong. Wrong nvidia-file. There are two.
When you are in mc, you can have a look at /var/log/xorg and see what it says about failure.
Also possible that for some reason de nvidia module was not loaded. (I had this with sound) If so, you can load this with modprobe nvidia
Also you can check if the module is loaded with: lsmod | grep nvidia

Succes
hns
Level 1
Level 1
 
Posts: 9
Joined: Wed Jan 06, 2010 3:26 pm

Re: How to install nvidia driver on LMDE?

Postby richyrich on Sun Sep 12, 2010 4:20 pm

@yoooley
be sure to check that you have build-essential installed from Synaptic Package Manager.

and when it is asking you to update the sources . . . that means " sudo apt-get update" from the terminal (without quotes of course) before you attempt the driver install. :)
User avatar
richyrich
Level 13
Level 13
 
Posts: 4635
Joined: Mon May 04, 2009 8:31 pm

Re: How to install nvidia driver on LMDE?

Postby jalcradus on Mon Sep 13, 2010 12:34 pm

I guess I've been spoiled by the "Hardware Drivers" icon and the automatic search and installation that this feature does. Hopefully something similar can be added to LMDE at some point.
jalcradus
Level 1
Level 1
 
Posts: 17
Joined: Fri Aug 28, 2009 11:49 pm

Re: How to install nvidia driver on LMDE?

Postby scratch178 on Fri Oct 01, 2010 9:00 am

hi i tried to install the nvidia driver using this
http://gingerbread-man.co.cc/node/10

but when im installing i get this:

Code: Select all
WARNING: You do not appear to have an NVIDIA GPU supported by the 256.53
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at
http://www.nvidia.com.



(i have the same driver on lm9.
on the nvidia site thats the one)
i hit ok
then this comes up

Code: Select all
The CC version check failed:

  The compiler used to compile the kernel (gcc 4.3) does not exactly match the
  current compiler (gcc 4.4).  The Linux 2.6 kernel module loader rejects     
  kernel modules built with a version of gcc that does not exactly match that 
  of the compiler used to build the running kernel.

  If you know what you are doing and want to ignore the gcc version check,     
  select "No" to continue installation.  Otherwise, select "Yes" to abort     
  installation, set the CC environment variable to the name of the compiler   
  used to compile your kernel, and restart installation.  Abort now?           

                               Yes           No   


when i hit no, the installation continues:

Code: Select all
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most     
         frequently when this kernel module was built against the wrong or     
         improperly configured kernel sources, with a version of gcc that     
         differs from the one used to build the target kernel, or if a driver
         such as rivafb, nvidiafb, or nouveau is present and prevents the
         NVIDIA kernel module from obtaining ownership of the NVIDIA graphics 
         device(s), or NVIDIA GPU installed in this system is not supported by
         this NVIDIA Linux graphics driver release.                           

         Please see the log entries 'Kernel module load error' and 'Kernel     
         messages' at the end of the file '/var/log/nvidia-installer.log' for 
         more information.



i know this error message from lm9, i had to disable nouveau,
when i do it like in lm9:
Code: Select all
add to /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.blacklist=1"



i get the same errors after a restart

thats the nvidia-installer.log:

Code: Select all
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Oct  1 14:53:16 2010
installer version: 256.53

option status:
 license pre-accepted    : false
 update                  : false
 force update            : false
 expert                  : false
 uninstall               : false
 driver info             : false
 precompiled interfaces  : true
 no ncurses color        : false
 query latest version    : false
 OpenGL header files     : true
 no questions            : false
 silent                  : false
 no recursion            : false
 no backup               : false
 kernel module only      : false
 sanity                  : false
 add this kernel         : false
 no runlevel check       : false
 no network              : false
 no ABI note             : false
 no RPMs                 : false
 no kernel module        : false
 force SELinux           : default
 no X server check       : true
 no cc version check     : false
 force tls               : (not specified)
 X install prefix        : (not specified)
 X library install path  : (not specified)
 X module install path   : (not specified)
 OpenGL install prefix   : (not specified)
 OpenGL install libdir   : (not specified)
 utility install prefix  : (not specified)
 utility install libdir  : (not specified)
 doc install prefix      : (not specified)
 kernel name             : (not specified)
 kernel include path     : (not specified)
 kernel source path      : (not specified)
 kernel output path      : (not specified)
 kernel install path     : (not specified)
 proc mount point        : /proc
 ui                      : (not specified)
 tmpdir                  : /tmp
 ftp mirror              : ftp://download.nvidia.com
 RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
WARNING: You do not appear to have an NVIDIA GPU supported by the 256.53 NVIDIA
        Linux graphics driver installed in this system.  For further details,
        please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README
        available on the Linux driver download page at http://www.nvidia.com.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1230'
  of a runnning X server.
-> Continuing per the '--no-x-check' option.
-> License accepted.
-> Installing NVIDIA driver version 256.53.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
 
  The compiler used to compile the kernel (gcc 4.3) does not exactly match the
  current compiler (gcc 4.4).  The Linux 2.6 kernel module loader rejects kern
  el modules built with a version of gcc that does not exactly match that of t
  he compiler used to build the running kernel.
 
  If you know what you are doing and want to ignore the gcc version check, sel
  ect "No" to continue installation.  Otherwise, select "Yes" to abort install
  ation, set the CC environment variable to the name of the compiler used to c
  ompile your kernel, and restart installation.  Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.32-5-686/source'
-> Kernel output path: '/lib/modules/2.6.32-5-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
  executing: 'cd ./kernel; make clean'...
-> Building kernel module:
  executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.32-5-686/source
  SYSOUT=/lib/modules/2.6.32-5-686/build'...
  NVIDIA: calling KBUILD...
  make -C /lib/modules/2.6.32-5-686/build \
     KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
     KBUILD_EXTMOD="/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel" -f /usr/src/
  linux-headers-2.6.32-5-common/Makefile \
     modules
  test -e include/linux/autoconf.h -a -e include/config/auto.conf || (      \
     echo;                        \
     echo "  ERROR: Kernel configuration is invalid.";      \
     echo "         include/linux/autoconf.h or include/config/auto.conf are mis
  sing.";   \
     echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
  .";   \
     echo;                        \
     /bin/false)
  mkdir -p /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_versions ; rm -
  f /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_versions/*
  make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
  mp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.nv.o.d  -nostdi
  nc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinclude2 -
  I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers-2.6
  .32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp/sel
  fgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-p
  rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-f
  unction-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os
  -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary
  =2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-pr
  otector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-com
  pare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
  -Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statement
  -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
   -I/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -
  Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"
  256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_ST
  R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nv
  idia)"  -c -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_nv.o /tmp/
  selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv.c
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.nv_gvi.o.d  -no
  stdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinclud
  e2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers
  -2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp
  /selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstri
  ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
  it-function-declaration -Wno-format-security -fno-delete-null-pointer-checks
  -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boun
  dary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstac
  k-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign
  -compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-
  sse2 -mno-3dnow -Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-
  after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -
  fconserve-stack   -I/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -Wall -MD
  -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_V
  ERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s
  )=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(n
  vidia)"  -c -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_nv_gvi.o
  /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv_gvi.c
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.nv-vm.o.d  -nos
  tdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinclude
  2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers-
  2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp/
  selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstric
  t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
  ommon -Werror-implicit-function-declaration -Wno-format-security -fno-delete
  -null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -
  mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32
  -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FR
  AME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-
  mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fomit-frame-pointer -Wdec
  laration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-
  cfi-asm -fconserve-stack   -I/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel
  -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DN
  VRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KB
  UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBU
  ILD_STR(nvidia)"  -c -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_
  nv-vm.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-vm.c
  /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-vm.c: In function :
  /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-vm.c:148: warning: assignm
  ent makes integer from pointer without a cast
  /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-vm.c:233: warning: label  defined but not used
  /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-vm.c:143: warning: unused
  variable
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.os-agp.o.d  -no
  stdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinclud
  e2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers
  -2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp
  /selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstri
  ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
  it-function-declaration -Wno-format-security -fno-delete-null-pointer-checks
  -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boun
  dary=2 -march=i686 -mtune=generic -Wa,-mtune=g
  eneric32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_
  SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-
  sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fomit-frame-poin
  ter -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fn
  o-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz1748/NVIDIA-Linux-x86-256.5
  3/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DM
  ODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMOD
  ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_M
  ODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/ke
  rnel/.tmp_os-agp.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/os-agp.c
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.os-interface.o.
  d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -I
  include2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-h
  eaders-2.6.32-5-common/arch/x86/inclu
  de -include include/linux/autoconf.h   -I/tmp/selfgz1748/NVIDIA-Linux-x86-25
  6.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -f
  no-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-fo
  rmat-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregpar
  m=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=gene
  ric -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1
  -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unw
  ind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -
  fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-str
  ict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz1748/NVIDIA
  -Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error
  -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG
  -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_int
  erface)"  -D"KBUILD_MODNAME=KBUILD_
  STR(nvidia)"  -c -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_os-i
  nterface.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/os-interface.c
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.os-registry.o.d
   -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iin
  clude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-hea
  ders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I
  /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -W
  strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
  plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
  ecks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack
  -boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -
  fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno
  -sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -m
  no-3dnow -Wframe-larger-than=1024 -fom
  it-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict
  -overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz1748/NVIDIA-Li
  nux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_
  _KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG -D
  NDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_regis
  try)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz1748/NVIDIA-L
  inux-x86-256.53/kernel/.tmp_os-registry.o /tmp/selfgz1748/NVIDIA-Linux-x86-2
  56.53/kernel/os-registry.c
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.nv-i2c.o.d  -no
  stdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinclud
  e2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers
  -2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp
  /selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstri
  ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
  it-functi
  on-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32
  -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
  arch=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protect
  or -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
  -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wfra
  me-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statement -Wno-
  pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/
  tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-
  cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.
  53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE
  NAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/
  selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.tmp_nv-i2c.o /tmp/selfgz1748/NVID
  IA-Linux-x86-256.53/kernel/nv-i2c.c
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.nvacpi.o.d  -no
  stdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinclud
  e2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers
  -2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp
  /selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstri
  ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
  it-function-declaration -Wno-format-security -fno-delete-null-pointer-checks
  -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boun
  dary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstac
  k-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign
  -compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3d
  now -Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statem
  ent -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-st
  ack   -I/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-comp
  are -Wno-cast-qual -Wno-error -D__
  KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG -DN
  DEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)"
  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz1748/NVIDIA-Linux-x8
  6-256.53/kernel/.tmp_nvacpi.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel
  /nvacpi.c
    ld -m elf_i386   -r -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nvid
  ia.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-kernel.o /tmp/selfgz1
  748/NVIDIA-Linux-x86-256.53/kernel/nv.o /tmp/selfgz1748/NVIDIA-Linux-x86-256
  .53/kernel/nv_gvi.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-vm.o /
  tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/os-agp.o /tmp/selfgz1748/NVIDI
  A-Linux-x86-256.53/kernel/os-interface.o /tmp/selfgz1748/NVIDIA-Linux-x86-25
  6.53/kernel/os-registry.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nv-
  i2c.o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nvacpi.o
  (cat /dev/null;   echo kernel//tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel
  /nvidia.ko;) > /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/modules.order
  make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.modpost
    scripts/mod/modpost -m  -i /usr/src/linux-headers-2.6.32-5-686/Module.symv
  ers -I /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/Module.symvers  -o /tm
  p/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/Module.symvers -S -w  -s
    cc -Wp,-MD,/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/.nvidia.mod.o.d
  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.5/include -Iinclude -Iinc
  lude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-head
  ers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/
  tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Ws
  trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-imp
  licit-function-declaration -Wno-format-security -fno-delete-null-pointer-che
  cks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-
  boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -f
  stack-pr
  otector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-com
  pare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
  -Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statement
  -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
   -I/tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -
  Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"
  256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
  KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -DMODULE -c
  -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nvidia.mod.o /tmp/selfgz17
  48/NVIDIA-Linux-x86-256.53/kernel/nvidia.mod.c
    ld -r -m elf_i386 -T /usr/src/linux-headers-2.6.32-5-common/scripts/module
  -common.lds --build-id -o /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nvi
  dia.ko /tmp/selfgz1748/NVIDIA-Linux-x86-256.53/kernel/nvidia.o /tmp/selfgz17
  48/NVIDIA-Linux-x86-256.53/kernel/nvidia.mod.o
  NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.


hope some one can help me with this!

anyway thanks for reading
Sony Vaio VPCF11S1E
Drive: 128 GB SSD 470 Series Samsung
Processor: Intel Core i7-720QM @ 1,60 GHz
Ram: 6 GB DDR3 SDRAM
Graphic: 1 GB NVIDIA GeForce GT 330M
scratch178
Level 1
Level 1
 
Posts: 30
Joined: Sat Sep 18, 2010 9:13 am

Re: How to install nvidia driver on LMDE?

Postby specmod0 on Fri Oct 01, 2010 1:33 pm

jalcradus wrote:I guess I've been spoiled by the "Hardware Drivers" icon and the automatic search and installation that this feature does. Hopefully something similar can be added to LMDE at some point.


It needs to be added! DO NOT INSTALL ANY DRIVER! UNLESS YOU KNOW WHAT YOU ARE DOING! Its too damn easy to [mess] up your system. Ask me how i know.
Last edited by proxima_centauri on Wed Nov 03, 2010 6:06 am, edited 1 time in total.
Reason: Removed foul language.
specmod0
Level 3
Level 3
 
Posts: 144
Joined: Sun Sep 19, 2010 1:48 pm

Re: How to install nvidia driver on LMDE?

Postby craigevil on Fri Oct 01, 2010 2:20 pm

Do it the "Debian Way" Debian Wiki - http://wiki.debian.org/NvidiaGraphicsDrivers

Or the simple easy way, use smxi.

Graphics: Card nVidia G96 [GeForce 9400 GT] X.Org 1.7.7 Res: 1280x1024@50.0hz
GLX Renderer GeForce 9400 GT/PCI/SSE2 GLX Version 3.3.0 NVIDIA 260.19.06 Direct Rendering Yes
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: How to install nvidia driver on LMDE?

Postby msuggs on Fri Oct 01, 2010 2:35 pm

msuggs
Level 5
Level 5
 
Posts: 882
Joined: Thu Jul 10, 2008 8:25 am
Location: non-local

Re: How to install nvidia driver on LMDE?

Postby scratch178 on Sat Oct 02, 2010 9:31 pm

Or the simple easy way, use smxi.


it was very easy to install the newest driver 256.53 with the script.

thx a lot
Sony Vaio VPCF11S1E
Drive: 128 GB SSD 470 Series Samsung
Processor: Intel Core i7-720QM @ 1,60 GHz
Ram: 6 GB DDR3 SDRAM
Graphic: 1 GB NVIDIA GeForce GT 330M
scratch178
Level 1
Level 1
 
Posts: 30
Joined: Sat Sep 18, 2010 9:13 am

Re: How to install nvidia driver on LMDE?

Postby indaymadel on Sat Oct 02, 2010 11:43 pm

scratch178 wrote:
Or the simple easy way, use smxi.


it was very easy to install the newest driver 256.53 with the script.

thx a lot


i used sgfxi and it handle's everything.
Get started building backlinks using my free backlinks collection.
indaymadel
Level 2
Level 2
 
Posts: 88
Joined: Thu Sep 30, 2010 8:57 pm

Re: How to install nvidia driver on LMDE?

Postby Luca_mzq on Mon Nov 01, 2010 9:13 am

my video card GeForce 8400 GS 512 MB Ram 64 bit machine LMDE
installation went well in this simple step

sudo apt-get install nvidia-glx

sudo apt-get install nvidia-settings

sudo apt-get install nvidia-xconfig

reboot

sudo nvidia-xconfig

Logout

sudo nvidia-settings
Luca_mzq
Level 1
Level 1
 
Posts: 1
Joined: Mon Nov 01, 2010 8:43 am

Re: How to install nvidia driver on LMDE?

Postby Imagus on Tue Nov 02, 2010 6:25 am

hns wrote:I installed with synaptic: nvidia-kernel-dkms. This one took the rest for nvidia as dependecies.
Also i installed: nvidia-settings and nvidia-xconfig

After install i ran as root nvidia-xconfig.

Rebooted and working.

From memory and experience this can only be done with Debian stable.
With testing it will give missing dependecies, which are in unstable/experimental or nat available at all
As testing is frozen, it works in testing.

When LMDE is using the new upcoming Debian-testing this wil change.


Wonderful, this worked for me too! I can now finally use a monitor resolution that doesn't hurt my eyes so much. Only thing that still doesn't seem to work is Compiz: I tried checking the "wobbly windows" checkbox to test it, but nothing happens. Anyway, I'm glad to have "normal" screen resolution again. Thanks!
User avatar
Imagus
Level 3
Level 3
 
Posts: 116
Joined: Tue Aug 28, 2007 2:33 pm
Location: Belgium

Linux Mint is funded by ads and donations.
 
Next

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 4 guests