5
October
2023
0:02

How to find out the model of the video card in Linux and install graphics drivers in Ubuntu / Mint / Debian

5 October 2023 0:02

You can find out the video card model in several ways.

Determination of a video adapter

1) the LSHW application displays the video card model

sudo lshw -C video

2) LSPCI utility displays the name of the card manufacturer, for example, "Zotac InternationaL (MCO) Ltd. "

lspci -k | grEP -A 2 -E "(VGA | 3D)" 

3) the GLXINFO application from the MESA subsystem displays the model of the graphic adapter

glxinfo | grep -i "OpenGL renderer" 

4) use of a utility to change screen resolution Xrandr также выводит количество выходов. Например, 2 шт, если D-SUB и DVI пишет "2 outputs".

xrandr --listproviderS.

5) program hardinfo с графическим интерфейсом ("Информация о системе и тестирование") автора Leandro A. F. Pereira

sudo apt install harDinfo
harDinfo

6) graphic application "System reports" (the same as hardinfo) in Linux Mint

mintreport

Installation of video card drivers

* ati radeon и AMD GPU (AMD Radeon™ RX Vega SerIES)

Package for installing a repositoryamDGPU can be downloaded from here:http: //repo.radeon.com/amdgpu-install/laTest.

Then:

sudo apt update
sudo apt install xserver-xorg-video-amDGPU

Instructions:https: //amdgpu-install.readthedocs.io/en/latest/

* nouveau - драйвер с открытым исходным кодом для видеокарт nVidia:

sudo apt install xserver-xorg-video-nouveau

Or, if not needed:

sudo apt remove xserver-xorg-video-nouveau

* nvidia - Closed source code:

First you need to install a utility for recognizing a video card and searching for suitable drivers:

sudo apt install ubuntu-drivers-common

ubuntu-driverS List

Its conclusion is approximately as follows:

nvidia-340 NVIDIa-driver-390 Installation of the right driver: sudo ubuntu-drivers install nvidia: 390 sudo reboot *** Intel i8xx && i9xx ** Built -in graphics Intel driver installation team: sudo apt install xserver-xorG-Video -intel *** Intel 965 Video AcceleraTion ** Support * Cantiga, Intel GMA 4500MHD (GM45) * Ironlake, Intel HD Graphics for 2010 Intel Core processor famIly * Sandy Bridge, Intel HD Graphics for 2011 Intel Core processor famIly * Ivy Bridge * Haswell * BroaDwell * SkylakE. * Kaby LakE. * Coffee LakE. * Cannon LakE. as well as codecs VP8, VP9, HEVC and AVC. Installation team: sudo apt install i965-va-driver-shaderS. *** Intel Gen 8+ VA API ** Driver for accelerating video (Non-Free) for Intel processors: * BroaDwell * SkylakE. * Broxton * Apollo LakE. * Kaby LakE. * Coffee LakE. * Whiskey LakE. * Cannon LakE. * Ice LakE. - Also supports the acceleration of the video MPEG2, ASP/H.263, MPEG-4 AVC/H.264 and VC-1/WMV. A team for installing an "non -free" Intel driver: sudo apt install intel-media-va-driver-non-free ### Mesa - 2D graphics subsystem for all video cards models sudo apt install libva2 mesa-va-drivers mesa-utils ### Drivers for 2D VA API graphics to accelerate the desktop of Xubuntu,kubuntu, lubuntu, maTE, BUDGIE (for the Ubuntu OS family) sudo apt install va-driver-aLL ### DEBIAN meta -package with drivers to display graphics su - apt-get update apt-get install xserver-xorg-video-aLL ### Метапакет Debian с драйверами для встроенной графики Intel su - apt-get ypdaTE apt-get install xserver-xorG-Video -intel ### DEBIAN driver for video cards ATI su - apt-get update apt-get install xserver-xorg-video-aTi ### Debian driver with drivers for AMD (AMDGPU). Support for GPU Bon familiesaire, Hawaii, Kaveri, Kabini Mullins, Iceland, Tonga, Carrizo, fiji, stoney. su - apt-get update apt-get install xserver-xorg-video-amDGPU ### Debian driver for discrete video cards AMD For video cards AMD/ATI. The following chips should be maintained: R100, RV100, RS100, RV200, RS200, RS250, R200, RV250, RV280, RS300, RS350, RS400/RS480, R300, R350, R360, RV350, RV360, RV370, RV380, RV410, RV410, RV410, RV410 R420, R423/R430, R480/R481, RV505/RV515/RV516/RV550, R520, RV530/RV560, RV570/R580, RS600/RS690/RS740, R600, RV610/RV630, RV620/RV635,, RV RV670, RS780/RS880, RV710/RV730, RV740/RV770/RV790, CEDAR, REDWOOD, JUNIPER, CYPRESS, HEMLOCK, PALM, Sumo/Sumo2, Barts, Turks, Caicos, Caicos, Caicos, Caicos, Caicos, Caicos, Cayman, Aruba, Tahiti, Pitcairn, Verde, Oland, Hainan, Bonaire, Kabini, Mullins, Kaveri, Hawaii, Hawaii su - apt-get update apt-get install xserver-xorg-video-raDeon ### Driver VA API only for OS Debian. Does not contain drivers themselves SU - apt-get update apt-get install va-driver-aLL ### Video codec for decoding 2D FFMPEG video Not compatible with LibavCodec58: sudo apt install libavcodec-extra ### LIB packageavcodec58 (устарел - для ffmpeg версий Debian до Bullseye), библиотека для ffmPEG For (de) coding video. The package is called Libavcodec58. ### LIB packageavcodec59 (для стабильной версии Debian), библиотека для ffmPEG For (de) coding video. Not contained in Ubuntu Linux. su - apt-get update apt-get install libavcodec59 ### LIB packageavcodec60 (для Debian Sid - нестабильный), библиотека для ffmPEG For (de) coding video. su - apt-get update apt-get install libaVCODEC60 ### Hybrid modes of video cards Nvidia Prime NVIDI modea Prime применяется в ноутбуках с 2 видеокартами - встроенной Intel и дискретной nVidia. Не проверял из-за отсутствия подобной техники. *[Instructions with Reddit](https://www.reddit.com/r/linux_gaming/comments/aoh5be/guide_hybrid_graphics_on_linux_nvidia_optimus/?rdt=58564) *[Instructions NVIDIa PrimE for ubuntu 22.04](https://ubuntuhandbook.org/index.php/2021/06/install-nvidia-driver-switch-between-intel-nvidia-ubuntu/) *[Instruction fromarChlinux - Information how to enable](https://wiki.archlinux.org/title/PRIME) #### Nvidia Prime Offloading: Inclusion from the command line *[Discussion and decision](https://github.com/minbrowser/min/discussions/2202) ### Work with 2 monitors in Ubuntu / Linux Mint ЕслAnd the video card has 2 outputs, DVI and VGA simply connect 2 monitors to them - the screen is separated between the monitors. The same will happen if the exit of HDMI, DP. You can drag the windows from one to the other. In the settings of the system, both displays are shown - resolutions and formats can coincide (16: 9 and 4: 3), but the image is displayed in the correct resolution, scale and proportions. The background drawings of the desktop are configured by the staffing program by pulling into a 1 or 2 screen. But the "Start" menu is located on the display No. 1. On the second display, you can display anything - a www -browser, documentation or mail, in parallel with the first. ### Understanding the X-system It should be understood that the image with X consists of a server and a client. A client with a mouse operates on a 0: 0 display, which in the case of one user is the only one and connects to the server on the same PC. There are ways to work on a computer remotely, but to display the result of the remote PC on a local display through SSH. Since Linux multi -user network operating system. Read more: *[How to specify a display when remote connection via SSH](https://stackoverflow.com/questions/784404/how-can-i-specify-a-display)

Related publications