Graphics driver: Difference between revisions

From Alpine Linux
(Moved Xorg related drivers to its own page Xorg)
(rephrased page to clarify on mesa)
 
(2 intermediate revisions by the same user not shown)
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. Install Mesa drivers for all graphics cards before installing a [[Installation#Post-Installation|desktop]]. Mesa-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.  
* {{Pkg|mesa-dri-gallium}}: Mesa drivers for all Graphics cards.
* {{Pkg|mesa-va-gallium}}: Mesa vaapi drivers for all video decoding acceleration.


To identify the graphics card (the Subsystem output shows the specific model), issue the below command:
Graphics cards of recent vintage need a driver to work. Install additional graphics drivers from the below depending on your hardware. If you are unsure about your graphics card, use <code>lspci</code> from {{pkg|pciutils}} package to identify the graphics card: {{cmd|<Nowiki>lspci -k | grep -EA3 "VGA|3D|Display"</Nowiki>}}
{{cmd|<Nowiki>lspci -v | grep -A1 -e VGA -e 3D</Nowiki>}}


Then, install an appropriate driver.  
Then, install an appropriate driver.  

Latest revision as of 07:58, 9 January 2025

Many desktop environments need a graphics driver to work properly. Install Mesa drivers for all graphics cards before installing a desktop. Mesa-gallium is an open-source OpenGL implementation that supports a variety of hardware and software drivers, including Intel, AMD, NVIDIA, and more.

Graphics cards of recent vintage need a driver to work. Install additional graphics drivers from the below depending on your hardware. If you are unsure about your graphics card, use lspci from pciutils package to identify the graphics card:

lspci -k | grep -EA3 "VGA|3D|Display"

Then, install an appropriate driver.

For details on legacy Xorg drivers refer Xorg page.