Bug 520792 - [RFE] metacity should warn user that composite won't work with Xinerama on Nvidia
[RFE] metacity should warn user that composite won't work with Xinerama on Nv...
Status: NEW
Product: metacity
Classification: Other
Component: Iain's compositor
2.21.x
Other All
: Normal enhancement
: ---
Assigned To: Metacity compositor maintainers
Metacity compositor maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-03-06 17:34 UTC by Jeff Schroeder
Modified: 2008-03-07 07:07 UTC (History)
2 users (show)

See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments

Description Jeff Schroeder 2008-03-06 17:34:02 UTC
Recently upgrading to Ubuntu Hardy to test out new gnome features, I tried out the metacity compositer.

After enabling /apps/metacity/general/compositing_manager nothing happened.

metacity --replace gave the following warning:
Window manager warning: Missing composite extension required for compositing


$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 1700 (rev a1)
02:00.0 VGA compatible controller: nVidia Corporation Quadro FX 1700 (rev a1)

$ grep \"Composite\" /var/log/Xorg.0.log
(**) Extension "Composite" is enabled

Not sure if there is a better way to figure out if you are running composite or not, but that is misleading. Nvidia cards don't support composite with Xinerama enabled.

It would be nice if metacity displayed a warning about composite not working with Nvidia drivers + Xinerama.
Comment 1 Thomas Thurman 2008-03-06 17:38:15 UTC
What should we do-- a printed warning?  A dialogue box, maybe?
Comment 2 Jeff Schroeder 2008-03-06 17:49:29 UTC
If this comment dupes lateron, it is because bugzilla via email is slow and not updating

I was thinking just a warning in the terminal. It would go in
.xsession-errors but that might not be the most friendly way to fix
things. Dialog boxes are normally annoying, but this is a good idea
also. Is doing both overkill?
Comment 3 Hans de Graaff 2008-03-07 06:44:55 UTC
I'm currently looking at a Xinerama display running on an NVidia card with metacity's compositing enabled and things work as expected... This is on Gentoo, though.

The NVidia card is a GeForce 6600, and I'm using NVidia's binary drivers. Metacity is at 2.21.8.

I've configured this using NVidia's tool, selecting TwinView (which seems to be the way NVidia handles Xinerama?) 

Feel free to ask for more info.
Comment 4 Jeff Schroeder 2008-03-07 07:01:14 UTC
Twinview != Xinerama.

They look the same, but are not. The point of this bug was for metacity to mention why composite won't work when Xinerama is enabled. It was filed so other people don't run into the same problem I did before asking on IRC. If you disagree, feel free to close it.
Comment 5 Hans de Graaff 2008-03-07 07:07:36 UTC
It probably makes sense then to mention TwinView as a possible solution for people looking for Xinerama and compositing on NVidia cards in the warning message. Most of the applications that support Xinerama seem to handle TwinView in the same way, so for most people this is probably a good solution, even though it may not be a 100% match.

Note You need to log in before you can comment on or make changes to this bug.