The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

5. Install Nvidia OpenGL drivers


	-- delete the libGL.* files that come with XFree86 / Mesa 3.4 ...
	-- the nvidia libGL.* should replace them
	cd /usr/X11R6/lib
	rm libGL.*
	cd modules/extensions
	rm libGL*
	rm libglx*
	cd /usr/lib
	rm libGL.*

	cd /usr/src
	tar -xvzf NVIDIA_kernel-0.9-5.tar.gz
	tar -xvzf NVIDIA_GLX-0.9-5.tar.gz
	cd NVIDIA_kernel-0.9-5
	make
	cd ..
	cd NVIDIA_GLX-0.9-5
	make
        ldconfig
	cd
	-- make a basic X config file
	xf86config
		follow the prompts and fill in the information it asks for
	cd /etc/X11
	You must edit XF86Config and set the following:
	vi XF86Config
		Load "dri"
		replace 'driver "nv"' with 'driver "nvidia"'
		"1600x1200" first (or your preferred screen resolution)
		Copy ttf fonts from Windows into a font directory and add a font path.
                Use ttmkfdir (check freshmeat.net) to a fonts.dir file.

        -- you may like to edit /etc/X11/xinit/xinitrc to have it "startkde"
        -- or "gnome-session" instead of twm.

	-- note, /usr/include/GL should be a symlink to /usr/X11R6/include/GL
	

Specifying "nvidia" for the driver in the XF86Config makes that take effect each time you startx. But the NVdriver kernel driver will have to be loaded each time your system boots using:

		insmod NVdriver
	
You can place this command in one of the system startup files, like /etc/rc.d/rc.modules. But this may not be necessary if the following line is present in /etc/modules.conf:

                alias char-major-195 NVdriver
        
If this line is present, NVdriver is loaded automatically when X is started (autoclean). You can check if its loaded using the command, lsmod.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру