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

Материал из SmartPlayer
(Новая страница: «* Go to the folder with the unpacked drivers. * Installing the AMDGPU driver in Ubuntu is done with the command:»)
(Новая страница: «* Add the necessary users to the video group:»)
Строка 78: Строка 78:
     '''$ 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 '''

Версия от 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 
  • Перезагружаем систему и проверяем – установлены ли драйвера у нас системе
   $ sudo dpkg -l amdgpu-pro 
   $ lspci -k | grep -EA2 “VGA|3D|Display”