'deviceQuery.cu' in line 59 : out of memory

Message boards : Graphics cards (GPUs) : 'deviceQuery.cu' in line 59 : out of memory
Message board moderation

To post messages, you must log in.

1 · 2 · 3 · 4 . . . 7 · Next

AuthorMessage
[AF>HFR>RR] Laxou

Send message
Joined: 15 Aug 08
Posts: 9
Credit: 1,973,745
RAC: 0
Level
Ala
Scientific publications
watwatwatwatwat
Message 2110 - Posted: 5 Sep 2008, 22:42:23 UTC
Last modified: 5 Sep 2008, 22:43:48 UTC

# Using CUDA device 0
Cuda error in file 'deviceQuery.cu' in line 59 : out of memory.

http://www.ps3grid.net/result.php?resultid=51269
http://www.ps3grid.net/result.php?resultid=50907
http://www.ps3grid.net/result.php?resultid=50789
http://www.ps3grid.net/result.php?resultid=50903

i know how to get this error :(
these wu where (re)started by boinc when i was playing tf2. the fact is that nvidia driver can't allocate enough memory for the cuda application when there is a heavy gfx game running :(

i think that boinc should take a look at the video memory before starting this kind of tasks.
ID: 2110 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile [SETI.USA]Tank_Master
Avatar

Send message
Joined: 8 Jul 07
Posts: 85
Credit: 67,463,387
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwat
Message 2112 - Posted: 6 Sep 2008, 0:01:09 UTC

what OS, BOINC version, and driver version do you have? Also, what type of video card are you running?
ID: 2112 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile GDF
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist

Send message
Joined: 14 Mar 07
Posts: 1958
Credit: 629,356
RAC: 0
Level
Gly
Scientific publications
watwatwatwatwat
Message 2116 - Posted: 6 Sep 2008, 8:46:51 UTC - in response to Message 2110.  

# Using CUDA device 0
Cuda error in file 'deviceQuery.cu' in line 59 : out of memory.

http://www.ps3grid.net/result.php?resultid=51269
http://www.ps3grid.net/result.php?resultid=50907
http://www.ps3grid.net/result.php?resultid=50789
http://www.ps3grid.net/result.php?resultid=50903

i know how to get this error :(
these wu where (re)started by boinc when i was playing tf2. the fact is that nvidia driver can't allocate enough memory for the cuda application when there is a heavy gfx game running :(

i think that boinc should take a look at the video memory before starting this kind of tasks.



This is by default in CUDA. Graphics has precedence vs a CUDA program. So if you a game request more memory, the CUDA application terminates to release the memory.

gdf
ID: 2116 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
[AF>HFR>RR] Laxou

Send message
Joined: 15 Aug 08
Posts: 9
Credit: 1,973,745
RAC: 0
Level
Ala
Scientific publications
watwatwatwatwat
Message 2117 - Posted: 6 Sep 2008, 9:53:27 UTC - in response to Message 2112.  

what OS, BOINC version, and driver version do you have? Also, what type of video card are you running?

xp 32b / boinc 6.3.10 / 177.84
geforce 8800gts 512
ID: 2117 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Buster Gunn

Send message
Joined: 27 Aug 08
Posts: 2
Credit: 2,679,381
RAC: 0
Level
Ala
Scientific publications
wat
Message 2141 - Posted: 6 Sep 2008, 19:13:57 UTC

I had an 8800GT running just fine but had to re-install Vista Ultimate from scratch (HD foo-faa).

New HD.
Installed the Cuda drivers (Vista 64) just like before. Installed 6.3.10 just like before.

Now I get this message with the w/u's.

Cuda error in file 'deviceQuery.cu" Line 59 Initialization error

Any ideas????
ID: 2141 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile GDF
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist

Send message
Joined: 14 Mar 07
Posts: 1958
Credit: 629,356
RAC: 0
Level
Gly
Scientific publications
watwatwatwatwat
Message 2146 - Posted: 6 Sep 2008, 21:01:26 UTC - in response to Message 2141.  

I had an 8800GT running just fine but had to re-install Vista Ultimate from scratch (HD foo-faa).

New HD.
Installed the Cuda drivers (Vista 64) just like before. Installed 6.3.10 just like before.

Now I get this message with the w/u's.

Cuda error in file 'deviceQuery.cu" Line 59 Initialization error

Any ideas????



Something is not as before.
Have you installed boinc NOT in protected mode?
Have you installed the latest service packs and drivers?

g
ID: 2146 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile [AF>HFR>RR] Jim PROFIT

Send message
Joined: 3 Jun 07
Posts: 107
Credit: 31,331,137
RAC: 0
Level
Val
Scientific publications
watwatwatwatwatwat
Message 2216 - Posted: 9 Sep 2008, 12:37:04 UTC

Today i got the same message as below.

But i don't change anything on this computer, just the drivers (177.92).

I don't use this computer, i'm at work!

Boinc isn't install with service option and secure mode.
6.3.10, XP x64, 177.92

So what's happen?

Jim PROFIT
ID: 2216 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Barraud Denis
Avatar

Send message
Joined: 2 Sep 08
Posts: 15
Credit: 36,207,656
RAC: 0
Level
Val
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 2217 - Posted: 9 Sep 2008, 12:47:13 UTC

I've the same on 3 WU on my P5bv / 4Gb DDR2-8500 with :
XP32 / 6.3.10 / driver 177.92 on NVIDIA 8600GTS 256Mb ---> G84
I sugest to see in the file deviceQuery.cu at ligne 59, what king of parameters (memory size, ... )it used and put then im the error message to give more informations to debug.

ID: 2217 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Barraud Denis
Avatar

Send message
Joined: 2 Sep 08
Posts: 15
Credit: 36,207,656
RAC: 0
Level
Val
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 2223 - Posted: 9 Sep 2008, 18:51:28 UTC

After i load se cuba SDK to see what look like the file. I think the deviceQuery.cu is to be reWritten completly.

I sugest :

// Program main
int
main( int argc, char** argv)
{
int deviceCount=0, dev=0;

CUDA_SAFE_CALL(cudaGetDeviceCount(&deviceCount));

if (deviceCount == 0)
printf("There is no device supporting CUDA\n");
else
{
if (deviceCount == 1)
printf("There is 1 device supporting CUDA\n");
else
printf("There are %d devices supporting CUDA\n", deviceCount);

cudaDeviceProp deviceProp[deviceCount];

for (dev = 0; dev < deviceCount; ++dev) {

CUDA_SAFE_CALL(cudaGetDeviceProperties(&deviceProp[dev], dev));

if (dev == 0) { // see CudaRefenreceManuel 1.1.1 cudaGetDeviceCount
if (deviceProp[dev].major == 9999 && deviceProp[dev].minor == 9999)
printf("The device is no supporting CUDA.\n");
}

printf("\n Device %d: \"%s\"\n", dev, deviceProp[dev].name);
printf(" Major revision number: %d\n", deviceProp[dev].major);
printf(" Minor revision number: %d\n", deviceProp[dev].minor);
printf(" Total amount of global memory: %u bytes\n", deviceProp[dev].totalGlobalMem);
#if CUDART_VERSION >= 2000
printf(" Number of multiprocessors: %d\n", deviceProp[dev].multiProcessorCount);
printf(" Number of cores: %d\n", 8 * deviceProp[dev].multiProcessorCount);
#endif
printf(" Total amount of constant memory: %u bytes\n", deviceProp[dev].totalConstMem);
printf(" Total amount of shared memory per block: %u bytes\n", deviceProp[dev].sharedMemPerBlock);
printf(" Total number of registers available per block:%d\n", deviceProp[dev].regsPerBlock);
printf(" Warp size: %d\n", deviceProp[dev].warpSize);
printf(" Maximum number of threads per block: %d\n", deviceProp[dev].maxThreadsPerBlock);

printf(" Maximum sizes of each dimension of a block: %d x %d x %d\n",
deviceProp[dev].maxThreadsDim[0],
deviceProp[dev].maxThreadsDim[1],
deviceProp[dev].maxThreadsDim[2]);

printf(" Maximum sizes of each dimension of a grid: %d x %d x %d\n",
deviceProp[dev].maxGridSize[0],
deviceProp[dev].maxGridSize[1],
deviceProp[dev].maxGridSize[2]);

printf(" Maximum memory pitch: %u bytes\n", deviceProp[dev].memPitch);
printf(" Texture alignment: %u bytes\n", deviceProp[dev].textureAlignment);
printf(" Clock rate: %.2f GHz\n", deviceProp[dev].clockRate * 1e-6f);
#if CUDART_VERSION >= 2000
printf(" Concurrent copy and execution: %s\n", deviceProp[dev].deviceOverlap ? "Yes" : "No");
#endif
}
}
printf("\nTest PASSED\n");
CUT_EXIT(argc, argv);
}
ID: 2223 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
GPUGRID Role account

Send message
Joined: 15 Feb 07
Posts: 134
Credit: 1,349,535,983
RAC: 0
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwat
Message 2225 - Posted: 9 Sep 2008, 20:47:08 UTC - in response to Message 2223.  

Are you running any other applications that might be taking GPU memory? (Games or other 3D applications for example.)

MJH
ID: 2225 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Sandro

Send message
Joined: 19 Aug 08
Posts: 22
Credit: 3,660,304
RAC: 0
Level
Ala
Scientific publications
watwatwatwat
Message 2237 - Posted: 10 Sep 2008, 21:33:53 UTC - in response to Message 2225.  

A member of our Team Planet3DNow also reports errored Wus with similar problems

<core_client_version>6.3.10</core_client_version>
<![CDATA[
<message>
Unzul?ssige Funktion. (0x1) - exit code 1 (0x1)
</message>
<stderr_txt>
# Using CUDA device 0
Cuda error in file 'deviceQuery.cu' in line 59 : unknown error.

</stderr_txt>
]]>

it's a 9800GTX with default setting, so no OC.
http://www.ps3grid.net/show_host_detail.php?hostid=8340
Can you say something whats happened with this WUs? And how to avoid this errors?
ID: 2237 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile GDF
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist

Send message
Joined: 14 Mar 07
Posts: 1958
Credit: 629,356
RAC: 0
Level
Gly
Scientific publications
watwatwatwatwat
Message 2254 - Posted: 11 Sep 2008, 8:29:54 UTC - in response to Message 2237.  

A member of our Team Planet3DNow also reports errored Wus with similar problems

6.3.10

Unzul?ssige Funktion. (0x1) - exit code 1 (0x1)


# Using CUDA device 0
Cuda error in file 'deviceQuery.cu' in line 59 : unknown error.


]]>

it's a 9800GTX with default setting, so no OC.
http://www.ps3grid.net/show_host_detail.php?hostid=8340
Can you say something whats happened with this WUs? And how to avoid this errors?


This seems a device driver problem.

g
ID: 2254 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Bender10
Avatar

Send message
Joined: 3 Dec 07
Posts: 167
Credit: 8,368,897
RAC: 0
Level
Ser
Scientific publications
watwatwatwatwatwatwat
Message 2338 - Posted: 14 Sep 2008, 18:59:15 UTC
Last modified: 14 Sep 2008, 19:00:42 UTC


I've been out of town for a few days. I piled up a few errors with a bunch of 6.43 and 1 - 6.45 apps:

http://www.ps3grid.net/results.php?hostid=8288

All with the same error message...

<core_client_version>6.3.10</core_client_version>
<![CDATA[
<message>
Incorrect function. (0x1) - exit code 1 (0x1)
</message>
<stderr_txt>
# Using CUDA device 0
Cuda error in file 'deviceQuery.cu' in line 59 : out of memory.

Win X64 pro
177.84 driver
8800GT No OC on GPU
Boinc 6.3.10


I am over my quota for today. But I have rebooted the box. I don't game on this box, and run 1 other Boinc Project alongside PS3Grid.



Consciousness: That annoying time between naps......

Experience is a wonderful thing: it enables you to recognize a mistake every time you repeat it.
ID: 2338 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Bender10
Avatar

Send message
Joined: 3 Dec 07
Posts: 167
Credit: 8,368,897
RAC: 0
Level
Ser
Scientific publications
watwatwatwatwatwatwat
Message 2344 - Posted: 15 Sep 2008, 1:30:52 UTC


Ok, I picked up a new wu, and it is running 00:08 seconds at 18% finished....



Consciousness: That annoying time between naps......

Experience is a wonderful thing: it enables you to recognize a mistake every time you repeat it.
ID: 2344 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
zombie67 [MM]

Send message
Joined: 16 Jul 07
Posts: 209
Credit: 5,496,860,456
RAC: 9,935
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 2350 - Posted: 15 Sep 2008, 14:54:31 UTC

This just started happening to my machine (XP64, 6gb, 6.3.10, 177.92, GTX 280). It is a dedicated cruncher. It successfully crunched 4 tasks under 6.45, then 7 of these errors in a row. I am rebooting to see if that helps.

Reno, NV
Team: SETI.USA
ID: 2350 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
zombie67 [MM]

Send message
Joined: 16 Jul 07
Posts: 209
Credit: 5,496,860,456
RAC: 9,935
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 2353 - Posted: 15 Sep 2008, 15:57:25 UTC

I will have to wait a day, to see if rebooting helped. The failures maxed out my daily quota.

Reno, NV
Team: SETI.USA
ID: 2353 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Bender10
Avatar

Send message
Joined: 3 Dec 07
Posts: 167
Credit: 8,368,897
RAC: 0
Level
Ser
Scientific publications
watwatwatwatwatwatwat
Message 2355 - Posted: 15 Sep 2008, 16:40:48 UTC


After the reboot. The wu finished with no errors. I'll keep an eye on the memory usage....

http://www.ps3grid.net/result.php?resultid=58599

But the run time increased from ~54,000 to 65,000 seconds.



Consciousness: That annoying time between naps......

Experience is a wonderful thing: it enables you to recognize a mistake every time you repeat it.
ID: 2355 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
zombie67 [MM]

Send message
Joined: 16 Jul 07
Posts: 209
Credit: 5,496,860,456
RAC: 9,935
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 2394 - Posted: 16 Sep 2008, 16:16:29 UTC - in response to Message 2350.  

This just started happening to my machine (XP64, 6gb, 6.3.10, 177.92, GTX 280). It is a dedicated cruncher. It successfully crunched 4 tasks under 6.45, then 7 of these errors in a row. I am rebooting to see if that helps.


Rebooting seems to have solved the problem, at least for now. I'll post if it happens again.
Reno, NV
Team: SETI.USA
ID: 2394 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
zombie67 [MM]

Send message
Joined: 16 Jul 07
Posts: 209
Credit: 5,496,860,456
RAC: 9,935
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 2496 - Posted: 20 Sep 2008, 15:57:06 UTC - in response to Message 2394.  

This just started happening to my machine (XP64, 6gb, 6.3.10, 177.92, GTX 280). It is a dedicated cruncher. It successfully crunched 4 tasks under 6.45, then 7 of these errors in a row. I am rebooting to see if that helps.


Rebooting seems to have solved the problem, at least for now. I'll post if it happens again.


4 days later, it happened again. 8 tasks errored out in a row. I will reboot again.
Reno, NV
Team: SETI.USA
ID: 2496 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Kokomiko
Avatar

Send message
Joined: 18 Jul 08
Posts: 190
Credit: 24,093,690
RAC: 0
Level
Pro
Scientific publications
watwatwatwatwatwatwatwatwatwat
Message 2498 - Posted: 20 Sep 2008, 16:36:00 UTC - in response to Message 2496.  


4 days later, it happened again. 8 tasks errored out in a row. I will reboot again.


Have you checked the size of the boincmgr.exe in the taskmanager? I had the problem, that he is growing in memory when he's open. Up to 1,5 GB in one day. If you close him, he's running without problems. I close and restart the boincmanager daily, so I have no problem furthermore. I wait for the 6.3.11 and hope, this is fixed.
ID: 2498 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · 3 · 4 . . . 7 · Next

Message boards : Graphics cards (GPUs) : 'deviceQuery.cu' in line 59 : out of memory

©2025 Universitat Pompeu Fabra