Problem
The CC version check failed:
The kernel was built with gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12),
but the current compiler version is cc(Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010.
Solution
移除舊驅動
sudo apt purge nvidia*
update kernel 5.10->5.14
reboot -> found that one monitor works only
check if gpu conneted lspci | grep 'VGA'
check gpu driver nvidia-smi
message: nvidia-smi has failed because it couldn't communicate with the nvidia driver. make sure that the latest nvidia driver is installed and running
check kernel version uname -a -> 5.14
force to use nvidia gpu prime-select nvidia
noticed that someone said that the driver is built for specific kernel version
start to downgrade the kernel version :cry: using gui tool
https://github.com/erichu30/homebridge_DaikinAC
A project using homebridge to control my Daikin air conditioner via esp8266 micro controller
Start: August, 2021
Changelog
1.0 add funtion of turning AC on or off
Arduino esp8266
cd /var/lib/dpkg/
sudo mv info/ info_bak # backup
sudo mkdir info # create a new info directory
sudo apt-get update # update
sudo apt-get -f install # repair
sudo mv info/* info_bak/ # Move the files created after the upper command ti directory info_bak
sudo rm -rf info # delete the info directory
sudo mv info_bak info # renamed directory info_bak to info