Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu [2025/01/13 02:50]
nick old revision restored (2025/01/09 02:31)
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu [2025/02/20 22:01] (current)
nick
Line 2: Line 2:
  
  
-====== Fix Ubuntu 24.04 issues ======+====== Fix Ubuntu 24.04.1 issues ====== 
 + 
 +<WRAP important > 
 +This documentation is only applied for **Ubuntu 24.04.1**, if you use **Ubuntu  24.04.2** or newer version you don't need any tweak and just ignore this documentation. 
 + 
 +And we suggest you to use **Ubuntu 24.04.2** or newer version. 
 +</WRAP> 
  
 ===== Introduction ===== ===== Introduction =====
Line 12: Line 19:
   * AX211 Bluetooth doesn't work   * AX211 Bluetooth doesn't work
   * HDMI sound card doesn't work   * HDMI sound card doesn't work
-  * GPU doesn't work (Need to wait kernel & userspace libraries update, don't fix it in this documentation)+  * GPU doesn't work
  
 This documentation will guide you to fix these issues. This documentation will guide you to fix these issues.
Line 26: Line 33:
 Reboot and press ''DELETE'' to enter BIOS setup menu, and then navigate to ''Security'' -> ''Secure Boot'', and setup to ''Disabled'', press ''F4'' to save and reboot. Reboot and press ''DELETE'' to enter BIOS setup menu, and then navigate to ''Security'' -> ''Secure Boot'', and setup to ''Disabled'', press ''F4'' to save and reboot.
  
-===== Upgrade your system & kernel =====+===== Upgrade your system =====
  
 ```shell ```shell
 $ sudo apt update $ sudo apt update
 $ sudo apt full-upgrade -y $ sudo apt full-upgrade -y
 +$ sync 
 +$ sudo reboot
 ``` ```
  
-Follow the steps below to upgrade the kernel to ''6.11+'' (kernel of Ubuntu 24.10):+After reboot, follow the steps below to upgrade the kernel to ''6.11+'' (kernel of Ubuntu 24.10):
  
 ```shell ```shell
Line 46: Line 55:
 ===== Fix GPU issue ===== ===== Fix GPU issue =====
  
-We tried to update kernel (6.11+) & userspace libraries, the GPU works but still has some other issues, so we don't fix this issue in this documentation, we need to wait future kernel updating. 
- 
-/* 
 As Intel® Core™ Ultra Processor (Series 2) GPU is supported from ''NESA 24.2.2'' so you need to upgrade the MESA packages: As Intel® Core™ Ultra Processor (Series 2) GPU is supported from ''NESA 24.2.2'' so you need to upgrade the MESA packages:
  
Line 55: Line 61:
 $ sudo apt update $ sudo apt update
 $ sudo apt full-upgrade -y $ 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://repositories.intel.com/gpu/intel-graphics.key | \
 +  sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
 +$ echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble client" | \
 +  sudo tee /etc/apt/sources.list.d/intel-gpu-noble.list
 +$ 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 ''libze-dev'' and ''intel-ocloc'' additionally:
 +
 +```shell
 +$ sudo apt install -y libze-dev intel-ocloc
 +```
 +
 +Add user to ''render'' group and  reboot the device:
 +
 +```shell
 +$ sudo gpasswd -a ${USER} render
 +$ newgrp render
 $ sync $ sync
 $ sudo reboot $ sudo reboot
 ``` ```
-*/+ 
 +After reboot, to verify that the kernel and compute drivers are installed and functional, run ''clinfo'': 
 + 
 +```shell 
 +$ clinfo | grep "Device Name" 
 +  Device Name                                     Intel(R) Graphics [0x64a0] 
 +    Device Name                                   Intel(R) Graphics [0x64a0] 
 +    Device Name                                   Intel(R) Graphics [0x64a0] 
 +    Device Name                                   Intel(R) Graphics [0x64a0] 
 +``` 
 ===== Fix Wi-Fi issue ===== ===== Fix Wi-Fi issue =====
  
Line 146: Line 186:
  
 ===== In the end ===== ===== In the end =====
 +
 +<WRAP tip >
 +Ubuntu **24.04.2** already fixed all the issues above, you don't need to do anything if you use **24.04.2** or newer version.
 +</WRAP>
  
 All the above steps will not needed once the Ubuntu official release the new OS with kernel ''6.11+''. All the above steps will not needed once the Ubuntu official release the new OS with kernel ''6.11+''.
 +
 +See also:
 +
 +  * [[https://dgpu-docs.intel.com/driver/client/overview.html | Installing Client GPUs]]
  
  
Last modified: 2025/01/13 02:50 by nick