Sgfxi–a simple script that allows you to easily install and update the drivers for the graphics card closed. To date, supported by Nvidia and ATI fglrx drivers.
Sgfxi supports the following distributions: Debian Stable, Debian Testing Debian Unstable. Supports the current version of Ubuntu, but in recent versions provided with work on Archlinux. Unfortunately not all script functions work on all distributions in the same way. Also it should be noted that support for the ATI fglrx may change from time to time and depending on the distribution.
The default driver is a driver that is installed if you do not select any additional settings. If your graphics card is old enough, you may need to manually specify the older version of the driver to make it work.
After running the script, you will be asked whether you want to install the selected driver version. You can then either continue, or abort it and restart the script with additional parameters.
Installation script sgfxi graphics install
There are many ways to install sgfxi graphics install. You can get acquainted with them on the project’s home page http://smxi.org/site/install.htm smxi. However, in most cases, you will simply type in the terminal as root type:
1 |
cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi |
Archlinux users instead of substitute/usr/bin/
Use script parameters sgfxi graphics install
Sgfxi has many different settings, some of which work only with the Nvidia driver or ATI fglrx. For a complete list of options, type the command in the Terminal:
1 |
sgfxi -h |
Sgfxi graphics install script automatically replaces the partition you want to change xorg.conf for installed drivers (creating a backup of the old file). If the script does not detect the xorg.conf file in the system, it will be generated automatically.
Using the script sgfxi graphics install
To install or update a driver, you need to switch to virtual console using Ctrl + Alt + F1. Then get root privileges and run the script:
1 |
sgfxi |
In this case, you will be prompted to install the latest available for your video card driver. To specify a different version, ispool′zujte-o option
1 |
sgfxi -o <версия драйвера> |
The list of available versions can be viewed with the command:
1 |
sgfxi -h |
Important: when installing the driver closed the script quits all window managers. Therefore, before installing, you must complete all the running applications with a graphical interface.
At the end of the installation you’ll get a completely ready-to-use System.
Possible problems
During the installation of the script gave warning that the Nouveau module could not be deleted.
Solution: actually sgfxi immediately removes the Nouveau from kernel module, but to proceed will require a system reboot and re-run the script. Because the module is removed from the system, Nouveau, you will not be able to start the xserver. It can be run after installation.
Switch to another virtual console
Solution: just switch back with Ctrl + Alt + F1
The script gives error start. The error number may be different.
Solution: in some distributions, the script is not automatically installs the packages. To resolve this issue, use the following command in the Terminal and you should agree with the installation
1 |
# aptitude install build-essential linux-headers-`uname -r` |