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:03] peterubuntu:gpu:amd_gpu:troubleshooting:system_will_not_boot [2023/10/07 09:23] (current) peter
Line 30: Line 30:
   - Wait 10 seconds   - Wait 10 seconds
   - Restart.   - Restart.
-  - continually press and release **shift** button. +  - Continually press and release **shift** button. 
-  - This should provide Grub menu.+  - This should display the Grub menu.
   - Select the latest **Recovery** kernel to boot.   - Select the latest **Recovery** kernel to boot.
-  - This should show a list of options.+  - This should display a list of options.
   - Select **Root**.   - Select **Root**.
   - Press **<Enter>** to get into a shell.   - Press **<Enter>** to get into a shell.
Line 40: Line 40:
 ---- ----
  
-==== Add Kisak ====+==== Add Kisak (optional) ====
  
 <code bash> <code bash>
Line 47: Line 47:
 sudo apt upgrade sudo apt upgrade
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  This will install the latest **stable** MESA-driver.
 +
 +  * See:  https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa
 +</WRAP>
  
 ---- ----
  
-===== Update amdgpu firmware =====+=== 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 upgrade 
 +</code> 
 + 
 +----
  
-Download the latest firmware.+===== Download the latest firmware =====
  
 <code> <code>
Line 61: 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 70: 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 85: 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 101: Line 136:
 sudo shutdown -r now sudo shutdown -r now
 </code> </code>
 +
 +----
 +
 +===== Housekeeping (Optional) =====
 +
 +Remove the temporary directories that were created for this fix.
 +
 +<code bash>
 +sudo rm -Rf /home/peter/amdgpu
 +</code>
 +
 +----
 +
 +===== References =====
 +
 +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.1696669395.txt.gz · Last modified: 2023/10/07 09:03 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki