From: Maxim Levitsky Subject: Re: [Mesa3d-dev] mesa doesn't work with compiz (i965 + tips of all branches) Date: Sun, 04 Jul 2010 02:32:42 +0300 Message-ID: <1278199962.3990.0.camel@localhost.localdomain> References: <1277654832.23852.16.camel@localhost.localdomain> <1277832842.32120.0.camel@localhost.localdomain> <1277843261.29255.1.camel@localhost.localdomain> <4C2A786E.7040707@freedesktop.org> <1277939603.4138.15.camel@localhost.localdomain> <4C2CD13C.5050803@freedesktop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C2CD13C.5050803@freedesktop.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Ian Romanick Cc: "mesa-dev@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Thu, 2010-07-01 at 10:32 -0700, Ian Romanick wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Note: I'm sending this reply to mesa-dev@lists.freedesktop.org instead > of the old mailing list. > > Maxim Levitsky wrote: > > On Tue, 2010-06-29 at 15:49 -0700, Ian Romanick wrote: > > Corbin Simpson wrote: > >>>> Curious. Admittedly I can't look at the content of that commit, but they > >>>> can't be too useless if compiz selects them. IIRC the point was to limit > >>>> the runtime of Intel internal tests; can't those tests be amended > >>>> instead? The number of configs will only grow; r300g has over 200 now > >>>> thanks to multisampling. > > The configs are useless. Applications can only ask for "bits >= X". > > There are still 24-bit depth / 8-bit stencil configs, and, last time I > > checked, 8 >= 0. There is no way to ask for a 24/0 config that wouldn't > > instead give a 24/8 config. > > > >>>> Posting from a mobile, pardon my terseness. ~ C. > >>>> > >>>>> On Jun 29, 2010 1:28 PM, "Maxim Levitsky" >>>>> > wrote: > >>>>> > >>>>> On Tue, 2010-06-29 at 20:34 +0300, Maxim Levitsky wrote: > >>>>>> On Sun, 2010-06-27 at 19:07 +0300, Maxim ... > >>>>> Bisected this to > >>>>> > >>>>> 73e24cd5a7a0760726a681dda5b88805ddcf1555 is first bad commit > >>>>> commit 73e24cd5a7a0760726a681dda5b88805ddcf1555 > >>>>> Author: Ian Romanick >>>>> > > >>>>> Date: Mon Feb 8 10:34:52 2010 -0800 > >>>>> > >>>>> intel: Stop exposing useless 24 depth/0 stencil configs > > I need two pieces of information: > > > > - A diff of the output of glxinfo immediately before and immediately > > after this commit. > > > > - A list of what config attributes compiz is requesting. It should > > be easy enough to instrument choose_visual in glxcmds.c to dump out > > attribList. > > > > It should be pretty easy to root-cause this problem with that data. > > [snip] > > > What is interesting is this: > > > > -0x62 32 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None > > Yup. That has to be it. The fix will have two parts. First, make the > 3D driver a this specific visual. That will make "new" 3D drivers work > with "old" 2D drivers. Second, make the 2D driver mark this visual has > having stencil. The memory is there (interleaved with the 24-bits of > depth), so we may as well expose it. > > If there's not a bugzilla for this, could you create one? This will > ensure that I get this fixed sooner rather than later. This also helps > us get it into a stable Mesa release. > > Thanks. Done: https://bugs.freedesktop.org/show_bug.cgi?id=28900 Best regards, Maxim Levitsky