After logging into the box sometime later, it seems that the video drivers are no longer loading, presumably as a consequence of some update or something.
===Testing===
nvidia-settings --query FlatpanelNativeResolution
.../etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
.../etc/modprobe.d/nvidia-installer-disable-nouveau.conf:# generated by nvidia-installer
===Uninstall/Reinstall===
Am going to try uninstalling CUDA 10.1 and the current Nvidia driver, and then reinstalling CUDA 10.0
./cuda_10.0.130.1.run
accept all defaults
Unfortunately this didn't work. After a reboot:
nvidia-settings --query FlatpanelNativeResolution
Unable to init server: Could not connect: Connection refused
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL
python -c "import tensorflow as tf; tf.enabl e_eager_execution();
print(tf.reduce_sum(tf.random_normal([1000, 1000])))"
2019-07-09 15:20:40.085877: E tensorflow/stream_executor/cuda/cuda_driver.cc:300
] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detecte
d
2019-07-09 15:20:40.085978: I tensorflow/stream_executor/cuda/cuda_diagnostics.c
c:148] kernel driver does not appear to be running on this host (bastard): /proc
/driver/nvidia/version does not exist
/usr/bin/nvidia-persistenced --verbose
nvidia-persistenced failed to initialize. Check syslog for more details.
lspci -vk also returned the same as before. This is really frustrating!