ubuntu:gpu:amd_gpu:setup:setup_using_the_amd_installer_script
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:setup_using_the_amd_installer_script [2023/06/07 18:30] – [Optionally, setup environment variables for hardware acceleration] peter | ubuntu:gpu:amd_gpu:setup:setup_using_the_amd_installer_script [2024/09/07 22:13] (current) – peter | ||
---|---|---|---|
Line 8: | Line 8: | ||
---- | ---- | ||
- | ===== Download | + | ===== Download the AMD Installer Script ===== |
<WRAP info> | <WRAP info> | ||
Line 18: | Line 18: | ||
sudo apt update | sudo apt update | ||
wget https:// | wget https:// | ||
- | sudo apt install ./ | ||
</ | </ | ||
Line 26: | Line 25: | ||
* The links for each Linux distribution always point to the latest available build. | * The links for each Linux distribution always point to the latest available build. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Uninstall the previous AMDGPU Stack (optional) ===== | ||
+ | |||
+ | [[Ubuntu: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This is recommended. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install the AMD Installer Script ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install ./ | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
</ | </ | ||
Line 33: | Line 54: | ||
<code bash> | <code bash> | ||
- | amdgpu-install --usecase=graphics, | + | amdgpu-install --usecase=graphics, |
</ | </ | ||
Line 41: | Line 62: | ||
* See: https:// | * See: https:// | ||
- | * The **pro** option, used with **vulkan** requires AMD EULA to be accepted. | + | * The **pro** option, used with **vulkan** requires AMD EULA to be accepted. |
* If this is not wanted, then remove this **pro** choice, which will use the Community version. | * If this is not wanted, then remove this **pro** choice, which will use the Community version. | ||
+ | * <code bash> | ||
* Various options can be selected. | * Various options can be selected. | ||
* See [[Ubuntu: | * See [[Ubuntu: | ||
* See [[Ubuntu: | * See [[Ubuntu: | ||
+ | |||
+ | * **--no-dkms**: | ||
</ | </ | ||
Line 76: | Line 100: | ||
</ | </ | ||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | <code bash> | ||
+ | sudo usermod -a -G render, | ||
+ | </ | ||
+ | |||
+ | </ | ||
---- | ---- | ||
Line 172: | Line 204: | ||
# For VA-API | # For VA-API | ||
export LIBVA_DRIVER_NAME=radeonsi | export LIBVA_DRIVER_NAME=radeonsi | ||
+ | |||
+ | # For GPU Vulkan Support, if the non-pro driver is used. | ||
+ | export VK_ICD_FILENAMES=/ | ||
# For GPU Vulkan Support, if the pro driver is used. | # For GPU Vulkan Support, if the pro driver is used. | ||
Line 184: | Line 219: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ===== Optionally, Xorg configuration ===== | ||
+ | |||
+ | If using Xorg. | ||
+ | |||
+ | Xorg will automatically load the driver and it will use the monitors EDID to set the native resolution. | ||
+ | |||
+ | * Configuration is only required for tuning the driver. | ||
+ | * If you want manual configuration, | ||
+ | |||
+ | <file bash / | ||
+ | Section " | ||
+ | | ||
+ | | ||
+ | | ||
+ | EndSection | ||
+ | </ | ||
---- | ---- | ||
===== References ===== | ===== References ===== | ||
+ | |||
+ | https:// | ||
https:// | https:// | ||
Line 197: | Line 252: | ||
https:// | https:// | ||
+ | https:// |
ubuntu/gpu/amd_gpu/setup/setup_using_the_amd_installer_script.1686162603.txt.gz · Last modified: 2023/06/07 18:30 by peter