Linux/VideoDrivers/en: различия между версиями

Материал из SmartPlayer
(Новая страница: «* Install the driver (nvidia-version) and the program for its settings (nvidia-settings):»)
(Новая страница: «* We reboot the system and check if the drivers are installed on our system»)
 
(не показано 18 промежуточных версий этого же участника)
Строка 11: Строка 11:
     '''$ sudo apt-get install nvidia-340 nvidia-settings '''
     '''$ sudo apt-get install nvidia-340 nvidia-settings '''


=== '''''версия драйвера может быть другой''''' ===


* Создаем xorg.conf:
=== '''''driver version may be different''''' ===
 
* Create xorg.conf:


     '''$ sudo nvidia-xconfig '''
     '''$ sudo nvidia-xconfig '''


* Перезагружаем компьютер.
* Restart your computer.


После перезагрузки проверяем какой видео драйвер используется:
After rebooting, check which video driver is being used:


     '''$ lspci -k | grep -EA2 'VGA|3D' '''
     '''$ lspci -k | grep -EA2 'VGA|3D' '''


получаем подобный вывод -  
we get a similar output -  


     03:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
     03:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
Строка 32: Строка 33:




<h2><b> Видеокарты Intel </b></h2>
<h2> <b> Intel Graphics </b> </h2>


В Ubuntu по умолчанию уже установлен драйвер видеокарт Intel. Он содержится в пакете xserver-xorg-video-intel.</br>
The Intel graphics driver is already installed in Ubuntu by default. It is contained in the xserver-xorg-video-intel package. </br>
Для обновления до последней версии драйвера xserver-video-intel можно воспользоваться готовым PPA.</br>
You can use the ready-made PPA to update to the latest version of the xserver-video-intel driver. </br>


*Открыть терминал и ввести следующие команды:
* Open terminal and enter the following commands:


     '''$ sudo add-apt-repository ppa:oibaf/graphics-drivers '''
     '''$ sudo add-apt-repository ppa:oibaf/graphics-drivers '''


* Обновить список пакетов:
* Update package list:


     '''$ sudo apt-get update  '''
     '''$ sudo apt-get update  '''


* Теперь, обновить систему:
* Now, update the system:


     '''$ sudo apt-get dist-upgrade '''
     '''$ sudo apt-get dist-upgrade '''


* Перезагрузить компьютер.
* To restart a computer.


   
   


Обновление с помощью фирменной утилиты Intel
Updating with Intel Proprietary Utility
Для получения последней версии драйвера воспользуйтесь фирменной утилитой Intel(R) Linux* Graphics Installer. Загрузить утилиту можно со страницы https://01.org/linuxgraphics/downloads?keys=&download_type=11&download_version=All
Use the Intel (R) Linux * Graphics Installer to get the latest driver. You can download the utility from the page
https://01.org/linuxgraphics/downloads?keys=&download_type=11&download_version=All








<h2><b> Видеокарты AMD </b></h2>
<h2> <b> AMD Graphics </b> </h2>


* Для проверки установлена ли у нас уже данная реализация драйверов выполняем команду
* To check if we already have this driver implementation installed, run the command


     '''$ dpkg -l amdgpu-pro '''
     '''$ dpkg -l amdgpu-pro '''


* Переходим на страницу загрузки драйверов Radeon по ссылке. Выбираем нашу модель видеокарты. Нажимаем кнопку Submit. </br>
* Go to the download page for Radeon drivers from the link. We select our video card model. Click the Submit button. </br>
Выбираем версию операционной системы, версию драйвера и нажимаем кнопку Download. </br>
Select the operating system version, driver version and click the Download button. </br>
Распаковываем загруженный пакет архиватором с помощью команды tar: </br>
Unpack the downloaded package with the archiver using the tar command: </br>


     '''$ tar -Jxvf amdgpu-pro-20.40-1147286-ubuntu-20.04.tar.xz '''
     '''$ tar -Jxvf amdgpu-pro-20.40-1147286-ubuntu-20.04.tar.xz '''


* Переходим в папку с распакованными драйверами.
* Go to the folder with the unpacked drivers.
* Установка драйвера AMDGPU в Ubuntu выполняется командой:
* Installing the AMDGPU driver in Ubuntu is done with the command:


     '''$ sudo ./amdgpu-pro-install '''
     '''$ sudo ./amdgpu-pro-install '''


* Добавляем необходимых пользователей в группу video:
* Add the necessary users to the video group:


     '''$ sudo usermod -a -G video $LOGNAME '''
     '''$ sudo usermod -a -G video $LOGNAME '''


* Перезагружаем систему и проверяем – установлены ли драйвера у нас системе
* We reboot the system and check if the drivers are installed on our system


     '''$ sudo dpkg -l amdgpu-pro '''
     '''$ sudo dpkg -l amdgpu-pro '''


     '''$ lspci -k | grep -EA2 “VGA|3D|Display” '''
     '''$ lspci -k | grep -EA2 “VGA|3D|Display” '''

Текущая версия от 13:37, 27 августа 2021

Другие языки:

Instructions for installing proprietary drivers for video cards

Nvidia Graphics Cards

  • Check what versions of the Nvidia driver are in the repository:
   $ sudo apt-get update && clear && apt-cache search nvidia-[0-9] | grep 'binary driver' 
  • Install the driver (nvidia-version) and the program for its settings (nvidia-settings):
   $ sudo apt-get install nvidia-340 nvidia-settings 


driver version may be different

  • Create xorg.conf:
   $ sudo nvidia-xconfig 
  • Restart your computer.

After rebooting, check which video driver is being used:

   $ lspci -k | grep -EA2 'VGA|3D' 

we get a similar output -

   03:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
   Subsystem: Elitegroup Computer Systems Device 1a0e
   Kernel driver in use: nvidia 



Intel Graphics

The Intel graphics driver is already installed in Ubuntu by default. It is contained in the xserver-xorg-video-intel package.
You can use the ready-made PPA to update to the latest version of the xserver-video-intel driver.

  • Open terminal and enter the following commands:
   $ sudo add-apt-repository ppa:oibaf/graphics-drivers 
  • Update package list:
   $ sudo apt-get update  
  • Now, update the system:
   $ sudo apt-get dist-upgrade 
  • To restart a computer.


Updating with Intel Proprietary Utility Use the Intel (R) Linux * Graphics Installer to get the latest driver. You can download the utility from the page https://01.org/linuxgraphics/downloads?keys=&download_type=11&download_version=All



AMD Graphics

  • To check if we already have this driver implementation installed, run the command
   $ dpkg -l amdgpu-pro 
  • Go to the download page for Radeon drivers from the link. We select our video card model. Click the Submit button.

Select the operating system version, driver version and click the Download button.
Unpack the downloaded package with the archiver using the tar command:

   $ tar -Jxvf amdgpu-pro-20.40-1147286-ubuntu-20.04.tar.xz 
  • Go to the folder with the unpacked drivers.
  • Installing the AMDGPU driver in Ubuntu is done with the command:
   $ sudo ./amdgpu-pro-install 
  • Add the necessary users to the video group:
   $ sudo usermod -a -G video $LOGNAME 
  • We reboot the system and check if the drivers are installed on our system
   $ sudo dpkg -l amdgpu-pro 
   $ lspci -k | grep -EA2 “VGA|3D|Display”