Difference between revisions of "Graphics Card Drivers"

From PlayOnLinux
Jump to: navigation, search
(Intel)
(32-bit Graphics Libraries)
 
(19 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
{{Info|This list is going to take a while to get full, so please be patient as we populate everything.}}
 
{{Info|This list is going to take a while to get full, so please be patient as we populate everything.}}
 +
 +
{{Info|Never forget that your distro's documentation will cover this information in far greater detail; it is always good to familiarize yourself with the docs for any Linux distribution or piece of software that you use}}
  
 
For ease of use, we will break these down into different sections for the graphics card manufacturer, and then distro's within those categories.  
 
For ease of use, we will break these down into different sections for the graphics card manufacturer, and then distro's within those categories.  
 +
 +
== 32-bit Graphics Libraries ==
 +
 +
By far, the most common issue encountered when trying to run games through POL/POM/Wine has to be graphics drivers. Most people nowadays run 64-bit operating systems, but Wine almost always uses 32-bit Virtual Drives. These 32-bit installations in PlayOnLinux will require 32-bit versions of certain libraries on your system. As an example, if you have a 64-bit Ubuntu installation, and install a 32-bit program from PlayOnLinux (again, almost every single one is 32-bit), the program will tell Wine that it wants to speak to the 32-bit graphics libraries. Without them, they game will be grumpy or otherwise just not work.
 +
 +
Luckily, installing the 32-bit graphics libraries for your graphics card is easy on every popular distro. [https://www.codeweavers.com/ CodeWeavers] has an excellent, short, concise article on installing these 32-bit libraries on the most popular distros. If you think that you are missing your graphics drivers or even just the 32-bit libraries for them, this is a good place to start:
 +
 +
* https://www.codeweavers.com/support/wiki/Diag/MissingLibGL
  
 
== NVIDIA ==
 
== NVIDIA ==
Line 34: Line 44:
  
 
==== Debian ====
 
==== Debian ====
 +
 +
Debian, because of the nature of the project, does not include these drivers in their repository by default, so you have to enable the non-free repository to get the proprietary NVIDIA drivers. You can find that information here:
 +
 +
* https://wiki.debian.org/NvidiaGraphicsDrivers
  
 
==== Fedora ====
 
==== Fedora ====
 +
 +
* http://rpmfusion.org/Howto/nVidia
  
 
==== Arch ====
 
==== Arch ====
 +
 +
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
  
 
* https://wiki.archlinux.org/index.php/NVIDIA
 
* https://wiki.archlinux.org/index.php/NVIDIA
Line 80: Line 98:
  
 
==== Debian ====
 
==== Debian ====
 +
 +
Debian, because of the nature of the project, does not include these drivers in their repository by default, so you have to enable the non-free repository to get the proprietary AMD/ATI drivers. You can find that information here:
 +
 +
* https://wiki.debian.org/ATIProprietary
  
 
==== Fedora ====
 
==== Fedora ====
 +
 +
* [https://fedoraproject.org/wiki/Fglrx https://fedoraproject.org/wiki/Fglrx]
  
 
==== Arch ====
 
==== Arch ====
 +
 +
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
  
 
* https://wiki.archlinux.org/index.php/ATI
 
* https://wiki.archlinux.org/index.php/ATI
Line 100: Line 126:
  
 
==== Debian ====
 
==== Debian ====
 +
 +
The installation of the open source ''radeon'' driver is straightforward, and is likely installed on your system by default. More information on the Debian ''radeon'' driver can be found here:
 +
 +
* https://wiki.debian.org/AtiHowTo
  
 
==== Fedora ====
 
==== Fedora ====
 +
 +
The open-source ''radeon'' driver should already be included in your system by default. If you are on a 64-bit version of Fedora, you would only need to install the 32-bit libraries for your graphics card from the Fedora repo and it should work fine with PlayOnLinux.
  
 
==== Arch ====
 
==== Arch ====
 +
 +
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
  
 
* https://wiki.archlinux.org/index.php/ATI
 
* https://wiki.archlinux.org/index.php/ATI
Line 117: Line 151:
 
* https://01.org/linuxgraphics/
 
* https://01.org/linuxgraphics/
  
For the most part, this will cover how to make sure that you have the most up-to-date graphics stack for your Intel chipset. This applies exclusively to pure Intel graphics only. If you have, say, a mixed-graphics card environment, like a laptop that has an Intel iGPU and a discrete NVIDIA card, please refer to the '''NVIDIA Optimus''' section
+
For the most part, this will cover how to make sure that you have the most up-to-date graphics stack for your Intel chipset. This applies exclusively to pure Intel graphics only. If you have, say, a mixed graphics card environment, like a laptop that has an Intel iGPU and a discrete NVIDIA card, please refer to the '''NVIDIA Optimus''' section
  
 
==== Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives ====
 
==== Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives ====
Line 137: Line 171:
  
 
==== Debian ====
 
==== Debian ====
 +
 +
The drivers should already be installed, but if it is not working with OpenGL or you get complaints about the 32-bit graphics libraries being missing, you can should try to run:
 +
 +
'''Command:'''
 +
{{Console|
 +
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
 +
 +
sudo apt-get install ia32-libs
 +
}}
 +
 +
If that does not work, you can also install the package manually:
 +
 +
{{Console|sudo apt-get install libgl1-mesa-glx:i386}}
 +
 +
If you are still having problems, consult the Debian docs here:
 +
 +
* https://wiki.debian.org/Multiarch/HOWTO
  
 
==== Fedora ====
 
==== Fedora ====
 +
 +
The open-source Intel driver should already be included in your system by default. If you are on a 64-bit version of Fedora, you would only need to install the 32-bit libraries for your graphics card from the Fedora repo and it should work fine with PlayOnLinux.
  
 
==== Arch ====
 
==== Arch ====
 +
 +
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
  
 
* https://wiki.archlinux.org/index.php/Intel_graphics
 
* https://wiki.archlinux.org/index.php/Intel_graphics

Latest revision as of 20:55, 25 June 2015

In this section, we will try to cover the basics of getting the most out of your AMD, Nvidia, or Intel graphics card on your Linux system, specifically when using Wine/PlayOnLinux. This can get pretty lengthy, so expect this article to get exponentially bigger as time goes on.

This list is going to take a while to get full, so please be patient as we populate everything.
Never forget that your distro's documentation will cover this information in far greater detail; it is always good to familiarize yourself with the docs for any Linux distribution or piece of software that you use

For ease of use, we will break these down into different sections for the graphics card manufacturer, and then distro's within those categories.

32-bit Graphics Libraries

By far, the most common issue encountered when trying to run games through POL/POM/Wine has to be graphics drivers. Most people nowadays run 64-bit operating systems, but Wine almost always uses 32-bit Virtual Drives. These 32-bit installations in PlayOnLinux will require 32-bit versions of certain libraries on your system. As an example, if you have a 64-bit Ubuntu installation, and install a 32-bit program from PlayOnLinux (again, almost every single one is 32-bit), the program will tell Wine that it wants to speak to the 32-bit graphics libraries. Without them, they game will be grumpy or otherwise just not work.

Luckily, installing the 32-bit graphics libraries for your graphics card is easy on every popular distro. CodeWeavers has an excellent, short, concise article on installing these 32-bit libraries on the most popular distros. If you think that you are missing your graphics drivers or even just the 32-bit libraries for them, this is a good place to start:

NVIDIA

Proprietary Drivers

Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives

Most of the time, the easiest way is using the "Additional Drivers" dialogue. That does not always work though, and it sometimes will offer less-than-ideal versions of drivers for your NVIDIA card. If your card is supported by the current NVIDIA driver, the following command should pull in the required libraries:

sudo apt-get install nvidia-current

You can also install other series of drivers (313.x, 319.x, 331.x, etc.) by appending the version name to them:

Examples:

sudo apt-get install nvidia-331

For the 32-bit libraries, as long as libgl1-mesa-glx:i386 and multiarch-support are installed, it should install them automatically. If, after you install them from the Ubuntu repositories, it does not show up, try to install those packages mentioned previously:

sudo apt-get install multiarch-support

sudo apt-get install libgl1-mesa-glx:i386

The manual installation is a bit more involved, but it is preferred by a lot of users.

Will add more later

Debian

Debian, because of the nature of the project, does not include these drivers in their repository by default, so you have to enable the non-free repository to get the proprietary NVIDIA drivers. You can find that information here:

Fedora

Arch

Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:

Gentoo

Optimus

NVIDIA Optimus technology is a feature in laptops with newer Intel CPU's with integrated GPUs and discrete NVIDIA graphics cards that allows switching between graphics processors on-the-fly, to optimize the performance when needed, and maximizing battery life when not needing the discrete graphics card. More information on Optimus can be found here:

Most distributions

The current working solution is maintained by the Bumblebee Project. PRIME is not recommended, as it utilizes the open-source NVIDIA driver (nouveau), and will not give the performance desired for most games. The project's website has detailed documentation for most major distributions, so it is recommended to go by that:

Gentoo

Open-Source Drivers

Unfortunately, the open-source nouveau drivers are not really up-to-par on performance yet for gaming. Things are starting to look up, but there are a lot of caveats to running the open-source NVIDIA drivers. More information can be found here:

AMD

Proprietary Drivers

Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives

As of now, the official Ubuntu docs are VERY detailed in the installation of the open-source and proprietary graphics drivers. It is recommended to use their documentation for your AMD card on the Ubuntu distros (Mint should be very similar, if not exactly the same). You can find that information here:

Debian

Debian, because of the nature of the project, does not include these drivers in their repository by default, so you have to enable the non-free repository to get the proprietary AMD/ATI drivers. You can find that information here:

Fedora

Arch

Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:

Gentoo

Open-Source Drivers

Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives

We refer you to the same link:

Debian

The installation of the open source radeon driver is straightforward, and is likely installed on your system by default. More information on the Debian radeon driver can be found here:

Fedora

The open-source radeon driver should already be included in your system by default. If you are on a 64-bit version of Fedora, you would only need to install the 32-bit libraries for your graphics card from the Fedora repo and it should work fine with PlayOnLinux.

Arch

Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:

Gentoo

Intel

The Intel drivers are developed by the open-source community, so they are by far the easiest to install, as they pretty much will always come with your distro by default. More information on the Intel open-source drivers can be found here:

For the most part, this will cover how to make sure that you have the most up-to-date graphics stack for your Intel chipset. This applies exclusively to pure Intel graphics only. If you have, say, a mixed graphics card environment, like a laptop that has an Intel iGPU and a discrete NVIDIA card, please refer to the NVIDIA Optimus section

Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives

If you are already running a 32-bit version of one of these systems, you should have everything that you need installed correctly by default.

In the case of 64-bit systems, you already have the 64-bit libraries for your graphics hardware. A package called multiarch-support should pull in the 32-bit libraries, as well as a bunch of others.

Command:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

sudo apt-get install multiarch-support

If that does not work, you can also install the package manually:

sudo apt-get install libgl1-mesa-glx:i386

Debian

The drivers should already be installed, but if it is not working with OpenGL or you get complaints about the 32-bit graphics libraries being missing, you can should try to run:

Command:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

sudo apt-get install ia32-libs

If that does not work, you can also install the package manually:

sudo apt-get install libgl1-mesa-glx:i386

If you are still having problems, consult the Debian docs here:

Fedora

The open-source Intel driver should already be included in your system by default. If you are on a 64-bit version of Fedora, you would only need to install the 32-bit libraries for your graphics card from the Fedora repo and it should work fine with PlayOnLinux.

Arch

Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:

Gentoo