Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551458 - x11-drivers/ati-drivers-15.7 version bump
Summary: x11-drivers/ati-drivers-15.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo X packagers
URL: http://support.amd.com/en-us/kb-artic...
Whiteboard:
Keywords:
: 552596 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-07 19:13 UTC by Sergey Ilinykh
Modified: 2015-07-10 19:27 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
results of emerge of ati-drivers-15.7 (file_551458.txt,10.57 KB, text/plain)
2015-07-09 18:26 UTC, Drake Donahue
Details
remove IRQF_DISABLED, makes it compile on 4.1++ (oleid_4.1-remove-IRQF_DISABLED.patch,788 bytes, patch)
2015-07-09 19:46 UTC, Olaf Leidinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2015-06-07 19:13:00 UTC
subj


Reproducible: Always
Comment 1 Sergey Ilinykh 2015-06-12 23:22:15 UTC
just tried make ebuild for this version.

renamed one from x11-overlay, added fetch restriction, changed SRC_URI.
and then followed requirements from release notes.

x11 started. everything seems to work.
Comment 2 Mads 2015-06-13 11:51:23 UTC
I'm on 4.0.5, I needed these patches in addition to those already in the ebuild:

kolasa-3.19-get_cpu_var.patch
kolasa_4.0-cr4-strn.patch
kolasa_4.1_remove-IRQF_DISABLED.patch
fglrx_gpl_symbol.patch

I fetched them from here: https://aur.archlinux.org/packages/catalyst/?comments=all

That gpl patch might be an issue that makes this uninstallable on >=4.0-kernels without cheating though...
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2015-06-13 12:37:54 UTC
(In reply to Mads from comment #2)
> That gpl patch might be an issue that makes this uninstallable on
> >=4.0-kernels without cheating though...

yep and we can't add it to the tree for that reason, which limits ati-drivers currently to kernels <4.0.
Comment 4 emil karlson 2015-06-19 22:42:46 UTC
Sorry for not being responsive here, as far as I understood this is older release branch that is less useful than the latest ebuild in portage, I guess this ebuild could just be updated and then 15.1 could be bumped to higher version to allow people still to get the best available code.

Does this release bring any value beyond ati-drivers-15.1 ?
Comment 5 Christopher Crammond 2015-06-19 23:08:36 UTC
*** Bug 552596 has been marked as a duplicate of this bug. ***
Comment 6 Sergey Ilinykh 2015-06-20 05:57:48 UTC
With this release suspend to ram finally works.
With previous I was unable to resume from suspend.
Comment 7 Drake Donahue 2015-06-26 05:12:06 UTC
http://www.gentooforum.de/artikel/22061/linux-4-0-5-ati-drivers-cpu-tlbstate-problem.html may be the solution to the license problem.

15.5 does not need the license trickery until kernel's modpost calls EXPORT_SYMBOL_GPL(cpu_tlbstate) instead of EXPORT_SYMBOL(cpu_tlbstate)
patching /usr/src/linux/arch/x86/mm/init.c allows the ebuild install to run.

not knowing what parts of the amd 15.5 download need to be in the portage distfile I user patched ati-drivers-15.1 (fglrx-core-15.200). see bug 548118.
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2015-07-09 01:28:19 UTC
 New Features:

    AMD PowerXpress support for laptops equipped with Intel 6th generation (Skylake) CPUs
    Linux Platform Atomics & SVM Fine Grain Buffer support for Carrizo APUs
    Multi-Device support for OpenCL 2.0

Website still says only kernel <4.0 support
Comment 9 Olaf Leidinger 2015-07-09 08:53:06 UTC
If bug #553244 got fixed, people could manually inject fglrx_gpl_symbol.patch if needed.
Comment 10 Drake Donahue 2015-07-09 17:23:12 UTC
submitted https://bugzilla.kernel.org/show_bug.cgi?id=101281 hoping kernel devs will fix the license problem.
Comment 11 emil karlson 2015-07-09 17:48:26 UTC
Pushed to x11 overlay, though I did not get it to work immediately. Also, if you have HSA hardware, please test for regressions, one of the hsa drivers was either merged to something or removed.
Comment 12 Drake Donahue 2015-07-09 18:26:16 UTC
Created attachment 406430 [details]
results of emerge of ati-drivers-15.7

emerge of 15.7 from overlay failed. apparent regressions in amd's code. see the attachment.
Comment 13 Olaf Leidinger 2015-07-09 19:46:05 UTC
Created attachment 406432 [details, diff]
remove IRQF_DISABLED, makes it compile on 4.1++

Thanks! When compiling the ebuild using gentoo-sources-4.1.1, I run into missing IRQF_DISABLED compile errors. Yet, kolasa_4.1_remove-IRQF_DISABLED.patch doesn't apply for me, therefore I created the attached patch.

And of course, I need:

fglrx_gpl_symbol.patch
kolasa_4.0-cr4-strn.patch

(both from the AUR link).
Comment 14 Olaf Leidinger 2015-07-09 20:00:12 UTC
Not sure if it's news, since I didn't use ati-drivers for a long time, but I don't need to use any gdm-hack on this driver version.
Comment 15 emil karlson 2015-07-09 20:00:57 UTC
(In reply to Olaf Leidinger from comment #14)
> Not sure if it's news, since I didn't use ati-drivers for a long time, but I
> don't need to use any gdm-hack on this driver version.

Yes it is, thanks for noting.
Comment 16 Manuel Rüger (RETIRED) gentoo-dev 2015-07-10 17:11:18 UTC
*ati-drivers-15.7 (10 Jul 2015)

  10 Jul 2015; Manuel Rüger <mrueg@gentoo.org> +ati-drivers-15.7.ebuild:
  Version bump. Adds epatch_user support. Proxy commit for Emil Karlson. Fixes
  bugs #551458 #553244.
Comment 17 Sergey Ilinykh 2015-07-10 19:02:00 UTC
it's not buildable with any kernel declared as supported in release notes.
* Failed Patch: kernel-4-compat.patch

great work. thanks!
Comment 18 Sergey Ilinykh 2015-07-10 19:21:05 UTC
false alarm. my bad
Comment 19 Manuel Rüger (RETIRED) gentoo-dev 2015-07-10 19:27:45 UTC
(In reply to Rion from comment #17)
> it's not buildable with any kernel declared as supported in release notes.
> * Failed Patch: kernel-4-compat.patch
> 
> great work. thanks!
(In reply to Rion from comment #18)
> false alarm. my bad


I don't see the patch included in our cvs repository. Remember that, if you apply user patches, you apply them on your own risk and without support. If there are additional issues with the package itself please file another bug. Thanks!