AMD drivers Linux
Hello! Now before I get the ''why are you even using Linux'', or ''AMD is crap on Linux'', let me tell you that
1) I had enough of Windows 10.
2) I know.


So I migrated to Linux Mint 19 (not because Mint is for noobs, I just really enjoy its UI), and now it's about time that I install my AMD gpu, I have a Radeon R5 M330 (I know, I know.. But I don't really game that often), but that specific driver doesn't work on Linux so I downloaded 340 instead.

That doesn't matter, what matters is when I try to install it through the terminal using the sudo command, things go fine until this shows up:


Detected X Server version 'XServer 1.19.6_64a' is not supported. Supported versions are X.Org 6.9 or later, up to XServer 1.10 (default:v2:x86_64:lib32:XServer 1.19.6_64a:none:4.15.0-32-generic:)
Installation will not proceed.


Any help would be appreciated. Thank you!!
Originally posted by Bad 💀 Motha:
from OMEGA

You don't install drivers from the web. Mint has a build-in tool for installing drivers, he can find it using the search function. If the driver tool says no drivers are available he should use the open source Mesa drivers which are already installed, they should give him better support for the Vulkan API and other stuff then those proprietary drivers anyway..

And that driver he is trying to install is probably made for Ubuntu 16.04 as well.. So that is usually a no-go unless you do tons of terminal hackery.

If he can't do something with the GUI he shouldn't be doing it. He needs to leave the terminal alone unless he is willing to risk breaking his system.

adding
DRI_PRIME=1 %command%
to the Steam game launch options should force it to use the 2nd GPU if it doesn't already.
< >
Showing 1-15 of 23 comments
Talby Aug 29, 2018 @ 5:55am 
Since Mint 19 is based on Ubuntu 18.04 try this guide[linuxconfig.org], and get the proper driver from here[support.amd.com].

And kudos for trying out linux, I only run windows on my main rig since it supports all my games. I do run it on all my older rigs and basement servers, because linux lol.

Good luck!
VladimirUlyanov- Aug 29, 2018 @ 7:46am 
I will read the guide as soon as I get back to my work station. Thank you for your help!

By the way, gaming on Linux is now more relevant than ever. If you run steam Beta like I do, and enable SteamPlay, you can play almost all your windows games there with no hassle.
Cathulhu Aug 29, 2018 @ 7:48am 
Yeah, it's called WINE. It's not like Valve re-invented the wheel. They just polished it.
VladimirUlyanov- Aug 29, 2018 @ 7:50am 
Originally posted by Cathulhu:
Yeah, it's called WINE. It's not like Valve re-invented the wheel. They just polished it.

Well, it's a fork of wine.. not exactly wine, but that still helps a bunch for us Linux gamers
IceFoxX Aug 29, 2018 @ 9:15am 
btw....amd is best for linux....nvidia is crap for linux because this ♥♥♥♥ closed source driver...
meheezen Aug 29, 2018 @ 11:30am 
hmm... not sure about your GPU, but the kernel integrated drivers work great for my hd7770 and rx470, performance is even better than using the ones provided by amd.com
i'd do a quick check to see if you even need those, it should work out of the box
Fluffy Aug 29, 2018 @ 1:21pm 
Originally posted by meheezen:
hmm... not sure about your GPU, but the kernel integrated drivers work great for my hd7770 and rx470, performance is even better than using the ones provided by amd.com
i'd do a quick check to see if you even need those, it should work out of the box

+1 in most cases the mesa driver is actually better performing than the amd-gpu/amd gpu-pro drivers i have tested this myself on my spare pc with a r9 270 with LM 19 mate

most games performed slightly better with default mesa drivers
The author of this thread has indicated that this post answers the original topic.
Bad 💀 Motha Aug 29, 2018 @ 6:54pm 
from OMEGA

You don't install drivers from the web. Mint has a build-in tool for installing drivers, he can find it using the search function. If the driver tool says no drivers are available he should use the open source Mesa drivers which are already installed, they should give him better support for the Vulkan API and other stuff then those proprietary drivers anyway..

And that driver he is trying to install is probably made for Ubuntu 16.04 as well.. So that is usually a no-go unless you do tons of terminal hackery.

If he can't do something with the GUI he shouldn't be doing it. He needs to leave the terminal alone unless he is willing to risk breaking his system.

adding
DRI_PRIME=1 %command%
to the Steam game launch options should force it to use the 2nd GPU if it doesn't already.
Last edited by Bad 💀 Motha; Aug 29, 2018 @ 6:55pm
Harry Gumdropzap Aug 29, 2018 @ 6:56pm 
linux is cool there should be more support for it
if there was i wouldve moved to it a long time ago
Fluffy Aug 29, 2018 @ 10:16pm 
for what its worth you CAN install amd drivers from the web on linux mint 19 but you have to change the install script using any editor in linux mint and change operating system from "ubuntu" to "linux mint" before running and you have to download the one meant for linux mint 19 underlying ubuntu version which is 18.04 LTS. this is because amd has only supplied the driver to run on ubuntu. i wouldnt call it terminal hackery but it does require a good working knowledge of terminal usage


BUT.. its not necessary and doesnt provide a performance boost in most cases. you should use default linux mint no longer provides proprietary drivers for amd because its not any better unlike the open source vs pro. drivers for nvidia

in your case the r5 m330 is ONLY supported but open source drivers the amd web site driver only supports r5 340 and up
https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
Last edited by Fluffy; Aug 29, 2018 @ 10:19pm
x_wing Aug 30, 2018 @ 4:11am 
Originally posted by Fluffy:
for what its worth you CAN install amd drivers from the web on linux mint 19 but you have to change the install script using any editor in linux mint and change operating system from "ubuntu" to "linux mint" before running and you have to download the one meant for linux mint 19 underlying ubuntu version which is 18.04 LTS. this is because amd has only supplied the driver to run on ubuntu. i wouldnt call it terminal hackery but it does require a good working knowledge of terminal usage


BUT.. its not necessary and doesnt provide a performance boost in most cases. you should use default linux mint no longer provides proprietary drivers for amd because its not any better unlike the open source vs pro. drivers for nvidia

in your case the r5 m330 is ONLY supported but open source drivers the amd web site driver only supports r5 340 and up
https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx

I agree. Also I would point out that for the best gaming performance/compability you should configure a PPA in order to keep Mesa libs updated (Mesa are your open source drivers). I would recommend to use Padoka PPA stable (that's the one that Valve recommends in proton project).

Also, take note of the Omega comment about DRI_PRIME.
Last edited by x_wing; Aug 30, 2018 @ 4:12am
VladimirUlyanov- Aug 30, 2018 @ 4:59am 
Originally posted by meheezen:
hmm... not sure about your GPU, but the kernel integrated drivers work great for my hd7770 and rx470, performance is even better than using the ones provided by amd.com
i'd do a quick check to see if you even need those, it should work out of the box

This is not my case actually... my laptop has 2 gpus, an Intel 5500U and an AMD R5... I assume that the Intel is enabled that's why I am getting terrible gameplay...There is no way to download the AMD because of that terminal error..

Originally posted by Bad_Motha:
from OMEGA

You don't install drivers from the web. Mint has a build-in tool for installing drivers, he can find it using the search function. If the driver tool says no drivers are available he should use the open source Mesa drivers which are already installed, they should give him better support for the Vulkan API and other stuff then those proprietary drivers anyway..

And that driver he is trying to install is probably made for Ubuntu 16.04 as well.. So that is usually a no-go unless you do tons of terminal hackery.

If he can't do something with the GUI he shouldn't be doing it. He needs to leave the terminal alone unless he is willing to risk breaking his system.

adding
DRI_PRIME=1 %command%
to the Steam game launch options should force it to use the 2nd GPU if it doesn't already.


Thank you a bunch! I ran the command and the game ran flawlessly! Just a minor question though, do I have to do that for every game and each time I run the games?
Last edited by rotNdude; Aug 30, 2018 @ 8:05am
x_wing Aug 30, 2018 @ 5:11am 
Originally posted by FyodorDostoevsky-:
Originally posted by Bad_Motha:


Ok you're helping me now... How do I check that my drivers are installed via Mint? And I will try to run that command on steam... but please answer the first question :)

By default you have Mesa libs (strictly speacking, propietary and open source use the same driver). You can get information with this command:

$ glxinfo | grep OpenGL
Bad 💀 Motha Aug 31, 2018 @ 12:06am 
Hmmm, is there not a command you could tack onto, within a Steam shortcut that would be forcing the use of the 2nd (dedicated) GPU and thus also make every App/Game launched from Steam Client, automatically use that?

Kind of like how in Windows, launching Steam via the Run As Admin, will run everything that way since it is Steam that is launching it.
x_wing Aug 31, 2018 @ 4:13am 
Originally posted by Bad_Motha:
Hmmm, is there not a command you could tack onto, within a Steam shortcut that would be forcing the use of the 2nd (dedicated) GPU and thus also make every App/Game launched from Steam Client, automatically use that?

Kind of like how in Windows, launching Steam via the Run As Admin, will run everything that way since it is Steam that is launching it.

Not a command, is an environment variable (DRI_PRIME), but this works well only with GPUs that uses Mesa drivers (i.e. AMD & Intel). If you would want to force the use of your second/n_th GPU at a "global level" on Steam, you can start it as:
$ DRI_PRIME=1 steam (the number represent the GPU number to use)

I think that for a notebook is a better approach to make specific configuration for each game, as this will help to save battery (Steam uses GPU acceleration if configured to do so).

Some extra notes:
  1. No game should ever need to run as root (admin) on Linux. There is no reason for a software like a game to require higher privileges.
  2. DRI_PRIME is not only for notebooks. This env is useful for switching acceleration within the GPUs you can have installed.
  3. For Nvidia propietary there is a similar functionality/switcher as in Windows (I think that nvidia was working in order to improve it). More info: https://wiki.archlinux.org/index.php/NVIDIA_Optimus

More info about PRIME: https://wiki.archlinux.org/index.php/PRIME
< >
Showing 1-15 of 23 comments
Per page: 15 30 50

Date Posted: Aug 29, 2018 @ 2:12am
Posts: 23