View Full Version : How to know if i have overflow of the Video RAM?
01-05-2004, 01:55 PM
Except for openGL needs I use the VRAM also for saving the depth buffer (of size 512x512) and for display lists of four very heavy models.
When I load 3 models my application runs successfully. However, when I try to load 4 models I get frozen screen and stuck computer, which I need to reboot (In the frozen screen I see my application window fully transparent).
I am sure the problem is not in the models (as every one of them is loaded successfully alone).
I have 128MB of VRAM.
did my VRAM overflow?
How can I know?
or anyone of you can give me other possibilities for my computer getting stuck and my frozen screen?
01-05-2004, 04:13 PM
The GL should not hang the computer or cease operation because of VRAM overflow.
It is not specified where, specifically, the display list is stored. AGP memory is one possible location; system memory is another. The implementation is free (and recommended) to move data around as necessary.
If you make proper API calls, and the system hangs, then there's a bug in your GL implementation, and you should try sending the crashing program/data to the developer support people for your card to have them fix it.
01-06-2004, 02:05 AM
are you 100% sure, that all your openGL calls are correct ?
did you checked it with glGetError ?
[This message has been edited by AdrianD (edited 01-06-2004).]
01-06-2004, 03:16 AM
The only consequence of VRAM overflow is an application slowdown (due to texture trashing etc...).
This cannot cause fatal errors.
What video-card do you use? Does it happen on other computers (with other cards), too?
01-06-2004, 08:53 PM
It crashed on my NVidia Ti4800SE 128MB RAM.
When I tried it on NVidia FX5600 256MB RAM, it did not crash!!.
What do you think about that?
01-06-2004, 09:19 PM
You should try increasing your GART mapped memory i.e. your AGP aperture size using your PC BIOS settings (all PCs allow you to do this in the BIOS). This is the system memory that the driver can DMA from and will use this for resources like texture space and display lists when it runs out of video memory.
01-07-2004, 09:03 AM
I had AGP aperture size of 64MB, Increasing it to 128MB or 256MB did not change the situation, I still get frozen screen and stuck computer http://www.opengl.org/discussion_boards/ubb/frown.gif.
I is really annoying..
Anyway i appreciate your efforts to help me http://www.opengl.org/discussion_boards/ubb/smile.gif
01-07-2004, 09:49 PM
I have found out which command makes my computer stuck. I use
wglSaveBufferRegionARB(context, lower, left, width, height);
for saving the depth buffer.
When I removed the command from my application everything runs ok, when I reinserted the above command the computer stuck again...
01-07-2004, 10:03 PM
Either you're doing something wrong with ARB_buffer_region, or your implementation is buggy. You should send the driver developer a bug report, complete with a functioning example program.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.