Re: [compiz] reason for bad performance on i915 (AIGLX)
On Tue, Dec 12, 2006 at 01:26:43AM +0100, David Reveman wrote: On Thu, 2006-11-30 at 11:20 +0100, gandalfn wrote: Hi, In my ubuntu packages, to compiz work properly on AiGLX and for performance issue i continue to apply two patchs of Kristian Høgsberg : http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/06-glfinish.patch http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/02-tfp-server-extension.patch I've found the reason to why the glfinish patch made a difference (typo in makeScreenCurrent). Let me know if compiz head doesn't fix this problem. I applied commit fa8fa641bd820d16cb2b2923d0af2f230ed43ac4 to my local compiz 0.3.4 package (replacing the glfinish patch) and it's working beautifully. Thanks! btw, 06-glfinish.patch is bad because it calls glFinish after drawing a frame, basically blocking compiz from doing any work until the server and gfx hw is done with all rendering. The main loop in compiz calls glFinish before drawing a new frame instead, this way we block only when necessary. Things definitely seem to be noticeably snappier with your fix. tfp-server-extension patch doesn't make sense to me, it must be client side libGL issues. The tfp patch is still needed here. (Debian sid, xorg 7.1, mesa 6.5.1, foss radeon driver 6.6.3) -- CJ van den Berg mailto:[EMAIL PROTECTED] xmpp:[EMAIL PROTECTED] signature.asc Description: Digital signature ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] reason for bad performance on i915 (AIGLX)
On Thu, 2006-11-30 at 11:20 +0100, gandalfn wrote: Hi, In my ubuntu packages, to compiz work properly on AiGLX and for performance issue i continue to apply two patchs of Kristian Høgsberg : http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/06-glfinish.patch http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/02-tfp-server-extension.patch I've found the reason to why the glfinish patch made a difference (typo in makeScreenCurrent). Let me know if compiz head doesn't fix this problem. btw, 06-glfinish.patch is bad because it calls glFinish after drawing a frame, basically blocking compiz from doing any work until the server and gfx hw is done with all rendering. The main loop in compiz calls glFinish before drawing a new frame instead, this way we block only when necessary. tfp-server-extension patch doesn't make sense to me, it must be client side libGL issues. -David ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] reason for bad performance on i915 (AIGLX)
Hi, In my ubuntu packages, to compiz work properly on AiGLX and for performance issue i continue to apply two patchs of Kristian Høgsberg : http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/06-glfinish.patch http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/02-tfp-server-extension.patch It's perhaps a mistake but they resolve many issues on AIGLX gandalfn Le jeudi 30 novembre 2006 à 08:42 +0100, Mirco Müller a écrit : Greetings everybody! For about two weeks I'm now a happy owner of an intel-powered laptop (chipset, wifi, gfx) and wanted to give it a full test-drive of compiz and other GL-intensive programs. The laptop runs Xorg 7.1.1 and the i810 driver that comes with it (stock rpm from FC6). I'm forced to start compiz 0.3.4 with these options... --use-cow --strict-binding --indirect-rendering ... to merely get compiz to work. I cannot leave out any of those options, otherwise I don't see anything rendered by compiz. While I'm a bit spoiled regarding performance coming from my desktop-system (nvidia-driven, using nvidia's AIGLX), I did not expect the i915 (AIGLX) solution to be such a bad performer. At a resolution of 1280x800 I can barely use the cube-rotatation, switcher or drag-rotate while moving windows to different workspaces. Furthermore GL-apps leave artifacts on the screen when dragged around (even if ran under metacity) and I don't seem to be able to get transparent GL-apps working (e.g. try gl-cairo-cube from people.freedesktop.org/~macslow). I know that the i915 is an integrated graphics-chip solution using only system-memory, but I remember people showcasing screencaptures of such systems with much better performance under compiz. Is all this only a Xorg/driver problem or will I never get any decent performance (and feature-parity compared to low-end nvidia-hardware) from this laptop when running a composited desktop-environemnt? Also the screensaver seems to be to much for this setup as it only display a black nothing (only the mouse-cursor is visible and I have a hard time entering my password to unlock it again). What disappoints me also is the lack of support for transparent GL-apps under compiz on the i915. I'm not sure if this is a purely a driver issue or partly my fault (not selecting the correct visual in e.g. gl-cairo-cube). All my transparent cairo-hacks work fine. Thanks in advance for your time and kind advice! Best regards... Mirco MacSlow Müller ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] reason for bad performance on i915 (AIGLX)
On Nov 30, 06 11:20:50 +0100, gandalfn wrote: In my ubuntu packages, to compiz work properly on AiGLX and for performance issue i continue to apply two patchs of Kristian Høgsberg : http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/06-glfinish.patch http://people.freedesktop.org/~krh/compiz-on-aiglx/compiz-patches/02-tfp-server-extension.patch Hm. The second patch doesn't seem right, it doesn't help if only the server supports EXT_texture_from_pixmap. I wonder why this should help at all, because there won't be a function entry point (unless the used libGL is just broken and has the function, but not the extension string). I'd like to check out the first patch, because ATM compiz is really slow on Xgl on i915 as well. This used to be *much* better. Matthias -- Matthias Hopf [EMAIL PROTECTED] ____ __ Maxfeldstr. 5 / 90409 Nuernberg(_ | | (_ |__ [EMAIL PROTECTED] Phone +49-911-74053-715__) |_| __) |__ labs www.mshopf.de ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz
Re: [compiz] reason for bad performance on i915 (AIGLX)
Am Donnerstag, 30. November 2006 15:10 schrieb Matthias Hopf: Hm. The second patch doesn't seem right, it doesn't help if only the server supports EXT_texture_from_pixmap. I wonder why this should help at all, because there won't be a function entry point (unless the used libGL is just broken and has the function, but not the extension string). The problem with this is that if you use direct rendering, glx won't return tfp in glx extensions. It only does if it's used with indirect rendering. And glxExtensions has no parameter for indirect rendering. I recently tried to write a proper patch for that, but it seems an enhancement to the glxExtensions-function would be needed, so you can pass indirect rendering option to it. -- Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber: [EMAIL PROTECTED] pgpbHaVmD9f2V.pgp Description: PGP signature ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz