PDA

View Full Version : Xinerama with compiz on AIGLX Intel GMA950


poppop
November 24th, 2006, 07:41 AM
Hello everybody.

I'm currently using compiz 0.3.4 on an Ubuntu Edgy.
Compiz is working very well when I use it on single screen mode.
But when I set up a dual head configuration with xinerama, the window decorator fails to load. Metacity does not have this problem, it works well.

Because I have a Intel GMA950 graphic card (I work on a laptop), I can't use Twinview mode. I found some posts on the internet saying that Compiz has some problem with Xinerama, Can somebody confirm this hypothesis ?

Thanks !

PS : I'll post my xorg.conf in a few hours if it can help to find a solution.

cdfs
November 24th, 2006, 03:21 PM
I have a similar problem. Xinerama doesn't support DRI, which is needed for compiz. I've tried mergedFB, which should support DRI, but I can't get it running with compiz and another downside would be, that both screens have to be the same resolution (I have a laptop, native LCD -> 1280x800, secondary TFT 1280x1024). So at the moment it seems, that with intel graphics there is no chance to get a dualhead-setup with compiz.

cdfs

mikedee
November 24th, 2006, 05:03 PM
I am not sure if this would work, but did you try launching compiz with the --indirect-rendering option?

cdfs
November 24th, 2006, 05:56 PM
The "best" result I got, launching compiz in severall forms (only --replace gconf, with --indirect-rendering, with --cow, with --strict-binding, via compiz-tray-icon) was to get compiz running on half of one of my screens, the rest was blanked out (just black). This was with mergedFB and started with the tray-icon. I think I will give up until there will be a xinerama-successor with working DRI and the ability to use different resolutions...

CDFS

poppop
November 25th, 2006, 10:50 AM
I tried different things and none of them works. I think cdfs is right, there's actually no way to use xinerama with compiz. I read in wikipedia xinerama related article that it doesn't support 3D rendering in 2 screens at the same time.
Perhaps Xinerama is a little bit to old to be used with compiz...

mikedee
November 25th, 2006, 03:03 PM
I am fairly sure that compiz can support xinerama. There is xinerama related code inside compiz which was added recently so we must be at least close to having dual screens.

David has also talked on the mailing list about his multi head set up

http://lists.freedesktop.org/archives/compiz/2006-November/000788.html

The clone stuff looks interesting, and it is designed for multihead so compiz must support it somehow.

Sorcerer
November 25th, 2006, 03:35 PM
Compiz does suport Xinerama but the i810 driver doesn't support direct rendering in Xinerama mode.

cdfs
November 28th, 2006, 07:40 AM
But shouldn't that mean, that when starting compiz with --indirrect-rendering should do the job? It does'nt or am I missing something?

CDFS