Skip to content

Fedora 24 Setup

Omar Alvarez edited this page Oct 14, 2016 · 18 revisions

Install AMD Drivers

Setup OpenCL/OpenGL runtime and devel:

$ sudo dnf install opencl-* ocl-icd clinfo clpeak mesa-libGL mesa-libGL-devel

Setup Xorg on headless fedora server:

$ sudo dnf install xorg-x11-server-Xorg xorg-x11-server-common xorg-x11-drv-dummy
$ sudo reboot

Xorg server is required to be running, for headless server see below.

Required packages to build radeon-crimson drivers:

$ sudo dnf install kmod redhat-lsb kernel-headers

Download AMD Crimson driver:

AMD Download

Extract drivers:

$ unzip radeon-crimson-15.12-15.302-151217a-297685e.zip
$ cd fglrx-15.302

Clone fglrx-for-Fedora github patch helper:

$ git clone https://github.com/imageguy/fglrx-for-Fedora/

Copy files to current directory (fglrx-15.302):

$ cp fglrx-for-Fedora/* .

Use do_install script to patch fglrx and run installer:

$ chmod +x do_install
$ ./do_install

When asked, select option 2 - Install Driver 15.302.

Select Recommended for class of installation.

Wait for install to finish.

Last the kernel modules will be built (this may take a while).

Don't forget to reboot!

$ sudo reboot

Headless Systems

If you have a headless system, try to install and configure xorg-video-dummy to make system believe a monitor is installed:

$ sudo gedit /etc/X11/xorg.conf  (or your preferred editor ex. nano)

Then write:

Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1152x864"
EndSubSection
EndSection

Save it and reboot:

$ sudo reboot
Clone this wiki locally