Graphics driver: Difference between revisions

From Alpine Linux
(moved content about mesa from Intel page to main graphics page)
(moved troubleshooting to it's own section with additional command)
 
(4 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. Install Mesa drivers for all graphics cards 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.


* {{Pkg|mesa-dri-gallium}}: '''necessary''' Mesa drivers for all Graphics cards.
* {{Pkg|mesa-dri-gallium}}: Mesa drivers for all Graphics cards.
* {{Pkg|mesa-va-gallium}}: Mesa vaapi drivers for all video decoding acceleration.


Mesa-dri-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 may need additional drivers to work at their full potential. Install additional graphics drivers from the below depending on your hardware. If you are unsure about your graphics card,refer [[#Identify graphics card|Identify graphics card]] section.
 
Graphics cards of recent vintage need a driver to work. So install additional graphics drivers from the below depending on your hardware. 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.  
 
To identify the graphics card (the Subsystem output shows the specific model), issue the below command:
{{cmd|<Nowiki>lspci -v | grep -A1 -e VGA -e 3D</Nowiki>}}


Then, install an appropriate driver.  
Then, install an appropriate driver.  
Line 15: Line 11:
* For AMD Radeon Chipsets, see [[Radeon Video]]
* For AMD Radeon Chipsets, see [[Radeon Video]]
* For Nvidia Chipsets, see [[Nvidia Video]]
* For Nvidia Chipsets, see [[Nvidia Video]]
* For legacy Xf86 drivers [[Xf86 Video]]
== Troubleshooting ==
=== Identify graphics card ===
If you are unsure about your graphics card, information about the particular video cards that are installed in the computer may be found in the list of PCI devices. 
Install the package {{pkg|pciutils}} first using the command: {{Cmd|#apk add pciutils}}
Now use <code>lspci</code> command from the {{pkg|pciutils}} package to identify the graphics card as follows:
{{cmd|<Nowiki>lspci -k | grep -EA3 "VGA|3D|Display"</Nowiki>}}
== See also ==


For details on legacy Xorg drivers refer [[Xorg]] page.
* [[Kernel Modesetting]]
* [[Uvesafb|Generic FB driver]]
* [[Xf86 Video]]


[[category:Graphics]]
[[category:Graphics]]
[[category: Drivers]]
[[category:Drivers]]
[[category: Desktop]]

Latest revision as of 02:51, 4 May 2026

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 may need additional drivers to work at their full potential. Install additional graphics drivers from the below depending on your hardware. If you are unsure about your graphics card,refer Identify graphics card section.

Then, install an appropriate driver.

Troubleshooting

Identify graphics card

If you are unsure about your graphics card, information about the particular video cards that are installed in the computer may be found in the list of PCI devices.

Install the package pciutils first using the command:

#apk add pciutils

Now use lspci command from the pciutils package to identify the graphics card as follows:

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

See also