This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu [2024/12/30 04:40] nick created |
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu [2025/02/20 22:01] (current) nick |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | ====== Fix Ubuntu | + | ====== Fix Ubuntu |
- | For some reasons current | + | <WRAP important > |
- | the [[https:// | + | This documentation is only applied for **Ubuntu |
+ | |||
+ | And we suggest you to use **Ubuntu 24.04.2** or newer version. | ||
+ | </WRAP> | ||
+ | |||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | |||
+ | As the CPU (Intel® Core™ Ultra Processor [Series 2]) of Mind 2 AI Maker Kit is a quite new CPU, so current Ubuntu '' | ||
+ | |||
+ | * AX211 Wi-Fi doesn' | ||
+ | * AX211 Bluetooth doesn' | ||
+ | * HDMI sound card doesn' | ||
+ | * GPU doesn' | ||
+ | |||
+ | This documentation will guide you to fix these issues. | ||
===== Preparation ===== | ===== Preparation ===== | ||
- | As you need to download | + | As you need to download |
===== Disable the Secure Boot ===== | ===== Disable the Secure Boot ===== | ||
- | You need to disable the Secure Boot to update the Wi-Fi drivers, you can follow the steps below to disable the Secure Boot. | + | You need to disable the Secure Boot to update the kernel, you can follow the steps below to disable the Secure Boot. |
Reboot and press '' | Reboot and press '' | ||
Line 22: | Line 38: | ||
$ sudo apt update | $ sudo apt update | ||
$ sudo apt full-upgrade -y | $ sudo apt full-upgrade -y | ||
+ | $ sync | ||
+ | $ sudo reboot | ||
+ | ``` | ||
+ | |||
+ | After reboot, follow the steps below to upgrade the kernel to '' | ||
+ | |||
+ | ```shell | ||
+ | $ wget https:// | ||
+ | $ wget https:// | ||
+ | $ wget https:// | ||
+ | $ wget https:// | ||
+ | $ wget https:// | ||
+ | $ sudo dpkg -i / | ||
+ | ``` | ||
+ | |||
+ | ===== Fix GPU issue ===== | ||
+ | |||
+ | As Intel® Core™ Ultra Processor (Series 2) GPU is supported from '' | ||
+ | |||
+ | ```shell | ||
+ | $ sudo add-apt-repository ppa: | ||
+ | $ sudo apt update | ||
+ | $ sudo apt full-upgrade -y | ||
+ | ``` | ||
+ | |||
+ | The Ubuntu 24.04 repositories contain compute packages for various Intel graphics products. To install those packages, use the following commands: | ||
+ | |||
+ | ```shell | ||
+ | $ wget -qO - https:// | ||
+ | sudo gpg --yes --dearmor --output / | ||
+ | $ echo "deb [arch=amd64, | ||
+ | sudo tee / | ||
+ | $ sudo apt update | ||
+ | $ sudo apt install -y libze-intel-gpu1 libze1 intel-opencl-icd clinfo intel-gsc | ||
+ | ``` | ||
+ | |||
+ | The commands listed above install all the essential packages needed for most users, aiming to minimize the installation of unnecessary packages. However, if you plan to use PyTorch, install '' | ||
+ | |||
+ | ```shell | ||
+ | $ sudo apt install -y libze-dev intel-ocloc | ||
+ | ``` | ||
+ | |||
+ | Add user to '' | ||
+ | |||
+ | ```shell | ||
+ | $ sudo gpasswd -a ${USER} render | ||
+ | $ newgrp render | ||
$ sync | $ sync | ||
$ sudo reboot | $ sudo reboot | ||
``` | ``` | ||
- | ===== Download and install the Wi-Fi driver | + | |
+ | After reboot, to verify that the kernel and compute drivers are installed and functional, run '' | ||
+ | |||
+ | ```shell | ||
+ | $ clinfo | grep " | ||
+ | Device Name | ||
+ | Device Name | ||
+ | Device Name | ||
+ | Device Name | ||
+ | ``` | ||
+ | |||
+ | ===== Fix Wi-Fi issue ===== | ||
+ | |||
+ | ==== Download and install the Wi-Fi driver ==== | ||
Follow the steps below to download the Wi-Fi driver: | Follow the steps below to download the Wi-Fi driver: | ||
Line 31: | Line 107: | ||
```shell | ```shell | ||
$ sudo apt update | $ sudo apt update | ||
- | $ sudo apt install -y git build-essential gcc-12 net-tools | + | $ sudo apt install -y git build-essential gcc-14 net-tools |
$ cd ~/Downloads | $ cd ~/Downloads | ||
$ git clone git:// | $ git clone git:// | ||
Line 45: | Line 121: | ||
$ sync | $ sync | ||
``` | ``` | ||
- | ===== Update the Wi-Fi firmware ===== | ||
- | You also need to follow the steps below to update the Wi-Fi firmware: | + | ==== Update the Wi-Fi firmware ==== |
+ | |||
+ | You need to follow the steps below to update the Wi-Fi firmware: | ||
```shell | ```shell | ||
Line 62: | Line 139: | ||
``` | ``` | ||
- | ===== Check Wi-Fi status | + | ==== Check Wi-Fi status ==== |
After reboot, you can check the kernel log about the Wi-Fi driver. | After reboot, you can check the kernel log about the Wi-Fi driver. | ||
Line 94: | Line 171: | ||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
``` | ``` | ||
+ | |||
+ | ===== Fix Bluetooth issue ===== | ||
+ | |||
+ | After you upgrade kernel to '' | ||
+ | |||
+ | ===== Fix HDMI sound card issue ===== | ||
+ | |||
+ | After you upgrade kernel to '' | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 102: | Line 187: | ||
===== In the end ===== | ===== In the end ===== | ||
- | The Linux kernel '' | + | <WRAP tip > |
+ | Ubuntu **24.04.2** | ||
+ | </ | ||
- | /* | + | All the above steps will not needed once the Ubuntu official release the new OS with kernel '' |
- | ===== Update kernel ===== | + | See also: |
+ | |||
+ | * [[https:// | ||
- | ```shell | ||
- | wget https:// | ||
- | wget https:// | ||
- | wget https:// | ||
- | wget https:// | ||
- | ``` | ||
- | */ |