Skip to content

Instantly share code, notes, and snippets.

@xenithorb
Created December 20, 2017 12:23
Show Gist options
  • Save xenithorb/f9266bd9ba27bc99f52015c994021685 to your computer and use it in GitHub Desktop.
Save xenithorb/f9266bd9ba27bc99f52015c994021685 to your computer and use it in GitHub Desktop.
#!/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