Advertisement
illwieckz

enable amdgpu on GCN1 and GCN2

Sep 19th, 2022
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. # Enable amdgpu kernel driver for GCN 1 and GCN 2
  2.  
  3. mkdir -p /etc/default/grub.d
  4.  
  5. cat > /etc/default/grub.d/amdgpu_enable.cfg <<\EOF
  6. # GCN1, HD 7970 and friends
  7. GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} amdgpu.si_support=1 radeon.si_support=0"
  8.  
  9. # GCN2, R9 390X and friends
  10. GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} amdgpu.cik_support=1 radeon.cik_support=0"
  11. EOF
  12.  
  13. update-grub
  14.  
  15. # Don't forget to reboot!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement