Порівняння попередніх версійПопередня ревізіяНаступна ревізія | Попередня ревізіяНаступна ревізіяПо сторонах наступні версії |
uk:howtos:hardware:proprietary_graphics_drivers [2015/12/01 04:52 (UTC)] – [Встановлення через бінарний встановлювач від nVIDIA] streamthreader | uk:howtos:hardware:proprietary_graphics_drivers [2015/12/01 11:45 (UTC)] – [Встановлення використовуючи бінарний встановлювач nVIDIA] streamthreader |
---|
FIXME | FIXME |
| |
==== Встановлення через бінарний встановлювач від nVIDIA ==== | ==== Встановлення використовуючи бінарний встановлювач nVIDIA ==== |
| |
Встановлення бінарного драйверу nVIDIA, включає в себе наступні кроки: | Встановлення бінарного драйверу nVIDIA, включає в себе наступні кроки: |
# sh /path/to/NVIDIA-Linux-ARCH-VERSION.run</code> | # sh /path/to/NVIDIA-Linux-ARCH-VERSION.run</code> |
| |
When the installer is launched without any command line options and excepting any errors, the installation will proceed as follows: | Якщо встановлювач запущено без додаткових аргументів, та не виникло ніяких помилок, то процес буде виглядати так: |
* The installer will extract itself and start an ncurses interface. The first step is to accept the license terms. | * Встановлювач розпакує свій вміст, та запустить інтерфейс на базі бібліотеки ncurses. Першим кроком буде прийняття ліцензійного договору. |
* When installing the module for a system that has no previous version, the installer will begin to build the module. If, however, a previous nVIDIA driver was found, the installer will prompt for permission to remove the previous driver as part of the new installation. To proceed with the installation, permission should be granted to remove the previous installation. | * Якщо встановлення модуля виконується в системі де не було попередніх версії драйверу, встановлювач почне збірку модулю. Але, якщо було знайдено попередній драйвер, встановлювач запросить права для його видалення, як частину процесу встановлення нової версії. Для того щоб продовжити, потрібно надати ці повноваження, для видалення застарілого драйверу. |
* After building the module on x86_64 systems, the installer will prompt about installing nVIDIA's 32-bit compatibility OpenGL libraries. You will only need the 32-bit compatibility libraries if your Slackware is 64-bit //[[slackware:multilib|multilib]]//. | * Після збірки модуля на 64 бітній системі, встановлювач запропонує встановити 32 бітні бібліотеки OpenGL для сумісності. Вам будуть потрібні 32 бітні бібліотеки сумісності тільки на 64 бітній Slackware з встановленим пакунком //[[slackware:multilib|мультибібліотечності]]//. |
* Next, in the case of a previous version, the installer will uninstall the module. | * Далі, у випадку якщо попередній модуль, було видалено встановлювачем. |
* Once no conflicting X and (should this option be chosen) OpenGL files are found, the module will be installed. | * Як тільки було визначено, що в системі немає конфліктних файлів X та OpenGL (ця опція повинна бути обрана), модуль буде встановлено. |
* The program will then offer to use the nvidia-xconfig utility to modify the xorg.conf file to reflect the change in video drivers. This utility often works, but could possibly change other values in xorg.conf. It does, however, back-up the original file to "''/etc/X11/xorg.conf.nvidia-xconfig-original''" | * Після чого програма запропонує використати утиліту nvidia-xconfig, для редагування файлу xorg.conf, для відображення змін у відео драйвері. Ця утиліта зазвичай працює, але буває що треба змінити значення інших параметрів у файлі xorg.conf. Ця утиліта може зробити додаткові зміни, проте, вона спочатку зробить резервну копію у файл "''/etc/X11/xorg.conf.nvidia-xconfig-original''" |
* A prompt confirms that the driver installation is complete and was a success, at which point the program exits to the console. | * Далі буде запропоновано підтвердити що процес встановлення завершено, з цієї миті програма вийде у консоль. |
| |
The ''nvidia'' module should now be installed for the currently running kernel. | Відтепер модуль ''nvidia'' встановлений у системі для ядра яке зараз запущено. |
| |
You must create an X.Org configuration file which loads the binary Nvidia driver if you decided //not// to let the ''nvidia-xconfig'' utility modify your computer's ''xorg.conf'' file. The X.Org of Slackware supports individial "*.conf" files in a directory ''/etc/X11/xorg.conf.d''. Any file with a ''.conf'' extension will be included together with the main ''/etc/X11/xorg.conf'' file. \\ You could create for instance a file named ''/etc/X11/xorg.conf.d/10-nvidia.conf'' with the following content: <code> | Ви повинні створити для X.Org файл налаштувань, який буде завантажувати бінарний драйвер Nvidia, якщо до цього, ви вирішили //не// дозволяти утиліті ''nvidia-xconfig'' редагувати файл ''xorg.conf''. Slackware підтримує індивідуальні файли "*.conf" для X.Org у директорії ''/etc/X11/xorg.conf.d''. Будь який файл з розширенням ''.conf'', буде включений разом з загальним файлом налаштувань ''/etc/X11/xorg.conf'' як єдине ціле. \\ Ви можете створювати наприклад файл з ім'ям ''/etc/X11/xorg.conf.d/10-nvidia.conf'', з наступним вмістом: <code> |
Section "Device" | Section "Device" |
Identifier "Device0" | Identifier "Device0" |
BoardName "" | BoardName "" |
EndSection | EndSection |
</code> Without this definition, you will not get accelerated Nvidia GPU support! X.Org would fall-back to VESA mode because the nouveau driver has been blacklisted. //The kernel will not auto-detect the binary driver as opposed to the nouveau driver//. | </code> Без цього визначення, ви не отримаєте підтримку прискорення від Nvidia GPU! X.Org перейде в цій ситуації (fall-back) до модулю VESA, так як модуль nouveau занесено до чорного списку. //Ядро не зможе визначити бінарний драйвер, на відміну від того як це робиться з драйвером nouveau//. |
| |
=== Starting X11 with nvidia GPU Support === | === Запуск X11 з підтримкою nvidia GPU === |
| |
All that remains is to start the X.org server. This can be accomplished by configuring Slackware to start in //runlevel 4//, which will start a graphical login manager, such as KDM or XDM, on boot. If you want this, then you need to edit the file "/etc/inittab" and change the line <code>id:3:initdefault: | Все що нам залишилось, це запустити сервер X.org. Це може бути виконано шляхом налаштування Slackware так, щоб вона запускалась в режимі //runlevel 4//, який запускає графічний менеджер входу, такий як наприклад KDM чи XDM, під час завантаження системи. Якщо вам це і потрібно, відредагуйте файл "/etc/inittab", замінивши рядок <code>id:3:initdefault: |
</code> to <code>id:4:initdefault: | </code> на <code>id:4:initdefault: |
</code> Otherwise you can login to a user account and issue the "''startx''" command to start an X session. | </code> Інакше, ви можете увійти під обліковим записом користувача, та для запуску сесії X, виконати команду "''startx''". |
<note>By default, startx will start the window manager which was chosen during installation. To change this behavior, the file "''.xinitrc''" in the user's home directory can be edited to start a different WM. \\ Alternatively, the default WM can be altered on a per-user basis by using the command "''xwmconfig''" and selecting one of the available WM's.</note> | <note>За замовченням, startx буде запускати менеджер вікон, який було обрано під час встановлення системи. Для зміни цієї поведінки, необхідно відредагувати файл "''.xinitrc''" в домашній директорії користувача, так щоб запускався якийсь інший менеджер. \\Альтернативно, менеджер вікон може бути змінений для кожного користувача окремо, запустивши утиліту "''xwmconfig''" та обравши один з доступних менеджерів.</note> |
| |
== nVIDIA Installer Options == | == Опції встановлювача nVIDIA == |
| |
The nVIDIA Installer has many options available to the system maintainer which can be accessed by running the installer with the -A option: | Встановлювач nVIDIA має багато опції доступних для системного адміністратора (maintainer), до яких можна отримати доступ запустивши його з параметром -A: |
| |
<code># sh ./NVIDIA-Linux-ARCH-VERSION.run -A</code> | <code># sh ./NVIDIA-Linux-ARCH-VERSION.run -A</code> |
| |
Some common options are | Деякі популярні опції |
| |
* ''-a, %%--%%accept-license'' : bypasses the nVIDIA license screen. By doing so, the license is accepted. | * ''-a, %%--%%accept-license'' : обійти вікно з ліцензійним текстом. Вважаючи що ліцензія прийнята. |
* ''%%--%%update'' : check for an updated driver on the nVIDIA website; if it exists, automatically download and install the new version. | * ''%%--%%update'' : перевірити будь які оновлення драйверу на сайті nVIDIA; якщо оновлення маються, автоматично завантажити, та встановити вже нову версію. |
* ''%%--%%uninstall'' : removes the nVIDIA driver and other files installed previously. | * ''%%--%%uninstall'' : вилучити драйвер nVIDIA та усі файли з попереднього встановлення. |
* ''-q, %%--%%no-questions'' : assumes default answers to all questions. Note: does not automatically accept the license. | * ''-q, %%--%%no-questions'' : вважати що відповіді на усі запитання майстра встановлення, вже надані. Нотатка: це не означає що ліцензія прийнята. |
* ''-s, %%--%%silent'' : runs the binary installer without a curses UI, automatically accepts the license and uses the default answers for all questions. | * ''-s, %%--%%silent'' : запустити бінарний встановлювач без користувацького інтерфейсу, автоматично прийняти ліцензію та відповісти на всі питання. |
| |
| === Вирішення проблем === |
=== Troubleshooting === | |
| |
FIXME | FIXME |