On Saturday 08 Jan 2011 00:16:40 Thomas Lübking wrote:

Ok, The problem with allignment may be a different problem or may be a side-
effect. Certainly it's just happened again and ProjectM (for instance) runs in 
full-screen no problem. (VLC, Dragon, FlashPlayer,some games I tried etc... 
basically anything using OpenGL where only capable of running in 'small' 
windows when I have the issue, and closing other windows (even minimised ones) 
corrects it.

The latter was why I was mentioning OpenGL dropping back to system RAM. Since 
minimized windows are off-screen and not being rendered to anything other than 
themselves, I would imagine, untill I hover over them in the task bar or 
present windows or something. So I would see no need for them to be on the GPU 
ram, and so plenty of RAM free on the GPU side of things for handeling the 
stuff that is on screen.

This is why it seemed quite odd or like things where leaking, also because 
1600x1200x4Bytes for RGBA = about 7Mb and I've got 512Mb ram on the GPU side 
of things, 
that's a hell of a lot of full screen windows to have open at once 64-70, even 
if some are using a few textures.  I wouldn't have thought that VLC of 
DragonPlayer, just playing some video back would such that much ram, and at 
the same time KWin being able to render the desktop. 


So i'm going to get things reproducable quite nicely first and then try and 
track things down as suggested. Also boot from a clean install to see if 
something else on my system is causing the issues, or I've got a bad binary 
somewhere or miss-configuration or something.




> Am Friday 07 January 2011 schrieb oliverthered:
> > I'm getting an issue what appears to be GPU memory issues, specifically
> > the memory seems to be getting eaten up quite quickly even though I've
> > got loads of system ram and not a huge number of application windows or
> > apps running. I belive my graphics card has 512MB or ram or maybe 1GB
> > but it's a GeForce 7900 GS.
> 
> "nvidia" or "nouveau"?
> 
> > I've changed over to none oxygen version of everything (as that was
> > pointed to as the culprit for some leakyness), but closing down windows
> > seems to free up the ram and I can run things like projectM full screen
> > again and with no performance issues.
> 
> Can you actually confirm that the RAM hunger is distributed evenly among
> your running applications ("top") and not everything is just sucked by
> only one (X11?) process?
> 
> Usually graphical stuff (including and good god esp. opengl) ends up in
> your VRAM (ie. on the GPU), you can query the used X11 resources by
> "xrestop"
> 
> in doubt: ask your distro whether they run anything (everything...) by
> "--graphicssystem raster" and then tell them to stop doing this ;-)
> 
> > I would have expected that opengl should put stuff into system memory as
> > it's ment to do it's own memory mangement, at least for some stff etc...
> 
> yes, as last resort - but your GPU can carry some windows before mapping to
> sysram.
> please notice that ARGB enabled windows will take 33% more memory than
> "ordinary" ones. konsole and most plasma-desktop windows use ARGB and we
> recently figured that apparently gdk driven GL clients (like at least eg.
> cairo-dock) will make all Qt clients (or rather everything?) use ARGB
> drawables
> 
> the nvidia driver has however it's very own pitfall.
> call "nvidia-settgins -a PixmapCache=0; nvidia-settgins -a PixmapCache=1"
> from time to time (every 30 minutes and right after your desktop is
> loaded) to improve performance...
> 
> sidenote:
> consider to split up the mail, strip it a bit ... more... and resend it
> =P
> 
> Cheers,
> Thomas
> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to