User Tools

Site Tools


ubuntu:gpu:amd_gpu:troubleshooting:system_will_not_boot

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:troubleshooting:system_will_not_boot [2023/10/07 09:07] peterubuntu:gpu:amd_gpu:troubleshooting:system_will_not_boot [2023/10/07 09:23] (current) peter
Line 44: Line 44:
 <code bash> <code bash>
 sudo add-apt-respository ppa:kisak/kisak-mesa sudo add-apt-respository ppa:kisak/kisak-mesa
 +sudo apt update
 +sudo apt upgrade
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This will install the latest **stable** MESA-driver.
 +
 +  * See:  https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa
 +</WRAP>
 +
 +----
 +
 +=== Force the use of the Kisak resposity for MESA ===
 +
 +<code bash>
 +sudo vi /etc/apt/preferences.d/kisak-pin-2000 
 +</code>
 +
 +and populate with:
 +
 +<file bash>
 +Package: *
 +Pin: release o=LP-PPA-kisak-kisak-mesa
 +Pin-Priority: 2000
 +</file>
 +
 +and update again:
 +
 +<code bash>
 sudo apt update sudo apt update
 sudo apt upgrade sudo apt upgrade
Line 59: Line 88:
  
 <WRAP info> <WRAP info>
-**NOTE:**  This will download the firmware into a directory named **linux-firmware**.+**NOTE:**  The **/home/peter/amdgpu** directory here is just a temporary directory. 
 + 
 +  * The **git** command will download the firmware into a sub-directory named **linux-firmware** within the **/home/peter/amdgpu** directory. 
 + 
 +  * If **git** command does not work, download the newest tar.gz file manually from https://git.kernel.org/pub/scm/linux//kernel/git/firmware/linux-firmware.git 
 </WRAP> </WRAP>
  
Line 68: Line 102:
 <code bash> <code bash>
 mkdir bak mkdir bak
-cd bak 
 sudo cp -R /lib/firmware/amdgpu bak sudo cp -R /lib/firmware/amdgpu bak
 </code> </code>
Line 83: Line 116:
 sudo cp linux-firmware/amdgpu/* /lib/firmware/amdgpu sudo cp linux-firmware/amdgpu/* /lib/firmware/amdgpu
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  This will copy the amdgpu drivers from **/home/peter/amdgpu/linux-firmware** directory, to **/lib/firmware/amdgpu**.
 +</WRAP>
  
 ---- ----
Line 98: Line 135:
 <code bash> <code bash>
 sudo shutdown -r now sudo shutdown -r now
 +</code>
 +
 +----
 +
 +===== Housekeeping (Optional) =====
 +
 +Remove the temporary directories that were created for this fix.
 +
 +<code bash>
 +sudo rm -Rf /home/peter/amdgpu
 </code> </code>
  
Line 105: Line 152:
  
 https://git.kernel.org/pub/scm/linux//kernel/git/firmware/linux-firmware.git https://git.kernel.org/pub/scm/linux//kernel/git/firmware/linux-firmware.git
 +
 +https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa
  
ubuntu/gpu/amd_gpu/troubleshooting/system_will_not_boot.1696669621.txt.gz · Last modified: 2023/10/07 09:07 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki