From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 90871] NV30: Xfwm4 use_compositing - garbled display Date: Fri, 11 Sep 2015 14:41:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1533046310==" 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 --===============1533046310== Content-Type: multipart/alternative; boundary="1441982518.6bC2281.10315"; charset="UTF-8" --1441982518.6bC2281.10315 Date: Fri, 11 Sep 2015 14:41:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=90871 Hans de Goede changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #35 from Hans de Goede --- Hi, (In reply to Hans de Goede from comment #34) > Ok' I've received this card now, and I can reproduce the problem. I'll > investigate and try to fix this next week. Ok, so as promised I've been investigating this one the last couple a days. The fptest.c reproducer works to reproduce it, thanks. At first I've tried different pitches / to swizzle / tile or not to tile on various involved buffers on both the ddx and mesa side all to no good. Today I had the bright idea (should have done that earlier) to run fptest through apitrace and then glretrace, this resulted in the following messages: 27 @0 glXCreateWindow(dpy = 0x120b0f0, config = 0x125c9c0, win = 6291457, attri 27: warning: unsupported glXCreateWindow call 49: message: major api error 1: GL_INVALID_VALUE in glTexImage2D(invalid width 49 @0 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA, 49: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE 88: message: major api error 1: GL_INVALID_VALUE in glTexImage2D(invalid width 88 @0 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA, 88: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE Rendered 2 frames in 0.0754768 secs, average of 26.4982 fps The 27* messages are there when doing a glretrace on nv4x too, and the retrace works fine on nv4x, so I believe that this warning can be ignored. The problem is the next messages. It seems that something (not fptest directly) is calling glTexImage2D with a npot width / height, where as nv3x is not npot capable. I'm a bit lost as to where this call is coming from, and as to whether or not this is a fptest issue, or an issue with the code which is actually making the glTexImage2D call. I'll ask Ben / Ilia for help. Regards, Hans -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1441982518.6bC2281.10315 Date: Fri, 11 Sep 2015 14:41:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 90871
What Removed Added
Status NEW ASSIGNED

Comment # 35 on bug 90871 from
Hi,

(In reply to Hans de Goede from comment #34)
> Ok' I've received this card now, and I can reproduce the problem. I'll
> investigate and try to fix this next week.

Ok, so as promised I've been investigating this one the last couple a days.

The fptest.c reproducer works to reproduce it, thanks.

At first I've tried different pitches / to swizzle / tile or not to tile on
various involved buffers on both the ddx and mesa side all to no good.

Today I had the bright idea (should have done that earlier) to run fptest
through apitrace and then glretrace, this resulted in the following messages:

27 @0 glXCreateWindow(dpy = 0x120b0f0, config = 0x125c9c0, win = 6291457, attri
27: warning: unsupported glXCreateWindow call
49: message: major api error 1: GL_INVALID_VALUE in glTexImage2D(invalid width
49 @0 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA,
49: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
88: message: major api error 1: GL_INVALID_VALUE in glTexImage2D(invalid width
88 @0 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA,
88: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE
Rendered 2 frames in 0.0754768 secs, average of 26.4982 fps

The 27* messages are there when doing a glretrace on nv4x too, and the retrace
works fine on nv4x, so I believe that this warning can be ignored.

The problem is the next messages. It seems that something (not fptest directly)
is calling glTexImage2D with a npot width / height, where as nv3x is not npot
capable.

I'm a bit lost as to where this call is coming from, and as to whether or not
this is a fptest issue, or an issue with the code which is actually making the
glTexImage2D call. I'll ask Ben / Ilia for help.

Regards,

Hans


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