# deviceQuery

**URL:** <https://forums.developer.nvidia.com/t/devicequery/13701>\
**Category:** CUDA Programming and Performance\
**Created:** [December 9, 2009, 2:42pm UTC](https://forums.developer.nvidia.com/t/devicequery/13701 "2009-12-09T14:42:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![malik747](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@malik747](https://forums.developer.nvidia.com/u/malik747)\
**Post date:** [December 9, 2009, 2:42pm UTC](https://forums.developer.nvidia.com/t/devicequery/13701/1 "2009-12-09T14:42:34Z")

</div>

Hi all:  
When I run the following:

~/NVIDIA\_GPU\_Computing\_SDK/C/bin/linux/release$ ./deviceQuery

I get the following message

CUDA Device Query (Runtime API) version (CUDART static linking)  
There is no device supporting CUDA

Test PASSED

I have the CUDA driver. You can see the attached file.

Any comments??

Thanks,  
malik

 ![Screenshot.png](https://global.discourse-cdn.com/nvidia/original/3X/0/1/0181fc586b6b5c1b5d92ed239a9abb01ee459f3b.png)

---

<div class="post-metadata">

**Author:** ![Drmike](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Drmike](https://forums.developer.nvidia.com/u/Drmike)\
**Post date:** [December 9, 2009, 3:08pm UTC](https://forums.developer.nvidia.com/t/devicequery/13701/2 "2009-12-09T15:08:11Z")

</div>

> [@](#):
>
> Hi all:
> 
> When I run the following:
> 
> ~/NVIDIA\_GPU\_Computing\_SDK/C/bin/linux/release$ ./deviceQuery
> 
> I get the following message
> 
> CUDA Device Query (Runtime API) version (CUDART static linking)
> 
> There is no device supporting CUDA
> 
> Test PASSED
> 
> I have the CUDA driver. You can see the attached file.
> 
> Any comments??
> 
> Thanks,
> 
> malik

Howdy Malik,

I’ve got the same problem - see “install problem”. I don’t get an X server window though because my X server is not nVidia based.

As root do an lsmod and see if the nvidia driver shows up, and also check ls -l /dev/nvi\* to make sure the device files have been generated.

If you’ve got all that, then we do have the same problem and it’d be nice to know the solution!

---

<div class="post-metadata">

**Author:** ![avidday](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/avidday/32/59219_2.png) [@avidday](https://forums.developer.nvidia.com/u/avidday)\
**Post date:** [December 9, 2009, 3:08pm UTC](https://forums.developer.nvidia.com/t/devicequery/13701/3 "2009-12-09T15:08:23Z")

</div>

What version of CUDA are you using and where did you install the driver from?

---

<div class="post-metadata">

**Author:** ![alecn2002](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@alecn2002](https://forums.developer.nvidia.com/u/alecn2002)\
**Post date:** [December 11, 2009, 1:21pm UTC](https://forums.developer.nvidia.com/t/devicequery/13701/4 "2009-12-11T13:21:56Z")

</div>

> [@](#):
>
> Hi all:
> 
> When I run the following:
> 
> ~/NVIDIA\_GPU\_Computing\_SDK/C/bin/linux/release$ ./deviceQuery
> 
> I get the following message
> 
> CUDA Device Query (Runtime API) version (CUDART static linking)
> 
> There is no device supporting CUDA
> 
> Test PASSED
> 
> I have the CUDA driver. You can see the attached file.
> 
> Any comments??
> 
> Thanks,
> 
> malik

I’d recommend to upgrade driver to the most recent version (190.42 for now)

---

<div class="post-metadata">

**Author:** ![apaehler](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@apaehler](https://forums.developer.nvidia.com/u/apaehler)\
**Post date:** [December 15, 2009, 2:09am UTC](https://forums.developer.nvidia.com/t/devicequery/13701/5 "2009-12-15T02:09:08Z")

</div>

> [@](#):
>
> Howdy Malik,
> 
> I’ve got the same problem - see “install problem”. I don’t get an X server window though because my X server is not nVidia based.
> 
> As root do an lsmod and see if the nvidia driver shows up, and also check ls -l /dev/nvi\* to make sure the device files have been generated.
> 
> If you’ve got all that, then we do have the same problem and it’d be nice to know the solution!

There is a problem with at least OpenSuSE 11.2, that I seem to be too stupid to fix through configuration files (have tried): whenever the machine is rebooted, udev creates entries /dev/nvidiactl and /dev/nvidia[01] (I have two GTX260). Those are owned by owner root / group video and have permissions crw-rw----, accessible by owner and group only. I have to do a ‘sudo chmod 666 /dev/nvidia\*’ to be able to access the cards as a plain user. A device query returns only one emulation device for as long as the permissions are crw-rw---- and two GTX 260 when they are crw-rw-rw-.
