Graphics driver: Difference between revisions

From Alpine Linux
(Moved Xorg related drivers to its own page Xorg)
(moved Mesa-dri-gallium from Intel page to main page)
Line 1: Line 1:
Many [[Desktop environments and Window managers|desktop environments]] need a graphics driver to work properly. Graphics cards of recent vintage need a driver to work. So one needs to install one of the below graphics drivers before installing a [[Installation#Post-Installation|desktop]]:
Many [[Desktop environments and Window managers|desktop environments]] need a graphics driver to work properly. Graphics cards of recent vintage need a driver to work. So one needs to install one of the below graphics drivers before installing a [[Installation#Post-Installation|desktop]]:
* {{Pkg|mesa-dri-gallium}}: '''necessary''' Mesa drivers for all Graphics cards.
Mesa-dri-gallium is an open-source OpenGL implementation that supports a variety of hardware and software drivers, including Intel, AMD, NVIDIA, and more.


Information about the video cards that are installed in the computer may be found using <code>lspci</code> command, which is not available by default. Refer the [[How_to_get_regular_stuff_working#Hardware_Management|instructions]] to install {{pkg|pciutils}} package.  
Information about the video cards that are installed in the computer may be found using <code>lspci</code> command, which is not available by default. Refer the [[How_to_get_regular_stuff_working#Hardware_Management|instructions]] to install {{pkg|pciutils}} package.  

Revision as of 05:12, 9 January 2025

Many desktop environments need a graphics driver to work properly. Graphics cards of recent vintage need a driver to work. So one needs to install one of the below graphics drivers before installing a desktop:

Mesa-dri-gallium is an open-source OpenGL implementation that supports a variety of hardware and software drivers, including Intel, AMD, NVIDIA, and more.

Information about the video cards that are installed in the computer may be found using lspci command, which is not available by default. Refer the instructions to install pciutils package.

To identify the graphics card (the Subsystem output shows the specific model), issue the below command:

lspci -v | grep -A1 -e VGA -e 3D

Then, install an appropriate driver.

For details on legacy Xorg drivers refer Xorg page.