# CUDA 8.0 with Nvidia driver 367.44 on Ubuntu 16.04

**URL:** <https://forums.developer.nvidia.com/t/cuda-8-0-with-nvidia-driver-367-44-on-ubuntu-16-04/44744>\
**Category:** CUDA Setup and Installation\
**Created:** [September 5, 2016, 6:22am UTC](https://forums.developer.nvidia.com/t/cuda-8-0-with-nvidia-driver-367-44-on-ubuntu-16-04/44744 "2016-09-05T06:22:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Footfish](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Footfish](https://forums.developer.nvidia.com/u/Footfish)\
**Post date:** [September 5, 2016, 6:22am UTC](https://forums.developer.nvidia.com/t/cuda-8-0-with-nvidia-driver-367-44-on-ubuntu-16-04/44744/1 "2016-09-05T06:22:42Z")

</div>

I have two GPUs on this machine with Ubuntu 16.04, and am having issue with CUDA 8.0RC

Output of nvidia-smi  
Sun Sep 4 23:07:48 2016  
±----------------------------------------------------------------------------+  
| NVIDIA-SMI 367.44 Driver Version: 367.44 |  
|-------------------------------±---------------------±---------------------+  
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |  
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |  
|===============================+======================+======================|  
| 0 GeForce GTX TIT… Off | 0000:01:00.0 On | N/A |  
| 22% 40C P8 16W / 250W | 518MiB / 12203MiB | 0% Default |  
±------------------------------±---------------------±---------------------+  
| 1 TITAN X (Pascal) Off | 0000:02:00.0 Off | N/A |  
| 23% 33C P8 8W / 250W | 1MiB / 12189MiB | 0% Default |  
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+  
| Processes: GPU Memory |  
| GPU PID Type Process name Usage |  
|=============================================================================|  
| 0 4320 G /usr/lib/xorg/Xorg 273MiB |  
| 0 5309 G compiz 147MiB |  
| 0 6562 G …rdSeparatedSigninFlow\<PasswordSeparatedSi 96MiB |  
±----------------------------------------------------------------------------+

cat /proc/driver/nvidia/version  
NVRM version: NVIDIA UNIX x86\_64 Kernel Module 367.44 Wed Aug 17 22:24:07 PDT 2016  
GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)

I installed CUDA 8.0RC using runfile and also installed the patch for gcc 5.4. However, after I compiled CUDA samples (no issues), I can’t run any of them. For example:  
bin/x86\_64/linux/release/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

By the way, I installed nvidia driver using deb not runfile.

Please help.

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [September 5, 2016, 9:35am UTC](https://forums.developer.nvidia.com/t/cuda-8-0-with-nvidia-driver-367-44-on-ubuntu-16-04/44744/2 "2016-09-05T09:35:49Z")

</div>

Your driver install is broken.

Follow the instructions in the linux install guide for CUDA 8.

Start over with a clean load of the OS, or or follow the instructions in the install guide for removing old installations.

Remove nouveau.

Install the correct driver for your GPU using the runfile installer from [www.nvidia.com](http://www.nvidia.com)

Then install CUDA 8RC and answer “no” when prompted to install the driver.

---

<div class="post-metadata">

**Author:** ![Footfish](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Footfish](https://forums.developer.nvidia.com/u/Footfish)\
**Post date:** [September 5, 2016, 3:18pm UTC](https://forums.developer.nvidia.com/t/cuda-8-0-with-nvidia-driver-367-44-on-ubuntu-16-04/44744/3 "2016-09-05T15:18:09Z")

</div>

How do I know my driver is broken? X window is fine, nvidia-smi shows the GPUs correctly, nvidia module is loaded.

---

<div class="post-metadata">

**Author:** ![Footfish](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Footfish](https://forums.developer.nvidia.com/u/Footfish)\
**Post date:** [September 7, 2016, 4:30am UTC](https://forums.developer.nvidia.com/t/cuda-8-0-with-nvidia-driver-367-44-on-ubuntu-16-04/44744/4 "2016-09-07T04:30:59Z")

</div>

In deed it’s the driver, apparently driver installed using deb has some cuda issue. Thanks, txbob.
