Created
December 20, 2017 12:23
-
-
Save xenithorb/f9266bd9ba27bc99f52015c994021685 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo sh <<EEOOFF | |
cat <<EOF > /etc/modprobe.d/amdgpu.conf | |
blacklist radeon | |
# enable CIK support (experimental) for R9 290 cards | |
options amdgpu cik_support=1 | |
options radeon cik_support=0 | |
EOF | |
cat <<EOF > /etc/X11/xorg.conf.d/20-amdgpu.conf | |
Section "Device" | |
Identifier "AMD" | |
Driver "amdgpu" | |
EndSection | |
EOF | |
dracut -f | |
reboot | |
EEOOFF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment