Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Closed Thread
 
Thread Tools
Old 05-24-07, 08:58 PM   #325
Xinef
Registered User
 
Join Date: May 2007
Posts: 36
Default Re: beryl black windows bug

Quote:
Originally Posted by djdoo
Give us more info: Card type, kernel, driver...
As I said in #255 post test BackingStore and see if it really helps you or cause troubles. The only strange things I see with it on my system is rarely in menus some "things" are hiding but if I pass the mouse pointer over them they appear again, so it is not very important trouble.

I also have another thing seen today (for all of you guys):
(Be very cautious with that)
Under Section "ServerLayout" in xorg.conf add this option:

Option "AIGLX" "true"

Logout->Login and tell me what happened!!
Hello, I had a chance to some of these settings.
I actually just applied the modifications to the xorg.conf on a machine running the 9755 on a Geforce FX5200
I then added the AIGLX line too.
I couldn't notice any performance change, and tha black window still pops after about 15 windows opened (there's 128 MB memory)
Forcing to AIGLX mode actually allows me to open more than 40 windows without any black window, but the old processor just gets on the knees and I can't say that it's really usable. So for now, I'll leave it on Nvidia mode and accept the 15 windows limit.
Xinef is offline  
Old 05-24-07, 11:58 PM   #326
djdoo
*BANNED*
 
djdoo's Avatar
 
Join Date: Jan 2007
Location: Athens, Hellas
Posts: 160
Default Re: beryl black windows bug

Guys I have some news that maybe will make your day(they made mine!)
Remember that old option ( Option "AllowGLXWithComposite" "True"), REMOVE it!!
It conflicts somehow with Option "DamageEvents" "True" and when you remove it you will see significant performance difference in beryl with our settings!!!

Add under section "ServerLayout" :

Option "AIGLX" "true"

Add under section "Extensions"

Option "DAMAGE" "Enable"

I saw significant difference with these new stuff why not you too??!!

Also IMPORTANT NOTE!!!: Another new discovery of mine, if you are using KDE and have beryl starting automatically with the 2 links(the first straight to beryl and the second to beryl-manager at /home/****/.kde/Autostart/ folder) PLEASE REMOVE THE ONE WHICH SHOWS STRAIGHT TO BERYL AND LEAVE THE ONE THAT LINKS TO BERYL-MANAGER!!!

I will make a new resume post now...
djdoo is offline  
Old 05-25-07, 12:20 AM   #327
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: beryl black windows bug

Quote:
Originally Posted by djdoo

Add under section "ServerLayout" :

Option "AIGLX" "true"
no! Don't do that!
Everybody who ever read this forum in the last couple of month should know that the nvidia driver does not use, supports or needs AIGLX.

So that option does nothing in the best case.
energyman76b is offline  
Old 05-25-07, 12:26 AM   #328
Xinef
Registered User
 
Join Date: May 2007
Posts: 36
Default Re: beryl black windows bug

Quote:
Originally Posted by energyman76b
no! Don't do that!
Everybody who ever read this forum in the last couple of month should know that the nvidia driver does not use, supports or needs AIGLX.

So that option does nothing in the best case.
Well, I think this is the very point of the changes: shortcuting some features of the NVIDIA drivers to avoid black windows... Ok this is not a very detailed explanation but is that right ?

EDIT: I tried to remove the Option "AllowGLXWithComposite" "True", it doesn't seem to affect much the old test configuration I'm working on... this might still be due to aging hardware though...
Xinef is offline  
Old 05-25-07, 12:39 AM   #329
djdoo
*BANNED*
 
djdoo's Avatar
 
Join Date: Jan 2007
Location: Athens, Hellas
Posts: 160
Default Re: beryl black windows bug

THE UPDATED #167,#255 POST!! MK-II version!!

So to make a resume after your really valuable feedback kriko and all of you guys:
The suggestion finally is:

With driver 9755 and older or 9631 legacy(no info about 7185)or betas 100(03,06) under hood...

First in your xorg.conf you should have the following options in order to run beryl best:
Under "ServerLayout" section:

Option "AIGLX" "true"->(Maybe it does nothing but give it a try! If you don't notice any difference remove it! )

Under "Screen" section:

Option "NvAGP" "0" -> (terryxela's suggestion FOR PCI Express CARDS ONLY!!!!)
Option "AddARGBGLXVisuals" "True" ->(For betas 100 drivers this one is not necessary)
Option "DamageEvents" "True" ->(Jupiter1tx suggestion really helps a lot!!)
Option "TripleBuffer" "True"
Option "BackingStore" "True" ->See NOTE below...

NOTE: Use BackingStore option with CAUTION it may NOT work on all systems especially 6 series Geforce cards!!! (freezes when load beryl-manager as kriko said and other strange stuff, too low performance) but give it a try cause it helps performance when works properly otherwise PLEASE REMOVE IT!! If you get any kind of strange stuff with the settings remove this option and try again!!

Under "Extensions" section:

Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"

See my xorg.conf too!!

If you have an AGP card add the following options in your modprobe.conf.local or any name this file has in your distro:

options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_EnableBrightnessControl=1 NVreg_DevicesConnected=1 NVreg_VbiosFromROM=1 NVreg_SaveVBios=1 NVreg_SoftEDIDs=0 NVreg_VideoMemoryTypeOverride=0 NVreg_NvAGP=3 NVreg_ReqAGPRate=8->(8=for 8X AGP, 4=for 4X AGP)

Also try to use kernel's agpgart module(NvAGP=2 or 3) instead of internal nvidia agp if possible.

If you have a PCI express card here are the options for you:

options nvidia NVreg_VideoMemoryTypeOverride=0 NVreg_NvAGP=0 NVreg_ReqAGPRate=0 NVreg_SoftEDIDs=0 NVreg_DevicesConnected=1 NVreg_VbiosFromROM=1 NVreg_SaveVBios=1 NVreg_EnableBrightnessControl=1

Second after rebooting or just logout->login(to reload the driver):
In Beryl's Advanced Options use the following setup:

"Texture from Pixmap" "Don't Use COW or Automatic" "force AIGLX" "XGL binding" "Indirect rendering or Automatic"

DON'T STOP HERE CONTINUE READING!!

IMPORTANT NOTE!:
For beta 100 drivers if you upgrade to one of them and have beryl-manager settings pre-setted from the previous driver as mentioned above you may face the bug!!
SOLUTION:
Just switch from "force AIGLX"(all the others leave them as above) to "force Nvidia" and then back to "force AIGLX" and everything would be as with 9755 driver.


MORE IMPORTANT NOTE!!!!:
If you are using KDE and have beryl starting automatically with the 2 links(the first straight to beryl and the second to beryl-manager at /home/****/.kde/Autostart/ folder) do the following:

PLEASE REMOVE THE ONE WHICH SHOWS STRAIGHT TO BERYL AND LEAVE THE ONE THAT LINKS TO BERYL-MANAGER!!! Cause if beryl.bin is loaded first you WILL face the bug cause it autodetects nVidia mode NOT AIGLX!!! and so it does not load our settings!! Beryl-manager is enough to load beryl automatically and with our settings on!!


ANOTHER IMPORTANT NOTE!!: (kriko's founding)
Custom kernels maybe can cause serious problems to beryl!!! Lagging, too slow or even freezes!! Be careful with those stuff for more info look here:
http://lkml.org/lkml/2007/3/9/74


And by a high percent of success as far as I know until now the black window bug would have been gone and beryl should run smooth enough!

We 're waiting for your results!!

Jim
Attached Files
File Type: gz xorg.conf.tar.gz (1.7 KB, 364 views)

Last edited by djdoo; 05-26-07 at 05:58 PM.
djdoo is offline  
Old 05-25-07, 12:56 AM   #330
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: beryl black windows bug

Quote:
Originally Posted by Xinef
Well, I think this is the very point of the changes: shortcuting some features of the NVIDIA drivers to avoid black windows... Ok this is not a very detailed explanation but is that right ?
no, you are wrong. You can set that option in xorg.conf wherever you want - it will be just ignored. There is just no benefit of using it. Not one. If you see a benefit, you are dreaming - aka 'placebo'.
energyman76b is offline  
Old 05-25-07, 01:01 AM   #331
djdoo
*BANNED*
 
djdoo's Avatar
 
Join Date: Jan 2007
Location: Athens, Hellas
Posts: 160
Default Re: beryl black windows bug

Quote:
Originally Posted by energyman76b
no! Don't do that!
Everybody who ever read this forum in the last couple of month should know that the nvidia driver does not use, supports or needs AIGLX.

So that option does nothing in the best case.
Man maybe you are correct, but if we had followed the "correct" approach we could not have been using beryl at all!!
Netllama's opinion is the "correct" one=don't use beryl for not have the bug, it is like he sais don't walk out of your home cause you may be hit by a car!!

I still say you 're not helping at all!
djdoo is offline  
Old 05-25-07, 01:05 AM   #332
djdoo
*BANNED*
 
djdoo's Avatar
 
Join Date: Jan 2007
Location: Athens, Hellas
Posts: 160
Default Re: beryl black windows bug

Quote:
Originally Posted by energyman76b
no, you are wrong. You can set that option in xorg.conf wherever you want - it will be just ignored. There is just no benefit of using it. Not one. If you see a benefit, you are dreaming - aka 'placebo'.
Let it be ignored!! Tell us something useful!!
djdoo is offline  

Old 05-25-07, 11:52 AM   #333
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: beryl black windows bug

djdoo in answer to a previous post on my black window experience.
Yes i finally was able to test. I opened about 10 firefox with 25 tabs each
with flash animation going on all. I opened 10 konqueror file managers with
10 tabs each. I then opened 4 movies at the same time. I then ran a ltrace
session on compiz. After that i finally ran out of memory and got the bug.
So yes it effects my setup too.

As far as the current discussion on the AIGLX option. I am suprised you
guy's haven't noticed that when using beryl/compiz with an nvidia card
AIGLX is ignored. It has no effect what so ever. You can enable it all you
want and all it is doing is taking up resources while not being used by
beryl/compiz. The easiest way to see this is to start beryl/compiz in a
terminal and see that the detected server is Nvidia unless you are configured
to use XGL. Which will then show XGL as the detected server.
EXAMPLE: with AIGLX option true
Quote:
zero@vger ~ $ beryl --replace &
[2] 15939
[1] Done compiz-manager
zero@vger ~ $ ************************************************** ************
* Beryl system compatibility check *
************************************************** ************

Detected xserver : NVIDIA

Checking Display :0.0 ...

Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig : passed
Checking for GLX_EXT_texture_from_pixmap : passed
Checking for non power of two texture support : passed
Checking maximum texture size : passed (8192x8192)
You can do the same thing with a ATI or Intel card and see that the
detected server is AIGLX or XGl depending on config. I have tried with
it enabled just to see if there is a difference and, I found no difference
at all.

As far as removing the "AllowGLXWithComposite". It doesn't matter.
The driver will enable it anyway with composite enabled. You can look in
your xorg log and see that GLX is enabled even though you have composite
enabled, unlike with the older drivers where that command was needed.
Quote:
II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
The same thing applies to having the option "Render enable" and
"RenderAccel" option. With current drivers these options will be enabled
anyway. As you can see here without either of these options in my config.
Quote:
NVIDIA(0): Enabling RENDER acceleration
I have tested all these settings and am using my config in this manner
and i get good performance and stable beryl/compiz. With the exception
of the black window bug of course, which i have described my experience
above.

One thing that has changed with the new driver is that the command
"AddARGBGLXVisuals" is no longer needed in the config either. I have
tested this and 32 bit visuals work with beryl/compiz without this
option now.

Because not everybody is using the current or beta driver I always
recommend that users enable these options because it doesn't
adversely effect anything and avoids having more posted problems.
As time goes on and the current drivers become the old drivers then i
will change my recommended config FAQ to reflect these changes.

Hope this information helps and clarifies some things. We must keep in
mind that all of this work FOR THE PAST YEAR being put into coming up
with a "WORK AROUND" for the black window bug appears to be more work
than NVIDIA is putting into fixing the problem. THAT IS SAD. We should do
everything we can to STAY ON THEIR ASS TO FIX THIS MAJOR BUG.
I haven't noticed anyone from nvidia trying to help with this AT ALL. Or
even letting us know that they are working on this and what progress
they have made.

THIS IS A MAJOR BUG NVIDIA.... WHAT ARE YOU DOING ABOUT IT
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline  
Old 05-25-07, 01:42 PM   #334
kriko
openSuSE11
 
kriko's Avatar
 
Join Date: Aug 2005
Location: Europe, Slovenia, Koper
Posts: 515
Default Re: beryl black windows bug

djdoo: I did some testing, and beryl is jerky on every kernel. Also mouse is a bit jerky in 2d too (when graphical interface is a bit under load - minimizing windows, high cpu load...), this started to happen when I switched to 64 bit.
kriko is offline  
Old 05-25-07, 01:55 PM   #335
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: beryl black windows bug

Quote:
Originally Posted by djdoo
Let it be ignored!! Tell us something useful!!
ok, I tell you something usefull:

I don't have ANY problems with beryl. Beryl works fine.
Hm, strange. Maybe because I don't use a crappy low-end card? Turbocache&co sucks in a lot more ways than just beryl-support. Your own fault if you bought something like that.

Stop behaving like a whiny ass. If you use beta software and alpha-features, bugs are a normal result.

A lot of you guys in this thread behave like Nvidia promised you something or spit in your food.

Maybe you should pull your head out of your ass.

Was that usefull?
energyman76b is offline  
Old 05-25-07, 02:28 PM   #336
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: beryl black windows bug

Well i would just say Nvidia promised me nothing except,
good performance from a $600 US, premium product. Yes
this is experimental software and features. But to not have
figured this out for the past year is inexcusable. The fact
that this experimental software is now included in major
Linux distributions INCLUDING UBUNTU, the most popular
distro, and will soon show up on Dell computers, should be
a signal of the popularity of Compiz/Beryl. Where we have
generally had a user base in the thousands, we can now
expect a user base in the millions before long. In my
business if i failed to fix a problem in this kind of time
frame i would have been fired long ago. The issue seems
to be "nobody uses linux, we have more important windows
bugs to fix".

Sure they didn't promise me anything. And sure i am not really
having a problem with my top of the line card unless i push the
envelope of logic in the way i use my computer. But not everyone
is so fortunate. And we can be sure that the Linux Dells will not
all be sold with top of the line cards with half a gig of vram or more.
I guess this is a good thing that Dell is getting in on the act and
will start having to support user's complaining about this major bug.
I am sure Nvidia will think twice about ignoring Dell as they have
the current user's of Compiz/Beryl.
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Windows 8 could be the next Vista News Archived News Items 0 06-15-12 10:30 AM
Like XP or Vista: how will businesses treat Windows 8? News Archived News Items 0 06-06-12 09:10 AM
NVIDIA Brings 18 Years of Experience to Windows 8 News Archived News Items 0 06-03-12 06:20 AM
Sync it up: Hands on with the preview of Windows 8's cloud sync service News Archived News Items 0 06-02-12 08:30 PM
$15 Windows 8 upgrades available from Microsoft through January 2013 News Archived News Items 0 06-01-12 11:50 AM

All times are GMT -5. The time now is 04:36 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.