From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 90871] NV30: Xfwm4 use_compositing - garbled display Date: Tue, 20 Oct 2015 19:40:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0655714060==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0655714060== Content-Type: multipart/alternative; boundary="1445370031.f3Ff161.2659"; charset="UTF-8" --1445370031.f3Ff161.2659 Date: Tue, 20 Oct 2015 19:40:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=90871 --- Comment #48 from Ilia Mirkin --- (In reply to Olivier Fourdan from comment #47) > (In reply to Ilia Mirkin from comment #46) > > Pretty sure it's what I said -- the test program doesn't do a glXMakeCurrent > > before calling gl functions, which means their output is invalid. Not an > > epoxy issue. Rearranging the test program's code to fix this is annoying > > though. > > No it's not, if the test program is invalid, it ought to be fixed. > > > I wonder if this is a real issue in xfwm code as well. > > Yes, most likely. This code is still early beta in xfwm4. I'll try to fix it > and Poma will be able to test I guess. The main reason why it's annoying to fix in the test program is that you use that knowledge for selecting fbconfigs... which you need to do before making a context current. Now you could either (a) do a 2-step process whereby you first see if the ext is there, and then go and select another config or (b) make the assumption that rect support is an all-or-nothing thing -- either no configs have it or they all do, so no need to check it when evaluating fbconfig validity. I'm moderately sure that'd be a valid assumption. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1445370031.f3Ff161.2659 Date: Tue, 20 Oct 2015 19:40:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 48 on bug 90871 from
(In reply to Olivier Fourdan from comment #47)
> (In reply to Ilia Mirkin from comment #46)
> > Pretty sure it's what I said -- the test program doesn't do a glXMakeCurrent
> > before calling gl functions, which means their output is invalid. Not an
> > epoxy issue. Rearranging the test program's code to fix this is annoying
> > though.
> 
> No it's not, if the test program is invalid, it ought to be fixed.
> 
> > I wonder if this is a real issue in xfwm code as well.
> 
> Yes, most likely. This code is still early beta in xfwm4. I'll try to fix it
> and Poma will be able to test I guess.

The main reason why it's annoying to fix in the test program is that you use
that knowledge for selecting fbconfigs... which you need to do before making a
context current. Now you could either (a) do a 2-step process whereby you first
see if the ext is there, and then go and select another config or (b) make the
assumption that rect support is an all-or-nothing thing -- either no configs
have it or they all do, so no need to check it when evaluating fbconfig
validity.

I'm moderately sure that'd be a valid assumption.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
--1445370031.f3Ff161.2659-- --===============0655714060== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0655714060==--