Compiling AMD Crimson Edition
1 Attachment(s)
This morning, I was appraised of the release of AMD's Crimson Edition driver via Phoronix, and proceeded to download the new driver. Other than the drop of support for my Radeon HD 6670 (I had a spare XFX R7 handy, so that was no show stopper), I discovered another unpleasant aspect of the driver: The fglrx module failed to compile, and it was not until I perused the fglrx-install.log file that I discovered why it would not compile. My first guess as to why it failed was its lack of support for 4.3.x (My patchset for 4.3 applies, albeit with a few already-applied ones, which can be safely ignored). This was not the case, because even after the 4.3 patches were applied, it still failed. I was perplexed, then I discovered that the Makefile was still pointing to the old gcc-4.9 series! If, like me, you have upgraded to the new 5.2.0 series, you will need to set an environment variable to make sure the Makefile is using the new gcc, like so:
Code:
I am not sure whether this will apply system-wide or for just the Crimson driver, but I am going to set the CXX variable in my .bashrc file, just to be on the safe side. Just wanted to let everyone know who has Radeon hardware, what they're in for, and how to avoid the snafu that I encountered. P.S. I seldom game - the only games I make exceptions for are Quake I (w/ Darkplaces engine & Epsilon), single-player Unreal, and UT 2004. In Quake, when an enemy would come straight up to me and attack, and the only weapon I was using was a rocket launcher, using it would usually result in hesitation before actually registering fire on the old Catalyst driver. On the Crimson Edition, there was no such hesitation; it was smooth as butter. I haven't really measured the improvements against the old Catalyst, but I'm guessing it's a solid 50 percent difference, if not a little less. Color me impressed! Well done, AMD! P.P.S. In regards to the patchset mentioned above, I have eliminated the patches not needed anymore (and won't apply anyway). For convenience's sake, I have attached the patchset. Please follow my tutorial at http://www.linuxquestions.org/questi...2/#post5440497 for instructions on how to apply it. P.P.P.S. The Phoronix article states that there was no word on whether the Crimson Edition driver supported the Xorg server 1.18 or not. Well, with the recent upgrade of -current's xorg-server to 1.18, I went ahead and made packages for the previous version (1.17.4), seeing as it had subsequently disappeared, and tried out the new server. When my system went to launch X, all I saw was a black screen. So, I used my newly created packages to downgrade to the previous version, uninstalled and reinstalled the Crimson Edition driver, and lo and behold! Working X! I had set both CC and CXX, but thought that CXX was all that was needed to be set, after giving it some thought. I wasn't sure whether that was overkill, given that the driver successfully compiled. With the downgrade of Xorg to 1.17.4, I tried my new theory; no joy. I'm not quite sure why CC needs to be set as well as CXX, but apparently both do. I'm definitely not arguing with the results. To recap: No, Crimson Edition does not yet support Xorg 1.18. Stick with the previous version. Cheers! Regards, Matt |
Quote:
Where does it say support for Radeon HD 6xxx series is dropped? I'm not doubting you, but the release notes on the AMD website still says they're supported: http://support.amd.com/en-us/downloa...Linux+x86_64#2 I was thinking of submitting it as a bug (or bypassing the supported hardware check)... |
The release notes on AMD's website are oftentimes wrong, pre-GCN cards are now considered legacy and won't get any new closed source drivers.
|
The article on Phoronix said that the HD 5000/6000 series of cards had been dropped from support. They're usually pretty spot-on when it comes to those things. I was just lucky to have held on to my XFX card. Wasn't of much use after its original use case was done (I was experimenting with graphics for a mini-ITX case. Didn't work out as I expected.) Now it has a new lease on life, and will for some time, especially as I find myself strapped for cash, and as I mentioned in my OP, don't really game much, so a video card upgrade won't be in the works for quite some time, I should think. :)
Edit: I've found that Phoronix article I was referencing:http://http://www.phoronix.com/scan....rimson-Pre-GCN |
FWIW, the HD6450 and HD6670 should work reasonably fine with the free drivers if you don't game or only play older games (or games that don't need that much GPU performance), at least if you use -current (and you get working VDPAU support for free).
|
Quote:
|
I'm not convinced that HD 6000 series are dropped as it states compatibilty on the AMD Website AND the Phoronix article cites support dropped for both Linux and <cough> Windows <cough>. I just updated an HD 6770 to Crimson on Win7x64. My HD 6950 undoer Linux is causing trouble though I otherwise meet all the requirements.
|
Quote:
|
To clarify that, since AMD's naming scheme is based on marketing, not on the actual technology they used: On Linux they dropped all cards that do not use the GCN technology, but the VLIW technology in version 4 and 5.
This includes: - all HD5xxx cards - all HD6xxx cards - HD7xxx cards up to the HD76xx series, HD77xx and higher are still supported - all HD8xxx cards (you will only find those in APUs) |
Quote:
Now, I know what the Phoronix article said about the driver being a "letdown" on Linux, but I also know what I witnessed, and what happened before I upgraded the driver. I don't think that the flat curve is consistent across all Radeon hardware and games. What Michael compared was the latest hardware with the most popular games, and that is already high-end. But on the lower end, where Quake is, there was enough of an improvement that I have put off a video card upgrade for the foreseeable future. |
Quote:
Now reading through reviews on my GPU, the HD 6770, it had very good mid-level performance. After the HD 7000 series were released they were looking to fill gaps in their pecking order and AMD is widely known for repackaging/rebranding previous gen hardware and calling it a day. Such is the case with the HD 7770, it is a re-badged 6770. When trying to identify a HD 6770 via the AMD driver or via lspci, it always comes back as 6700/7700 series. Where my HD 6950 comes back as strictly 6900 series. It seems only through this loophole an HD 6770 is able to pass the hardware compatibility test for the new Crimson Driver. |
Quote:
|
To anyone using this driver: there's a slight uproar about this driver only allowing fan speed to come up to 20% and damaging some cards. Don't know if that's windows only. But something to be aware of. Some say that you would hit the thermal limit and the card would throttle itself before damage, but AMD is supposedly aware and releasing an update this week.
|
Quote:
|
All times are GMT -5. The time now is 01:18 AM. |