Linux/VideoDrivers/en: различия между версиями
Материал из SmartPlayer
Admin (обсуждение | вклад) (Новая страница: «* Install the driver (nvidia-version) and the program for its settings (nvidia-settings):») |
Admin (обсуждение | вклад) (Новая страница: «* 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 ''' | ||
* | === '''''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> | <h2> <b> Intel Graphics </b> </h2> | ||
The Intel graphics driver is already installed in Ubuntu by default. It is contained in the xserver-xorg-video-intel package. </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. | ||
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 | |||
<h2><b> | <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 ''' | ||
* | * Go to the download page for Radeon drivers from the link. We select our video card model. Click the Submit button. </br> | ||
Select the operating system version, driver version and click the Download button. </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. | ||
* | * Installing the AMDGPU driver in Ubuntu is done with the command: | ||
'''$ sudo ./amdgpu-pro-install ''' | '''$ sudo ./amdgpu-pro-install ''' | ||
* | * 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”