Missing or broken libGL.so.1 library


This library provides hardware-accelerated Direct3D and OpenGL support. This is used by most games, but also by CAD applications and recent Microsoft Office versions.

Note, if the terminal reports this message:
libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast

The distribution has not been configured for DRI rendering. This means applications like PowerPoint 2010 will not launch. Please ensure that you have installed the mesa-dri libraries or reinstall the proprietary drivers to properly configure the system.


Each graphics driver comes with a different version of this library. We recommend consulting your distribution's documentation for instructions on how to install the best OpenGL and 3D driver for your graphics card. That said we normally recommend using the fglrx driver for AMD/ATI graphics cards and the nvidia one for Nvidia cards.

Here are some package names that you may use as a starting point. Note that it is important to use the right one to match your graphics driver:

Arch Linux
Intel 32-bit : pacman -Syu xf86-video-intel mesa-libgl
Intel 64-bit : pacman -Syu xf86-video-intel lib32-mesa-libgl
For reference, See the Arch Linux wiki
AMD open source | proprietary
Nvidia open source | proprietary

Debian 7 - 32-bit
Nvidia : apt-get install nvidia-glx or nvidia-glx-legacy-96xx
AMD : apt-get install fglrx-driver fglrx-glx
Intel : apt-get install libgl1-mesa-glx libgl1-mesa-dri

Debian 7 - 64-bit
Nvidia : apt-get install nvidia-glx-ia32 or nvidia-glx-legacy-96xx-ia32
AMD : : apt-get install fglrx-glx-ia32
Intel : apt-get install libgl1-mesa-glx:i386 libgl1-mesa-dri:i386

Debian 8 - 32-bit
Nvidia: apt-get install libgl1-nvidia-glx
AMD : apt-get install libgl1-fglrx-glx
Intel : apt-get install libgl1-mesa-glx libgl1-mesa-dri

Debian 8 - 64-bit
Nvidia: apt-get install libgl1-nvidia-glx-i386
AMD : apt-get install libgl1-fglrx-glx-i386
Intel : apt-get install libgl1-mesa-glx:i386 libgl1-mesa-dri:i386

Ubuntu 14.04.2
Intel : apt-get install libgl1-mesa-glx-lts-utopic libgl1-mesa-dri-lts-utopic

Nvidia : dnf install xorg-x11-drv-nvidia-libs.i686
Intel : dnf install mesa-libGL.i686 mesa-dri-drivers.i686

32-bit : zypper install Mesa-libGL1 or Mesa
64-bit : zypper install Mesa-libGL1-32bit or Mesa-32bit

Ubuntu 14.04
Nvidia: apt-get install nvidia-331 or nvidia-331-updates
AMD : apt-get install fglrx or fglrx-updates
Intel : apt-get install libgl1-mesa-glx libgl1-mesa-dri

Ubuntu 16.04
Nvidia: apt-get install nvidia
AMD : apt-get install fglrx or fglrx-updates
Intel : apt-get install libgl1-mesa-glx libgl1-mesa-dri

Additional Help

If the distro-provided graphics packages don't help resolve OpenGL errors the next step is to download the proprietary graphics installers from Nvidia/AMD and manually install them on your system. Nvidia's drivers are located here and AMD's drivers here. Search Google for instructions on how to install these packages directly on your distro.
Last modified on 2020-10-13 21:17:22 by François Gouget
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/diag/missinglibgl
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...