Hatena::ブログ(Diary)

nozzy123nozzyの日記

2011-02-27

How to use nvidia-glx on debian wheezy/sid

22:35

Recently I did full upgrade of debian sid. Then the kernel was upgraded to 2.6.37-1-686 and xserver-xorg-core also was upgraded to 2:1.9.4-3.My debian box became a happily wheezy/sid.

However, nvidia-glx package of wheezy/sid still needs old xserver <2:1.7.7 at this time, it cannot be installed in straightforward way.

After some try and error, I succeeded to installing nvidia-glx into debian wheezy/sid. I will show the how-to below.

!! Caution: I don't care any troubles when you apply this method. ANY USE IS COMPLETELY AT YOUR OWN RISKS!!

Step 1. Append a following line into /etc/apt/sources.list.

deb http://ftp.debian.org/debian experimental main contrib non-free

Step 2. aptitude update

Step 3. aptitude -t experimental install nvidia-kernel-source libgl1-nvidia-glx

Step 4. m-a clean;m-a update;m-a prepare;m-a a-i nvidia

Step 5. aptitude -t experimental download nvidia-glx

Step 6. dpkg --ignore-depends=xorg-video-abi-8.0 -i nvidia-glx_260.19.21-1_i386.deb

Step 7. aptitude hold nvidia-glx

Step 8. Check the following ,

(1) 'blacklist nouveau' line is included in /etc/modprobe.d/blacklist.conf.

(2) nvidia-kernel-common package is already installed.

(3) 'Driver "nvidia"' line is included in /etc/X11/xorg.conf

Step 9. After reboot, the X will start with nvidia driver.

That's all. It is easy,isn't it?

トラックバック - http://d.hatena.ne.jp/nozzy123nozzy/20110227/1298813726