image62

TX1: how to recover CUDA and Nvidia/X11 drivers…

Verify current support status

Each version on L4T has own check list of required files, drivers, libs with specific version.

sha1sum -c /etc/nv_tegra_release

Make sure that all items are “OK”

Current installed dependencies

Make sure you have uninstalled standard debs provided by “apt”.

# check for nvidia
# dpkg -l | grep nvidia
# check for cuda
# dpkg -l | grep libcuda
sudo apt-get purge nvidia-[your-version]
sudo apt-get purge libcuda-[your-version]

Cuda drivers and support

Follow this steps “how-to-install-cuda-on-nvidia-jetson-tx1”

Nvidia driver for X11

If for some reason you have installed nvidia/cuda “apt” drivers for Ubuntu and your desktop stopped working I would suggest to recover will following steps.

    • Download “Driver Packages” which matches your L4T version e.g. https://developer.nvidia.com/embedded/linux-tegra-r232
# for version L4T 23.2
cd /tmp
wget http://developer.nvidia.com/embedded/dlc/l4t-jetson-tx1-driver-package-23-2
    • Unpack and build by run “apply_binaries.sh”
unp l4t-jetson-tx1-driver-package*
cd Linux_For_Tegra
./apply_binaries.sh
    • Find required file “nvidia_drv.so” and “libglx.so”
# it should be placed ./rootfs/usr/lib/xorg/modules/drivers/nvidia_drv.so
find . -name nvidia_drv.so
find . -name libglx.so
    • Copy “nvidia_drv.so” driver and “libglx.so” extension into X11
cp ./rootfs/usr/lib/xorg/modules/drivers/nvidia_drv.so /usr/lib/xorg/modules/drivers/nvidia_drv.so
cp ./rootfs/usr/lib/xorg/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so

Rebooting Jetson TX1 should recover your X11 support.

Resources

See also Nvidia tickets for this issues “tx1-is-not-booting-up-no-display-response” and official Nvidia tips “cuda-installation-guide-linux”