View Full Version : Fix the Black Windows Bug with nVidia cards!
djdoo
May 31st, 2007, 12:23 AM
We have a suggestion for this stuff!!
It is created mainly by me and a lot of other friends(kriko, Jupiter, terryxela, billydv and a lot of testers) back in nvnews forum and here of course...
They closed our thread in nvnews... The thread has 360+ posts, numerous views and very succesfull results! Too succesfull for them I guess... I was also banned...(They never accepted criticism there)
The suggestion finally is: For Compiz Fusion and Beryl...
With driver 9755 and older (legacy etc) or 100.14.xx or 169.xx under hood.
Note:
Before I start I have to say that both 100.14.19 and 169.xx drivers handle much better the Black Windows problem but it is still present...
First at your xorg.conf you should have the following options in order to run Beryl or Fusion best.
Read the notes and choose for your system configuration the ones which fits you :
Under Section "Screen":
Option "NvAGP" "0" -> (terryxela's suggestion FOR PCI Express CARDS ONLY!)
Option "AddARGBGLXVisuals" "True" ->(For 9xxx, 100.14.19 and 169.xx drivers)
Option "DamageEvents" "True" ->(Jupiter's suggestion really helps a lot. Doesn't work on SLI)
Option "DisableGLXRootClipping" "True" ->See NOTE 2 below...
Option "AllowGLXWithComposite" "True" ->(For drivers older than 9639)
Option "RenderAccel" "True" ->(For drivers older than 9639)
Option "UseEvents" "False" ->(Finetunes OpenGL renderer)
Option "TripleBuffer" "True" ->(Improves quality! Use with Sync2VBlank Enabled at nvidia-settings for OpenGL and Xv)
Option "BackingStore" "True" ->See NOTE 1 below...
Also try to use kernel's agpgart module(NvAGP=2 or 3) instead of internal nvidia agp if possible.
NOTE 1: Use BackingStore option with CAUTION it may NOT work on all systems especially 6 series Geforce cards and Motherboards with nForce 3 chipset! (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(White Windows in Compiz Fusion!) after you applied the settings remove this option and try again.
NOTE 2: Maybe required for Xserver 1.3 and 100.14.11 drivers! Use it ONLY! if needed!! I mean if you cannot run Compiz-Fusion without that option set "True" or you Get the FROZEN BUG! It can happen with Xserver 1.3 and also with 100 drivers generally...But first PLEASE try without that dirty thing cause it dropps performance significally!
Also you may encounter screen blinking issues and a lot of tearing...
The new 100.14.19 and 169.xx drivers do NOT require it! You do NOT have to use it there!
Under Section "Extensions": (In case it doesn't exists at your xorg.conf, create it.)
Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"
See my xorg.conf too!!
Billydv's special NV_Reg suggestions settings for 169.09 driver:
If you have an AGP card add the following options in your (openSuSE 10.2=/etc/modprobe.conf.local, Kubuntu-Ubuntu 7.04=/etc/modprobe.d/nvidia-kernel-nkc, Gentoo=/etc/modules.d) or any name this file has in your distro:
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_NvAGP=3 NVreg_DeviceFileMode=0666 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_ReqAGPRate=8
If you have a PCI express card here are the options for you: (by Jupiter, terryxella, billydv and kostya berger for 169.09 driver)
options nvidia NVreg_DeviceFileMode=0666 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DevicesConnected=1 NVreg_VbiosFromROM=1
IMPORTANT NOTE: BE CAREFUL WITH NV_reg options on some laptops! Also the options NVreg_SaveVBios=1 NVreg_VideoMemoryTypeOverride=0 NVreg_ModifyDeviceFiles=1 NVreg_SoftEDIDs=0 MUST be removed in order the new driver 169.09 to load succesfully!(I already removed it from the NVreg options here in the guide...)
Note Values:
DeviceFileGID ->(44=Ubuntu, 33=openSUSE) (number must match Video group ID#)
ReqAGPRate ->(8=for 8X AGP, 4=for 4X AGP)
DeviceFileMode=0666 ->(Normal Users can Use DRI=3D)
Second after logout->login(to reload the driver):
In Beryl-manager's Advanced Options (right click on the ruby) use the following setup:
"Texture from Pixmap" "Don't Use COW or Automatic" "force AIGLX" "XGL binding" "Indirect rendering or Automatic"
For Compiz Fusion just start it with with this option: --indirect-rendering ( Guillaume86 founding!!Thanks man!)
If you are using Fusion-Icon (which I recommend strongly!) you just right click on the icon and at Compiz Options select ->Indirect Rendering
DON'T STOP HERE CONTINUE READING
Important note: for Compiz-Fusion and openSuSE 10.3 users
If you cannot start up Compiz and the output says no FBconfig setup this isn't going to work or something like that make sure you add this --no-libgl-fallback at startup command.
Now if you use Fusion-Icon to start Compiz open as root user the file /usr/lib64/python2.5/site-packages/FusionIcon/data.py for 64 bit and /usr/lib/python2.5/site-packages/FusionIcon/data.py for 32 bit systems.
Find the line which starts with this: compiz_args = and make look like that:
compiz_args = ['--replace', '--ignore-desktop-hints', '--no-libgl-fallback', '--sm-disable', 'ccp']
Note: for compiz fusion
PLEASE use the xorg.conf's settings and nvreg's options FIRST.
Do not get bored.... IF you still face black windows ONLY then proceed to use the --indirect-rendering option when you start compiz. Cause indirect rendering has problems with Sync 2 Vblank feature and you may get a lot of tearing...
AND PLEASE DO NOT USE BLUR WINDOWS WITH nvidia render method!
Important note: for beryl
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...
THE FROZEN BUG: for Compiz Fusion
With drivers 100.14.03+09+11... For my old system GeForce FX 5200, Xorg 7.2, openSuSE 10.2 when Composite extension is used and Compiz Fusion running I Cannot Shutdown or Restart system at all!
(Finally it happens to everyone) I always get An Xorg freeze! I really tried everything! I disabled all options both in xorg.conf and nvreg just kept Composite extension but nothing!
The only thing that CURED the Frozen Bug was:
Adding that crappy Option "DisableGLXRootClipping" "True" but it brings performance down!
The best solution is to install the 100.14.19 or 169.xx drivers where the Frosen bug doesn't exist and you don't have to use the above crappy option!;)
And by a high percent of success as far as I know until now the black window bug would have been gone and compiz-fusion, beryl should run smooth enough!
We 're waiting for your results!!
Jim
djdoo
May 31st, 2007, 04:00 PM
Please tell me your experience with the settings here!!
Cause this bug is more than a year on and they don't mean to fix or just open source their full buggy drivers!!!
The only reason for someone to stay with nVidia is cause ATI sucks more than them(at least for now cause AMD officially announced open source drivers for ATI cards!!! :) )
And if you write something that embarrases the company in their forums they just ban you saying that your behaviour was inapropriate!! For them maybe it was...
So that's the support they give to the community a major bug for compositing is more than a year on(and others major ones, for years!!) and if you write something that they don't like they ban you!!
Also as I said above they closed our awsome thread(it was the most active thread in nvnews for months!!) cause they said that we were off topic in the last few days!!! Unbelievable :evil:
The offtopic posts were talking about open sourcing their drivers and that by this way this bug would be solved too immediatelly!
They banned me and closed the thread at the same time!! I think it is not a symptosis at all!!
They cannot solve the bug or don't want to solve it I don't know...
One is for sure they just wanted to save their ass from all of us (especially me) and the 32675 views of beryl black windows thread in nvnews forum!!
So send feedback here folks and let them only care about their profit!!
They think that we linux users are just junk(communists!! my god how bad it sounds...! 8) ) people who don't accept their way of thinking(we sell, you must buy all the time!!) for example the same card with AGP bus is twice the price to an PCI express one!
We live in capitalism(a huge social bug!!) so we will look to our profit from a graphics card!
Best Regards
Jim
FuzZy
May 31st, 2007, 04:07 PM
This guide looks promising!! Great work. Can you please make a guide that will work for compcomm? I don't have any idea how to set those options for it.
djdoo
May 31st, 2007, 04:11 PM
Compcomm? what is it?
Please inform me cause all I know is Beryl and Compiz...
Is it a new composite window manager?? :?:
FuzZy
May 31st, 2007, 04:17 PM
well ... compcomm (compiz community)is the current name of the compiz-beryl merge. it contains the compiz-core and several plugins that come from both the programs. this is what this site was made for. more infos here: viewforum.php?f=6 (http://forums.opencompositing.org/viewforum.php?f=6).
Jupiter
May 31st, 2007, 04:21 PM
This guide looks promising!! Great work. Can you please make a guide that will work for compcomm? I don't have any idea how to set those options for it.
Fuzzy, these settings will be the same for compcomm. These are system settings and will work
with Beryl, Compiz or, CompComm.
Compcomm? what is it?
Please inform me cause all I know is Beryl and Compiz...
Is it a new composite window manager?? :?:
Heya djdoo. Here is a thread that will help you with compComm on opensuse.
viewtopic.php?f=14&t=152&st=0&sk=t&sd=a&hilit=opensuse (http://forums.opencompositing.org/viewtopic.php?f=14&t=152&st=0&sk=t&sd=a&hilit=opensuse)
djdoo
May 31st, 2007, 04:35 PM
Hey Jupiter is this the compiz we all know from the standard opensuse distro packages??
Cause it had been much less exciting and interesting than Beryl...
Or is it something new??? :idea:
Jupiter
May 31st, 2007, 04:47 PM
Hey Jupiter is this the compiz we all know from the standard opensuse distro packages??
Cause it had been much less exciting and interesting than Beryl...
Or is it something new??? :idea:
With the merged project, we use the compiz core. We are porting all the Beryl plugins
to work with the compiz-core for this new project. The merge is still not finished so
not all plugins are operational yet. But we are getting close. The compcomm packages
seem to be stable right now. You can also leave Beryl installed. Compcomm will not
interfere with Beryl. I would suggest however that if you have compiz installed, remove
it. You will want to use the CompComm package compiz. If you run into a problem
or have a question on compcomm, then lets start a new thread in the proper area of the
forum, and keep this thread just for the black window issue. I have a feeling that our
user's will keep you busy with this thread once CompComm goes to production....LOL
djdoo
May 31st, 2007, 04:57 PM
OK Jupiter!! 8)
As I said I'm here to help as much as I can!!
I have a good experience with this bug and beryl overall! I learned a lot from nvnews forum peoples feedback...
I 'll check compcomm and I 'll tell you in private or create a new thread to the correct(I don't like the word 'right') place!! ;)
Jim
djdoo
June 2nd, 2007, 01:36 AM
Hey folks any news??!!
Tell me your experience with the guide above...!
I see that a lot of people viewed the thread already...
So please write any comments, suggestions...
Our guide is not just a standard HOW TO!!! It is being actively worked!!!
Any feedback would be really apreciatted!!!
Jim
Aneurysm
June 3rd, 2007, 11:00 PM
Hey folks, I'm new here, and my name is Vassilis. Glad to find a REALLY usefull forum for Beryl.
As far as the "black window bug" on beryls is concerned, I used Jim's (DjDoo's) suggestion and it worked pretty well on my Laptop. Good performance, enhanced stability, and bug seems to be gone (~60 console windows and no sight of the bug, got bored and didn't open any more :P )
Keep up the good work mates..
djdoo
June 11th, 2007, 05:02 AM
Folks I have serious news!!
With the 100.14.06 or 09 drivers you may have found your system freezing when trying to shut it down with beryl running...
The solution is this...
In your xorg.conf without changing anything else from the 1st posts settings add
Under Section "Screen"
Option "UseEvents" "False"
I found out that this one missing caused the problem!!!
I will edit post 1 properly!!
To bad for those users in nvnews that nvidia don't allow me to post there!!
I would have fixed it there too! But...
djdoo
June 11th, 2007, 11:11 PM
Guys I have bad news...
I 've had enough with those crappy 100.14.0x nvidia drivers!!!
They don't diserve upgrade to them at all!!
With the 100.14.09 driver I really tried Everything!!!! :evil:
I was disabling options one by one in xorg.conf to find what was the fault...
I then disabled everything including AGP support and nothing changed!!!
With that "UseEvents" "False" option I could only restart X finally not to Restart or Shutdown system!!!!
If Composite is Enabled and a Composite window manager running the PC Cannot Restart or ShutDown!!
I cannot understand how those idiots in nvidia managed instead of fixing the black windows bug of their driver's Composite extension also created another big one!!!
The broke the Composite more instead of fixing it!!! :evil:
Jup is correct, 100.14.0x drivers sucks!
Guillaume86
June 11th, 2007, 11:41 PM
i just post my experience with compcomm, a 7400 Go and the 97.55 drivers:
i've added the option --indirect-rendering when lauching compcomm and the bug disapearred.
djdoo
June 11th, 2007, 11:52 PM
Oh so that's the option for compcomm!!!
--indirect-rendering!!!
Thanks Man!! :D
I will edit the 1st post properly!! 8)
Guillaume86
June 12th, 2007, 06:11 PM
Oh so that's the option for compcomm!!!
--indirect-rendering!!!
Thanks Man!! :D
I will edit the 1st post properly!! 8)
no problem ;)
searayman
June 12th, 2007, 10:44 PM
Ithink i am running compcomm adn i followed your instructiosn but still hav the black window bug... when i follwed your instructions for beryl it worked great.
But for compcomm it doesnt....
Update:
Aparently i am not actually suign compcomm, see this thread: viewtopic.php?f=49&t=683&p=4829#p4829 (http://forums.opencompositing.org/viewtopic.php?f=49&t=683&p=4829#p4829)
bassist
June 12th, 2007, 11:29 PM
Hi.
I can confirm that using the indirect-rendering parameter fixes the black window bug for me with compcomm, but there is a side effect for me: sync to vblanc no longer works. I get a lot of tearing that makes moving windows and such a pain for the eyes. Without indirect-rendering there is no tearing at all. Is there something that can be done to avoid it?
And thanks for this great piece of software!
djdoo
June 13th, 2007, 02:48 AM
@bassist:
Use sync2vblank from nvidia-settings!!
Go to X Server Xvideo Settings check both little boxes there
and then go to OpenGL Settings and check Sync to Vblank there too!!
Then you will have sync straight from the driver not from compcomm which indeed stops working ;)
Do you think I should write this in the suggestion post???
djdoo
June 13th, 2007, 02:54 AM
@searayman:
Just uninstall every little deb with name compiz and emerald, go to your repo and get the compiz-git ones! and the new emerald too!
bassist
June 13th, 2007, 01:28 PM
Thanks for your quick reply djdoo.
I checked the three Sync to VBlank options in the nvidia control panel and started compiz with indirect rendering and the tearing was still there.
searayman
June 13th, 2007, 10:22 PM
ok i still have issues with the blackwindow bug in compcomm after followign your steps here, and i use this to start it:
[code:74a2c]compiz --replace ccp --indirect-rendering[/code:74a2c]
update: here is my xorg if ur curiose what i used from ur first post already...
[code:74a2c]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "TripleBuffer" "True"
Option "BackingStore" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
[/code:74a2c]
help would greatly be apreciated because compcomm is amazing so far other then this and one animation problem.
Jupiter
June 13th, 2007, 11:47 PM
searayman try these changes to your xorg.conf
[code:36c36]
Section "ServerLayout"
Option "AIGLX" "False" ## add this to this section
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "NoFlip" "True"
Option "AllowGLXWithComposite" "True"
Option "DamageEvents" "True" ### you may need to disable if you still have problems
Option "UseEvents" "True" ### you may need to disable if you still have problems
Option "BackingStore" "True" ### you may need to disable if you still have problems
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
Section "Extensions"
Option "Composite" "Enable"
EndSection
[/code:36c36]
searayman
June 14th, 2007, 12:41 AM
ok made these changes and things got worse, now i cant even start compcomm
here are the change sin my xorg:
[code:029d0]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "False"
Option "UseEvents" "False"
Option "TripleBuffer" "True"
Option "BackingStore" "False"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "False"
Option "Composite" "Enable"
Option "RENDER" "False"
EndSection
[/code:029d0]
also here is what happened when i tried to start compcomm:
[code:029d0]mike@mike-desktop:~$ compiz --replace ccp --indirect-rendering --emerald
Fatal: Failed test: XDamage extension
Checks indicate that it's impossible to start compiz on your system.
[/code:029d0]
Jupiter
June 14th, 2007, 12:52 AM
searayman i am pretty sure it got worse because you didn't follow my
instructions in my previous post. Please look closely at my post and
set your xorg.conf accordingly. And DON'T mark an option FALSE that
i have advised to move or disable. If you want to try and disable a
particular option that i have marked as such then just put the #
symbol on that line.
searayman
June 14th, 2007, 01:00 AM
searayman i am pretty sure it got worse because you didn't follow my
instructions in my previous post. Please look closely at my post and
set your xorg.conf accordingly. And DON'T mark an option FALSE that
i have advised to move or disable. If you want to try and disable a
particular option that i have marked as such then just put the #
symbol on that line.
ooo ok i didnt quite get what u meant by that, will try that now...
searayman
June 14th, 2007, 01:07 AM
ok so now i believe i made the correct corrections, and it still doesnt work. Jere is my xorg again now:
[code:a13c4]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
# Option "DamageEvents" "False"
# Option "UseEvents" "False"
Option "TripleBuffer" "True"
# Option "BackingStore" "False"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "True"
Option "Composite" "Enable"
Option "RENDER" "True"
EndSection
[/code:a13c4]
Jupiter
June 14th, 2007, 01:24 AM
Please try again. This config looks worse then your last one.
PLEASE LOOK AT MY EXAMPLE I POSTED.
searayman
June 14th, 2007, 01:29 AM
Please try again. This config looks worse then your last one.
PLEASE LOOK AT MY EXAMPLE I POSTED.
i will admit i am a bit confused cause the changes u made are under device wheil those options in mine are under screen?
Jupiter
June 14th, 2007, 01:42 AM
Please try again. This config looks worse then your last one.
PLEASE LOOK AT MY EXAMPLE I POSTED.
i will admit i am a bit confused cause the changes u made are under device wheil those options in mine are under screen?
Exactly and that is incorrect. Make the settings look the way i posted.
searayman
June 14th, 2007, 01:55 AM
Please try again. This config looks worse then your last one.
PLEASE LOOK AT MY EXAMPLE I POSTED.
i will admit i am a bit confused cause the changes u made are under device wheil those options in mine are under screen?
Exactly and that is incorrect. Make the settings look the way i posted.
ok lets see if i got it right this time..... but it didnt work again:
[code:2f548]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
# Option "BackingStore" "True"
# Option "DamageEvents" "True"
# Option "UseEvents" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
Option "TripleBuffer" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "True"
Option "Composite" "Enable"
Option "RENDER" "True"
EndSection
[/code:2f548]
djdoo
June 14th, 2007, 06:03 AM
@searayman:
Take a look at my xorg.conf!!
Option "AddARGBVisuals" "True" is completely WRONG!!!
Make your xorg.conf for screen and extensions the same as mine!!
djdoo
June 14th, 2007, 06:10 AM
Thanks for your quick reply djdoo.
I checked the three Sync to VBlank options in the nvidia control panel and started compiz with indirect rendering and the tearing was still there.
Check the boxes and Logout->Login first!! IN order to reload the driver with vsync on!
Sorry for not mentioned that!! It must work cause driver's settings are above compcomm's!
searayman
June 14th, 2007, 08:29 PM
@searayman:
Take a look at my xorg.conf!!
Option "AddARGBVisuals" "True" is completely WRONG!!!
Make your xorg.conf for screen and extensions the same as mine!!
ok i mademy screen and exstensions section match urs exactly and it broke the xorg and i coudl get into the gui.
So i changed urs a little and nwo i look like this:
[code:90041]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
# Option "BackingStore" "True"
# Option "DamageEvents" "True"
# Option "UseEvents" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "NvAGP" "2"
Option "TripleBuffer" "True"
Option "BackingStore" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
[/code:90041]
still get the black window bug...
bassist
June 14th, 2007, 08:47 PM
Thanks for your quick reply djdoo.
I checked the three Sync to VBlank options in the nvidia control panel and started compiz with indirect rendering and the tearing was still there.
Check the boxes and Logout->Login first!! IN order to reload the driver with vsync on!
Sorry for not mentioned that!! It must work cause driver's settings are above compcomm's!
I tried as you suggested and I can't get vsync working. I even restarted the computer to ensure the driver was reloaded. I don't know... Are we sure that the settings in the nvidia control panel are loaded with the driver?
I tried with Beryl 0.2.1 and it works without tearing and black windows (with copy rendering path, if I use indirect I also get tearing).
Graphics card is an "old" 6600GT with 128 MB. Screen resolutin is 1680x1050, so although there is a decent amount of memory on the card, black windows appear easily. Let's hope nvidia fixes it soon.
Using indirect rendering with CompComm and setting refresh rate to 200 in CompComm Settings Manager makes the tearing more bearable.
Thanks for your asistance.
Jupiter
June 14th, 2007, 08:59 PM
bassist I believe in some distro's the nvidia-settings will load automatically.
This however is not true for all distro's including Gentoo. You can read my
FAQ for one way of getting nvidia-settings to start automatically on login.
viewtopic.php?f=51&t=440 (http://forums.opencompositing.org/viewtopic.php?f=51&t=440)
searayman
June 14th, 2007, 11:30 PM
@searayman:
Take a look at my xorg.conf!!
Option "AddARGBVisuals" "True" is completely WRONG!!!
Make your xorg.conf for screen and extensions the same as mine!!
I odn't think urs worked for me because u haev a different video card then me, but i could be wrong
seeitcoming
June 15th, 2007, 12:40 PM
The --indirect-rendering completely and instantly solved this for me on a Gefore Go 6150 and ccm compiz. Thanks!
searayman
June 16th, 2007, 11:01 PM
Hey everybody again, i am still having problems with the black window bug, here is my xorg:
[code:9f992]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
# Option "BackingStore" "True"
# Option "DamageEvents" "True"
# Option "UseEvents" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "NvAGP" "2"
Option "TripleBuffer" "True"
Option "BackingStore" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
[/code:9f992]
djdoo
June 17th, 2007, 06:12 AM
@searayman:
Man did you understand me at all???
Remove from your "device" Section the followings:
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
# Option "BackingStore" "True"
# Option "DamageEvents" "True"
# Option "UseEvents" "True"
ALL OF THEM!!!
And leave the "screen" Section's options as it is in my xorg.conf!!!
ingegnerlillo
June 17th, 2007, 01:38 PM
Hi, I've tried to make my xorg.conf looking like your, black window bug seems not to happen so often, but my system freezes for 3-4 second every half a minute or so, almost every time compiz is working.
My GPU is an nvidia geforce go 6200 128Mb TC, and I'm using ubuntu feisty.
Some ideas?
Sorry for this English massacre, and thanks for your time :D
[attachment=0:0691f]xorg.conf.tar.gz[/attachment:0691f]
searayman
June 17th, 2007, 05:22 PM
@searayman:
Man did you understand me at all???
Remove from your "device" Section the followings:
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
# Option "BackingStore" "True"
# Option "DamageEvents" "True"
# Option "UseEvents" "True"
ALL OF THEM!!!
And leave the "screen" Section's options as it is in my xorg.conf!!!
ok this tiem i still got problems but i know i didnt change everythign to match urs exactly, look at mine. I wasnt sure if i shoudl change the screen stuff cause we are usign different hardware and mine at the moment matches my hardware?
[code:054cf]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "NvAGP" "2"
Option "TripleBuffer" "True"
Option "BackingStore" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
[/code:054cf]
UPDATE: To start compiz i am using this:
[code:054cf]? compiz --indirect-rendering[/code:054cf]
bassist
June 17th, 2007, 11:20 PM
bassist I believe in some distro's the nvidia-settings will load automatically.
This however is not true for all distro's including Gentoo. You can read my
FAQ for one way of getting nvidia-settings to start automatically on login.
viewtopic.php?f=51&t=440 (http://forums.opencompositing.org/viewtopic.php?f=51&t=440)
I've been trying according to that link and there is no way I can get rid of the tearing when using indirect-rendering with compiz. Control panel settings seem to have no effect for compiz. Even starting a session in gnome with metacity, opening nvidia-setting, setting the values for vsync, AA, etc and starting compiz (with the nice script found in this forum) leaves me with tearing.
Is there any equivalent in compiz for the "copy rendering path" in Beryl? I ask because I don't get tearing in Beryl that way (no black windows too). I could use Beryl until nvidia fixes the black windows bug (when pigs fly), but the desktop wall plugin was not included in 0.2.1 and I prefer it to the cube.
-------
EDIT:
One additional detail, those setting seem to work someway. I only get tearing when moving windows, with and without the wobbly effect. No tear when rotating the cube or when using the expose-like plugin.
Another update: If I use the rain plugin and start the rain, there is no tearing at all when moving windows. When stopping the rain, tearing appears again when moving windows.
Hope this help to identify where can my issues be.
djdoo
June 21st, 2007, 09:53 PM
@searayman
Just the options! Only the options!
Your xorg.conf seems fine now!!
The correct command to start compcomm is:
compiz --indirect-rendering --replace ccp &
Check it out and tell me...
djdoo
June 21st, 2007, 10:03 PM
@ingegnerlillo:
Well remove this -> Option "AllowGLXWithComposite" "True"
and set this -> Option "BackingStore" "False"
If you read my instructions I mentioned that BackingStore option has problems with 6 series cards like the one you have!! ;)
ingegnerlillo
June 22nd, 2007, 11:15 AM
I've tried what you said but the system still hangs about twice a minute... :( :(
Other suggestion?
bassist
June 22nd, 2007, 11:33 AM
I've tried what you said but the system still hangs about twice a minute... :( :(
Other suggestion?
Hi. I had a similar problem of user interface hangs every few seconds. This happened to me if I used these two options in the Device Section of xorg.conf:
Option "DamageEvents" "True"
Option "UseEvents" "True"
Try to remove them.
ingegnerlillo
June 22nd, 2007, 01:08 PM
[quote:e4128]Hi. I had a similar problem of user interface hangs every few seconds. This happened to me if I used these two options in the Device Section of xorg.conf:
Option "DamageEvents" "True"
Option "UseEvents" "True"
Try to remove them.[/quote:e4128]
I've tried to remove them, but the problem remains...
Removing
Option "UseEvents" "True"
It seems gone away, but black window bug returns... :( :(
bassist
June 22nd, 2007, 08:37 PM
[quote:7ff2f]Hi. I had a similar problem of user interface hangs every few seconds. This happened to me if I used these two options in the Device Section of xorg.conf:
Option "DamageEvents" "True"
Option "UseEvents" "True"
Try to remove them.
I've tried to remove them, but the problem remains...
Removing
Option "UseEvents" "True"
It seems gone away, but black window bug returns... :( :([/quote:7ff2f]
Are you using indirect rendering? If not, check the first posts in the thread for instructions on how to start compiz with indirect rendering. If I'm not mistaken, those event options in xorg only help to make the black windows appear later, allowing to open more windows before the bug appears, but they don't solve it completely. Indirect rendering is the way to go until there is a fix in the drivers.
ingegnerlillo
June 23rd, 2007, 11:59 AM
of curse I'm using indirect rendering..
Without it the first fullscreen windows becomes black
djdoo
June 23rd, 2007, 10:12 PM
of curse I'm using indirect rendering..
Without it the first fullscreen windows becomes black
Check this -> Option "UseEvents" "False"
I think it is a must be like this set for some cards!!
In my system doesn't make any changes I use FX 5200 card with direct rendering and no Black windows with just the first post's xorg.conf and nvreg settings.
I tested indirect rendering and no problems either... I saw also some 3d apps to have slight better performance with indirect rendering.
If you have a very old card -> Gf 2 for example you may face the bug even with indirect rendering!!!
Someone else wrote it too about Gf 2 cards... Very strange... :(
ingegnerlillo
June 24th, 2007, 12:26 PM
with "UseEvents" "False" the first fullscreen window becomes black :( :(
All I can do is waiting for nvidia to make a good driver?
Grrrrrrr
Edit: thanks everybody for the priceless help! ;)
searayman
June 24th, 2007, 06:03 PM
@searayman
Just the options! Only the options!
Your xorg.conf seems fine now!!
The correct command to start compcomm is:
compiz --indirect-rendering --replace ccp &
Check it out and tell me...
Ok so i used this to start compiz fusion:
[code:e9da6]compiz --indirect-rendering --replace ccp &[/code:e9da6]
and this is my xorg again:
[code:e9da6]# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Option "AIGLX" "False"
EndSection
Section "Files"
# path to defoma fonts
Fontpath "/usr/share/X11/fonts/misc"
Fontpath "/usr/share/X11/fonts/cyrillic"
Fontpath "/usr/share/X11/fonts/100dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/75dpi/:unscaled"
Fontpath "/usr/share/X11/fonts/Type1"
Fontpath "/usr/share/X11/fonts/100dpi"
Fontpath "/usr/share/X11/fonts/75dpi"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom"# Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Nokia 447Za"
Horizsync 30.0 - 70.0
Vertrefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Nokia 447Za"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "NvAGP" "2"
Option "TripleBuffer" "True"
Option "BackingStore" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection[/code:e9da6]
it seems that the "black" window bug is fixed, i can't get any windows to be black, but if i have a lot open now, instead of goign black i get all white windows or windows i can't click or type anythign in.....
BerzasNon
June 25th, 2007, 10:03 PM
[quote:d39b4]Your xorg.conf now I think it is correct in all parts!! Finally...
The white windows (Oh my God we finally raised from Hell the opposite Daemon bug!!! The AntiBlack Windows Bug!!! :lol: ) you get now if you open a lot windows it is cause you have a very weak graphics card and maybe stucks rendering at a number of 3d windows...
Consider buing something more powerfull and cheap... Our composite managers even being hundreds of 'kilos' 'lighter' than those useless Windows Vista need some more power than a Geforce 2 card offers.[/quote:d39b4]
Well, same problem here. My black windows issue is gone (using --indirect-rendering option), but now I get white and "disabled" windows. I have noticed that the window is redrawn correctly when maximized or restored, but still disabled anyway.
I think that there is a misconfiguration on some file, since I have run Beryl successfully for months, although my graphic card is not the best of the world (I own a laptop with a GeForce4 420 Go).
I'll do some research, but any suggestion will be welcome :D
Keyper7
June 25th, 2007, 10:42 PM
djdoo,
When you said that for CompComm it is enough to use --indirect-rendering, did you mean
that we could ignore the xorg.conf?
I have a GeForce Go 6150 and using --indirect-rendering fixes the black window bug for
one fullscreen window, but I still get it after I open three or four fullscreen windows.
Does this mean that my card is too weak to use CompComm, even with indirect rendering?
Thanks in advance,
-Keyper7
djdoo
June 26th, 2007, 12:23 AM
Folks I will try to be clear...
I will tell you how is the situation for me here...
I have a Geforce FX 5200 card (obviously very old) 128mb vRAM and 768 mb RAM
With just the xorg.conf and nvreg's modifications I do not have neither black nor white windows here with straight DIRECT rendering!!
I said if you still face the problem after made the xorg.conf and nvreg modifications THEN only THEN use --indirect-rendering!!!
First change xorg.conf and for nvreg-> modprobe.conf.local (or modprobe.d or anything like this) and then if you see the black daemon finish him with indirect rendering ;)
djdoo
June 26th, 2007, 12:25 AM
@searayman:
Your xorg.conf now I think it is correct in all parts!! Finally...
The white windows (Oh my God we finally raised from Hell the opposite Daemon bug!!! The AntiBlack Windows Bug!!! ) you get now if you open a lot windows it is cause you have a very weak graphics card and maybe stucks rendering at a number of 3d windows...
Consider buing something more powerfull and cheap... Our composite managers even being hundreds of 'kilos' 'lighter' than those useless Windows Vista need some more power than a Geforce 2 card offers.
diafanos
June 30th, 2007, 03:13 PM
Hi guys...
I use the new Compiz fusion, and I had this &@%&$ black-windows-when-use-nvidia-card bug, so I followed this nice how-to.
After that, bug was disappeared, but a new one occurred. Every now and then (1-2min), system just stopped responding for 10-15 secs...
(I think I came across with a similar bug in this thread...)
After that, I just returned to my initial xorg.conf but continued using the "--indirect-rendering" argument.
Till now, both problems seem solved...
[greek-mode on]
ftou,ftou, mi to matiasw...
[greek-mode off]
dimmanramone
June 30th, 2007, 06:53 PM
Great fix djdoo,
but i still have some problems, so hopefully you or someone else have a solution for them...
I'm using Compiz Fusion (COMPCOMM) so i didn't change anything in my xorg.conf, i just used the command "compiz --indirect-rendering --replace cpp", the black windows is not totally gone but i dont have so big problem like i had before, before the fix i was getting black windows after 3-4 windows, no i'm getting after 8-9 windows, if that 8-9 windows are the same program, else i don't get any at all...so actually it doesn't bother att all right now...but i have the following questions:
1. before the fix i was using the command "compiz --replace c emerald &" and emerald was working directly, now if i use "compiz --indirect-rendering --replace cpp emerald &" i doesn't load emerald att all. I tried even with to different startup sessions, one just for compiz and one for emerald but nothing again, so i have to load emerald with alt+f2 everytime i'm logging in...any solution or something to propose for that?
2. my default configuration in my xorg.conf is loading 2 separate xservers, one for my pc monitor and one for my tvout, so compiz fusion is actually working in both of them (i get for example cube in both pc monitor and tv), but it is slowing down everything in my pc monitor (menus, maximize minimize etc) but everything is working properly in the tv :S. when i have my tvout disabled everything is a lot faster...is there anyway to disable compiz fusion in my tvout? or to make different configuration for screen 0 and screen 1?
i'm sending my xorg.conf also to take a look, maybe i have something wrorg there...
[code:93d88]# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Thu Nov 9 17:56:12 PST 2006
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor1"
VendorName "Unknown"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL P992"
HorizSync 30.0 - 107.0
VertRefresh 48.0 - 170.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
Option "metamodes" "TV: 800x600 +0+0; TV: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard1"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "CRT: 1600x1200_75 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
[/code:93d88]
thx in advance
/dimman
dimmanramone
June 30th, 2007, 07:33 PM
Hi again,
I just found one solution for the first problem that I had, the one with emerald...i made 2 startup scripts one for compiz fusion one for emerald and now it first loads compiz and then loads emerald...
Here are the 2 scripts that i made:
Compiz:
[code:a02d4]#!/bin/bash
#
# Start up compiz-fusion
#
sleep 10
compiz --indirect-rendering --replace cpp
[/code:a02d4]
Emerald:
[code:a02d4]#!/bin/bash
#
# Start up emerald
#
sleep 20
emerald --replace[/code:a02d4]
...but i still have the second problem with my tv out
/dimman
Koppie
June 30th, 2007, 08:49 PM
NEW!!:
For COMPCOMM just start it with with this option: --indirect-rendering ( Guillaume86 founding!!Thanks man!)
Worked for me! Thanks!!
djdoo
July 1st, 2007, 12:39 AM
@/dimman:
My friend I want to tell you that I am a bit comfused with your xorg.conf....
It has very strange structure...
Also I can tell you that you can use my xorg.conf settings straight away cause we use the same video cards!! FX 5200! And please DO use them!!! AND the nvreg options!!!
Also I use TV-out too but never needed a separate X session to use it or another device section... that's why I'm comfused with yours! I just wanted to mention 2 or 3 options about TV out type and system and that's all. But I never used both of them synchronously to be honest...
I think our card is not that powerfull to handle compiz fusion in dual head with acceptable speed...
If you set the xorg.conf and nvreg's options as I write in the guide you will not need --indirect-rendering at all!! 8-)
I can open here 100+ windows none black or (white) without indirect-rendering just xorg and nvreg settings with your video card model. ;)
djdoo
July 1st, 2007, 12:46 AM
Folks this is an announcement to all of you out there!!
PLEASE use the xorg.conf's settings and nvreg's options FIRST!!!!
ESPECIALLY for Compiz Fusion!!!
Do not get bored.... IF you still face black windows ONLY then proceed to use the --indirect-rendering option when you start compiz. Cause indirect rendering has problems with Sync 2 Vblank feature and you may get a lot of tearing...
dimmanramone
July 1st, 2007, 02:07 AM
@ djdoo
hi again...
first of all i tried to download your xorg.conf but i says that the file it doesn't exist...
I can imagine that my xorg.conf has a little bit strange structure, but from the beginning I had very big problem with my tvout...finally I used one guide in ubuntu forums to do that http://ubuntuforums.org/showthread.php?t=98456 ...
i know that out card is not so powerful (hopefully i'm going to change it soon) and really i don't want to run two compiz fusion in 2 different x servers (even if it is cool to see the cube also on the TV :)) but this configuration really worked for me...the strange thing is that i'm getting delay only in the pcmonitor and not in the TV :S
btw, in compiz fusion config settings manager it has an option to choose between screen 0 and screen 1 but every change that i'm making in screen 1(TV) i'm making in my screen 0(PC Monitor)...
anyway, I'm waiting for your xorg.conf so i can give it a try...
thx for the help
p.s. anarotiemai giati paideuomai sta agglika, tora phra xabari oti eisai apo ellada :D
dimmanramone
July 1st, 2007, 09:41 PM
ok now i have followed all the steps, so the things that i have done are:
1. Add in xorg.conf at "ServerLayout" section:
[code:cce25]Option "AIGLX" "true"[/code:cce25]
2. Add in xorg.conf at "Screen" section:
[code:cce25]Option "NvAGP" "2"
Option "AddARGBGLXVisuals" "True" #(had that already)
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "TripleBuffer" "True"
Option "BackingStore" "True" #(it is not giving any problems)[/code:cce25]
3. Add in xorg the "Extensions" section ( i didn't have an extensions section at all) and there the following options:
[code:cce25]Option "DAMAGE" "Enable"
Option "Composite" "Enable"
Option "RENDER" "Enable"[/code:cce25]
4. I have an AGP card (FX5200) so i add:
[code:cce25]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[/code:cce25]
in /etc/modprobe.d/nvidia-kernel-nkc
5. I ran Compiz Fusion(compcomm) with the following command:
[code:cce25]compiz --replace ccp[/code:cce25]
without --indirect-rendering like you proposed, and i still had black windows
6. I ran again Compiz Fusion(compcomm) using --indirect-rendering:
[code:cce25]compiz --replace ccp --indirect-rendering[/code:cce25]
no black windows anymore, not even when i have 100 windows ;) Problem Solved
I'm still using 2 seperate xservers for my tvout, because i haven't found another way to make my tvout work, so i still have the problem with the delay in the menus and the windows in my PC monitor, the strange is that i don't get any delay in the menus and windows in my TV.
Another strange thing is that in Copiz Fusion Settings Manager I can choose Screen 0 and Screen 1 but when I'm changing something in Screen 0 (PC monitor) it is changing in Screen 1(TV) and the other way around. But this is not happening with all the settings...for exaple I changed the opacity in Unknown windows because I didn't want to have transparent full screen video, but that changed only in Screen 0(PC monitor) and not in Screen 1(TV).
Hopefully someone is going to have a solution for me, or if I find one I'm going to post it.
@djdoo: And one question to you my greek friend:
Option "NvAGP" "2" from xorg.conf does it has to have the same value with the NVreg_NvAGP=3 from /etc/modprobe.d/nvidia-kernel-nkc ???
my xorg.conf right now:
djdoo
July 2nd, 2007, 11:41 PM
@dimman:
I think it doesn't matter if in nvreg is 3 and in xorg.conf is 2 cause in both cases agpgart module is used. But it would be better to change it in nvreg options and make it 2 as well...
Eck
July 3rd, 2007, 06:23 AM
Hi djdoo. Thanks for the PM as I see this is the place for folks trying to deal with these problems. I had actually been reading your nvnews posts as I perused all the available forums I could find to try to get that logout, turn off Compiz-Fusion or Beryl, exit to a terminal failure problem.
I had tried all the vga=791 vga=normal framebuffer stuff, and the assorted xorg.conf recommendations and really the only thing that worked for me was opening xterm instead of the normal Konsole, logging in with su and using the reboot or shutdown -a now commands. That actually worked!
I've since moved to Debian and you can see my report of my Compiz-Fusion experience at this link:
viewtopic.php?f=14&t=689&start=20 (http://forums.opencompositing.org/viewtopic.php?f=14&t=689&start=20)
As you see I do very little to xorg.conf myself. I just used nvidia-xconfig composite enable (I think that's the command), turned off the KDE transparency stuff and restarted the computer.
I used shame's repo to install it. If you read that thread you can see what my experence was. It was pretty much just as smooth going as CyberOrg's OpenSUSE script and metapackage. Just without the fancy YaST installer! Aptitude from the command line is pretty awesome, although I liked YaST and didn't have much of the problems people got annoyed with because I installed SUSE without the stupid Zen Management thing that was slow and resource intensive. I just tried Debian to see something new and different and to learn some more Linux.
Here's my xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Jun 13 18:39:30 PDT 2007
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Files"
FontPath "/usr/local/share/fonts"
EndSection
Section "Module"
Load "glx"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
EndSection
Section "Monitor"
Identifier "PAVILION MX70"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 120.0
Option "DPMS"
EndSection
Section "Device"
Identifier "GeForce 6600/GeForce 6600 GT"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "GeForce 6600/GeForce 6600 GT"
Monitor "PAVILION MX70"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
As you can see there isn't much of the stuff in there that is normally put in when on OpenSUSE. In fact, using dpkg-reconfigure xserver-xorg puts even less in there and until I used nvidia-xconfig there wasn't even a Module section in there! But when I checked the xorg log I saw that a whole mess of that stuff was loading automatically. I think the Debian setup uses a lot more defaults that load and don't even need to be in xorg.conf. The log is new now with the new settings so I don't have that old log to post.
I have installed the latest (100.14.11) NVidia driver using the NVidia installer, but at first just used dpkg-reconfigure xserver-xorg to configure it instead of nvidia-settings.
I do want to mention that I never experienced the black window bug, but maybe I have something bad to look forward to, eh? I mentioned in my post in shame's thread that things are slower than my experience with Compiz-Fusion was in OpenSUSE. Perhaps one or more of those extra settings would help, but I also am not experiencing any logoff or terminal problems.
Just to call attention: No logoff problems with the latest NVidia driver and Compiz running as this stuff is configured on Debian, which perhaps loads different settings behind the scenes that aren't in xorg.conf.
So I'd rather not put something in there that might actually cause either the black window or logoff bug, and that would then be impossible to get rid of even if I put back the original settings. I've seen stranger things happen with computers! I'll just live with some slow response until a possible fix is released in some new version or a specific procedure is discovered that becomes a recommended setting. Right now all those xorg.conf optional settings are still labeled as being optional in the FAQ on this site and some of them say that they really are meant for older NVidia driver versions anyway.
But if you could tell me which one definitely solves the slowdown problem that would be cool.
I was shocked that the nvnews forum banned you and closed that thread. What in the world was all that bad about it? It appeared to be a way to investigate these problems and try to help people. People make curious decisions sometimes don't they?
Ah! I forgot to mention that this setup is cool as there is a KDE icon for the CompizConfigSettingsManager and the Emerald Manager right in the KDE menu, and there's also no need to do kde-window-decorator replace as just doing compiz-replace keeps the kde decorator! It also doesn't load Compiz-Fusion at KDE login, which eliminates the problems KDE had starting up along with CompComm that I had on SUSE. But the settings I make in the settings manager are remembered when I do compiz-replace to start Compiz-Fusion. Also, the default settings the first time, before ever running the settings manager include a nice mix of default plugins enabled so you don't lose your window manager and stuff until you notice the nice CCSM link in the kicker menu.
Pretty nice. SuperTux even plays in OpenGL with Compiz-Fusion running on Debian. Heck, it didn't even play in OpenGL without composite enabled on SUSE. Must be a newer version. But the point is my games are working along with Compiz-Fusion.
delfick
July 3rd, 2007, 02:39 PM
hmm...now my results
following this guide a while back didn't work, then a few days ago i tried again, no luck, though today i think i got rid of them on my computer :D (but to a cost i don't want....)
to start with, here's my xorg.conf file now
[code:2f26e]# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "v4l"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
Section "Device"
Identifier "nVidia Corporation NV43 [GeForce 6600 GT]"
BusID "PCI:1:0:0"
Driver "nvidia"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600 GT]"
Monitor "Generic Monitor"
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "NvAGP" "0"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "False"
Option "TripleBuffer" "true"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
section "Extensions"
Option "Composite" "Enable"
Option "DAMAGE" "Enable"
Option "RENDER" "Enable"
EndSection[/code:2f26e]