System Boot Error After AMD OpenCL Drivers Installation

Warning

Support for using AMD compute devices/GPUs is removed due to low usage and OpenCL stability issues in the drivers. It is possible to opt in to run the SDK with an unsupported compute device, by enabling an option in the Config.yml file. However, such a setup may give unexpected results and errors, and is not tested by Zivid.

Problem

System does not boot up after installing AMD OpenCL drivers.

Note

This is an Ubuntu issue only.

Possible cause and solution

Secure boot is enabled and needs to be disabled.

First, boot into recovery mode:

  1. Restart your computer.

  2. Wait until the UEFI/BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.) Note: UEFI fast boot may be too fast to give time to press any key.

  3. With BIOS, quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you’ve missed the point where you can enter the GRUB menu.) With UEFI press (perhaps several times) the Escape key to get grub menu.

  4. Select the line which starts with Advanced options.

  5. Select the line ending with “(recovery mode)”, probably the second line, something like:

    Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
    

    Press Return and your machine will begin the boot process.

When the system boots up, disable Secure Boot:

  1. Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard.

  2. Disable Secure Boot by running the following command:

    sudo mokutil --disable-validation
    
  3. Enter a temporary password between 8 to 16 digits (e.g. 12345678). Enter the same password again to confirm.

  4. Reboot the system and press any key when you see the blue screen (MOK management)

    sudo reboot
    
  5. Select Change Secure Boot state

  6. Enter requested characters of the password you had selected, and press Enter.

  7. Select Yes to disable Secure Boot in shim-signed.