From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 90871] NV30: Xfwm4 use_compositing - garbled display Date: Tue, 20 Oct 2015 17:36:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0806975383==" 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 --===============0806975383== Content-Type: multipart/alternative; boundary="1445362565.A6baC2101.30153"; charset="UTF-8" --1445362565.A6baC2101.30153 Date: Tue, 20 Oct 2015 17:36:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=90871 --- Comment #46 from Ilia Mirkin --- (In reply to Hans de Goede from comment #44) > Hi Ilia, > > (In reply to Ilia Mirkin from comment #43) > > Created attachment 118995 [details] > > updated test program > > > > With this I get the same results whether I set has_texture_rectangle = 1 or > > 0. Attached the full updated source file, or use the patch below. > > Thanks for the updated test program, this seems to fix things on nv3x. There > still is an issue with then test program though (also reproduced on intel > gfx) the program is supposed to change the color of the "box" when you click > a mouse button (pressing a key exits the program), but currently when using > rectangle textures it draws a red box on startup and then on a mouse click > everything goes gray, where as the box should turn blue. As said this > happens on intel gfx too, so I think there still is an issue with the test > program when using rectangle textures. Just my incompetence -- glMatrixMode has to go *before* glPushMatrix, not after. Oops. Moving it up makes the program behave as expected, at least on intel/hsw. > > As for epoxy not seeing the extension, I believe that that is an epoxy > issue, as said the extension is clearly listed in both glxinfo and glxgears > -info output. 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. I wonder if this is a real issue in xfwm code as well. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1445362565.A6baC2101.30153 Date: Tue, 20 Oct 2015 17:36:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 46 on bug 90871 from
(In reply to Hans de Goede from comment #44)
> Hi Ilia,
> 
> (In reply to Ilia Mirkin from comment #43)
> > Created attachment 118995 [details]
> > updated test program
> > 
> > With this I get the same results whether I set has_texture_rectangle = 1 or
> > 0. Attached the full updated source file, or use the patch below.
> 
> Thanks for the updated test program, this seems to fix things on nv3x. There
> still is an issue with then test program though (also reproduced on intel
> gfx) the program is supposed to change the color of the "box" when you click
> a mouse button (pressing a key exits the program), but currently when using
> rectangle textures it draws a red box on startup and then on a mouse click
> everything goes gray, where as the box should turn blue. As said this
> happens on intel gfx too, so I think there still is an issue with the test
> program when using rectangle textures.

Just my incompetence -- glMatrixMode has to go *before* glPushMatrix, not
after. Oops. Moving it up makes the program behave as expected, at least on
intel/hsw.

> 
> As for epoxy not seeing the extension, I believe that that is an epoxy
> issue, as said the extension is clearly listed in both glxinfo and glxgears
> -info output.

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.

I wonder if this is a real issue in xfwm code as well.


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