From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 90871] NV30: Xfwm4 use_compositing - garbled display Date: Mon, 19 Oct 2015 19:08:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1774826407==" 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 --===============1774826407== Content-Type: multipart/alternative; boundary="1445281691.3eECA1.14663"; charset="UTF-8" --1445281691.3eECA1.14663 Date: Mon, 19 Oct 2015 19:08:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=90871 --- Comment #41 from Ilia Mirkin --- (In reply to Hans de Goede from comment #40) > Hi All, > > (In reply to Olivier Fourdan from comment #11) > > Created attachment 116536 [details] > > test program > > So after some time away from this bug, I'm back onto it. The problem is that > the test program ends up using > GL_TEXTURE_2D type textures / GLX_TEXTURE_2D_EXT target, where it should be > using GL_TEXTURE_RECTANGLE_ARB. > > The root cause for this seems to be that epoxy_has_glx_extension (dpy, > screen, "GL_ARB_texture_rectangle") always returns false, even though the > extension is there, as confirmed with both glxinfo and glxgears-info. Er yeah, it's not a GLX ext, no reason it'd be coming up in the GLX ext list. While similarly-named, they're entirely separate namespaces. > > Now the extension in question is not a glx-extension, but a gl-extension, so > I've also tried calling: > epoxy_has_gl_extension ("GL_ARB_texture_rectangle") but that always returns > false too. That's surprising. src/mesa/main/extensions.c: { "GL_ARB_texture_rectangle", o(NV_texture_rectangle), GL, 2004 }, src/mesa/state_tracker/st_extensions.c: extensions->NV_texture_rectangle = GL_TRUE; So it should actually always be exposed for any st/mesa-backed dri driver (including nv30). -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1445281691.3eECA1.14663 Date: Mon, 19 Oct 2015 19:08:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 41 on bug 90871 from
(In reply to Hans de Goede from comment #40)
> Hi All,
> 
> (In reply to Olivier Fourdan from comment #11)
> > Created attachment 116536 [details]
> > test program
> 
> So after some time away from this bug, I'm back onto it. The problem is that
> the test program ends up using
> GL_TEXTURE_2D type textures / GLX_TEXTURE_2D_EXT target, where it should be
> using GL_TEXTURE_RECTANGLE_ARB.
> 
> The root cause for this seems to be that epoxy_has_glx_extension (dpy,
> screen, "GL_ARB_texture_rectangle") always returns false, even though the
> extension is there, as confirmed with both glxinfo and glxgears-info.

Er yeah, it's not a GLX ext, no reason it'd be coming up in the GLX ext list.
While similarly-named, they're entirely separate namespaces.

> 
> Now the extension in question is not a glx-extension, but a gl-extension, so
> I've also tried calling:
> epoxy_has_gl_extension ("GL_ARB_texture_rectangle") but that always returns
> false too.

That's surprising.

src/mesa/main/extensions.c:   { "GL_ARB_texture_rectangle",                  
o(NV_texture_rectangle),                    GL,             2004 },
src/mesa/state_tracker/st_extensions.c:   extensions->NV_texture_rectangle =
GL_TRUE;

So it should actually always be exposed for any st/mesa-backed dri driver
(including nv30).


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