NomadBSD 130R-20210508 Errata

Package upgrade breaks autostart of applications

Description

DSBAutostart creates desktop files for autostarting programs. The desktop files are read and executed by a script which is part of Openbox. This script uses the Python module devel/py-xdg. Due to the Python upgrade the package name changed from py37-xdg to py38-xdg.

Solution

Install py38-xdg:
# pkg install py38-xdg

Python upgrade breaks dsbxinput, nomadbsd-chusr, and lbi-gui

Description

Due to the upgrade of Python, the Qt5 python module packages changed from py37-qt5-* to py38-qt5-*. This breaks dsbxinput, nomadbsd-chusr, lbi-gui, and ipfwGUI.

Solution

Change the shebang of dsbxinput and nomadbsd-chusr:
# sed -i '' 's/python3.7/python3.8/' /usr/local/bin/dsbxinput
# sed -i '' 's/python3.7/python3.8/' /usr/local/bin/lbi-gui
# sed -i '' 's/python3.7/python3.8/' /usr/bin/nomadbsd-chusr
# sed -i '' 's/python3.7/python3.8/' /usr/local/bin/ipfwGUI

HDD/SSD installed NomadBSD doesn't start the GUI on systems which require nvidia-driver > 390

Description

Due to the version upgrade from 440 to 460 of x11/nvidia-driver, the NomadBSD installer fails to install nvidia-driver-440.

Solution

Install x11/nvidia-driver and make the modules load via /etc/rc.conf:
# pkg install x11/nvidia-driver
# sysrc kld_list+=" /boot/modules/nvidia-modeset.ko /boot/modules/nvidia.ko"
# sysrc initgfx_enable=NO
If the file /usr/local/etc/X11/xorg.conf.d/00-video-initgfx.conf does not exist, or doesn't contain the line Driver "nvidia", create the file with the following content:
Section "Device"
    Identifier    "NVIDIA CARD"
    VendorName    "NVIDIA Corporation"
    Driver        "nvidia"
EndSection
After a reboot the GUI should start.