User Tools

Site Tools


ubuntu:gpu:amd_gpu:setup:setup_using_the_amd_installer_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:gpu:amd_gpu:setup:setup_using_the_amd_installer_script [2023/06/26 21:38] peterubuntu:gpu:amd_gpu:setup:setup_using_the_amd_installer_script [2024/09/07 22:13] (current) peter
Line 8: Line 8:
 ---- ----
  
-===== Download & Install the AMD Installer Script =====+===== Download the AMD Installer Script =====
  
 <WRAP info> <WRAP info>
Line 18: Line 18:
 sudo apt update sudo apt update
 wget https://repo.radeon.com/amdgpu-install/22.40.5/ubuntu/jammy/amdgpu-install_5.4.50405-1_all.deb wget https://repo.radeon.com/amdgpu-install/22.40.5/ubuntu/jammy/amdgpu-install_5.4.50405-1_all.deb
-sudo apt install ./amdgpu-install_5.4.50405-1_all.deb 
 </code> </code>
  
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.
  
 +</WRAP>
 +
 +----
 +
 +===== Uninstall the previous AMDGPU Stack (optional) =====
 +
 +[[Ubuntu:GPU:AMD GPU:Setup:Uninstall the AMDGPU stack|Uninstall the AMDGPU stack]].
 +
 +<WRAP info>
 +**NOTE:** This is recommended.
 +</WRAP>
 +
 +----
 +
 +===== Install the AMD Installer Script =====
 +
 +<code bash>
 +sudo apt install ./amdgpu-install_5.4.50405-1_all.deb
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  Check the latest version number of the Installer Script by checking the .deb file link from https://www.amd.com/en/support/linux-drivers.
 </WRAP> </WRAP>
  
Line 33: Line 54:
  
 <code bash> <code bash>
-amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk --opencl=rocr+amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk --opencl=rocr --no-dkms
 </code> </code>
  
Line 42: Line 63:
  
   * The **pro** option, used with **vulkan** requires AMD EULA to be accepted.    * The **pro** option, used with **vulkan** requires AMD EULA to be accepted. 
-    * <code bash>amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk,pro --opencl=rocr</code> 
     * 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>amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk,pro --opencl=rocr</code>
  
   * Various options can be selected.   * Various options can be selected.
     * See [[Ubuntu:GPU:AMD GPU:Setup:Setup using the AMD Installer Script:Install options|Install options]].     * See [[Ubuntu:GPU:AMD GPU:Setup:Setup using the AMD Installer Script:Install options|Install options]].
     * See [[Ubuntu:GPU:AMD GPU:Setup:Setup using the AMD Installer Script:Use case options|Use case options]].     * See [[Ubuntu:GPU:AMD GPU:Setup:Setup using the AMD Installer Script:Use case options|Use case options]].
 +
 +  * **--no-dkms**:  To turn of dkms, as this sometimes causes problems.  Optionally keep dkms by removing this option.
  
 </WRAP> </WRAP>
Line 77: Line 100:
 </code> </code>
  
 +<WRAP info>
 +**NOTE:**  This is an alternative method to configure group access:
 +
 +<code bash>
 +sudo usermod -a -G render,video $LOGNAME
 +</code>
 +
 +</WRAP>
  
 ---- ----
Line 173: 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=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json
  
 # For GPU Vulkan Support, if the pro driver is used. # For GPU Vulkan Support, if the pro driver is used.
Line 207: Line 241:
  
 ===== References ===== ===== References =====
 +
 +https://repo.radeon.com/amdgpu-install/
  
 https://www.amd.com/en/support/linux-drivers https://www.amd.com/en/support/linux-drivers
ubuntu/gpu/amd_gpu/setup/setup_using_the_amd_installer_script.1687815480.txt.gz · Last modified: 2023/06/26 21:38 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki