安裝環境
機型:Intel NUC8i7HNK 迷你電腦
操作系統:ubuntu16.04LTS
內核:4.15.0-47 -generic
安裝操作指南
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
安裝問題描述
安裝文檔中Installing the packages依次安裝,安裝運行到“sudo apt-get install librealsense2-dkms”時候會跳出Configuring Secure Boot的窗口,要求設置Secure Boot signing keys。如果忽略不管,或者設置密碼後不管,會出現安裝不成功的結果,導致“realsense-viewer”無任何連接信息!
問題解決
In order to make DKMS work, Secure Boot signing keys for the system must be imported in the system firmware, otherwise Secure Boot needs to be disabled. There are several methods to configure your system to properly load DKMS modules with Secure Boot enabled.
-
Method 1 - Install the DKMS package you need
-
Method 2 - Disable Secure Boot in shim-signed
-
Method 3 - Disable Secure Boot from BIOS
- Enter BIOS setup
- Disable secure boot
- Save configuration
- Reboot the system
採用第三種方法,BIOS中Disable Secure Boot,重啓機器,重新安裝librealsense2-dkms和librealsense2-utils即可,運行realsense-viewer
to verify the installation
其他問題
Intel NUC8i7HNK 迷你電腦安裝Ubuntu16.04 LTS後,會出現安裝後GUI不顯示的情況。
解決方法有2個,
1.BIOS將Performance> Graphics> Intel iGD設置爲Disable
2.BIOS將Performance> Graphics> Intel iGD設置爲Enable
編輯/ etc / default / grub
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash nomodeset”
使用sudo update-grub更新