How to install nvidia driver on LMDE?

Archived topics about LMDE 1 and LMDE 2
nelson2006

How to install nvidia driver on LMDE?

Post by nelson2006 »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Gingerbread-Man

Re: How to install nvidia driver on LMDE?

Post by Gingerbread-Man »

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
hns

Re: How to install nvidia driver on LMDE?

Post by hns »

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.
TobiSGD

Re: How to install nvidia driver on LMDE?

Post by TobiSGD »

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.
User avatar
mandog
Level 1
Level 1
Posts: 7
Joined: Sun May 27, 2007 5:40 pm

Re: How to install nvidia driver on LMDE?

Post by mandog »

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
TobiSGD

Re: How to install nvidia driver on LMDE?

Post by TobiSGD »

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.
KenWeiLL
Level 2
Level 2
Posts: 60
Joined: Sun May 11, 2008 8:25 am
Contact:

Re: How to install nvidia driver on LMDE?

Post by KenWeiLL »

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. :(
KLM Merchant Hubs - A Coupon & Voucher Website
yoooley

Re: How to install nvidia driver on LMDE?

Post by yoooley »

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?
hns

Re: How to install nvidia driver on LMDE?

Post by hns »

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
richyrich

Re: How to install nvidia driver on LMDE?

Post by richyrich »

@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. :)
jalcradus

Re: How to install nvidia driver on LMDE?

Post by jalcradus »

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.
scratch178
Level 1
Level 1
Posts: 34
Joined: Sat Sep 18, 2010 9:13 am

Re: How to install nvidia driver on LMDE?

Post by scratch178 »

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
specmod0

Re: How to install nvidia driver on LMDE?

Post by specmod0 »

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 specmod0 on Wed Nov 03, 2010 6:06 am, edited 1 time in total.
Reason: Removed foul language.
craigevil

Re: How to install nvidia driver on LMDE?

Post by craigevil »

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
scratch178
Level 1
Level 1
Posts: 34
Joined: Sat Sep 18, 2010 9:13 am

Re: How to install nvidia driver on LMDE?

Post by scratch178 »

Or the simple easy way, use smxi.
it was very easy to install the newest driver 256.53 with the script.

thx a lot
indaymadel

Re: How to install nvidia driver on LMDE?

Post by indaymadel »

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.
Luca_mzq

Re: How to install nvidia driver on LMDE?

Post by Luca_mzq »

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
User avatar
Imagus
Level 3
Level 3
Posts: 129
Joined: Tue Aug 28, 2007 2:33 pm
Location: Belgium

Re: How to install nvidia driver on LMDE?

Post by Imagus »

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!
Locked

Return to “LMDE Archive”