GPU has Protect the mechanism ?

Started by
3 comments, last by V-man 17 years, 6 months ago
Hi everyone! I do some computation in particle system in GPU. I run my program in Geforce 7900GT and 7300GS 7900 is OK. 7300 has blue picture ,then I must restart my computer. Are there any protection to check the memory or system OK before I run my program? Please tell me some tips or relative site . Thanks!
Advertisement

Probably your shader isn't the reason for the blue screen. Under D3D for example, writing out of bounds with vertex buffer will cause a blue screen. So the problem is surely quite serious one.

Why it works under 7900 and not 7300 ? Perhaps there are slight differences with the drivers / code paths etc.

Cheers !
Quote:Original post by Demus79

Probably your shader isn't the reason for the blue screen. Under D3D for example, writing out of bounds with vertex buffer will cause a blue screen. So the problem is surely quite serious one.

Why it works under 7900 and not 7300 ? Perhaps there are slight differences with the drivers / code paths etc.

Cheers !



Thanks!

I found a strange problem.

My 7300's ram is 512MB and My 7900's ram is 256MB.

In small case,they can run perfectly.

But they have different results in big case.

7300 have blue screen.

What's different from 7300 and 7900?
Quote:Original post by ARB1130
Hi everyone!

I do some computation in particle system in GPU.

I run my program in Geforce 7900GT and 7300GS

7900 is OK.

7300 has blue picture ,then I must restart my computer.

Are there any protection to check the memory or system OK before

I run my program?

Please tell me some tips or relative site .

Thanks!


Additional remarks:

My algorithm:

Use 32bit depth texture x 1

32bit colortexture x 6

total 7 texture

In 1500x1500 texture, My memory are 1500x1500x4x7 = 70MB

Is my calculation right?

thanks!
Perhap your calculation is wrong because we don't know how much RAM a non power of 2 texture will take.
My guess is that there is a driver bug because a user's program should never cause a bluescreen.
Make a small smaple and send to devrel@nvidia.com
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

This topic is closed to new replies.

Advertisement