Graphics driver

From Alpine Linux
Revision as of 02:51, 4 May 2026 by Prabuanand (talk | contribs) (moved troubleshooting to it's own section with additional command)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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