# Simplegl problem running probally a simple common problem

**URL:** <https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286>\
**Category:** CUDA Programming and Performance\
**Created:** [February 26, 2007, 10:38pm UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286 "2007-02-26T22:38:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommyboy12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@tommyboy12](https://forums.developer.nvidia.com/u/tommyboy12)\
**Post date:** [February 26, 2007, 10:38pm UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/1 "2007-02-26T22:38:22Z")

</div>

I am a newbie to CUDA, much like most of us :)  
and love it so far

When I go to run simpleGL on my g80 not under emulation  
it totally hangs my computer forcing a reboot.

I can get it to compile and also can get cutil to compile and build with no errors  
It runs fine in emulation mode  
all other examples run correctly both in emulation and in regular release and debug  
only simplegl is hanging me up

Is there something simple I am not doing  
I have glut3.7.6 in my system32 directory in my path  
and glew 1.3.5 there as well?

When compiling simpleGL I get the following warnings.

> “C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\basetsd.h”, line 345: warning:  
> 1\> conversion from integer to smaller pointer  
> 1\> return((void \* ) (unsigned \_\_int64) (ULONG\_PTR)p );  
> 1\> ^  
> 1\>tmp\_00000da8-9.i  
> 1\>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(755) : warning C4164: ‘\_rotl’ : intrinsic function not declared  
> 1\>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(756) : warning C4164: ‘\_rotl64’ : intrinsic function not declared  
> 1\>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(757) : warning C4164: ‘\_rotr’ : intrinsic function not declared  
> 1\>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(758) : warning C4164: ‘\_rotr64’ : intrinsic function not declared  
> 1\>Note: including lib: glut32.lib  
> 1\>Linking…

---

<div class="post-metadata">

**Author:** ![Mark\_Harris](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/mark_harris/32/23175_2.png) [@Mark\_Harris](https://forums.developer.nvidia.com/u/Mark_Harris)\
**Post date:** [February 27, 2007, 10:28am UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/2 "2007-02-27T10:28:03Z")

</div>

Can you provide more info about your system? Windows XP? What NVIDIA display driver version? How many GPUs installed?

Mark

---

<div class="post-metadata">

**Author:** ![tommyboy12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@tommyboy12](https://forums.developer.nvidia.com/u/tommyboy12)\
**Post date:** [February 27, 2007, 4:45pm UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/3 "2007-02-27T16:45:21Z")

</div>

windows xp, Display Driver version 97.73  
glut-3.7.6, GLEW 1.3.5

---

<div class="post-metadata">

**Author:** ![Mark\_Harris](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/mark_harris/32/23175_2.png) [@Mark\_Harris](https://forums.developer.nvidia.com/u/Mark_Harris)\
**Post date:** [February 28, 2007, 5:40pm UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/4 "2007-02-28T17:40:26Z")

</div>

What CPU are you running on? How many cores?

Mark

---

<div class="post-metadata">

**Author:** ![tommyboy12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@tommyboy12](https://forums.developer.nvidia.com/u/tommyboy12)\
**Post date:** [March 1, 2007, 5:35pm UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/5 "2007-03-01T17:35:31Z")

</div>

dual core xeons 3.6 ghz, 2gb ram

I actually copied the GLUT from the CG toolkit into my active path  
instead of 3.7.6 from another source and it stops crashing it,  
just does not run now, only comes up blank.

---

<div class="post-metadata">

**Author:** ![thepolishpistol](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@thepolishpistol](https://forums.developer.nvidia.com/u/thepolishpistol)\
**Post date:** [April 5, 2007, 12:13am UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/6 "2007-04-05T00:13:10Z")

</div>

I know this is an old post, but I’m wondering if you ever fixed this problem. We just recently installed our 8800 card on a different machine in our lab, and I’m experiencing this exact problem. When I try to run simpleGL in **Debug** mode, it crashes with an unspecified driver error on this line in createVBO

```auto
CUDA_SAFE_CALL(cudaGLRegisterBufferObject(*vbo));

```

When I try to run it in **Release** mode, it starts up, and displays the window with a single red dot in the middle.

I’m running this on a Dell Precision 690, with 2 64bit Quad Core Xeon Processors (3.2 GHz) and 4Gb of RAM. Mine also works in Emu mode. Any help would be appreciated.

-skiz

---

<div class="post-metadata">

**Author:** ![thepolishpistol](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@thepolishpistol](https://forums.developer.nvidia.com/u/thepolishpistol)\
**Post date:** [April 5, 2007, 12:14am UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/7 "2007-04-05T00:14:55Z")

</div>

I know this is an old post, but I’m wondering if you ever fixed this problem. We just recently installed our 8800 card on a different machine in our lab, and I’m experiencing this exact problem. When I try to run simpleGL in **Debug** mode, it crashes with an unspecified driver error on this line in createVBO

```auto
CUDA_SAFE_CALL(cudaGLRegisterBufferObject(*vbo));

```

When I try to run it in **Release** mode, it starts up, and displays the window with a single red dot in the middle.

I’m running this on a Dell Precision 690, with 2 64bit Quad Core Xeon Processors (3.2 GHz) and 4Gb of RAM. Mine also works in Emu mode. Any help would be appreciated.

-skiz

---

<div class="post-metadata">

**Author:** ![thepolishpistol](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@thepolishpistol](https://forums.developer.nvidia.com/u/thepolishpistol)\
**Post date:** [April 6, 2007, 8:26pm UTC](https://forums.developer.nvidia.com/t/simplegl-problem-running-probally-a-simple-common-problem/286/8 "2007-04-06T20:26:29Z")

</div>

This problem has been resolved in another thread.

> [@](#):
>
> I know this is an old post, but I’m wondering if you ever fixed this problem.&nbsp; We just recently installed our 8800 card on a different machine in our lab, and I’m experiencing this exact problem.&nbsp; When I try to run simpleGL in **Debug** mode, it crashes with an unspecified driver error on this line in createVBO
> 
> ```auto
> CUDA_SAFE_CALL(cudaGLRegisterBufferObject(*vbo));
> 
> ```
> 
> When I try to run it in **Release** mode, it starts up, and displays the window with a single red dot in the middle.
> 
> I’m running this on a Dell Precision 690, with 2 64bit Quad Core Xeon Processors (3.2 GHz) and 4Gb of RAM.&nbsp; Mine also works in Emu mode.&nbsp; Any help would be appreciated.
> 
> -skiz
> 
> [snapback]179935[/snapback]
