Fedora 21: Night, upgrade and AMD fglrx

This adventure begun when I wanted to use a Python 3.4. And wow! In Fedora 21 (while using Fedora 20) repos – 3.4.1, looks great! Then I’m started yum update && yum upgrade –releasever=21 …

*Some times later*
Rebooting… And no video drivers uses. Shit!

Download latest from http://support.amd.com/ru-ru/download, build package, install and … nope! Not again!

Ok. Googling says nothing, just only one thing – there was a patch for fglrx … and no patch file. Argh!
Extract the installer! $ ./amd-driver-installer-14.501.1003-x86.x86_64.run --extract $ cd fglrx-install.*

*And again some times later, with a magic and intuition helps*
Hey, here they are! The problem in file common/lib/modules/fglrx/build_mod/kcl_acpi.c at this line: 845 tdev->flags.no_hotplug = true;

Patch It! 845 # if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) 846 tdev->flags.no_hotplug = true; 847 # else 848 tdev->flags.removable = 0; 849 tdev->flags.ejectable = 0; 850 # endif
Building a package and install: fglrx-install $ ./ati-install.sh 14.501 --buildpkg RedHat/RHEL7_64a
fglrx-install $ sudo yum install ../fglrx64_p_i_c-14.501.1003-1.x86_64.rpm

Reboot. Worked! Sleep.

UPD: Founded later link with, imho, not correct patch, where just removing a code on pre-compiling:

UPD 2015.03.18: Wrote about it to AMD support, waiting response.

2 thoughts on “Fedora 21: Night, upgrade and AMD fglrx

Leave a Reply

Your email address will not be published. Required fields are marked *