Hi,
I reported some time ago (Sat, 1 Feb 2003 22:38:44 +0100, message-id: <[EMAIL PROTECTED]>) that return to Castle Wolfenstein stutters with radeon 8500. The problem was traced to large memory usage by the game. Back then, I did not know whether it was a problem with the game or with XFree.
This problem is related to texture usage, and shouldn't have anything to do with the problem below.
Today, I have run a molecular visualisation program on a RNA strand (I usually deal with slightly smaller molecules) and I was surprised when I noticed that the process occupied more than 200MB of memory. Disabling the visualisation mode reduced the memory usage to mere 8MB. So, the 200MB memory is basically used by a very simple display list generation that for the molecule in question creates a 1336 GL_QUAD_STRIP's with total 34736 glVertex3f vertexes (26 vertexes per strip) and 1212 GL_TRIANGLES with 465408 total glVertex3fv vertexes (384 per glBegin/glEnd group) - which seem like reasonable values.
Is the application using display lists? There is a know problem where display lists can use a lot more memory than they should. If the app does use display lists and you have access to the source, could you modify it to not use display lists? I'd be curious to see if the memory usage goes down.
My primary suspect is then XFree86, or exactly GL library. I thought I would start reporting the problem here first, particulary because I get following message in dmesg:
[drm:radeon_lock_take] *ERROR* 4 holds heavyweight lock
What DRM / XFree86 version are you using?
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel
