Installing R435 + CUDA 10.1 on Ubuntu 18.04

Hi,

I want Video Codec SDK 9.1 (driver version 435) and CUDA on a Ubuntu 18.04… (or any deb based system / ubuntu version)

Installing the Video driver was simple but installing Cuda 10.1 forced driver 418 to be installed meaning Video Codec SDK 9.0.

I did install on a fresh Ubuntu 18.04 with a T4 in it->

sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo apt -y update
sudo apt -y upgrade
sudo apt -y install nvidia-driver-435
(sudo reboot now)
wget http://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_418.87.00_linux.run
sudo sh cuda_10.1.243_418.87.00_linux.run

Then the CUDA installation complained about there was already a driver present and I also had to uncheck the R418 driver install. The installation completed with errors.

When I run the nvidia-smi tool, it says ->

Wed Oct 23 15:31:22 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21       Driver Version: 435.21       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla T4            Off  | 00000000:00:04.0 Off |                    0 |
| N/A   57C    P0    28W /  70W |      0MiB / 15109MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

So on a Ubuntu 18.04 machine or any other version of a deb system, is there a way of getting Video Codec SDK 9.1 and some Cuda version compatible with the latest video encoding/decoding sample code?

How do I install without getting all errors?

Tnx for any help!

/Anders