kodi:kodi-nuc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kodi:kodi-nuc [2023/12/27 13:18] – Wuff | kodi:kodi-nuc [2026/07/29 15:01] (current) – [Boot without connected TV / AVR] Wuff | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Kodi NUC setup ====== | + | ====== Kodi NUC main setup ====== |
| - | KODI INSTALL\\ | + | ===== BIOS SETTINGS ===== |
| + | Enter bios: | ||
| + | < | ||
| + | Set SGX to Enabled in BIOS to avoid boot message relating to it. (can possibly be set by software https:// | ||
| + | Set Fan control to custom with fanless at 48C, min 75, 30% at 1C, min 65 for RAM. | ||
| + | |||
| + | Suggested Custom Fan Control Mode: | ||
| + | Primary Temperature Sensor to Processor, Fan Off Capability - enabled at 48C, Minimum Temperature to 85, Minimum Duty Cycle to 40, Duty Cycle Increment to 6 | ||
| + | Secondary Temperature Sensor to Memory, Minimum Temperature to 60, Minimum Duty Cycle to 40, Duty Cycle Increment to 6. | ||
| + | |||
| + | Set CEC to desired settings | ||
| + | |||
| + | ===== KODI INSTALL | ||
| Base OS install of Ubuntu server LTS 22.04.3 (orig notes from 20.04.1) | Base OS install of Ubuntu server LTS 22.04.3 (orig notes from 20.04.1) | ||
| Line 16: | Line 28: | ||
| < | < | ||
| sudo apt-get update | sudo apt-get update | ||
| - | sudo apt-get install software-properties-common xorg xserver-xorg-legacy alsa-utils mesa-utils git-core librtmp1 libmad0 lm-sensors libmpeg2-4 avahi-daemon libnfs13 libva2 vainfo i965-va-driver linux-firmware dbus-x11 openbox pastebinit xserver-xorg-video-intel alsa | + | sudo apt-get install software-properties-common xorg xserver-xorg-legacy alsa-utils mesa-utils git-core librtmp1 libmad0 lm-sensors libmpeg2-4 avahi-daemon libnfs13 libva2 vainfo i965-va-driver-shaders |
| sudo apt-get dist-upgrade | sudo apt-get dist-upgrade | ||
| + | </ | ||
| + | |||
| + | Support NFS mounts on system level: | ||
| + | < | ||
| + | sudo apt-get install nfs-common | ||
| </ | </ | ||
| Line 44: | Line 61: | ||
| sudo apt-get purge cloud-init* cloud-guest-utils | sudo apt-get purge cloud-init* cloud-guest-utils | ||
| + | |||
| + | sudo apt-get purge ubuntu-advantage-tools | ||
| + | sudo apt-get purge cryptsetup* | ||
| + | |||
| + | |||
| #install zip and unzip | #install zip and unzip | ||
| Line 67: | Line 89: | ||
| sudo systemctl disable motd-news.timer | sudo systemctl disable motd-news.timer | ||
| - | apt-get remove --purge landscape-common | + | sudo apt-get remove --purge landscape-common |
| sudo chmod -R 0644 / | sudo chmod -R 0644 / | ||
| sudo vi / | sudo vi / | ||
| Line 163: | Line 185: | ||
| sudo apt-get dist-upgrade | sudo apt-get dist-upgrade | ||
| sudo apt-get install kodi kodi-bin kodi-inputstream-adaptive kodi-vfs-libarchive kodi-vfs-rar | sudo apt-get install kodi kodi-bin kodi-inputstream-adaptive kodi-vfs-libarchive kodi-vfs-rar | ||
| + | |||
| + | #remove joystick support unless desired for retro-gaming | ||
| + | sudo apt-get purge kodi-peripheral-joystick | ||
| </ | </ | ||
| Line 294: | Line 319: | ||
| NOTE: Kernel 4.4+ is required or audio EDID information won't be copied. Verify with < | NOTE: Kernel 4.4+ is required or audio EDID information won't be copied. Verify with < | ||
| - | First find the connected port (HDMI/Displayport): | + | First find the connected port (HDMI/DP). All available ports are in the drm folder, check the status of each port until you find the correct ' |
| < | < | ||
| ls -la / | ls -la / | ||
| - | cat / | + | cat / |
| connected | connected | ||
| </ | </ | ||
| - | edit / | + | edit / |
| < | < | ||
| - | GRUB_CMDLINE_LINUX_DEFAULT=" | + | GRUB_CMDLINE_LINUX_DEFAULT=" |
| </ | </ | ||
| Make sure the system was booted connected to the AVR/TV and everything is working. Then proceed to copy the EDID: | Make sure the system was booted connected to the AVR/TV and everything is working. Then proceed to copy the EDID: | ||
| < | < | ||
| - | sudo mkdir -p / | + | sudo mkdir -p /usr/ |
| - | sudo cp / | + | sudo cp / |
| </ | </ | ||
| Line 316: | Line 341: | ||
| <code bash / | <code bash / | ||
| #!/bin/sh | #!/bin/sh | ||
| - | |||
| PREREQ=" | PREREQ=" | ||
| - | prereqs() | + | prereqs() { echo " |
| - | { | + | |
| - | echo " | + | |
| - | } | + | |
| case $1 in | case $1 in | ||
| - | prereqs) | + | |
| - | prereqs | + | |
| - | exit 0 | + | |
| - | ;; | + | |
| esac | esac | ||
| . / | . / | ||
| - | # Begin real processing below this line | ||
| - | if [ ! -e " | + | # Ensure directory exists inside initramfs root |
| - | mkdir -p " | + | if [ ! -e " |
| + | mkdir -p " | ||
| fi | fi | ||
| - | if [ -r "/ | + | # Copy the file to the correct standard location |
| - | cp "/ | + | if [ -r "/usr/ |
| + | cp "/usr/ | ||
| fi | fi | ||
| - | manual_add_modules i915 radeon | + | # Ensure graphics drivers load early enough to see the EDID |
| + | manual_add_modules i915 radeon | ||
| exit 0 | exit 0 | ||
| + | |||
| </ | </ | ||
| Line 603: | Line 624: | ||
| </ | </ | ||
| - | ===== bittorrent on nuc ===== | ||
| - | < | ||
| - | sudo apt-get install transmission-daemon | ||
| - | sudo service transmission-daemon stop | ||
| - | sudo vi / | ||
| - | #change rcp username and password (the password can be plaintext, next restart it'll be replaced with sha1 format) | ||
| - | #add local network to rcp whitelist like 127.0.0.1, | ||
| - | #set " | ||
| - | #set " | ||
| - | #set umask to 2 | ||
| - | #default torrent folder is / | ||
| - | sudo usermod -a -G debian-transmission wuff | ||
| - | sudo usermod -a -G users debian-transmission | ||
| - | #increase UDP buffers for uTP support | ||
| - | sudo vi / | ||
| - | add | ||
| - | #UDP buffer increase for Transmission uTP support | ||
| - | net.core.rmem_max = 16777216 | ||
| - | net.core.wmem_max = 4194304 | ||
| - | |||
| - | #then | ||
| - | sudo sysctl -p | ||
| - | |||
| - | sudo service transmission-daemon start | ||
| - | #default web interface is http:// | ||
| - | </ | ||
| - | Firefox addon for adding magnet links/bt to remote transmission: | ||
| - | https:// | ||
| - | |||
| - | |||
| - | < | ||
| - | sudo apt-get install smbclient | ||
| - | sudo apt-get install cifs-utils | ||
| - | sudo apt-get install wpasupplicant wireless-tools | ||
| - | ####Be VERY careful with the following command and only install connman if you really need it. Connman takes over default Linux network and wifi connection settings and results in a very hard time to configure it yourself and might even result in network not to work as it's supposed to! | ||
| - | sudo apt-get install connman | ||
| - | connmanctl enable bluetooth | ||
| - | hciconfig hci0 up | ||
| - | </ | ||
| - | |||
| - | Support NFS mounts on system level: | ||
| - | < | ||
| - | sudo apt-get install nfs-common | ||
| - | </ | ||
kodi/kodi-nuc.1703683107.txt.gz · Last modified: by Wuff