From owner-freebsd-x11@FreeBSD.ORG Tue Jun 28 23:34:11 2005 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF83A16A41C for ; Tue, 28 Jun 2005 23:34:11 +0000 (GMT) (envelope-from A.S.Usov@KVI.nl) Received: from kvi.nl (KVIS12.KVI.nl [129.125.27.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42F4B43D4C for ; Tue, 28 Jun 2005 23:34:10 +0000 (GMT) (envelope-from A.S.Usov@KVI.nl) Received: from KVIR52.KVI.nl ([129.125.37.116] verified) by kvi.nl (CommuniGate Pro SMTP 4.3.2) with ESMTP id 2428232; Wed, 29 Jun 2005 01:34:09 +0200 Received: from KVIW12.KVI.nl by KVIR52.KVI.nl (AvMailGate-2.0.2-15) id 29490-0EDFBDE3; Wed, 29 Jun 2005 01:34:09 +0200 Received: from kvip55 (KVIP88.KVI.nl [129.125.15.152]) by KVI.nl (PMDF V6.2-X17 #30869) with ESMTP id <01LQ0KR8ZKN0AJLF0Y@KVI.nl>; Wed, 29 Jun 2005 01:33:58 +0200 Date: Wed, 29 Jun 2005 01:33:49 +0200 From: "Alexander S. Usov" In-reply-to: <1120000916.24833.198.camel@leguin> To: Eric Anholt Message-id: <200506290133.49964.A.S.Usov@kvi.nl> Organization: KVI MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.8.1 References: <1120000916.24833.198.camel@leguin> X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-15; AVE: 6.31.0.7; VDF: 6.31.0.118; host: kvi.nl) Cc: freebsd-x11@freebsd.org Subject: Re: QT4 perfomance. X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 23:34:11 -0000 On Wednesday 29 June 2005 01:21, Eric Anholt wrote: > On Tue, 2005-06-28 at 23:34 +0200, Alexander S. Usov wrote: > > I think I am not the first to notice it, but still I think it's worth > > asking :) > > > > Thanks to the final release of qt4 I decided to give it a try and to > > watch some of their samples. I have tried it on 2 machines, one having > > matrox g550 in it, and other with radeon mobility 9000. > > > > It really sucks :) > > I mean visually it's quite nice, but even in the mainwindow demo (the one > > with a bunch of docked windows in it) it feels really *slow* and eats up > > 100% of cpu. HW acceleration is working on both machines. > > Does anybody knows if it is just due to sloppy coding of the demos, or we > > will have to wait till next xorg release with KAA it to be able to use > > it? The most funny part is that it works like a charm under windows. > > If they're using cairo, it's going to be slow. The cairo folks have > just started on performance, and they tell me there's a lot of > low-hanging fruit. And XAA makes render acceleration (the operations > that cairo pretty much consists of, in the absence of glitz) really hard > -- factor of 10 performance loss, in the few cases it can accelerate at > all. > > Hopefully EXA (the KAA-in-Xorg) will hit the tree soon and we can start > converting drivers -- I started on MGA for practice last night, and it > should be pretty easy. In the meantime, xorg-server-snap will provide > some limited improvements, thanks to better software fallbacks for > render (from Zack Rusin of trolltech). I can't find any signs of cairo in it, but the origin of the problem is probably same. Btw, as you have mentioned of mga -- I have send a separate letter on this, but it looks it didn't reached the list. Since some time now (probably since last xorg upgrade, but I am not really sure) I see the following warnings running glxgears/glxinfo (maybe some more, just not sure right now) libGL warning: 3D driver claims to not support visual 0x23 libGL warning: 3D driver claims to not support visual 0x24 libGL warning: 3D driver claims to not support visual 0x27 libGL warning: 3D driver claims to not support visual 0x28 libGL warning: 3D driver claims to not support visual 0x2b libGL warning: 3D driver claims to not support visual 0x2c libGL warning: 3D driver claims to not support visual 0x2f libGL warning: 3D driver claims to not support visual 0x30 The machine has mga g550 in it. I don't see any other problems/slowdowns othervise. Is it something to worry about? -- Best regards, Alexander.