How to install graphics card drivers in Ubuntu

ATTENTION ATI/AMD GRAPHICS CARD OWNERS, IF YOU INTEND TO USE UBUNTU (MATE) 16.04, PLEASE READ THE FOLLOWING FIRST!.

https://ubuntu-mate.community/user_avatar/ubuntu-mate.community/wolfman/40/454_2.png  AMD/ATI owners read this before upgrading to 16.04 Thoughts & Feedback

EDIT: POSSIBLE SOLUTION FOR SOME WHO HAVE A CARD ON THE LIST HERE: http://support.amd.com/en-us/kb-articles/Pages/AMD-Radeon-GPU-PRO-Linux-Beta-Driver–Release-Notes.aspx Take a look here if you have an AMD/ATI graphics card/chip if you intend to upgrade to Ubuntu 16.04: IF YOU ARE LUCKY YOU WILL FIND YOUR AMD CARD ON THE FOLLOWING LIST BUT PLEASE BE CAREFUL AND DON’T CHANCE YOUR ARM!: https://support.amd.com/en-us/download/linux  smiley

EDIT: POSSIBLE SOLUTION FOR SOME WHO HAVE AN AMD CARD ON THE LIST HERE:

http://support.amd.com/en-us/kb-articles/Pages/AMD-Radeon-GPU-PRO-Linux-Beta-Driver–Release-Notes.aspx 1.4k

See also:

https://support.amd.com/en-us/download/linux 508

First and foremost, Intel drivers are auto installed and there is no reason to start to try installing any drivers for Intel graphics cards as the best drivers are already installed!.

The following is for Nvidia and AMD (ATI) graphics card owners.

Open > Control Center > System > Software & Updates > Additional Drivers and wait until the page loads:

https://ubuntu-mate.community/uploads/default/optimized/2X/9/91ece985e86b1d3325efbf37b251af613708323a_2_587x500.jpg

Control Centre_001.jpg1049×893 226 KB

Window showing list of available Nvidia drivers:

https://ubuntu-mate.community/uploads/default/optimized/2X/b/be22e40c0ed04f80b8920b5d28c98e7d73693c5c_2_642x500.png

Pasted image873×679 77.8 KB

Window showing list of available ATI (AMD) drivers (Not mine btw but the only example I have!):

https://ubuntu-mate.community/uploads/default/original/2X/2/26cf4a90f1190cedba75d3a06f35ea69f8a740b0.png

If you do not see any available drivers for your graphics card, then your graphics card is most likely quite old and you should stick with what you have installed!, if you do see suitable drivers for your GPU, select the driver you want and click on “Apply Changes” and wait for the installer to do its thing. If nothing happens because the tool isn’t working, you can manually install the drivers via the terminal (See below for instructions!).

Restart your PC after installing drivers!.

Here are the official links for Nvidia and AMD/ATI drivers:

https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia 1.7k

https://help.ubuntu.com/community/BinaryDriverHowto/AMD 1.8k

Manually install drivers:

Make sure before you start to install the drivers manually that they are indeed the correct ones for your GPU, DON’T TRY INSTALLING AMD/ATI DRIVERS ON AN NVIDIA PC OR VICE VERSA!. THE SAME APPLIES TO INTEL DRIVERS TOO!.

You can easily check your GPU by opening a terminal (Ctrl + Alt + t) and typing:

lspci

scroll down to the bottom of the list and you will find something like this:

https://ubuntu-mate.community/uploads/default/optimized/2X/b/b75b1de5fde22139c7ae56743fb43f75c25fb79d_2_690x452.jpg

wolfman@fred55: ~_003.jpg989×649 291 KB

which will tell you exactly what make and model of GPU you have on your PC.

Manually adding your drivers via the terminal:

Assuming that available drivers are showing in the Additional Drivers Tool, all you need to make a note of is which has the highest number and its make.

As an example, I will show you the command for installing the Nvidia drivers for my Nvidia GPU PC, open a terminal and type (copy and paste if you like) the following command (AS AN EXAMPLE ONLY!):

sudo apt-get install nvidia-352

which will install the Nvidia driver version 352.63, all Nvidia driver packages end with the version number, nvidia-304, nvidia-340, nvidia-352 and so on!.

If you need the AMD/ATI drivers, (AS AN EXAMPLE ONLY!):

sudo apt-get install fglrx

The above is the Video driver for the AMD Radeon and FireGL graphics accelerators. This package provides 2D display drivers and hardware accelerated OpenGL for X11. (NO 3D ACCELERATION!)

The Radeon driver does have 3D support providing your GPU shows as supported in the list on the following page, double check it!:

https://help.ubuntu.com/community/RadeonDriver 908

Okay, I installed the wrong driver and now I can’t boot/my graphics are shot!:

Don’t panic, you can remove the drivers as easily as you installed them!.

Depending on what type of screen you now have in front of you, you will have a couple of options, firstly; if your screen is black and you cannot see anything, try “Ctrl + Alt + Del“, log out if you can and restart into “Advanced Settings” (AKA, “Recovery Mode”). If “Ctrl + Alt + Del” doesn’t work for you, press “Ctrl + Alt + F2 ” and/or “Ctrl + Alt + Backspace” and then “Ctrl + Alt + Del“.

https://ubuntu-mate.community/uploads/default/original/2X/f/f35ddd9216d89c82e05416c7c69ca2ebe1deefba.png

Once in Advance Settings (select advanced options for Ubuntu and then the 2nd option again), activate “Network” (using a network cable connection not WiFi) and then go to “root“, wait until the messages vanish (you will most likely get a message about networking, just click on “Enter” and say yes if asked!).

Now type the following (using the Nvidia drivers as an example):

sudo apt-get remove nvidia-352

or for the AMD/ATI package:

sudo apt-get remove fglrx

Once done, you may or may not get a message about restarting, IT IS VERY IMPORTANT TO RESTART AND NOT CLICK ON RESUME, press Ctrl + Alt + Del and let it restart normally and your problem should be gone!.

Restart in “Recovery mode” again and run “network” + “dpkg”, restart with Ctrl + Alt + Del again!.

Another method to install or remove problem driver packages.

To install or remove packages, press “Ctrl + Alt + F2 ” which will take you to a semi graphical desktop, use your normal login name (username) and type your password (doesn’t show in the window or give any indication that it is being noted!).

https://ubuntu-mate.community/uploads/default/original/2X/1/10a6eb7263de7fa30f367d06516d56a3a8701997.png

Enter your username followed by your password and then type your command(s) (the following are only meant as an example!).

Installation:

sudo apt-get install nvidia-352

Removal:

sudo apt-get remove nvidia-352

then restart your system:

sudo reboot

I cannot really comment much further on AMD/ATI drivers as I don’t have a card on either of my PC’S!. Maybe someone with one can add more valuable info for this thread!.

Any questions?, feel free to comment!.  :smiley:

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *