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:32] – peter | ubuntu:gpu:amd_gpu:setup_an_amd_video_card [2021/06/02 10:27] (current) – peter | ||
---|---|---|---|
Line 32: | Line 32: | ||
Reboot the computer. | Reboot the computer. | ||
+ | |||
+ | <code bash> | ||
+ | sudo reboot | ||
+ | </ | ||
---- | ---- | ||
Line 41: | Line 45: | ||
</ | </ | ||
- | **NOTE: | + | 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:// | ||
- | * If you see “amdgpu” there, | + | https:// |
- | * However if you see “radeon” there, you are still on the open source driver and need to take a few more steps. | + | |
ubuntu/gpu/amd_gpu/setup_an_amd_video_card.1622626378.txt.gz · Last modified: 2021/06/02 09:32 by peter