Using AMDGPU right now
Long story short, Linux 4.2 includes the amdgpu driver, with basic support for the Tonga chip found on the 285/380. Some commits indicate support for the Fiji chip on the Fury, but that's probably coming later.
So, if you happen to have an r9 285, 380, or even a Fury, you are probably hating FGLRX or just not using linux at all for a while. Probably both.
The thing is, the linux-mainline AUR PKGBUILD doesn't enable amdgpu, so even if you get linux 4.2rc6, your card won't work.
Compiling your own kernel to the rescue
Note: ultra dirty quick instructions with total disregard of the Arch Build System
In a nutshell
Grab linux mainline .xz from kernel.org, unpack it, and navigate to its folder
Run
zcat /proc/config.gz > .config
make menuconfig
And enable the option shown here
Save and exit, run make and follow the wiki page as you have to set up its modules, create an initramfs for it, and update the grub config to see it listed on boot.
Lastly, copy all the firmware files for tonga/fiji to /lib/firmware/amdgpu
Reboot and choose your kernel from the Advanced Options For Arch Linux menu. It should work immediately, mesa-vdpau rendering your youtube videos at 60fps and all. Performance on 3d apps will be shit until 4.3 at least, as there is no core reclocking support, but it works, which is more than can be said of fglrx or vesa.
Hope this is useful for someone
EDIT: Also install mesa-git and its dependencies to get mesa 11, and proper support for this card. Performance will be shit without it.
Edited 21 Aug 2015. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 31 · 100% up
- Kind
- Image
- ID
- 3h4req
23 comments
I'm thinking I'll buying an amd card next. I'm kinda excited for this, how's the performance/stability?
Depends on the card, anything except for the 285/380/Fury has good open source support and fglrx shouldn't be even considered imho.
Steam hates the open source driver and won't run without a workaround (its in the wiki), but if you aren't gaming and you care about open source, go for it.
I explicitly waited a bit for the 380 to drop because I consider the amdgpu thing a good bet on future support, but right now there is no documentation at all (nothing really out of the ordinary considering it's not out yet)
Gaming performance doesn't concern me as the heavy gaming will be done in windows, but any kind of improvement on that regard will be welcome. It's no secret these cards don't perform as well as they should on linux, but the moves to fix it are clearly seen. Finally.
Maybe I'll kill the windows partition once linux 4.3 or 4.4 drops. Forever.
As for the current state, I've been running this for a few hours, and I've had no crashes running 2d games, watching videos, or running compiz. Compiz was slow, but that's because the aforementioned no reclocking support. BSPWM / XFWM and the traditional desktops fly. EDIT: KDE 5 also works like a charm.
I'd love to enable global vsync using the xorg.conf, but something tells me the same parameters that worked for radeon won't work for amdgpu. I'll try anyway later.
Using mesa/radeon FOSS driver with Steam works, no workaround needed.
If you want an AMD card now just think about a 260x (or 360, the same thing). Its about the best bang for the free driver.
I have a 260x, 7870, and 290. I get about 20% more fps in almost anything with a GPU 3x more expensive over the 260x.
Stability wise I'm a KDE contributor mostly and run a quad monitor setup on Plasma 5, and even just stock kernel + mesa git (for the OGL 4.1 support I'm testing) and it has been incredibly stable for about a year now.
If you mean AMDGPU, you might want to wait for 4.3 or 4.4 for all the bugs to be ironed out, this is literally the first release prerelease, and its not going to have significant performance gains, its just an efficient way for AMD not to duplicate kernel driver work.
I have an amd r9 380. And your guide has been a great help. (Didn't know that you had to enable amdgpu in kernel config). After copying the bin files directly into /lib/firmware/amdgpu I only get the follow message
amdgpu 0000:01:00.0: Invalid ROM content. I can access the ttys and my third monitor is now showing output, but sddm as my graphical manager is not loading. A few pointer would be good, as I am growing a bit despair.Edit: I now figured out what the problem was. For anyone else wondering, I put a file in
/etc/X11/xorg.conf.dwithI only had to remove the file and everything worked.
I just noticed that you need mesa 11 to get proper support for the card in X. Performance has skyrocketed from what it was and I can now enable KWin's opengl backend and play 2d games. (haven't tested 3d). Get mesa-git from the aur and its dependencies from here
Planning on going to arch linux tonight. I've had nothing but issues with my 380 on ubuntu, so i figure i might be able to do a better job if i build the OS myself.
Use Ubuntu 15.10 it works ootb
Unity or Gnome? Cause i tried with ubuntu gnome, and i had nothing but issues.
Is there a reason you wouldn't use the ABS to build the kernel?
Doing it manually is faster, I just wanted to test this quickly because I wasn't sure if it was going to work.
For any kind of semipermanent setup I would've set up a proper PKGBUILD. Maybe I should just do it anyway tomorrow, so more people can test.
But doing it this way is wholly out of the build system that is designed to keep everything copasetic in terms of distribution compatibility.
In the linux-mainline PKGBUILD there is a section where you can comment out "make olddefconfig" and uncomment "make menuconfig". Then you just build the package normally and enable AMDGPU in the menuconfig.
I have an AMD 7870. Am I screwed or will AMD give me support in the future?
You won't get support for AMDGPU. Mesa support will simply continue. Catalyst support is only going to be for workstations.
How long roughly will it be until the AMDGPU support for the 380 is stable/in the arch repos?
4.2 is on its sixth release candidate now, so it should drop to testing any other day. The official repo should get it around early september or later this month.
Deleted before we saved it.
sounds like nvidia drivers from 15 years ago.