Posts Tagged ‘nvidia’

Might work on lenny and/or 64bit variations

NOTE: These instruction apply to the 2.6.32-2 kernels

Make sure sources are enabled and you have contrib and non-free enabled in /etc/apt/srouces.list and include the unstable branch with squeeze.

deb http://mirror.its.uidaho.edu/pub/debian/ squeeze main contrib non-free
deb-src http://mirror.its.uidaho.edu/pub/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# UNSTABLE
deb http://mirror.its.uidaho.edu/pub/debian/ unstable main contrib non-free

as root edit /etc/apt/prefernces and add:

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian
Pin-Priority: -1

as root:

aptitude install nvidia-kernel-source/unstable

aptitude install module-assistant

m-a prepare

m-a a-i nvidia-kernel-source

aptitude -t unstable install nvidia-glx nvidia-libvdpau1 nvidia-settings nvidia-xconfig

OPTIONAL: remove or quote out the unstable/sid entry in /etc/apt/source.list and run apt-get update

as root

nvidia-xconfig
mv /etc/X11/XF86Config /etc/X11/xorg.conf

Start or restart Xorg (might require reboot)

If you found this information helpful consider buying me a $3 beer.

  • Share/Bookmark

note: you need to have RPM fusion and livna.org repositories enable (read here)

as root:

yum install kmod-nvidia

if you are using the PAE kernel:

yum install kmod-nvidia-PAE

for the default kenrel as root:

sed -i ‘/root=UUID/s|$| rdblacklist=nouveau|’ /boot/grub/grub.conf

for PAE Kernel:

sed -i ‘/root=UUID/s|$| vmalloc=256m|’ /boot/grub/grub/conf

Edit /boot/grub/grub.conf and for the default kernel make sure nouveau.modeset=0 vga=0×318 has been added to the end of the kernal line or vmalloc=256m vga=0×318 if you are using the PAE kernel.

as root:

setsebool -P allow_execstack on

now reboot

If you found this information helpful consider buying me a $3 beer.

  • Share/Bookmark

Upon a fresh install of X, Debian defaults to the open source NV driver for nVidia graphics cards. Since I  used Kenshi Muto’s custom Lenny install iso I had the latest 2.6.30 kernel by default and had to do some tweaking to get the preparatory nVidia driver to work. First I had to download the following files from Sid:

linux-headers-2.6.30-1-amd64
linux-headers-2.6.30-1-common
linux-kbuild-2.6.30

If you are not using the 2.6.30 kernal simply type this:

apt-get install build-essential linux-headers-$(uname -r)

Exit Xorg. Now that you have the headers and kbuild we want to create a symlink so that your system has no problems finding them; Then install the nvidia-glx and fetch the preparatory drive with wget (remember to make it executable):

cd /usr/src
sudo ln -s linux-headers-$(uname -r) linux
cd ~/
sudo apt-get nvidi-glx
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/185.18.14/NVIDIA-Linux-x86_64-185.18.14-pkg2.run
sudo chmod +x NVIDIA-Linux-x86_64-185.18.14-pkg2.run
sudo ./NVIDIA-Linux-x86_64-185.18.14-pkg2.run

Allow the install script to download the necessary files. Once that is finished reboot your system and when you next start X you should see the nVidia logo briefly, indicating it worked.

If you found this information helpful consider buying me a $3 beer.

  • Share/Bookmark

After installing Debian Lenny on my father’s and brother’s computer along with my laptop while on vacation visiting them, I was impressed with the stability of Lenny and the amount of documentation on the web. With some patience and reading lots of tutorials I had three stable and some-what up-to-date Lenny systems running using some third party repositories for apt-get. When I got home, I decided to install Lenny on my desktop and document the process. Not only is this the first post on my blog, but the first installment of a series about configuring Debian Lenny.

(I am going to assume that my readers will have some passing familiarity with installing various Linux distributions including Debian.)

First thing I did was download Kenshi Muto’s custom Lenny install iso which provides some nice tweaks such as providing the 2.6.30 kernel image. I installed a command line only interface.

When configuring my family’s system I was smart enough to save the sources.list file on my server; If you wish, you can also use it.

wget http://fishbowl42.com/archive/sources.list

sudo mv sources.list /etc/apt/sources.list

sudo chown root /etc/apt/sources.list

Since I use a hand full of third party repos I added all the pgp keys manually.

sudo apt-get update
wget http://apt.wicd.net/wicd.gpg
sudo apt-key add wicd.gpg
rm wicd.gpg
sudo apt-get install debian-multimedia-keyring
wget http://winff.org/ubuntu/AAFE086A.gpg
sudo apt-key add AAFE086A.gpg
rm AAFE086A.gpg
wget http://www.debian-desktop.org/pub/linux/debian/debian-desktop.org.key
sudo apt-key add debian-desktop.org.key
rm debian-desktop.org.key
wget http://download.tuxfamily.org/shames/A42A6CF5.gpg
sudo apt-key add A42A6CF5.gpg
rm A42A6CF5.gpg
sudo apt-get install debian-backports-keyring
sudo apt-get update
sudo apt-get upgrade

This way I was no longer bugged by warnings of uncertified key-rings. afterwards, it was time to install a basic desktop environment including Xorg and XFCE 4.6. Lenny comes with an older version of XFCE so I added the debian-desktop repositories to my sources.list (don’t forget to update apt-get afterwards). I also included repos for wicdcompiz-fusion, multimedia, backports, and winff. When I had finished, I installed the basic bones for a XFCE 4.6 desktop.

sudo apt-get install xorg xfce4 menu synaptic leafpad xfce4-terminal gnome-icon-theme update-manager numlockx alsa-base alsa-oss alsa-tools alsa-utils xfce4-mixer

Now we will configure ALSA:

sudo alsacnf

Follow the install script then:

alsamixer
sudo alsactl store
startxfce4

Now that I had a clean and fresh install of XFCE 4.6 on Debian Lenny there where a few tweaks that needed to be done. First thing was to open terminal:

gksu-properties

I changed the authentication mode to sudo so that I would use my user password whenever accessing anything needing root privileges when in X. The next step was to open synaptic and select the distribution tab. Here i changed the prefered version to lenny-backports and closed synaptic. Now it was time to optimize my source list by opening Software Sources and changing the download mirror to other. A dialog pops up and I highlight my country and click on the Select Best Server button. Once it has found the fastest repo, I  click check for updates.

The final annoyance is that Num Lock is not activated by default when in X. The fix is simple after installing numlockx I add the command:

numlockx on

into the Application Autostart tab of Session and Startup (found under settings). Now it is time to install desired software with th apt-get command and with Synaptic.

With some fundamental understanding of Linux, I found Debian Lenny to be easy to configure as an attractive desktop. In the future I will post further tweaks to the Debian Lenny Desktop with XFCE 4.6.

If you found this information helpful consider buying me a $3 beer.

  • Share/Bookmark
Archives
Skype Online Status
Statistics
  • Pages displayed : 16479
  • Unique visitors : 9976
  • Pages displayed in last 24 hours : 85
  • Unique visitors in last 24 hours : 44
FireStats icon Powered by FireStats

Bad Behavior has blocked 59 access attempts in the last 7 days.

FireStats icon Powered by FireStats