Installing Wheezy nvidia drivers on Squeezy system

Kernels & Hardware, configuring network, installing services

Installing Wheezy nvidia drivers on Squeezy system

Postby aussa » 2011-09-01 03:27

Hi, I need to install wheezy nvidia-graphics-drivers because my video card (geforce GT 425m) isn’t supported on the squeezy version. I downloaded the wheezy source code and built it on my squeezy system, some .deb files where created, the problem is I don’t know which of those to install, these are the files:

libcuda1280.13-1amd64.deb
nvidia-glx-ia32280.13-1amd64.deb
libcuda1-ia32280.13-1amd64.deb
nvidia-kernel-dkms280.13-1amd64.deb
libgl1-nvidia-alternatives280.13-1amd64.deb
nvidia-kernel-source280.13-1amd64.deb
libgl1-nvidia-alternatives-ia32280.13-1amd64.deb
nvidia-libopencl1280.13-1amd64.deb
libgl1-nvidia-glx280.13-1amd64.deb
nvidia-libopencl1-ia32280.13-1amd64.deb
libgl1-nvidia-glx-ia32280.13-1amd64.deb
nvidia-opencl-common280.13-1amd64.deb
libglx-nvidia-alternatives280.13-1amd64.deb
nvidia-opencl-icd280.13-1amd64.deb
libnvcuvid1280.13-1amd64.deb
nvidia-opencl-icd-ia32280.13-1amd64.deb
libnvidia-compiler280.13-1amd64.deb
nvidia-smi280.13-1amd64.deb
libnvidia-compiler-ia32280.13-1amd64.deb
nvidia-vdpau-driver280.13-1amd64.deb
libnvidia-ml1280.13-1amd64.deb
nvidia-vdpau-driver-ia32280.13-1amd64.deb
nvidia-alternative280.13-1amd64.deb
xserver-xorg-video-nvidia280.13-1amd64.deb
nvidia-glx280.13-1amd64.deb

Which of those should I install?

thank you
aussa
 
Posts: 4
Joined: 2011-09-01 03:23

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby vbrummond » 2011-09-01 04:25

nvidia-glx, nvidia-kernel-dkms, and the dependencies they ask for. You also will need nvidia-xconfig. Why not just use the upstream Nvidia installer. Last time I checked it worked on Debian.
vbrummond
 
Posts: 4343
Joined: 2010-03-02 01:42

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby dasein » 2011-09-01 04:36

vbrummond wrote:Last time I checked it worked on Debian.

Still does. :)
The most commonly asked questions are the least frequently researched questions.

How to get help with a technical problem
Debian Wiki | Debian FAQ | Debian Installation Guide | Debian Reference
User avatar
dasein
 
Posts: 4970
Joined: 2011-03-04 01:06

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby aussa » 2011-09-05 06:44

I have installed them successfully, now the problem is I haven't been able to configure X to use the nvidia driver.

I haven't installed nvidia-xconfig yet because of this: http://bugs.debian.org/504692

I create /etc/X11/xorg.conf with this:

Code: Select all
Section "Module"
    Load        "glx"
EndSection

Section "Device"
    Identifier  "Video Card"
    Driver              "nvidia"
EndSection


and then failed to enter X at boot.

I create /etc/X11/xorg.conf.d/20-nvidia.conf with this:

Code: Select all
Section "Device"
   Identifier "My GPU"
   Driver "nvidia"
EndSection


and then failed to enter X at boot.

Do you recommend me to install nvidia-xconfig?

what other alternative I have?

thank you
aussa
 
Posts: 4
Joined: 2011-09-01 03:23

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby grege » 2011-09-08 09:29

Your post is a few days old, so if you still need it ....

Remove the conf files you have tried. Follow these instructions, but edit the xorg.conf it creates to make Driver "nvidia"

http://forums.admon.org/linux-newbie/58 ... ebian.html

You may also need to manually add the module to the kernel using module assistant, but try the above first.
User avatar
grege
 
Posts: 196
Joined: 2009-08-13 11:10
Location: Melbourne, Australia

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby vbrummond » 2011-09-08 09:36

I think nvidia has a program to enable the driver called 'nvidia-xconfig' to be run as root from a CLI. It should be installed along with the upstream bin files or the nvidia driver packages.
vbrummond
 
Posts: 4343
Joined: 2010-03-02 01:42

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby grege » 2011-09-08 12:12

vbrummond wrote:I think nvidia has a program to enable the driver called 'nvidia-xconfig' to be run as root from a CLI. It should be installed along with the upstream bin files or the nvidia driver packages.

I believe nvidia-xconfig is currently having issues, but yes if it was working that would be the normal approach. The above will work when nvidia-xconfig fails or if aticonfig fails as well.
User avatar
grege
 
Posts: 196
Joined: 2009-08-13 11:10
Location: Melbourne, Australia

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby aussa » 2011-09-11 00:08

nvidia-xconfig did not worked for me.

I also tried X -configure, and when I start X I get a black screen, even with that I typed my user and password and I logged into X, the problem was I wasn't in my desktop, I checked the xorg.conf file and there were 2 Screens detected, and I was looking at my "second" screen at that moment, I don't know why it detected 2 screens, according to "glxinfo |grep rendering" I had 3D acceleration, but I don't want that 2 screens configuration. I tried to modify the xorg.conf file to work with one screen only but I failed in my attempts and don't know what else to change...

any other ideas?
aussa
 
Posts: 4
Joined: 2011-09-01 03:23

Re: Installing Wheezy nvidia drivers on Squeezy system

Postby grege » 2011-09-16 02:06

I just set up a new Wheezy system with a G210 and it worked fine.

Might I suggest removing everything you have installed and renaming xorg.conf to xorg.conf.sav

Then do an apt-get update and then an apt-get dist-upgrade

Also through Synaptic check you have installed a 3.0 kernel and linux-firmware-non-free and add then if they are not there.

then as su from a command prompt run dpkg-reconfigure -phigh xserver-xorg

reboot

This should, in theory, give you a system that will boot into a crappy VESA desktop.

Then open Synaptic from the menus and install nvidia-glx, nvidia-kernel-dkms and nvidia-xconfig and all the dependencies

Once the system has installed the driver open a terminal and as su run nvidia-xconfig

Cross fingers and hope for the best.

If nvidia-xconfig still fails you then you might have to create a simple xorg.conf manually, but try above first.
User avatar
grege
 
Posts: 196
Joined: 2009-08-13 11:10
Location: Melbourne, Australia


Return to System configuration

Who is online

Users browsing this forum: No registered users and 20 guests

fashionable