View Full Version : Compiz using up all video ram ( Black Windows )
RAH66
June 26th, 2007, 03:37 PM
I ran into this problem when I installed Compiz Fusion.
I found that when I open allot of windows I start seeing allot of black windows and even menu items...
Did some research and found on another post that this means that compiz or wateva has used up all of my video ram ( Nvidia GeForce 6600 GT 128 mg ) but thought that is strange :confused: coz isnt the card supposed to start using system ram when it runs out of its own ram like it does in windows?
(BTW running 2gigs system ram and even with a ton of apps and windows open only 30% at most is ever used )
Anyway just wanted to know if there is any way to fix this or to enable that my card can start using system ram when it runs out of it's own ram...
:?:
AriciU
June 26th, 2007, 04:02 PM
Start it up with:
compiz --replace --indirect-rendering
and see if it works better.
Beware though. I lost the abbility to CTRL+ALT+Backspace (restart GDM) when i started it that way... Everything froze and i had to do a hard reboot.
RAH66
June 26th, 2007, 04:16 PM
ok I'll check it out...
RAH66
June 26th, 2007, 04:38 PM
LOL sorta got better instead of total black windows I got semi empty windows meaning the spaces came up were the stuff should be but no content looks like it fixed the black menus though coz although the windows are "empty" the menus still worked fine.
I think you are on the right track... :D
thanx for the input gives a guy hope u know...
http://www.optix.co.za/rahstuffdontdelete/Screenshot.png
AriciU
June 26th, 2007, 04:45 PM
I have a 6800GT with 256mb and i just opened like 15 of those windows without a glitch. And i don't start with the command i just posted. Must be some setting somewhere i guess.
Hope someone else chimes in...
Does ctrl+alt+backspace work now btw or does your system freeze for good?
RAH66
June 26th, 2007, 04:58 PM
LOL yeah thats the funny thing no freezes nothing and my system was running smoothly with 25 windows which of 7 were empty spinning the cube playing music running windows xp in virtual box everything no lag nothing...
all I did was close them all and when I opened new windows they were fine...
very strange :confused::-k lol well I needed a reason to go get that 8800 hey :-\"
eyelessfade
June 26th, 2007, 05:08 PM
It's a nvidia driver bug. They have said they will fix it
RAH66
June 26th, 2007, 05:23 PM
Hectic do you know when they would have a fix ready for this BUG argh!!!
or lets put it this way when did you hear they are working on it?
diafanos
June 30th, 2007, 05:27 AM
Hectic do you know when they would have a fix ready for this BUG argh!!!
or lets put it this way when did you hear they are working on it?
I came across with this:
This driver does not fix the black window bug issue that some Beryl/Compiz users experience (still a few more months until it will likely be resolved).
here (http://www.phoronix.com/scan.php?page=article&item=745&num=1)
I don't know the reliability of this site, but I hope it's true, cause black window bug is a really annoying one...:???:
RAH66
June 30th, 2007, 09:05 AM
Yeah it's very anoyin anyway when I booted my pc I checked new updates including a
nvidia-glx driver update so hopefully this fixes some issues. Let you know if I see any changes...:D
onero
June 30th, 2007, 10:32 AM
Yup, it's an nvidia bug. I don't use compiz fusion, but in Beryl, I set the rendering platform to "Force AIGLX" (I was using the Nvidia rendering platform before). I figure compiz should have a similar setting. Anyway, that seems to work for me; I haven't been getting any black windows lately :D
RAH66
July 1st, 2007, 03:19 AM
That sucks so you are saying that you don't get these issues with beryl? and what card are you running?
oh yeah the driver update didn't do anything to the black windows opening google earth and 3 windows was enough to have them start going black... :(
TopasPV
July 5th, 2007, 07:25 AM
Yup, it's an nvidia bug. I don't use compiz fusion, but in Beryl, I set the rendering platform to "Force AIGLX" (I was using the Nvidia rendering platform before). I figure compiz should have a similar setting. Anyway, that seems to work for me; I haven't been getting any black windows lately :D
Thank you very much! I'm using Beryl and I had this black window bug, too. By using "Force AIGLX" this problem is gone. Good work, I was getting a bit upset.. :)
diafanos
July 6th, 2007, 01:08 PM
I found a workaround for the black window problem (compiz-fusion).
1. Open compiz-manager file (in /usr/bin)
2. Find the line: ARGs=... and add option --indirect-rendering
in my file now it looks like this:
ARGS="--sm-disable --replace --indirect-rendering"
3. Save file and restart compiz (run compiz-manager)
I did it and now I don't have any black window, even if I open more the 20 windows....:):)
Also I did not spot any side-effect......
kansei
July 6th, 2007, 09:29 PM
The only 'compiz-manager' on my computer is an icon.. /usr/bin/compiz and /usr/bin/compiz.real exists.. that's it though.
reacocard
July 6th, 2007, 09:36 PM
The only 'compiz-manager' on my computer is an icon.. /usr/bin/compiz and /usr/bin/compiz.real exists.. that's it though.
Edit /usr/bin/compiz so that the line like this
COMPIZ_OPTIONS="--ignore-desktop-hints"
becomes this
COMPIZ_OPTIONS="--ignore-desktop-hints --indirect-rendering"
kansei
July 6th, 2007, 10:55 PM
Thanks.. I quickly skimmed the file and searched for "ARGS" so didn't find that. I'd rather turn off desktop effects entirely than use indirect-rendering though.. still searching for a real solution :P thanks
diafanos
July 7th, 2007, 04:50 AM
The only 'compiz-manager' on my computer is an icon.. /usr/bin/compiz and /usr/bin/compiz.real exists.. that's it though.
Sorry, I thought you use Compiz-fusion not Compiz...
I don't know about Compiz...
reacocard
July 7th, 2007, 08:03 AM
Sorry, I thought you use Compiz-fusion not Compiz...
I don't know about Compiz...
Well, I use compiz-fusion and I don't have a compiz-manager either.
diafanos
July 7th, 2007, 09:58 AM
Well, I use compiz-fusion and I don't have a compiz-manager either.
OK, then compiz-manager is probably just an additional script to initiate compiz....
I didn't know it...
I just followed THIS (http://ubuntuforums.org/showthread.php?t=485284) howto which includes a compiz-manager script file....
kansei
July 7th, 2007, 10:12 AM
yeah I am using fusion (I'm on gutsy gibbon).
I wish I could remember how I got it totally working in feisty (with beryl + aiglx + nvidia). I have a feeling it has something to do with 'force aiglx' or something like that in the beryl menu.
Alex&Linux
July 8th, 2007, 08:55 PM
Same here, I had beryl running perfectly, but no such luck with Compiz Fusion (on Feisty)
According to information regarding the error on the beryl bug tracker forum, this is attributed to a fault in the Nvidia GLX driver while handling texture from pixmap rendering (faster, but not supported widely yet)
The fix was to change rendering to "copy" which most adapters handle well
Does anyone know how to change this in Fusion?
Otherwise, looks like we'll be waiting for Nvidia to get their $#!+ together!
kansei
July 8th, 2007, 10:28 PM
Isn't using 'copy' totally bypassing the nice hardware acceleration that nvidia supports for this? Is the performance as good using copy mode as using direct rendering (while direct rendering works for you).
phssthpok
July 9th, 2007, 05:10 AM
the "copy" performance is not great, but acceptable for nvidia users whose only other option to avoid black windows is to take nvidia's advice and "not use compositing".
it seems that indirect rendering in compiz-fusion does not have the same behavior as "copy" in beryl when running on nvidia hardware -- in compiz-fusion, yes, the black windows go away, but when opening new windows, at the point where i *would have* got a black window, i get a normally painted window which appears and is totally unresponsive. closing other windows makes the unresponsive one come to life.
any idea how to get something closer to "copy" behavior until nvidia comes through with their fix?
Alex&Linux
July 9th, 2007, 08:16 AM
It has to be available somewhere in compiz.
The config manager doesnt seem to have it, so perhaps by altering the code?
I'll see if I can get a response from the team on that one.
RAH66
July 9th, 2007, 08:36 AM
why didn't they just use beryl as the platform and called it beryl fusion becuase compiz to me now seems more buggy than beryl. sometimes starting up compiz makes strange things happen like funny effects on desktop fonts and restarting compiz fixes this and in beryl i tested with a friend that you can open a shaiyt load of windows and no black windows appear ( he has the same card as I have NVidia GeForce 6600 gt ) an in compiz I open about 7 or 8 depending on what the windows contain they start showing up black???
but anyway all will be well just need to chill for now till they get this fixed...:(
oh yeah and the 3d window plug inn for compiz to make the windows lift off of the desktop is also crappy, like when you drag a window to the corner of the cube it gets cut in half a piece of window for each desktop
( how nice )
kansei
July 9th, 2007, 03:54 PM
well of course we should just 'chill'.. if you are using compiz fusion on gutsy gibbon, then you know full well what you were getting yourself into. It's another 3 months until it becomes the release version, and at that point who knows of compiz-fusion will make the cut in general (nvidia issues nonwithstanding).
Alex&Linux
July 10th, 2007, 10:05 PM
Hey guys, take a look at this:
http://www.nvnews.net/vbulletin/showthread.php?t=77030
Looks like the latest driver supports texture from pixmap, no need for indirect rendering as well.
Though, I'm having a bit of difficulty installing the driver, which comes before playing around with xorg.conf.
Any ideas?
RAH66
July 11th, 2007, 03:16 AM
Well Im back to using beryl gona wait till compiz can catch up aswell as the nvidia driver bug...
meez gona play some command & conquer 3....
nuktar
July 11th, 2007, 03:21 AM
Yea, I agree. Compiz sucks unless you have a powerful machine.
kansei
July 11th, 2007, 07:02 PM
Hey guys, take a look at this:
http://www.nvnews.net/vbulletin/showthread.php?t=77030
Looks like the latest driver supports texture from pixmap, no need for indirect rendering as well.
Though, I'm having a bit of difficulty installing the driver, which comes before playing around with xorg.conf.
Any ideas?
Well those new drivers still have the black window bug. blah
mithion
July 13th, 2007, 01:41 PM
I am using a Geforce 2 (32 megs of video ram) and I was experiencing the black windows after opening 3 or 4 windows. Using the --replace --indirect-rendering argument, this solved my problem. I opened a dozen windows none of which displayed black screens. Performance was sluggish though due to the archaic hardware, but if I only use 2-3 applications (which is the case for me), performance is quite adequate.
RAH66
October 10th, 2007, 06:49 AM
well I will look into that:confused:
VictorR
October 11th, 2007, 03:46 AM
I had the same problem recently on GeForce 4 MX440 with 64 MB of VRAM. My post in this forum was completely ignored, so I had to dig myself and found two options (I use both):
1. use --indirect-rendering
Instead of getting in troubles changing configuration files I just included it in the startup line , which launches Compiz-Fusion:
compiz --replace --indirect-rendering -c emerald
2. do NOT use any transparency for Cube, I mean the rotating Cube must be completely opaque. Other effects, like cube reflection and Skydome can be ON.
Since I applied those two to my CF settings I have never experienced the "black window" problem.
RAH66
January 11th, 2008, 04:16 AM
LOL Running the 8800 now no window border anything isseus...:)
mjamesd
February 18th, 2008, 11:00 AM
I'm on Ubuntu Gutsy 7.10 with nVidia 6800 GT (I think) and compiz-fusion. I edited the /usr/bin/compiz file, line with COMPIZ_OPTIONS to be this:
COMPIZ_OPTIONS="--ignore-desktop-hints --indirect-rendering --replace"
and I stopped getting black windows. Good luck, everyone.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.