Bug 118580 - enable COMPOSITE extension
Summary: enable COMPOSITE extension
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-23 14:29 UTC by Adrian Schröter
Modified: 2006-01-02 06:59 UTC (History)
5 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Schröter 2005-09-23 14:29:52 UTC
Matthias Hopf, Dirk Mueller and myself discussed the stability of the    
composite extension and the available composite managers.    
We think we should enable the composite extension inside the x.org    
configuration by default during the alpha phase at least. so the users can    
enable the use of it easily in the GUI and give feedback. the enabled    
extension should not harm as long no composite manager is running.
Comment 1 Marcus Schaefer 2005-09-28 10:05:12 UTC
activate Composite extensions now by default  
Comment 2 Stefan Dirsch 2005-10-10 11:01:14 UTC
We see problems when enabling Composite extensions, when the nvidia driver runs
in a dualhead setup with different resolutions. With this configuration the
Xserver crashes immediately during startup. This might happen to other drivers
as well, but  has not been investigated. This problem does not occur when using
the same resolution.

Andy might want to comment on enabling Composite extension by default for the
nvidia driver.
Comment 3 andy ritger 2005-10-10 22:10:46 UTC
Last we investigated this, there were still some interaction problems with the
NVIDIA driver and the Composite extension.  It looked like a gc validation
problem in the cw, but we didn't get to root cause it at the time.

I think if you find any bugs with the NVIDIA driver + Composite (like the one
mentioned above), please file bugs in the NVIDIA bug database and we'll investigate.

Also, note that NVIDIA does not yet support OpenGL when the Composite extension
is enabled (we're working on it, though); current NVIDIA drivers disable GLX if
the Composite extension is enabled.
Comment 4 Stefan Dirsch 2005-10-11 02:44:45 UTC
Matthias, could you please make a bugreport in NVIDIA's bugreport system? 
 
For now I think it doesn't make much sense to enable Composite extension for 
NVIDIA users when it disables OpenGL support. I don't think we want to enable 
it - and probably break it - with option "AllowGLXWithComposite". 
 
And since Marcus don't want to set/unset this option depending on the driver 
we shouldn't set it at all for now. 
 
Marcus, could you revert the change for 10.1 again? Thanks. 
 
Comment 5 andy ritger 2005-10-11 03:19:56 UTC
Thanks, Stefan.  We'll work hard to make GLX work with Composite for a future
driver release (and to fix any NVIDIA+Composite bugs) so that Composite can be
enabled by default in a future release.
Comment 6 Stephan Kulow 2005-10-11 05:51:17 UTC
not so quick: the point about enabling it during the preview/alpha phase was 
finding these kind of problems. We were aware of the shortcomings. And if Andy 
says, NVIDIA works on the problems, there is hope, no? I mean, 10.1 is still 
some months away - so don't rush into anything! 
Comment 7 Adrian Schröter 2005-10-11 06:28:57 UTC
And we should seriously consider to enable COMPOSITE for working drivers.  
First we can also debug the general COMPOSITE bugs in this way and secondly we  
would have at least the shadow and kompose support for these.   
  
This would be a big Box feature in opinion, it has been requested since years. 
 
Comment 8 Stefan Dirsch 2005-10-28 18:49:03 UTC
Meanwhile we did some testing with Exa/Composite:

Simple Test scenario:
---------------------
Enable Composite extension and AccelMethod "EXA" in xorg.conf. Start
xcompmgr and two xterms A and B. Set transparency for xterm A with 
transset. Move xterm A over xterm B.

Results:
--------
- radeon
  * R300/R480 (Radeon 9700/Radeon X850 XT): slow 
  * RV200/R200 (Radeon 7500/FireGL 8800): fast
- sis
  * XGI V3XT: slow

Exa Status:
-----------

  http://xorg.freedesktop.org/wiki/ExaStatus
Comment 9 Marcus Schaefer 2005-11-07 14:36:05 UTC
Hmm, is this a pro for composite extension or should I disable it ?
IMHO we should disable it
Comment 10 Stefan Dirsch 2005-11-07 14:46:13 UTC
Currently Composite/EXA makes only sense with Radeon RV200/R200 boards. This still needs to be discussed.
Comment 11 Matthias Hopf 2005-11-08 14:49:22 UTC
Actually, not only Composite/EXA makes sense only for R200, but also EXA alone. Because the other EXA implementations are clearly only at the beginning of implementing acceleration structures.

So selecting EXA will always degrade performance, perhaps except for the R200 which seems to be pretty advanced. Don't know about stability, though, there have been several mails WRT that on the mailing list.
Comment 12 Matthias Hopf 2005-11-10 19:14:02 UTC
(In reply to comment #4)
> Matthias, could you please make a bugreport in NVIDIA's bugreport system?

It took a while, but I finally filed a bugreport.
Happy to hear about updates.
Comment 13 Matthias Hopf 2005-11-10 19:28:31 UTC
NVIDIA bugtracking id #197993.
Comment 15 Marcus Schaefer 2005-11-22 11:50:22 UTC
cool, good news :)
Comment 17 Marcus Schaefer 2005-12-01 14:13:36 UTC
composite will be disabled for fglrx and nvidia binary driver
Comment 19 Stefan Dirsch 2005-12-07 10:27:57 UTC
> Also, note that NVIDIA does not yet support OpenGL when the Composite
> extension is enabled (we're working on it, though); current NVIDIA drivers 
> disable GLX if the Composite extension is enabled.

Oops we need to check this as well.
Comment 20 Stefan Dirsch 2005-12-07 11:32:39 UTC
> (EE) GLX is not supported with the Composite extension

Ok. Behaviour has not changed for 1.0-8174. Nothing to be done for now.
Comment 21 andy ritger 2005-12-08 07:57:44 UTC
Our nvr80-series drivers will not support GLX + Composite; we are currently investigating and hope to support GLX + Composite in our nvr85-series drivers.
Comment 22 Stefan Dirsch 2005-12-08 08:06:50 UTC
Thanks. nvr85-series is nothing you plan to release in the next 2 months, right?
Comment 23 andy ritger 2005-12-08 08:15:06 UTC
> nvr85-series is nothing you plan to release in the next 2 months, right?

Unfortunately, I do not believe production nvr85 drivers will be available in the next 2 months.
Comment 24 Stefan Dirsch 2005-12-08 08:53:46 UTC
Ok. We'll consider again enabling Composite also for the nvidia driver once nvr85 drivers become available.
Comment 25 Dirk Mueller 2005-12-21 01:21:45 UTC
Has composite been enabled for the nv driver? There seem to be patches for Exa + nv

Comment 26 Marcus Schaefer 2005-12-22 10:00:40 UTC
yes is enabled for the nv driver
Comment 27 Stefan Dirsch 2006-01-02 06:59:41 UTC
> There seem to be patches for Exa + nv.
Yes, this are experimental driver patches.

--> http://wiki.x.org/wiki/ExaStatus
[...]
Work in progress: (Not included in 6.9/7.0)
[...]
nv (you'll also need the DRM module from CVS if you want to use the Download/Upload hooks) --> Kernel patch

No, I don't want to maintain a experimental patch for the next 7+ years ...