ubuntu:gpu:amd_gpu:setup_an_amd_video_card
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:gpu:amd_gpu:setup_an_amd_video_card [2021/06/02 09:30] – peter | ubuntu:gpu:amd_gpu:setup_an_amd_video_card [2021/06/02 10:27] (current) – peter | ||
---|---|---|---|
Line 26: | Line 26: | ||
sudo ppa-purge ppa: | sudo ppa-purge ppa: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Reboot ===== | ||
+ | |||
+ | Reboot the computer. | ||
+ | |||
+ | <code bash> | ||
+ | sudo reboot | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Check if the driver is active ===== | ||
+ | |||
+ | <code bash> | ||
+ | lshw -c video | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | *-display | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * If this shows **amdgpu** then this is good; and the official GPU driver is being used. | ||
+ | * If this shows **radeon** then not good; as this indicates that the open source driver is being used. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Blacklist the open source radeon module driver ===== | ||
+ | |||
+ | <code bash> | ||
+ | lspci -k | grep -EA3 ' | ||
+ | </ | ||
+ | |||
+ | displays: | ||
+ | |||
+ | <code bash> | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Disable the radeon driver ===== | ||
+ | |||
+ | Edit / | ||
+ | |||
+ | <code bash> | ||
+ | sudo vi / | ||
+ | </ | ||
+ | |||
+ | …and add the following line at the end: | ||
+ | |||
+ | <file bash / | ||
+ | blacklist radeon | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Update grub ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo update-initramfs -u | ||
+ | </ | ||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Enable the amdgpu driver ===== | ||
+ | |||
+ | Edit the / | ||
+ | |||
+ | <code bash> | ||
+ | sudo vi / | ||
+ | </ | ||
+ | |||
+ | ...and add these lines: | ||
+ | |||
+ | <file bash / | ||
+ | GRUB_GFXMODE=1920x1080x32 | ||
+ | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Update Grub ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo update-grub2 && sudo update-initramfs -u -k all< | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Reboot ===== | ||
+ | |||
+ | Reboot the computer. | ||
+ | |||
+ | <code bash> | ||
+ | sudo reboot | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
ubuntu/gpu/amd_gpu/setup_an_amd_video_card.1622626219.txt.gz · Last modified: 2021/06/02 09:30 by peter