I recently flashed my 1 year old Tegra TK1 with L4T 21R4.
Everything went ok, and for a couple of days I’ve been using it via SSH only.
I did setup a VNC (tightvnc) but it won’t support xlib, and since I want to use it for ROS/OpenCV/OpenNI development, I tried connecting it to my monitor via HDMI, but have run into numerous issues.
The first and foremost, is that lightdm won’t start:
[+0.13s] DEBUG: Process 2096 terminated with signal 6 [+0.13s] DEBUG: DisplayServer x-0: X server stopped [+0.13s] DEBUG: Releasing VT 7 [+0.13s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0 [+0.13s] DEBUG: Seat: Display server stopped [+0.13s] DEBUG: Seat: Stopping; greeter display server failed to start
There exists no display at all:
ubuntu@tegra-ubuntu:~$ xrandr --query Can't open display
When I try to use the HDMI (PC monitor) I am stuck at a screen where I input the username and password, and it keeps telling me they are incorrect (no GUI/X11, just the framebuffer).
Furthermore, there appears to be no video driver loaded:
ubuntu@tegra-ubuntu:~$ lsmod Module Size Used by dm_crypt 13259 0 dm_mod 73887 1 dm_crypt bnep 10469 2 rfcomm 38359 0 bluetooth 307068 10 bnep,rfcomm rfkill 10365 2 bluetooth nvhost_vi 3064 0
I did try to install the dkms nvidia driver using apt-get, but it failed, complaining about some chroot environment parameter.
I also tried nouveau, but it also didn’t work.
I’ve tried the checksums for the drivers:
sha1sum -c /etc/nv_tegra_release
and they all passed.
CUDA samples (device query) produce errors too:
./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) cudaGetDeviceCount returned 63 -> OS call failed or operation not supported on this OS Result = FAIL
./deviceQueryDrv Starting... CUDA Device Query (Driver API) statically linked version cuInit(0) returned 304 -> CUDA_ERROR_OPERATING_SYSTEM Result = FAIL
What am I missing, what is broken?
Don’t I need the nvidia driver loaded?
Trying to compile the official NVIDIA linux ARM driver told me that my GPU is not supported.
I would really like to avoid re-flasing, as I have done quite a bit of work already.