Computer only with UEFI

Dear All,

 I use to install Ubuntu and CUDA in Legacy mode. But my computer only supports UEFI (ASUS X571GT).

I installed Ubuntu in UEFI mode (not configurable). How to install third part drivers (Nvidia Drivers) in this mode?

Thanks,

Luis Gonçalves

nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

cudaSetDevice failed! Do you have a CUDA-capable GPU installed?

Solved. It was another problem